curl / Autobuilds / Log From 2019-01-12

Log from 2019-01-12

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

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

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

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

testcurl: configure seems to have finished fine

testcurl: display libcurl.pc

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

testcurl: display lib/curl_config.h

#define CURLDEBUG 1
#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
#define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#define CURL_SA_FAMILY_T sa_family_t
#define DEBUGBUILD 1
#define ENABLE_IPV6 1
#define GETHOSTNAME_TYPE_ARG2 size_t
#define GETSERVBYPORT_R_ARGS 6
#define GETSERVBYPORT_R_BUFSIZE 4096
#define HAVE_ALARM 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ARPA_TFTP_H 1
#define HAVE_ASSERT_H 1
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
#define HAVE_BORINGSSL 1
#define HAVE_BROTLI 1
#define HAVE_BROTLI_DECODE_H 1
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#define HAVE_CONNECT 1
#define HAVE_DECL_GETPWUID_R 1
#define HAVE_DLFCN_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL 1
#define HAVE_FCNTL_H 1
#define HAVE_FCNTL_O_NONBLOCK 1
#define HAVE_FDOPEN 1
#define HAVE_FNMATCH 1
#define HAVE_FREEADDRINFO 1
#define HAVE_FREEIFADDRS 1
#define HAVE_FSETXATTR 1
#define HAVE_FSETXATTR_5 1
#define HAVE_FTRUNCATE 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETADDRINFO_THREADSAFE 1
#define HAVE_GETEUID 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_8 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_6 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETIFADDRS 1
#define HAVE_GETPPID 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETSERVBYPORT_R 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GMTIME_R 1
#define HAVE_GSSAPI 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
#define HAVE_GSSMIT 1
#define HAVE_IDN2_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTL 1
#define HAVE_IOCTL_FIONBIO 1
#define HAVE_IOCTL_SIOCGIFADDR 1
#define HAVE_LBER_H 1
#define HAVE_LDAP_H 1
#define HAVE_LDAP_INIT_FD 1
#define HAVE_LDAP_SSL 1
#define HAVE_LDAP_URL_PARSE 1
#define HAVE_LIBBROTLIDEC 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIBIDN2 1
#define HAVE_LIBRTMP_RTMP_H 1
#define HAVE_LIBSSL 1
#define HAVE_LIBZ 1
#define HAVE_LINUX_TCP_H 1
#define HAVE_LL 1
#define HAVE_LOCALE_H 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LONGLONG 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MSG_NOSIGNAL 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NGHTTP2_NGHTTP2_H 1
#define HAVE_OPENSSL_CRYPTO_H 1
#define HAVE_OPENSSL_ERR_H 1
#define HAVE_OPENSSL_PEM_H 1
#define HAVE_OPENSSL_RSA_H 1
#define HAVE_OPENSSL_SSL_H 1
#define HAVE_OPENSSL_X509_H 1
#define HAVE_PIPE 1
#define HAVE_POLL 1
#define HAVE_POLL_FINE 1
#define HAVE_POLL_H 1
#define HAVE_POSIX_STRERROR_R 1
#define HAVE_PWD_H 1
#define HAVE_RAND_EGD 1
#define HAVE_RECV 1
#define HAVE_SELECT 1
#define HAVE_SEND 1
#define HAVE_SETJMP_H 1
#define HAVE_SETLOCALE 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGACTION 1
#define HAVE_SIGINTERRUPT 1
#define HAVE_SIGNAL 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIGSETJMP 1
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_SOCKET 1
#define HAVE_SOCKETPAIR 1
#define HAVE_SSL_GET_SHUTDOWN 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR_R 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRNCASECMP 1
#define HAVE_STROPTS_H 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOLL 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VARIADIC_MACROS_C99 1
#define HAVE_VARIADIC_MACROS_GCC 1
#define HAVE_WRITEV 1
#define HAVE_ZLIB_H 1
#define LT_OBJDIR ".libs/"
#define NTLM_WB_ENABLED 1
#define NTLM_WB_FILE "/usr/bin/ntlm_auth"
#define OS "x86_64-pc-linux-gnu"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "-"
#define RANDOM_FILE "/dev/urandom"
#define RECV_TYPE_ARG1 int
#define RECV_TYPE_ARG2 void *
#define RECV_TYPE_ARG3 size_t
#define RECV_TYPE_ARG4 int
#define RECV_TYPE_RETV ssize_t
#define RETSIGTYPE void
#define SELECT_QUAL_ARG5
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 fd_set *
#define SELECT_TYPE_ARG5 struct timeval *
#define SELECT_TYPE_RETV int
#define SEND_QUAL_ARG2 const
#define SEND_TYPE_ARG1 int
#define SEND_TYPE_ARG2 void *
#define SEND_TYPE_ARG3 size_t
#define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t
#define SIZEOF_CURL_OFF_T 8
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_TIME_T 8
#define STDC_HEADERS 1
#define STRERROR_R_TYPE_ARG3 size_t
#define TIME_WITH_SYS_TIME 1
#define USE_ARES 1
#define USE_LIBPSL 1
#define USE_LIBRTMP 1
#define USE_MANUAL 1
#define USE_NGHTTP2 1
#define USE_OPENLDAP 1
#define USE_OPENSSL 1
#define USE_UNIX_SOCKETS 1
#define VERSION "-"
#ifndef _ALL_SOURCE
#endif
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
#ifndef __cplusplus
#endif
testcurl: make -i
Making all in lib
make[1]: Entering directory '/build-13601/lib'
make all-am
make[2]: Entering directory '/build-13601/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-13601/lib'
make[1]: Leaving directory '/build-13601/lib'
Making all in src
make[1]: Entering directory '/build-13601/src'
Making all in ../docs
make[2]: Entering directory '/build-13601/docs'
Making all in .
make[3]: Entering directory '/build-13601/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
cp -fp "/docs/curl.1" /build-13601/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-13601/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-13601/docs/cmdline-opts'
make[3]: Leaving directory '/build-13601/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-13601/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-13601/docs/cmdline-opts'
make[2]: Leaving directory '/build-13601/docs'
make[2]: Entering directory '/build-13601/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-13601/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-13601/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-13601/src'
make[1]: Leaving directory '/build-13601/src'
make[1]: Entering directory '/build-13601'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-13601'
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-13601/tests'
Making all in certs
make[2]: Entering directory '/build-13601/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-13601/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-13601/tests/certs/scripts'
make[3]: Entering directory '/build-13601/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-13601/tests/certs'
make[2]: Leaving directory '/build-13601/tests/certs'
Making all in data
make[2]: Entering directory '/build-13601/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-13601/tests/data'
Making all in server
make[2]: Entering directory '/build-13601/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-13601/tests/server'
Making all in libtest
make[2]: Entering directory '/build-13601/tests/libtest'
CC chkhostname-chkhostname.o
CC ../../lib/chkhostname-curl_gethostname.o
CCLD chkhostname
CC libauthretry-libauthretry.o
CC libauthretry-first.o
CCLD libauthretry
CC libntlmconnect-libntlmconnect.o
CC libntlmconnect-first.o
CC libntlmconnect-testutil.o
CC ../../lib/libntlmconnect-warnless.o
CCLD libntlmconnect
CC chkdecimalpoint-chkdecimalpoint.o
CC ../../lib/chkdecimalpoint-mprintf.o
CC ../../lib/chkdecimalpoint-curl_ctype.o
CCLD chkdecimalpoint
CC lib500-lib500.o
CC lib500-first.o
CC lib500-testutil.o
CC lib500-testtrace.o
CCLD lib500
CC lib501-lib501.o
CC lib501-first.o
CCLD lib501
CC lib502-lib502.o
CC lib502-first.o
CC lib502-testutil.o
CC ../../lib/lib502-warnless.o
CCLD lib502
CC lib503-lib503.o
CC lib503-first.o
CC lib503-testutil.o
CC ../../lib/lib503-warnless.o
CCLD lib503
CC lib504-lib504.o
CC lib504-first.o
CC lib504-testutil.o
CC ../../lib/lib504-warnless.o
CCLD lib504
CC lib505-lib505.o
CC lib505-first.o
CCLD lib505
CC lib506-lib506.o
CC lib506-first.o
CCLD lib506
CC lib507-lib507.o
CC lib507-first.o
CC lib507-testutil.o
CC ../../lib/lib507-warnless.o
CCLD lib507
CC lib508-lib508.o
CC lib508-first.o
CCLD lib508
CC lib509-lib509.o
CC lib509-first.o
CCLD lib509
CC lib510-lib510.o
CC lib510-first.o
CCLD lib510
CC lib511-lib511.o
CC lib511-first.o
CCLD lib511
CC lib512-lib512.o
CC lib512-first.o
CCLD lib512
CC lib513-lib513.o
CC lib513-first.o
CCLD lib513
CC lib514-lib514.o
CC lib514-first.o
CCLD lib514
CC lib515-lib515.o
CC lib515-first.o
CCLD lib515
CC lib516-lib516.o
CC lib516-first.o
CCLD lib516
CC lib517-lib517.o
CC lib517-first.o
CCLD lib517
CC lib518-lib518.o
CC lib518-first.o
CC ../../lib/lib518-warnless.o
CCLD lib518
CC lib519-lib519.o
CC lib519-first.o
CCLD lib519
CC lib520-lib520.o
CC lib520-first.o
CCLD lib520
CC lib521-lib521.o
CC lib521-first.o
CCLD lib521
CC lib523-lib523.o
CC lib523-first.o
CCLD lib523
CC lib524-lib524.o
CC lib524-first.o
CCLD lib524
CC lib525-lib525.o
CC lib525-first.o
CC lib525-testutil.o
CC ../../lib/lib525-warnless.o
CCLD lib525
CC lib526-lib526.o
CC lib526-first.o
CC lib526-testutil.o
CC ../../lib/lib526-warnless.o
CCLD lib526
CC lib527-lib526.o
CC lib527-first.o
CC lib527-testutil.o
CC ../../lib/lib527-warnless.o
CCLD lib527
CC lib529-lib525.o
CC lib529-first.o
CC lib529-testutil.o
CC ../../lib/lib529-warnless.o
CCLD lib529
CC lib530-lib530.o
CC lib530-first.o
CC lib530-testutil.o
CC ../../lib/lib530-warnless.o
CCLD lib530
CC lib532-lib526.o
CC lib532-first.o
CC lib532-testutil.o
CC ../../lib/lib532-warnless.o
CCLD lib532
CC lib533-lib533.o
CC lib533-first.o
CC lib533-testutil.o
CC ../../lib/lib533-warnless.o
CCLD lib533
CC lib536-lib536.o
CC lib536-first.o
CC lib536-testutil.o
CC ../../lib/lib536-warnless.o
CCLD lib536
CC lib537-lib537.o
CC lib537-first.o
CC ../../lib/lib537-warnless.o
CCLD lib537
CC lib539-lib539.o
CC lib539-first.o
CCLD lib539
CC lib540-lib540.o
CC lib540-first.o
CC lib540-testutil.o
CC ../../lib/lib540-warnless.o
CCLD lib540
CC lib541-lib541.o
CC lib541-first.o
CCLD lib541
CC lib542-lib542.o
CC lib542-first.o
CCLD lib542
CC lib543-lib543.o
CC lib543-first.o
CCLD lib543
CC lib544-lib544.o
CC lib544-first.o
CCLD lib544
CC lib545-lib544.o
CC lib545-first.o
CCLD lib545
CC lib547-lib547.o
CC lib547-first.o
CCLD lib547
CC lib548-lib547.o
CC lib548-first.o
CCLD lib548
CC lib549-lib549.o
CC lib549-first.o
CCLD lib549
CC lib552-lib552.o
CC lib552-first.o
CC ../../lib/lib552-warnless.o
CCLD lib552
CC lib553-lib553.o
CC lib553-first.o
CCLD lib553
CC lib554-lib554.o
CC lib554-first.o
CCLD lib554
CC lib555-lib555.o
CC lib555-first.o
CC lib555-testutil.o
CC ../../lib/lib555-warnless.o
CCLD lib555
CC lib556-lib556.o
CC lib556-first.o
CC ../../lib/lib556-warnless.o
CCLD lib556
CC lib557-lib557.o
CC lib557-first.o
CCLD lib557
CC lib558-lib558.o
CC lib558-first.o
CCLD lib558
CC lib559-lib559.o
CC lib559-first.o
CCLD lib559
CC lib560-lib560.o
CC lib560-first.o
CC lib560-testutil.o
CC ../../lib/lib560-warnless.o
CCLD lib560
CC lib562-lib562.o
CC lib562-first.o
CCLD lib562
CC lib564-lib564.o
CC lib564-first.o
CC lib564-testutil.o
CC ../../lib/lib564-warnless.o
CCLD lib564
CC lib565-lib510.o
CC lib565-first.o
CCLD lib565
CC lib566-lib566.o
CC lib566-first.o
CCLD lib566
CC lib567-lib567.o
CC lib567-first.o
CCLD lib567
CC lib568-lib568.o
CC lib568-first.o
CCLD lib568
CC lib569-lib569.o
CC lib569-first.o
CCLD lib569
CC lib570-lib570.o
CC lib570-first.o
CCLD lib570
CC lib571-lib571.o
CC lib571-first.o
CC ../../lib/lib571-warnless.o
CCLD lib571
CC lib572-lib572.o
CC lib572-first.o
CCLD lib572
CC lib573-lib573.o
CC lib573-first.o
CC lib573-testutil.o
CC ../../lib/lib573-warnless.o
CC lib573-testtrace.o
CCLD lib573
CC lib574-lib574.o
CC lib574-first.o
CCLD lib574
CC lib575-lib575.o
CC lib575-first.o
CC lib575-testutil.o
CC ../../lib/lib575-warnless.o
CCLD lib575
CC lib576-lib576.o
CC lib576-first.o
CCLD lib576
CC lib578-lib578.o
CC lib578-first.o
CCLD lib578
CC lib579-lib579.o
CC lib579-first.o
CCLD lib579
CC lib582-lib582.o
CC lib582-first.o
CC lib582-testutil.o
CC ../../lib/lib582-warnless.o
CCLD lib582
CC lib583-lib583.o
CC lib583-first.o
CCLD lib583
CC lib585-lib500.o
CC lib585-first.o
CC lib585-testutil.o
CC lib585-testtrace.o
CCLD lib585
CC lib586-lib586.o
CC lib586-first.o
CCLD lib586
CC lib587-lib554.o
CC lib587-first.o
CCLD lib587
CC lib589-lib589.o
CC lib589-first.o
CCLD lib589
CC lib590-lib590.o
CC lib590-first.o
CCLD lib590
CC lib591-lib591.o
CC lib591-first.o
CC lib591-testutil.o
CC ../../lib/lib591-warnless.o
CCLD lib591
CC lib597-lib597.o
CC lib597-first.o
CC lib597-testutil.o
CC ../../lib/lib597-warnless.o
CCLD lib597
CC lib598-lib598.o
CC lib598-first.o
CCLD lib598
CC lib599-lib599.o
CC lib599-first.o
CCLD lib599
CC lib643-lib643.o
CC lib643-first.o
CCLD lib643
CC lib644-lib643.o
CC lib644-first.o
CCLD lib644
CC lib645-lib643.o
CC lib645-first.o
CCLD lib645
CC lib650-lib650.o
CC lib650-first.o
CCLD lib650
CC lib651-lib651.o
CC lib651-first.o
CCLD lib651
CC lib652-lib652.o
CC lib652-first.o
CCLD lib652
CC lib653-lib653.o
CC lib653-first.o
CCLD lib653
CC lib654-lib654.o
CC lib654-first.o
CCLD lib654
CC lib655-lib655.o
CC lib655-first.o
CCLD lib655
CC lib658-lib658.o
CC lib658-first.o
CC lib658-testutil.o
CC ../../lib/lib658-warnless.o
CCLD lib658
CC lib1156-lib1156.o
CC lib1156-first.o
CC lib1156-testutil.o
CC ../../lib/lib1156-warnless.o
CCLD lib1156
CC lib1500-lib1500.o
CC lib1500-first.o
CC lib1500-testutil.o
CCLD lib1500
CC lib1501-lib1501.o
CC lib1501-first.o
CC lib1501-testutil.o
CC ../../lib/lib1501-warnless.o
CCLD lib1501
CC lib1502-lib1502.o
CC lib1502-first.o
CC lib1502-testutil.o
CC ../../lib/lib1502-warnless.o
CCLD lib1502
CC lib1503-lib1502.o
CC lib1503-first.o
CC lib1503-testutil.o
CC ../../lib/lib1503-warnless.o
CCLD lib1503
CC lib1504-lib1502.o
CC lib1504-first.o
CC lib1504-testutil.o
CC ../../lib/lib1504-warnless.o
CCLD lib1504
CC lib1505-lib1502.o
CC lib1505-first.o
CC lib1505-testutil.o
CC ../../lib/lib1505-warnless.o
CCLD lib1505
CC lib1506-lib1506.o
CC lib1506-first.o
CC lib1506-testutil.o
CC ../../lib/lib1506-warnless.o
CCLD lib1506
CC lib1507-lib1507.o
CC lib1507-first.o
CC lib1507-testutil.o
CC ../../lib/lib1507-warnless.o
CCLD lib1507
CC lib1508-lib1508.o
CC lib1508-first.o
CC lib1508-testutil.o
CC ../../lib/lib1508-warnless.o
CCLD lib1508
CC lib1509-lib1509.o
CC lib1509-first.o
CC lib1509-testutil.o
CC ../../lib/lib1509-warnless.o
CCLD lib1509
CC lib1510-lib1510.o
CC lib1510-first.o
CC lib1510-testutil.o
CC ../../lib/lib1510-warnless.o
CCLD lib1510
CC lib1511-lib1511.o
CC lib1511-first.o
CC lib1511-testutil.o
CC ../../lib/lib1511-warnless.o
CCLD lib1511
CC lib1512-lib1512.o
CC lib1512-first.o
CC lib1512-testutil.o
CC ../../lib/lib1512-warnless.o
CCLD lib1512
CC lib1513-lib1513.o
CC lib1513-first.o
CC lib1513-testutil.o
CC ../../lib/lib1513-warnless.o
CCLD lib1513
CC lib1514-lib1514.o
CC lib1514-first.o
CC lib1514-testutil.o
CC ../../lib/lib1514-warnless.o
CCLD lib1514
CC lib1515-lib1515.o
CC lib1515-first.o
CC lib1515-testutil.o
CC ../../lib/lib1515-warnless.o
CCLD lib1515
CC lib1517-lib1517.o
CC lib1517-first.o
CCLD lib1517
CC lib1518-lib1518.o
CC lib1518-first.o
CCLD lib1518
CC lib1520-lib1520.o
CC lib1520-first.o
CCLD lib1520
/usr/bin/perl /tests/libtest/mk-lib1521.pl < /include/curl/curl.h > lib1521.c
CC lib1521-lib1521.o
CC lib1521-first.o
CCLD lib1521
CC lib1522-lib1522.o
CC lib1522-first.o
CCLD lib1522
CC lib1525-lib1525.o
CC lib1525-first.o
CC lib1525-testutil.o
CC ../../lib/lib1525-warnless.o
CCLD lib1525
CC lib1526-lib1526.o
CC lib1526-first.o
CC lib1526-testutil.o
CC ../../lib/lib1526-warnless.o
CCLD lib1526
CC lib1527-lib1527.o
CC lib1527-first.o
CC lib1527-testutil.o
CC ../../lib/lib1527-warnless.o
CCLD lib1527
CC lib1528-lib1528.o
CC lib1528-first.o
CC lib1528-testutil.o
CC ../../lib/lib1528-warnless.o
CCLD lib1528
CC lib1529-lib1529.o
CC lib1529-first.o
CC lib1529-testutil.o
CC ../../lib/lib1529-warnless.o
CCLD lib1529
CC lib1530-lib1530.o
CC lib1530-first.o
CC lib1530-testutil.o
CC ../../lib/lib1530-warnless.o
CCLD lib1530
CC lib1531-lib1531.o
CC lib1531-first.o
CC lib1531-testutil.o
CC ../../lib/lib1531-warnless.o
CCLD lib1531
CC lib1532-lib1532.o
CC lib1532-first.o
CC lib1532-testutil.o
CC ../../lib/lib1532-warnless.o
CCLD lib1532
CC lib1533-lib1533.o
CC lib1533-first.o
CC lib1533-testutil.o
CC ../../lib/lib1533-warnless.o
CCLD lib1533
CC lib1534-lib1534.o
CC lib1534-first.o
CC lib1534-testutil.o
CC ../../lib/lib1534-warnless.o
CCLD lib1534
CC lib1535-lib1535.o
CC lib1535-first.o
CC lib1535-testutil.o
CC ../../lib/lib1535-warnless.o
CCLD lib1535
CC lib1536-lib1536.o
CC lib1536-first.o
CC lib1536-testutil.o
CC ../../lib/lib1536-warnless.o
CCLD lib1536
CC lib1537-lib1537.o
CC lib1537-first.o
CC lib1537-testutil.o
CC ../../lib/lib1537-warnless.o
CCLD lib1537
CC lib1538-lib1538.o
CC lib1538-first.o
CC lib1538-testutil.o
CC ../../lib/lib1538-warnless.o
CCLD lib1538
CC lib1540-lib1540.o
CC lib1540-first.o
CC lib1540-testutil.o
CC ../../lib/lib1540-warnless.o
CCLD lib1540
CC lib1550-lib1550.o
CC lib1550-first.o
CCLD lib1550
CC lib1551-lib1551.o
CC lib1551-first.o
CCLD lib1551
CC lib1552-lib1552.o
CC lib1552-first.o
CC lib1552-testutil.o
CCLD lib1552
CC lib1553-lib1553.o
CC lib1553-first.o
CC lib1553-testutil.o
CCLD lib1553
CC lib1554-lib1554.o
CC lib1554-first.o
CCLD lib1554
CC lib1555-lib1555.o
CC lib1555-first.o
CC lib1555-testutil.o
CC ../../lib/lib1555-warnless.o
CCLD lib1555
CC lib1556-lib1556.o
CC lib1556-first.o
CC lib1556-testutil.o
CC ../../lib/lib1556-warnless.o
CCLD lib1556
CC lib1557-lib1557.o
CC lib1557-first.o
CC lib1557-testutil.o
CC ../../lib/lib1557-warnless.o
CCLD lib1557
CC lib1558.o
CC first.o
CC testutil.o
CC ../../lib/warnless.o
CCLD lib1558
CC lib1560.o
CCLD lib1560
CC lib1591-lib1591.o
CC lib1591-first.o
CC lib1591-testutil.o
CC ../../lib/lib1591-warnless.o
CCLD lib1591
CC lib1592-lib1592.o
CC lib1592-first.o
CC lib1592-testutil.o
CC ../../lib/lib1592-warnless.o
CCLD lib1592
CC lib1900-lib1900.o
CC lib1900-first.o
CC lib1900-testutil.o
CC ../../lib/lib1900-warnless.o
CCLD lib1900
CC lib2033-libntlmconnect.o
CC lib2033-first.o
CC lib2033-testutil.o
CC ../../lib/lib2033-warnless.o
CCLD lib2033
CC libstubgss_la-stub_gssapi.lo
CCLD libstubgss.la
/usr/bin/perl /lib/checksrc.pl /tests/libtest/*.c
make[2]: Leaving directory '/build-13601/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-13601/tests/unit'
CC unit1300-unit1300.o
CC ../libtest/unit1300-first.o
CCLD unit1300
CC unit1301-unit1301.o
CC ../libtest/unit1301-first.o
CCLD unit1301
CC unit1302-unit1302.o
CC ../libtest/unit1302-first.o
CCLD unit1302
CC unit1303-unit1303.o
CC ../libtest/unit1303-first.o
CCLD unit1303
CC unit1304-unit1304.o
CC ../libtest/unit1304-first.o
CCLD unit1304
CC unit1305-unit1305.o
CC ../libtest/unit1305-first.o
CCLD unit1305
CC unit1307-unit1307.o
CC ../libtest/unit1307-first.o
CCLD unit1307
CC unit1308-unit1308.o
CC ../libtest/unit1308-first.o
CCLD unit1308
CC unit1309-unit1309.o
CC ../libtest/unit1309-first.o
CCLD unit1309
CC unit1323-unit1323.o
CC ../libtest/unit1323-first.o
CCLD unit1323
CC unit1330-unit1330.o
CC ../libtest/unit1330-first.o
CCLD unit1330
CC unit1394-unit1394.o
CC ../libtest/unit1394-first.o
CCLD unit1394
CC unit1395-unit1395.o
CC ../libtest/unit1395-first.o
CCLD unit1395
CC unit1396-unit1396.o
CC ../libtest/unit1396-first.o
CCLD unit1396
CC unit1397-unit1397.o
CC ../libtest/unit1397-first.o
CCLD unit1397
CC unit1398-unit1398.o
CC ../libtest/unit1398-first.o
CCLD unit1398
CC unit1399-unit1399.o
CC ../libtest/unit1399-first.o
CCLD unit1399
CC unit1600-unit1600.o
CC ../libtest/unit1600-first.o
CCLD unit1600
CC unit1601-unit1601.o
CC ../libtest/unit1601-first.o
CCLD unit1601
CC unit1602-unit1602.o
CC ../libtest/unit1602-first.o
CCLD unit1602
CC unit1603-unit1603.o
CC ../libtest/unit1603-first.o
CCLD unit1603
CC unit1604-unit1604.o
CC ../libtest/unit1604-first.o
CCLD unit1604
CC unit1605-unit1605.o
CC ../libtest/unit1605-first.o
CCLD unit1605
CC unit1606-unit1606.o
CC ../libtest/unit1606-first.o
CCLD unit1606
CC unit1607-unit1607.o
CC ../libtest/unit1607-first.o
CCLD unit1607
CC unit1608-unit1608.o
CC ../libtest/unit1608-first.o
CCLD unit1608
CC unit1609-unit1609.o
CC ../libtest/unit1609-first.o
CCLD unit1609
CC unit1620-unit1620.o
CC ../libtest/unit1620-first.o
CCLD unit1620
CC unit1621-unit1621.o
CC ../libtest/unit1621-first.o
CCLD unit1621
CC unit1650-unit1650.o
CC ../libtest/unit1650-first.o
CCLD unit1650
CC unit1651-unit1651.o
CC ../libtest/unit1651-first.o
CCLD unit1651
CC unit1652-unit1652.o
CC ../libtest/unit1652-first.o
CCLD unit1652
CC unit1653-unit1653.o
CC ../libtest/unit1653-first.o
CCLD unit1653
make[2]: Leaving directory '/build-13601/tests/unit'
make[2]: Entering directory '/build-13601/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-13601/tests/libtest'
/usr/bin/perl /lib/checksrc.pl /tests/libtest/*.c
make[3]: Leaving directory '/build-13601/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-13601/tests/unit'
/usr/bin/perl /lib/checksrc.pl /tests/unit/*.c
make[3]: Leaving directory '/build-13601/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-13601/tests/server'
/usr/bin/perl /lib/checksrc.pl /tests/server/*.c
make[3]: Leaving directory '/build-13601/tests/server'
make[2]: Leaving directory '/build-13601/tests'
srcdir=/tests /usr/bin/perl -I/tests /tests/runtests.pl -a -p -r
********* System characteristics ********
* curl 7.64.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.64.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.35.1 librtmp/2.3
* Features: AsynchDNS Debug TrackMemory IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli HTTP2 UnixSockets HTTPS-proxy PSL
* Host: storebror.haxx.se
* System: Linux storebror.haxx.se 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-11-02) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
-pd---emv- OK (1 out of 1217, remaining: 64:49)
test 0002...[HTTP GET with user and password]
-pd---emv- OK (2 out of 1217, remaining: 44:21)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
-pd---emv- OK (3 out of 1217, remaining: 37:23)
test 0004...[Replaced internal and added custom HTTP headers]
-pd---emv- OK (4 out of 1217, remaining: 34:19)
test 0005...[HTTP over proxy]
-pd---emv- OK (5 out of 1217, remaining: 32:20)
test 0006...[HTTP with simple cookie send]
-pd---emv- OK (6 out of 1217, remaining: 30:58)
test 0007...[HTTP with cookie parser and header recording]
-pd--oemv- OK (7 out of 1217, remaining: 29:55)
test 0008...[HTTP with cookie parsing from header file]
-pd---emv- OK (8 out of 1217, remaining: 29:13)
test 0009...[HTTP RFC1867-type formposting]
-pd---emv- OK (9 out of 1217, remaining: 28:45)
test 0010...[simple HTTP PUT from file]
-pd---emv- OK (10 out of 1217, remaining: 30:16)
test 0011...[simple HTTP Location: following]
-pd---emv- OK (11 out of 1217, remaining: 29:40)
test 0012...[HTTP range support]
-pd---emv- OK (12 out of 1217, remaining: 29:11)
test 0013...[HTTP custom request 'DELETE']
-pd---emv- OK (13 out of 1217, remaining: 28:47)
test 0014...[HTTP HEAD with Connection: close]
-pd---emv- OK (14 out of 1217, remaining: 28:23)
test 0015...[--write-out test]
sp----emv- OK (15 out of 1217, remaining: 28:04)
test 0016...[HTTP with proxy authorization]
-pd---emv- OK (16 out of 1217, remaining: 27:46)
test 0017...[HTTP with config file on stdin]
-pd---emv- OK (17 out of 1217, remaining: 27:31)
test 0018...[multiple requests using {} in URL]
sp----emv- OK (18 out of 1217, remaining: 27:17)
test 0019...[attempt connect to non-listening socket]
------emv- OK (19 out of 1217, remaining: 27:00)
test 0020...[attempt connect to non-existing host name]
------emv- OK (20 out of 1217, remaining: 26:44)
test 0021...[use curl with multiple request methods]
------emv- OK (21 out of 1217, remaining: 26:19)
test 0022...[get HTTP with URL > 10000 bytes]
-pd---emv- OK (22 out of 1217, remaining: 26:13)
test 0023...[unsupported protocol:// URL]
------emv- OK (23 out of 1217, remaining: 25:59)
test 0024...[HTTP GET fail silently on HTTP error return]
-p---oemv- OK (24 out of 1217, remaining: 25:50)
test 0025...[looping HTTP Location: following with --max-redirs]
-pd---emv- OK (25 out of 1217, remaining: 25:45)
test 0026...[specify more -o than URLs]
-pd---emv- OK (26 out of 1217, remaining: 25:38)
test 0027...[Get same cookie page several times]
-pd---emv- OK (27 out of 1217, remaining: 25:36)
test 0028...[HTTP Location: following with extra spaces in header]
-pd---emv- OK (28 out of 1217, remaining: 25:30)
test 0029...[HTTP with 2 secs timeout]
-pd---emv- OK (29 out of 1217, remaining: 32:11)
test 0030...[HTTP with no data in server reply]
-p----emv- OK (30 out of 1217, remaining: 31:54)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
-pd--oemv- OK (31 out of 1217, remaining: 31:40)
test 0032...[HTTP with -d and -G]
-pd---emv- OK (32 out of 1217, remaining: 31:22)
test 0033...[HTTP PUT with resume]
-pd---emv- OK (33 out of 1217, remaining: 31:44)
test 0034...[HTTP GET with chunked Transfer-Encoding]
-pd---emv- OK (34 out of 1217, remaining: 31:27)
test 0035...[HTTP POST binary data with embedded NUL]
-pd---emv- OK (35 out of 1217, remaining: 31:11)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
-pd---emv- OK (36 out of 1217, remaining: 30:55)
test 0037...[HTTP GET with nothing returned from server]
-p----emv- OK (37 out of 1217, remaining: 30:42)
test 0038...[HTTP resume request without server supporting it]
-p---oemv- OK (38 out of 1217, remaining: 30:29)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
-pd---emv- OK (39 out of 1217, remaining: 30:47)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
-pd---emv- OK (40 out of 1217, remaining: 30:36)
test 0041...[HTTP formpost with missing file]
------emv- OK (41 out of 1217, remaining: 30:52)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
-pd---emv- OK (42 out of 1217, remaining: 30:41)
test 0043...[HTTP Location: following over HTTP proxy]
-pd---emv- OK (43 out of 1217, remaining: 30:30)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
-pd---emv- OK (44 out of 1217, remaining: 30:19)
test 0045...[simple HTTP Location: without protocol in initial URL]
-pd---emv- OK (45 out of 1217, remaining: 30:08)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
-pd--oemv- OK (46 out of 1217, remaining: 30:00)
test 0047...[simple HTTP 1.0 GET]
-pd---emv- OK (47 out of 1217, remaining: 29:50)
test 0048...[HTTP with -d and -G and -I]
-pd---emv- OK (48 out of 1217, remaining: 29:40)
test 0049...[HTTP follow redirect with ../]
-pd---emv- OK (49 out of 1217, remaining: 29:32)
test 0050...[HTTP follow redirect with ../../]
-pd---emv- OK (50 out of 1217, remaining: 29:24)
test 0051...[HTTP follow redirect with excessive ../]
-pd---emv- OK (51 out of 1217, remaining: 29:17)
test 0052...[HTTP follow redirect with ./-prefix]
-pd---emv- OK (52 out of 1217, remaining: 29:10)
test 0053...[HTTP, junk session cookies]
-pd---emv- OK (53 out of 1217, remaining: 29:02)
test 0054...[HTTP with blank Location:]
-pd---emv- OK (54 out of 1217, remaining: 28:54)
test 0055...[HTTP follow redirect with single slash in path]
-pd---emv- OK (55 out of 1217, remaining: 28:47)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
-pd---emv- OK (56 out of 1217, remaining: 28:48)
test 0057...[HTTP content-type with spaces in]
sp----emv- OK (57 out of 1217, remaining: 28:40)
test 0058...[HTTP PUT from file with weird letters]
-pd---emv- OK (58 out of 1217, remaining: 28:54)
test 0059...[HTTP URL with slash but with "parameter"]
-pd---emv- OK (59 out of 1217, remaining: 28:46)
test 0060...[HTTP PUT from stdin with wrong content-length]
-pd---emv- OK (60 out of 1217, remaining: 28:59)
test 0061...[HTTP with various cookies and custom Host:]
-pd--oemv- OK (61 out of 1217, remaining: 28:52)
test 0062...[HTTP, send cookies when using custom Host:]
-pd---emv- OK (62 out of 1217, remaining: 28:46)
test 0063...[HTTP with proxy authorization set in environment]
-pd---emv- OK (63 out of 1217, remaining: 28:38)
test 0064...[HTTP with Digest authorization]
-pd---emv- OK (64 out of 1217, remaining: 28:32)
test 0065...[HTTP with Digest authorization with bad password]
-pd---emv- OK (65 out of 1217, remaining: 28:26)
test 0066...[HTTP GET without headers in the response]
-pd---emv- OK (66 out of 1217, remaining: 28:19)
test 0067...[HTTP with NTLM authorization]
-pd---emv- OK (67 out of 1217, remaining: 28:14)
test 0068...[HTTP with NTLM authorization and wrong password]
-pd---emv- OK (68 out of 1217, remaining: 28:09)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
-pd---emv- OK (69 out of 1217, remaining: 28:04)
test 0070...[HTTP with Digest *OR* NTLM authorization]
-pd---emv- OK (70 out of 1217, remaining: 27:59)
test 0071...[HTTP and -F upload in config file]
-pd---emv- OK (71 out of 1217, remaining: 27:54)
test 0072...[HTTP with Digest *OR* Basic authorization]
-pd---emv- OK (72 out of 1217, remaining: 27:48)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
-pd--oemv- OK (73 out of 1217, remaining: 27:43)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
-p---oemv- OK (74 out of 1217, remaining: 27:38)
test 0075...[HTTP, urlglob retrieval with bad range]
s-----emv- OK (75 out of 1217, remaining: 27:30)
test 0076...[HTTP, -O with no file name part in the URL]
------emv- OK (76 out of 1217, remaining: 27:21)
test 0077...[HTTP with -z "older date"]
-pd---emv- OK (77 out of 1217, remaining: 27:15)
test 0078...[HTTP with -z "newer date"]
-pd---emv- OK (78 out of 1217, remaining: 27:10)
test 0079...[FTP over HTTP proxy]
-pd---emv- OK (79 out of 1217, remaining: 27:05)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
-pd-P-emv- OK (80 out of 1217, remaining: 27:35)
test 0081...[HTTP with proxy using NTLM authorization]
-pd---emv- OK (81 out of 1217, remaining: 27:31)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
-pd---emv- OK (82 out of 1217, remaining: 27:26)
test 0083...[HTTP over proxy-tunnel with site authentication]
-pd-P-emv- OK (83 out of 1217, remaining: 27:28)
test 0084...[HTTP over proxy with site authentication]
-pd---emv- OK (84 out of 1217, remaining: 27:23)
test 0085...[HTTP over proxy with site and proxy authentication]
-pd---emv- OK (85 out of 1217, remaining: 27:18)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
-p---oemv- OK (86 out of 1217, remaining: 27:15)
test 0087...[urlglob with out of range -o #[num] usage]
-----oemv- OK (87 out of 1217, remaining: 27:10)
test 0088...[HTTP PUT with Digest authorization]
-pd---emv- OK (88 out of 1217, remaining: 27:19)
test 0089...[HTTP with NTLM and follow-location]
-pd---emv- OK (89 out of 1217, remaining: 27:16)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
-pd---emv- OK (90 out of 1217, remaining: 27:15)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
-pd---emv- OK (91 out of 1217, remaining: 27:11)
test 0092...[HTTP resume transfer with the whole file already downloaded]
-pd---emv- OK (92 out of 1217, remaining: 27:06)
test 0093...[HTTP GET with failed proxy auth]
-pd---emv- OK (93 out of 1217, remaining: 27:02)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
-p----emv- OK (94 out of 1217, remaining: 26:57)
test 0095...[HTTP over proxytunnel using POST]
-pd-P-emv- OK (95 out of 1217, remaining: 26:58)
test 0096...[curl memory tracking operational]
-----oemv- OK (96 out of 1217, remaining: 26:50)
test 0097...[HTTP POST with custom content-type]
-pd---emv- OK (97 out of 1217, remaining: 26:46)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
-pd---emv- OK (98 out of 1217, remaining: 26:53)
test 0099...[HTTP GET with large-file resume point and failed resume]
-pd---emv- OK (99 out of 1217, remaining: 26:48)
test 0100...[FTP dir list PASV]
-pd---emv- OK (100 out of 1217, remaining: 27:07)
test 0101...[FTP dir list, PORT with specified IP]
-pd---emv- OK (101 out of 1217, remaining: 27:03)
test 0102...[FTP RETR PASV]
-pd---emv- OK (102 out of 1217, remaining: 26:59)
test 0103...[FTP RETR PORT with CWD]
-pd---emv- OK (103 out of 1217, remaining: 26:56)
test 0104...[FTP --head to get file size only]
-p----emv- OK (104 out of 1217, remaining: 26:51)
test 0105...[FTP user+password in URL and ASCII transfer]
-pd---emv- OK (105 out of 1217, remaining: 26:48)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
-pd---emv- OK (106 out of 1217, remaining: 26:44)
test 0107...[FTP PASV upload file]
-p-u--emv- OK (107 out of 1217, remaining: 26:40)
test 0108...[FTP PORT upload with CWD]
-p-u--emv- OK (108 out of 1217, remaining: 26:36)
test 0109...[FTP PASV upload append]
-p-u--emv- OK (109 out of 1217, remaining: 26:33)
test 0110...[FTP download resume with set limit]
-pd---emv- OK (110 out of 1217, remaining: 26:29)
test 0111...[FTP download resume beyond file size]
Killed
-p----emv- OK (111 out of 1217, remaining: 26:25)
test 0112...[FTP PASV upload resume]
-p-u--emv- OK (112 out of 1217, remaining: 26:22)
test 0113...[FTP download, failed login: USER not valid]
-p----emv- OK (113 out of 1217, remaining: 26:17)
test 0114...[FTP download, failed login: PASS not valid]
-p----emv- OK (114 out of 1217, remaining: 26:13)
test 0115...[FTP download, failed PASV]
-p----emv- OK (115 out of 1217, remaining: 26:09)
test 0116...[FTP download, failed PORT]
-p----emv- OK (116 out of 1217, remaining: 26:06)
test 0117...[FTP download, failed TYPE]
Killed
-p----emv- OK (117 out of 1217, remaining: 26:02)
test 0118...[FTP download, failed RETR]
Killed
-p----emv- OK (118 out of 1217, remaining: 25:58)
test 0119...[FTP download, failed RETR with PORT]
Killed
-p----emv- OK (119 out of 1217, remaining: 25:55)
test 0120...[ftp download with post-quote delete operation]
-pd---emv- OK (120 out of 1217, remaining: 25:52)
test 0121...[ftp download with post- and pre-transfer delete operations]
-pd---emv- OK (121 out of 1217, remaining: 25:48)
test 0122...[FTP download resume with whole file already downloaded]
Killed
-p----emv- OK (122 out of 1217, remaining: 25:45)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
-p----emv- OK (123 out of 1217, remaining: 25:42)
test 0124...[FTP download, failed PWD]
-pd---emv- OK (124 out of 1217, remaining: 25:38)
test 0125...[FTP download, failed CWD]
-p----emv- OK (125 out of 1217, remaining: 25:35)
test 0126...[FTP download with multiple replies at once in RETR]
-pd---emv- OK (126 out of 1217, remaining: 25:32)
test 0127...[FTP --disable-epsv]
-pd---emv- OK (127 out of 1217, remaining: 25:29)
test 0128...[FTP upload with --crlf]
-p-u--emv- OK (128 out of 1217, remaining: 25:26)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
-pd---emv- OK (129 out of 1217, remaining: 25:23)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
-pd---emv- OK (130 out of 1217, remaining: 25:20)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
-pd---emv- OK (131 out of 1217, remaining: 25:17)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
-pd---emv- OK (132 out of 1217, remaining: 25:14)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
-pd---emv- OK (133 out of 1217, remaining: 25:11)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
-pd---emv- OK (134 out of 1217, remaining: 25:09)
test 0135...[FTP retrieve a byte-range]
-pd---emv- OK (135 out of 1217, remaining: 25:06)
test 0136...[FTP with user and no password]
-pd---emv- OK (136 out of 1217, remaining: 25:03)
test 0137...[FTP download without size in RETR string]
-pd---emv- OK (137 out of 1217, remaining: 25:00)
test 0138...[FTP download without size in RETR string and no SIZE command]
-pd---emv- OK (138 out of 1217, remaining: 24:57)
test 0139...[FTP download a newer file with -z]
-pd---emv- OK (139 out of 1217, remaining: 24:55)
test 0140...[FTP download file with -z, expected to not transfer]
-p----emv- OK (140 out of 1217, remaining: 24:52)
test 0141...[FTP download info with -I]
sp----emv- OK (141 out of 1217, remaining: 24:49)
test 0142...[FTP URL with 150 dir levels]
-pd---emv- OK (142 out of 1217, remaining: 24:47)
test 0143...[FTP URL with type=a]
-pd---emv- OK (143 out of 1217, remaining: 24:45)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
-p----emv- OK (144 out of 1217, remaining: 24:42)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
-p----emv- OK (145 out of 1217, remaining: 24:39)
test 0146...[persistent FTP with different paths]
-pd---emv- OK (146 out of 1217, remaining: 24:37)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
-pd---emv- OK (147 out of 1217, remaining: 24:35)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
-p----emv- OK (148 out of 1217, remaining: 24:32)
test 0149...[FTP with multiple uploads]
-p---oemv- OK (149 out of 1217, remaining: 24:30)
test 0150...[HTTP with NTLM authorization and --fail]
-pd---emv- OK (150 out of 1217, remaining: 24:27)
test 0151...[HTTP GET with an error code that might trick authentication]
-pd---emv- OK (151 out of 1217, remaining: 24:25)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
-p----emv- OK (152 out of 1217, remaining: 24:22)
test 0153...[HTTP with Digest authorization with stale=true]
sp----emv- OK (153 out of 1217, remaining: 24:20)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
-pd---emv- OK (154 out of 1217, remaining: 24:24)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
-pd---emv- OK (155 out of 1217, remaining: 24:29)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
-pd---emv- OK (156 out of 1217, remaining: 24:33)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
-pd---emv- OK (157 out of 1217, remaining: 24:31)
test 0158...[HTTP multipart formpost with only a 100 reply]
-pd---emv- OK (158 out of 1217, remaining: 24:28)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
-pd---emv- OK (159 out of 1217, remaining: 24:26)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
sp----emv- OK (160 out of 1217, remaining: 24:36)
test 0161...[FTP RETR PASV]
-pd---emv- OK (161 out of 1217, remaining: 24:34)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
-p----emv- OK (162 out of 1217, remaining: 24:31)
test 0163...[HTTP multipart formpost with contents from a file]
-pd---emv- OK (163 out of 1217, remaining: 24:28)
test 0164...[HTTP range with multiple ranges]
-pd---emv- OK (164 out of 1217, remaining: 24:26)
test 0165...[HTTP over proxy with IDN host name]
-pd---emv- OK (165 out of 1217, remaining: 24:24)
test 0166...[HTTP formpost a file with spaces in name]
-pd---emv- OK (166 out of 1217, remaining: 24:21)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
-pd---emv- OK (167 out of 1217, remaining: 24:19)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
-pd---emv- OK (168 out of 1217, remaining: 24:17)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
-pd---emv- OK (169 out of 1217, remaining: 24:15)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
-p----emv- OK (170 out of 1217, remaining: 24:12)
test 0171...[HTTP, get cookie with dot prefixed full domain]
-pd--oemv- OK (171 out of 1217, remaining: 24:10)
test 0172...[HTTP with cookies file and custom added cookie]
-pd---emv- OK (172 out of 1217, remaining: 24:08)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
-pd---emv- OK (173 out of 1217, remaining: 24:05)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
-pd---emv- OK (174 out of 1217, remaining: 24:03)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
-pd---emv- OK (175 out of 1217, remaining: 24:00)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
-pd---emv- OK (176 out of 1217, remaining: 23:58)
test 0177...[HTTP POST --digest to server doing a 302-location response]
-pd---emv- OK (177 out of 1217, remaining: 23:55)
test 0178...[HTTP response with negative Content-Length]
-pd---emv- OK (178 out of 1217, remaining: 23:53)
test 0179...[HTTP using proxy and cookies with path checks]
-pd---emv- OK (179 out of 1217, remaining: 23:50)
test 0180...[HTTP 1.0 PUT]
-pd---emv- OK (180 out of 1217, remaining: 23:48)
test 0181...[HTTP 1.0 POST]
-pd---emv- OK (181 out of 1217, remaining: 23:45)
test 0182...[FTP download an empty file]
-pd---emv- OK (182 out of 1217, remaining: 23:43)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
-pd---emv- OK (183 out of 1217, remaining: 23:41)
test 0184...[HTTP replace Host: when following Location: to new host]
-pd---emv- OK (184 out of 1217, remaining: 23:39)
test 0185...[HTTP replace Host: when following Location: on the same host]
-pd---emv- OK (185 out of 1217, remaining: 23:36)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
-pd---emv- OK (186 out of 1217, remaining: 23:34)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
-pd---emv- OK (187 out of 1217, remaining: 23:32)
test 0188...[HTTP GET with resume and redirect]
-pd---emv- OK (188 out of 1217, remaining: 23:29)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
-pd---emv- OK (189 out of 1217, remaining: 23:27)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
-p----emv- OK (190 out of 1217, remaining: 24:13)
test 0191...[FTP URL with ?-letters in username and password ]
-pd---emv- OK (191 out of 1217, remaining: 24:21)
test 0192...[HTTP GET -w num_connects with one simple connect]
sp----emv- OK (192 out of 1217, remaining: 24:18)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
sp----emv- OK (193 out of 1217, remaining: 24:16)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
-pd---emv- OK (194 out of 1217, remaining: 24:13)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
-p----emv- OK (195 out of 1217, remaining: 24:10)
test 0196...[FTP transient error, retry request once]
-p----emv- OK (196 out of 1217, remaining: 24:12)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
sp----emv- OK (197 out of 1217, remaining: 24:15)
test 0198...[HTTP GET --retry on 503 error with output to file]
-pd---emv- OK (198 out of 1217, remaining: 24:18)
test 0199...[HTTP with -d, -G and {}]
-pd---emv- OK (199 out of 1217, remaining: 24:15)
test 0200...[basic file:// file]
--d---emv- OK (200 out of 1217, remaining: 24:12)
test 0201...[missing file:// file]
------emv- OK (201 out of 1217, remaining: 24:08)
test 0202...[two file:// URLs to stdout]
s-----emv- OK (202 out of 1217, remaining: 24:05)
test 0203...[file:/path URL with a single slash]
--d---emv- OK (203 out of 1217, remaining: 24:02)
test 0204...["upload" with file://]
-----oemv- OK (204 out of 1217, remaining: 23:59)
test 0205...["upload" with file://]
------emv- OK (205 out of 1217, remaining: 23:56)
test 0206...[HTTP proxy CONNECT auth Digest]
-pd---emv- OK (206 out of 1217, remaining: 23:54)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
-pd---emv- OK (207 out of 1217, remaining: 23:51)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
-pd---emv- OK (208 out of 1217, remaining: 23:54)
test 0209...[HTTP proxy CONNECT auth NTLM]
-pd---emv- OK (209 out of 1217, remaining: 23:52)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
-pd---emv- OK (210 out of 1217, remaining: 23:50)
test 0211...[Get two FTP files with no remote EPSV support]
-pd---emv- OK (211 out of 1217, remaining: 23:48)
test 0212...[Get two FTP files with no remote EPRT support]
-pd---emv- OK (212 out of 1217, remaining: 23:46)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
-pd---emv- OK (213 out of 1217, remaining: 23:44)
test 0214...[HTTP URL with escaped { and }]
-pd---emv- OK (214 out of 1217, remaining: 23:42)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
-pd---emv- OK (215 out of 1217, remaining: 23:40)
test 0216...[FTP upload two files to the same dir]
-p----emv- OK (216 out of 1217, remaining: 23:38)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
sp----emv- OK (217 out of 1217, remaining: 23:35)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
-pd---emv- OK (218 out of 1217, remaining: 23:37)
test 0219...[try using proxy with unsupported scheme]
------emv- OK (219 out of 1217, remaining: 23:34)
test 0220...[HTTP GET gzip compressed content]
-pd---emv- OK (220 out of 1217, remaining: 23:32)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
-pd---emv- OK (221 out of 1217, remaining: 23:29)
test 0222...[HTTP GET deflate compressed content]
-pd---emv- OK (222 out of 1217, remaining: 23:27)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
-pd---emv- OK (223 out of 1217, remaining: 23:25)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
-pd---emv- OK (224 out of 1217, remaining: 23:22)
test 0225...[FTP %0a-code in URL's name part]
------emv- OK (225 out of 1217, remaining: 23:19)
test 0226...[FTP %0d-code in URL's CWD part]
------emv- OK (226 out of 1217, remaining: 23:17)
test 0227...[FTP with quote ops]
-pd---emv- OK (227 out of 1217, remaining: 23:15)
test 0228...[FTP RETR with ACCT]
-pd---emv- OK (228 out of 1217, remaining: 23:12)
test 0229...[FTP RETR with bad ACCT]
-p----emv- OK (229 out of 1217, remaining: 23:10)
test 0230...[HTTP GET multiply compressed content]
-pd---emv- OK (230 out of 1217, remaining: 23:08)
test 0231...[file:// with resume]
--d---emv- OK (231 out of 1217, remaining: 23:05)
test 0232...[HTTP GET deflate raw-compressed content]
-pd---emv- OK (232 out of 1217, remaining: 23:03)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
-pd---emv- OK (233 out of 1217, remaining: 23:01)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
-pd---emv- OK (234 out of 1217, remaining: 22:58)
test 0235...[FTP resumed upload but no file present remotely]
-p-u--emv- OK (235 out of 1217, remaining: 22:56)
test 0236...[FTP resume upload but denied access to remote file]
Killed
-p----emv- OK (236 out of 1217, remaining: 22:54)
test 0237...[FTP getting bad host in 227-response to PASV]
-p----emv- OK (237 out of 1217, remaining: 22:52)
test 0238...[FTP getting bad port in response to EPSV]
-p----emv- OK (238 out of 1217, remaining: 22:49)
test 0239...[HTTP proxy-auth NTLM and then POST]
-pd---emv- OK (239 out of 1217, remaining: 22:47)
test 0240...[HTTP-IPv6 GET]
-pd---emv- OK (240 out of 1217, remaining: 22:53)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
-pd---emv- OK (241 out of 1217, remaining: 22:54)
test 0242...[HTTP-IPv6 GET with username+password in URL]
-pd---emv- OK (242 out of 1217, remaining: 22:52)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
-pd---emv- OK (243 out of 1217, remaining: 22:50)
test 0244...[FTP dir listing with nocwd and URL encoded path]
-pd---emv- OK (244 out of 1217, remaining: 22:48)
test 0245...[HTTP POST --digest]
-pd---emv- OK (245 out of 1217, remaining: 22:46)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
-pd---emv- OK (246 out of 1217, remaining: 22:44)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
-p----emv- OK (247 out of 1217, remaining: 22:42)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
-p-u--emv- OK (248 out of 1217, remaining: 22:40)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
-pd---emv- OK (249 out of 1217, remaining: 22:37)
test 0250...[FTP dir list PASV with slow response]
-pd---emv- OK (250 out of 1217, remaining: 23:14)
test 0251...[FTP dir list, PORT with specified IP and slow response]
-pd---emv- OK (251 out of 1217, remaining: 23:52)
test 0252...[FTP IPv6 dir list PASV]
-pd---emv- OK (252 out of 1217, remaining: 23:57)
test 0253...[FTP IPv6 dir list with EPRT]
-pd---emv- OK (253 out of 1217, remaining: 23:55)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
-pd---emv- OK (254 out of 1217, remaining: 23:52)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
-pd---emv- OK (255 out of 1217, remaining: 23:50)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
-p---oemv- OK (256 out of 1217, remaining: 23:47)
test 0257...[HTTP Location: following with --netrc-optional]
-pd---emv- OK (257 out of 1217, remaining: 23:45)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
-pd---emv- OK (258 out of 1217, remaining: 23:42)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
-pd---emv- OK (259 out of 1217, remaining: 23:48)
test 0260...[HTTP GET URL without slash but with questionmark]
-pd---emv- OK (260 out of 1217, remaining: 23:45)
test 0261...[FTP RETR with 226 response code to TYPE]
-pd---emv- OK (261 out of 1217, remaining: 23:42)
test 0262...[HTTP GET with binary zeroes in header]
-pd---emv- OK (262 out of 1217, remaining: 23:40)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
-pd---emv- OK (263 out of 1217, remaining: 23:37)
test 0264...[HTTP with proxy string including http:// and user+password]
-pd---emv- OK (264 out of 1217, remaining: 23:35)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
-pd---emv- OK (265 out of 1217, remaining: 23:33)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
-pd--oemv- OK (266 out of 1217, remaining: 23:30)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
-pd---emv- OK (267 out of 1217, remaining: 23:28)
test 0268...[HTTP POST a non-existing file]
-pd---emv- OK (268 out of 1217, remaining: 23:25)
test 0269...[HTTP --ignore-content-length]
-pd---emv- OK (269 out of 1217, remaining: 23:23)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
-pd---emv- OK (270 out of 1217, remaining: 23:20)
test 0271...[TFTP retrieve]
-pd---emv- OK (271 out of 1217, remaining: 23:24)
test 0272...[FTP timed conditioned get file with identical time stamp ]
-p----emv- OK (272 out of 1217, remaining: 23:22)
test 0273...[HTTP with two Digest authorization headers]
-pd---emv- OK (273 out of 1217, remaining: 23:19)
test 0274...[HTTP Location: following with --max-redirs 0]
-pd---emv- OK (274 out of 1217, remaining: 23:17)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
-pd-P-emv- OK (275 out of 1217, remaining: 23:16)
test 0276...[HTTP Location: following with multiple question marks in URLs]
-pd---emv- OK (276 out of 1217, remaining: 23:14)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
-pd---emv- OK (277 out of 1217, remaining: 23:11)
test 0278...[HTTP with proxy string including http:// and user+empty password]
-pd---emv- OK (278 out of 1217, remaining: 23:09)
test 0279...[HTTP with proxy string including http:// and user only]
-pd---emv- OK (279 out of 1217, remaining: 23:06)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
-pd---emv- OK (280 out of 1217, remaining: 23:04)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
-pd---emv- OK (281 out of 1217, remaining: 23:05)
test 0282...[HTTP GET with no response body or headers]
-pd---emv- OK (282 out of 1217, remaining: 23:02)
test 0283...[TFTP retrieve on invalid file]
-p----emv- OK (283 out of 1217, remaining: 23:00)
test 0284...[TFTP retrieve of boundary case 512 byte file]
-pd---emv- OK (284 out of 1217, remaining: 22:57)
test 0285...[TFTP send]
-p-u--emv- OK (285 out of 1217, remaining: 23:11)
test 0286...[TFTP send of boundary case 512 byte file]
-p-u--emv- OK (286 out of 1217, remaining: 23:24)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
sp----emv- OK (287 out of 1217, remaining: 23:22)
test 0288...[file:// with (unsupported) proxy, authentication and range]
--d---emv- OK (288 out of 1217, remaining: 23:19)
test 0289...[FTP resume upload but denied access to local file]
------emv- OK (289 out of 1217, remaining: 23:15)
test 0290...[FTP download maximum filesize exceeded]
Killed
-p----emv- OK (290 out of 1217, remaining: 23:13)
test 0291...[FTP download maximum filesize not exceeded]
-pd---emv- OK (291 out of 1217, remaining: 23:10)
test 0292...[HTTP GET with maximum filesize not exceeded]
-pd---emv- OK (292 out of 1217, remaining: 23:08)
test 0293...[HTTP GET with maximum filesize exceeded]
-p----emv- OK (293 out of 1217, remaining: 23:05)
test 0294...[FTP --ftp-account on ACCT request]
-pd---emv- OK (294 out of 1217, remaining: 23:03)
test 0295...[FTP ACCT request without --ftp-account]
-p----emv- OK (295 out of 1217, remaining: 23:00)
test 0296...[FTP CWD with --ftp-method multicwd]
-pd---emv- OK (296 out of 1217, remaining: 22:58)
test 0297...[FTP CWD with --ftp-method singlecwd]
-pd---emv- OK (297 out of 1217, remaining: 22:56)
test 0298...[FTP CWD with --ftp-method nocwd]
-pd---emv- OK (298 out of 1217, remaining: 22:53)
test 0299...[FTP over HTTP proxy with user:pass not in url]
-pd---emv- OK (299 out of 1217, remaining: 22:51)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==14803== Invalid read of size 8
==14803== at 0x5E745A5: check_free (dlerror.c:188)
==14803== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14803== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14803== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14803== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14803== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14803== by 0x559AF79: exit (exit.c:139)
==14803== by 0x55850A1: (below main) (libc-start.c:342)
==14803== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==14803== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14803== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14803== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14803== by 0x4DD0E85: err_get_state (err.c:210)
==14803== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14803== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14803== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14803== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14803== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14803== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14803== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14803== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14803== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14803== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14803== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14803== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14803==
==14803== Invalid free() / delete / delete[] / realloc()
==14803== at 0x48369AB: free (vg_replace_malloc.c:530)
==14803== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14803== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14803== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14803== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14803== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14803== by 0x559AF79: exit (exit.c:139)
==14803== by 0x55850A1: (below main) (libc-start.c:342)
==14803== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==14803== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14803== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14803== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14803== by 0x4DD0E85: err_get_state (err.c:210)
==14803== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14803== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14803== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14803== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14803== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14803== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14803== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14803== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14803== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14803== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14803== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14803== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14803==
==14803== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14803== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14803== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14803== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14803== by 0x4DD0E85: err_get_state (err.c:210)
==14803== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14803== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14803== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14803== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14803== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14803== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14803== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14803== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14803== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14803== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14803== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14803== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14803==
== Contents of files in the log/ dir after test 300
=== Start of file curl300.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl300.out
=== Start of file http_server.log
03:00:59.890903 ====> Client connect
03:00:59.890952 accept_connection 3 returned 4
03:00:59.890972 accept_connection 3 returned 0
03:00:59.891153 Read 96 bytes
03:00:59.891168 Process 96 bytes request
03:00:59.891180 Got request: GET /verifiedserver HTTP/1.1
03:00:59.891188 Are-we-friendly question received
03:00:59.891205 Wrote request (96 bytes) input to log/server.input
03:00:59.891224 Identifying ourselves as friends
03:00:59.891271 Response sent (56 bytes) and written to log/server.response
03:00:59.891282 special request received, no persistency
03:00:59.891289 ====> Client disconnect 0
03:01:03.591660 ====> Client connect
03:01:03.591682 accept_connection 3 returned 4
03:01:03.591696 accept_connection 3 returned 0
03:01:03.665267 Read 85 bytes
03:01:03.665306 Process 85 bytes request
03:01:03.665323 Got request: GET /300 HTTP/1.1
03:01:03.665333 Requested test number 300 part 0
03:01:03.665358 - request found to be complete
03:01:03.665389 Wrote request (85 bytes) input to log/server.input
03:01:03.665412 Send response test300 section <data>
03:01:03.665475 Response sent (103 bytes) and written to log/server.response
03:01:03.665485 => persistent connection request ended, awaits new request
03:01:03.736774 Connection closed by client
03:01:03.736815 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.01.12 03:00:59 LOG5[14798]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:00:59 LOG5[14798]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:00:59 LOG5[14798]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:00:59 LOG5[14798]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:00:59 LOG5[14798]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:00:59 LOG5[14798]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:00:59 LOG5[14798]: FIPS mode disabled
2019.01.12 03:00:59 LOG5[14798]: Configuration successful
2019.01.12 03:01:00 LOG5[14801]: Service [curltest] accepted connection from 127.0.0.1:39600
2019.01.12 03:01:00 LOG5[14801]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:00 LOG5[14801]: Service [curltest] connected remote server from 127.0.0.1:34212
2019.01.12 03:01:00 LOG5[14801]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:01:02 LOG5[14804]: Service [curltest] accepted connection from 127.0.0.1:39604
2019.01.12 03:01:04 LOG5[14804]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:04 LOG5[14804]: Service [curltest] connected remote server from 127.0.0.1:34216
2019.01.12 03:01:04 LOG5[14804]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x56338db236a8)
* Expire in 13000 ms for 8 (transfer 0x56338db236a8)
* STATE: INIT => CONNECT handle 0x56338db236a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x56338db236a8)
* STATE: CONNECT => WAITCONNECT handle 0x56338db236a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56338db236a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56338db236a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x56338db236a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x56338db236a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x56338db236a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x56338db236a8; line 1849 (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 0x56338db236a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56338db236a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 13466
=== 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: 13466
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:02.812050 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:02.836765 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:02.874244 == Info: Added connection 0. The cache now contains 1 members
03:01:02.891051 == Info: Trying 127.0.0.1...
03:01:02.891650 == Info: TCP_NODELAY set
03:01:02.894785 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:02.897135 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:02.908291 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:02.908840 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:02.909966 == Info: Marked for [keep alive]: HTTP default
03:01:02.930282 == Info: ALPN, offering h2
03:01:02.930561 == Info: ALPN, offering http/1.1
03:01:04.091188 == Info: successfully set certificate verify locations:
03:01:04.091444 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:04.170978 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:04.176012 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:04.176076 => Send SSL data, 160 bytes (0xa0)
0000: ......Z?8...[7F].p93.ZA.J..X?(.........=\..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:04.194458 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:04.199911 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:04.199978 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....N..^.Z...$..p..!.....8.$.zq#E` .(.y&...h.....Ev.i...S...
0040: ...6.,../................
03:01:04.244713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:04.245181 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:04.245241 <= 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:04.344562 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:04.344829 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:04.344888 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..d..Fc.G...u...t.....it...eE.....4..c...%....=.'tb.....
0040: ...6.Y.+.....%][7F].J.c..)....l6...M..Z...).R.Q[#>.......W..p)C..~N
0080: t._dpre@..~..d..2Q..P....Dmf+.e..sW.J0..Y...........&.@+....>@.O
00c0: (....n.ML.x!...M..S8.......\f.D......\...~....lFA......kq....+.2
0100: .+8...5Y.......X...@.(.b.t..>ZF.m.....<A.e..* g[$..4U2...,.T.;c.
0140: Oo...MY.(.B..
03:01:04.424429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:04.424769 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:04.424828 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:04.545304 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:04.545553 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:04.545610 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....#.Yt..m..o.#h.Lj...d.Y .X..:s^.9P#./.}...+_....lw,Mp~~
0040: bq....
03:01:04.558201 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:04.558755 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:04.558811 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:04.590539 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:04.590746 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:04.590801 => Send SSL data, 16 bytes (0x10)
0000: ....6.e....L....
03:01:04.593334 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:04.594387 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:04.594444 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:04.596878 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:04.602222 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:04.602286 <= Recv SSL data, 16 bytes (0x10)
0000: .......j...5.s.=
03:01:04.624045 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:04.624767 == Info: ALPN, server did not agree to a protocol
03:01:04.626977 == Info: Server certificate:
03:01:04.634341 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:04.640670 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:04.641618 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:04.642455 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:04.643350 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:04.644893 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:04.663883 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:01:04.666444 => 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:04.669429 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:04.670414 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:04.671243 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:04.675803 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:01:04.685487 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:04.688052 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:01:04.699350 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:01:04.699607 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:04.701455 == Info: Server test-server/fake is not blacklisted
03:01:04.701738 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:04.702783 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:01:04.705067 <= Recv header, 1 bytes (0x1)
0000: .
03:01:04.705682 <= Recv data, 4 bytes (0x4)
0000: MooM
03:01:04.708685 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:04.708860 <= Recv data, 3 bytes (0x3)
0000: oo.
03:01:04.710910 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:04.711374 == Info: multi_done
03:01:04.719929 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==14803== Invalid read of size 8
==14803== at 0x5E745A5: check_free (dlerror.c:188)
==14803== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14803== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14803== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14803== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14803== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14803== by 0x559AF79: exit (exit.c:139)
==14803== by 0x55850A1: (below main) (libc-start.c:342)
==14803== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==14803== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14803== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14803== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14803== by 0x4DD0E85: err_get_state (err.c:210)
==14803== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14803== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14803== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14803== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14803== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14803== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14803== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14803== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14803== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14803== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14803== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14803== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14803==
==14803== Invalid free() / delete / delete[] / realloc()
==14803== at 0x48369AB: free (vg_replace_malloc.c:530)
==14803== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14803== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14803== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14803== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14803== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14803== by 0x559AF79: exit (exit.c:139)
==14803== by 0x55850A1: (below main) (libc-start.c:342)
==14803== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==14803== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14803== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14803== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14803== by 0x4DD0E85: err_get_state (err.c:210)
==14803== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14803== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14803== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14803== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14803== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14803== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14803== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14803== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14803== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14803== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14803== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14803== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14803==
==14803== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14803== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14803== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14803== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14803== by 0x4DD0E85: err_get_state (err.c:210)
==14803== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14803== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14803== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14803== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14803== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14803== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14803== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14803== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14803== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14803== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14803== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14803== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14803==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==14807== Invalid read of size 8
==14807== at 0x5E745A5: check_free (dlerror.c:188)
==14807== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14807== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14807== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14807== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14807== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14807== by 0x559AF79: exit (exit.c:139)
==14807== by 0x55850A1: (below main) (libc-start.c:342)
==14807== Address 0x66b0690 is 0 bytes after a block of size 32 alloc'd
==14807== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14807== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14807== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14807== by 0x4DD0E85: err_get_state (err.c:210)
==14807== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14807== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14807== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14807== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14807== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14807== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14807== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14807== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14807== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14807== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14807== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14807== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14807==
==14807== Invalid free() / delete / delete[] / realloc()
==14807== at 0x48369AB: free (vg_replace_malloc.c:530)
==14807== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14807== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14807== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14807== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14807== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14807== by 0x559AF79: exit (exit.c:139)
==14807== by 0x55850A1: (below main) (libc-start.c:342)
==14807== Address 0x66b0678 is 8 bytes inside a block of size 32 alloc'd
==14807== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14807== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14807== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14807== by 0x4DD0E85: err_get_state (err.c:210)
==14807== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14807== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14807== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14807== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14807== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14807== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14807== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14807== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14807== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14807== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14807== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14807== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14807==
==14807== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14807== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14807== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14807== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14807== by 0x4DD0E85: err_get_state (err.c:210)
==14807== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14807== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14807== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14807== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14807== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14807== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14807== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14807== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14807== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14807== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14807== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14807== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14807==
== Contents of files in the log/ dir after test 301
=== Start of file curl301.out
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file curl301.out
=== Start of file http_server.log
03:00:59.890903 ====> Client connect
03:00:59.890952 accept_connection 3 returned 4
03:00:59.890972 accept_connection 3 returned 0
03:00:59.891153 Read 96 bytes
03:00:59.891168 Process 96 bytes request
03:00:59.891180 Got request: GET /verifiedserver HTTP/1.1
03:00:59.891188 Are-we-friendly question received
03:00:59.891205 Wrote request (96 bytes) input to log/server.input
03:00:59.891224 Identifying ourselves as friends
03:00:59.891271 Response sent (56 bytes) and written to log/server.response
03:00:59.891282 special request received, no persistency
03:00:59.891289 ====> Client disconnect 0
03:01:03.591660 ====> Client connect
03:01:03.591682 accept_connection 3 returned 4
03:01:03.591696 accept_connection 3 returned 0
03:01:03.665267 Read 85 bytes
03:01:03.665306 Process 85 bytes request
03:01:03.665323 Got request: GET /300 HTTP/1.1
03:01:03.665333 Requested test number 300 part 0
03:01:03.665358 - request found to be complete
03:01:03.665389 Wrote request (85 bytes) input to log/server.input
03:01:03.665412 Send response test300 section <data>
03:01:03.665475 Response sent (103 bytes) and written to log/server.response
03:01:03.665485 => persistent connection request ended, awaits new request
03:01:03.736774 Connection closed by client
03:01:03.736815 ====> Client disconnect 0
03:01:06.550389 ====> Client connect
03:01:06.550412 accept_connection 3 returned 4
03:01:06.550426 accept_connection 3 returned 0
03:01:06.627990 Read 120 bytes
03:01:06.628033 Process 120 bytes request
03:01:06.628049 Got request: GET /301 HTTP/1.1
03:01:06.628059 Requested test number 301 part 0
03:01:06.628084 - request found to be complete
03:01:06.628111 Wrote request (120 bytes) input to log/server.input
03:01:06.628133 Send response test301 section <data>
03:01:06.628155 connection close instruction "swsclose" found in response
03:01:06.628205 Response sent (130 bytes) and written to log/server.response
03:01:06.628215 instructed to close connection after server-reply
03:01:06.628222 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.01.12 03:00:59 LOG5[14798]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:00:59 LOG5[14798]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:00:59 LOG5[14798]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:00:59 LOG5[14798]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:00:59 LOG5[14798]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:00:59 LOG5[14798]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:00:59 LOG5[14798]: FIPS mode disabled
2019.01.12 03:00:59 LOG5[14798]: Configuration successful
2019.01.12 03:01:00 LOG5[14801]: Service [curltest] accepted connection from 127.0.0.1:39600
2019.01.12 03:01:00 LOG5[14801]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:00 LOG5[14801]: Service [curltest] connected remote server from 127.0.0.1:34212
2019.01.12 03:01:00 LOG5[14801]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:01:02 LOG5[14804]: Service [curltest] accepted connection from 127.0.0.1:39604
2019.01.12 03:01:04 LOG5[14804]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:04 LOG5[14804]: Service [curltest] connected remote server from 127.0.0.1:34216
2019.01.12 03:01:04 LOG5[14804]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
2019.01.12 03:01:05 LOG5[14808]: Service [curltest] accepted connection from 127.0.0.1:39608
2019.01.12 03:01:07 LOG5[14808]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:07 LOG5[14808]: Service [curltest] connected remote server from 127.0.0.1:34220
2019.01.12 03:01:07 LOG5[14808]: Connection closed: 130 byte(s) sent to SSL, 120 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x56338db236a8)
* Expire in 13000 ms for 8 (transfer 0x56338db236a8)
* STATE: INIT => CONNECT handle 0x56338db236a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x56338db236a8)
* STATE: CONNECT => WAITCONNECT handle 0x56338db236a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56338db236a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56338db236a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x56338db236a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x56338db236a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x56338db236a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x56338db236a8; line 1849 (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 0x56338db236a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56338db236a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 13466
=== 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: 13466
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:05.767474 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:05.792191 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:05.831068 == Info: Added connection 0. The cache now contains 1 members
03:01:05.847707 == Info: Trying 127.0.0.1...
03:01:05.848310 == Info: TCP_NODELAY set
03:01:05.851383 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:05.853725 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:05.864736 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:05.865280 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:05.866402 == Info: Marked for [keep alive]: HTTP default
03:01:05.886509 == Info: ALPN, offering h2
03:01:05.886789 == Info: ALPN, offering http/1.1
03:01:07.061835 == Info: successfully set certificate verify locations:
03:01:07.062097 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:07.141301 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.146289 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:07.146354 => Send SSL data, 160 bytes (0xa0)
0000: ..........f...f....>!$v.R.V...}+...$....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:07.163701 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:07.168120 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:07.168178 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..^..RA...=z.1.?3a...b...I..%....F ...n ..{..:...b]rXR......
0040: ~/.?Y.../................
03:01:07.214151 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.214623 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:07.214682 <= 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:07.313895 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:07.314162 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:07.314220 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..d..Fc.G...u...t.....it...eE.....4..c...%....=.'tb.....
0040: ...6.Y.+....... 6.R_9........J....-...{...(.....#.k...{=;.o...%.
0080: [7F])......i..{x..%...F..5p..;5.1].PGk..yC.........A.I.>....R......
00c0: .(/..)...o..g?.......F.l.`.....|.|..@&0[.PmW..z8R.....T..H.W.7@.
0100: .}.;..U...8.....k..~..s.L..m...!}.*.B[7F]5.>T.:...........<.7.kuel.
0140: ...l.+db..w.d
03:01:07.384120 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.384463 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:07.384520 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:07.503741 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:07.504044 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:07.504106 => Send SSL data, 70 bytes (0x46)
0000: ...BA..>.........#|.......[9kNU.q..c..../.$..h.8.=....4..K.U.v-.
0040: P....
03:01:07.516875 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.517436 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:07.517493 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:07.549249 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.549469 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:07.549525 => Send SSL data, 16 bytes (0x10)
0000: ....."Z.W.....`.
03:01:07.552180 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.553213 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:07.553268 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:07.555669 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.561012 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:07.561066 <= Recv SSL data, 16 bytes (0x10)
0000: .........:...>Z4
03:01:07.582562 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:07.583270 == Info: ALPN, server did not agree to a protocol
03:01:07.585496 == Info: Server certificate:
03:01:07.592848 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:07.599083 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:07.600032 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:07.600868 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:07.601761 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:07.603264 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:07.610293 == Info: Server auth using Basic with user 'fake'
03:01:07.626626 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.629186 => 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:07.632277 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:07.633260 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:07.634017 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:07.638730 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:01:07.650882 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:01:07.656568 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:07.658998 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
03:01:07.662659 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:07.664509 == Info: Server test-server/fake is not blacklisted
03:01:07.664795 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:07.665367 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
03:01:07.666205 <= Recv SSL data, 5 bytes (0x5)
0000: ...."
03:01:07.666393 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
03:01:07.667096 == Info: no chunk, no close, no size. Assume close to signal end
03:01:07.667365 == Info: Marked for [closure]: HTTP: No end-of-message indicator
03:01:07.669276 <= Recv header, 1 bytes (0x1)
0000: .
03:01:07.678492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.679929 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
03:01:07.679986 <= Recv SSL data, 2 bytes (0x2)
0000: ..
03:01:07.681805 <= Recv data, 0 bytes (0x0)
03:01:07.684699 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:07.685167 == Info: multi_done
03:01:07.693573 == Info: Closing connection 0
03:01:07.696154 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==14807== Invalid read of size 8
==14807== at 0x5E745A5: check_free (dlerror.c:188)
==14807== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14807== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14807== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14807== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14807== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14807== by 0x559AF79: exit (exit.c:139)
==14807== by 0x55850A1: (below main) (libc-start.c:342)
==14807== Address 0x66b0690 is 0 bytes after a block of size 32 alloc'd
==14807== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14807== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14807== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14807== by 0x4DD0E85: err_get_state (err.c:210)
==14807== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14807== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14807== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14807== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14807== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14807== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14807== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14807== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14807== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14807== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14807== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14807== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14807==
==14807== Invalid free() / delete / delete[] / realloc()
==14807== at 0x48369AB: free (vg_replace_malloc.c:530)
==14807== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14807== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14807== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14807== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14807== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14807== by 0x559AF79: exit (exit.c:139)
==14807== by 0x55850A1: (below main) (libc-start.c:342)
==14807== Address 0x66b0678 is 8 bytes inside a block of size 32 alloc'd
==14807== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14807== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14807== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14807== by 0x4DD0E85: err_get_state (err.c:210)
==14807== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14807== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14807== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14807== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14807== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14807== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14807== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14807== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14807== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14807== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14807== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14807== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14807==
==14807== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14807== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14807== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14807== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14807== by 0x4DD0E85: err_get_state (err.c:210)
==14807== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14807== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14807== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14807== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14807== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14807== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14807== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14807== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14807== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14807== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14807== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14807== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14807==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
------emv- OK (302 out of 1217, remaining: 23:01)
test 0303...[HTTPS with 8 secs timeout]
goto problem 12
valgrind ERROR ==14818== Invalid read of size 8
==14818== at 0x5E745A5: check_free (dlerror.c:188)
==14818== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14818== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14818== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14818== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14818== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14818== by 0x559AF79: exit (exit.c:139)
==14818== by 0x55850A1: (below main) (libc-start.c:342)
==14818== Address 0x66ad670 is 0 bytes after a block of size 32 alloc'd
==14818== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14818== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14818== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14818== by 0x4DD0E85: err_get_state (err.c:210)
==14818== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14818== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14818== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14818== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14818== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14818== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14818== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14818== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14818== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14818== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14818== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14818== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14818==
==14818== Invalid free() / delete / delete[] / realloc()
==14818== at 0x48369AB: free (vg_replace_malloc.c:530)
==14818== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14818== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14818== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14818== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14818== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14818== by 0x559AF79: exit (exit.c:139)
==14818== by 0x55850A1: (below main) (libc-start.c:342)
==14818== Address 0x66ad658 is 8 bytes inside a block of size 32 alloc'd
==14818== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14818== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14818== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14818== by 0x4DD0E85: err_get_state (err.c:210)
==14818== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14818== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14818== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14818== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14818== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14818== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14818== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14818== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14818== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14818== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14818== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14818== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14818==
==14818== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14818== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14818== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14818== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14818== by 0x4DD0E85: err_get_state (err.c:210)
==14818== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14818== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14818== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14818== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14818== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14818== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14818== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14818== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14818== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14818== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14818== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14818== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14818==
== 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:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /want/303 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.64.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
=== End of file server.response
=== Start of file stderr303
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 19 0 19 0 0 6 0 --:--:-- 0:00:02 --:--:-- 6
100 19 0 19 0 0 4 0 --:--:-- 0:00:03 --:--:-- 5
100 19 0 19 0 0 3 0 --:--:-- 0:00:04 --:--:-- 3
100 19 0 19 0 0 3 0 --:--:-- 0:00:05 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:06 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:07 --:--:-- 0
100 19 0 19 0 0 2 0 --:--:-- 0:00:09 --:--:-- 0
curl: (28) Operation timed out after 8999 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
03:01:09.922005 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:09.945904 == Info: Expire in 8000 ms for 8 (transfer 0x626d7a8)
03:01:09.948238 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:09.985137 == Info: Added connection 0. The cache now contains 1 members
03:01:10.001759 == Info: Trying 127.0.0.1...
03:01:10.002356 == Info: TCP_NODELAY set
03:01:10.005430 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:10.007143 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:10.018316 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:10.018869 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:10.019996 == Info: Marked for [keep alive]: HTTP default
03:01:10.040233 == Info: ALPN, offering h2
03:01:10.040511 == Info: ALPN, offering http/1.1
03:01:11.177402 == Info: successfully set certificate verify locations:
03:01:11.177664 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:11.256792 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:11.261808 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:11.261875 => Send SSL data, 160 bytes (0xa0)
0000: ......c.....@.....^DKZ....{...a.........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:11.279353 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:11.283767 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:11.283826 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...@.".-.Q/..$Yx5rH7l..*..w.f.u..L ...r=.......:.....D]!#.2S
0040: &.v7..U./................
03:01:11.327751 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.328206 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:11.328264 <= 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:11.426882 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:11.427147 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:11.427205 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..d..Fc.G...u...t.....it...eE.....4..c...%....=.'tb.....
0040: ...6.Y.+.....{.nP.....>........4*.6.O._....HI.a.c.*....R]....CY.
0080: v.+~L......-&.i............X/...K.3.O}. ...W.P..B.Ro+..].%.....z
00c0: Q<....t......./2..p.g..7.../...F$k......#...n.+=K..........Y..hE
0100: .)z.]\..RiV.....o.j@.z8.9.C....+=.q........+(`...~(...TI.*.K.3..
0140: 9......pEc..j
03:01:11.496527 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.496858 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:11.496915 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:11.615192 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:11.615440 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:11.615498 => Send SSL data, 70 bytes (0x46)
0000: ...BA....O....3....^..~..Q~..ms..E_1.9.i.{...K..,.9..Ec..Mx<...M
0040: 9..#.1
03:01:11.627949 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:11.628510 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:11.628566 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:11.660015 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:11.660206 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:11.660260 => Send SSL data, 16 bytes (0x10)
0000: .....e.[..l./...
03:01:11.662790 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.663886 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:11.663945 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:11.666351 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:11.671664 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:11.671720 <= Recv SSL data, 16 bytes (0x10)
0000: .....R...s......
03:01:11.693178 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:11.693881 == Info: ALPN, server did not agree to a protocol
03:01:11.696106 == Info: Server certificate:
03:01:11.703389 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:11.709700 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:11.710640 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:11.711479 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:11.712395 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:11.713908 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:11.732958 => Send SSL data, 5 bytes (0x5)
0000: ....r
03:01:11.735547 => 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:11.738469 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:11.739459 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:11.740223 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:11.744853 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
03:01:11.754588 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:11.757005 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
03:01:11.760674 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:01:11.761735 == Info: Marked for [closure]: Connection: close used
03:01:11.761849 <= Recv header, 19 bytes (0x13)
0000: Connection: close
03:01:11.764222 <= Recv header, 2 bytes (0x2)
0000:
03:01:11.765010 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
03:01:18.948840 == Info: Operation timed out after 8999 milliseconds with 19 bytes received
03:01:18.949284 == Info: multi_done
03:01:18.958328 == Info: Closing connection 0
03:01:18.961005 == Info: The cache now contains 0 members
=== End of file trace303
=== Start of file valgrind303
==14818== Invalid read of size 8
==14818== at 0x5E745A5: check_free (dlerror.c:188)
==14818== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14818== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14818== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14818== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14818== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14818== by 0x559AF79: exit (exit.c:139)
==14818== by 0x55850A1: (below main) (libc-start.c:342)
==14818== Address 0x66ad670 is 0 bytes after a block of size 32 alloc'd
==14818== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14818== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14818== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14818== by 0x4DD0E85: err_get_state (err.c:210)
==14818== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14818== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14818== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14818== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14818== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14818== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14818== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14818== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14818== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14818== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14818== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14818== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14818==
==14818== Invalid free() / delete / delete[] / realloc()
==14818== at 0x48369AB: free (vg_replace_malloc.c:530)
==14818== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14818== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14818== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14818== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14818== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14818== by 0x559AF79: exit (exit.c:139)
==14818== by 0x55850A1: (below main) (libc-start.c:342)
==14818== Address 0x66ad658 is 8 bytes inside a block of size 32 alloc'd
==14818== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14818== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14818== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14818== by 0x4DD0E85: err_get_state (err.c:210)
==14818== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14818== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14818== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14818== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14818== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14818== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14818== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14818== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14818== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14818== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14818== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14818== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14818==
==14818== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14818== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14818== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14818== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14818== by 0x4DD0E85: err_get_state (err.c:210)
==14818== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14818== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14818== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14818== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14818== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14818== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14818== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14818== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14818== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14818== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14818== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14818== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14818==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==14828== Invalid read of size 8
==14828== at 0x5E745A5: check_free (dlerror.c:188)
==14828== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14828== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14828== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14828== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14828== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14828== by 0x559AF79: exit (exit.c:139)
==14828== by 0x55850A1: (below main) (libc-start.c:342)
==14828== Address 0x66b65f0 is 0 bytes after a block of size 32 alloc'd
==14828== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14828== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14828== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14828== by 0x4DD0E85: err_get_state (err.c:210)
==14828== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14828== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14828== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14828== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14828== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14828== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14828== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14828== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14828== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14828== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14828== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14828== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14828==
==14828== Invalid free() / delete / delete[] / realloc()
==14828== at 0x48369AB: free (vg_replace_malloc.c:530)
==14828== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14828== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14828== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14828== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14828== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14828== by 0x559AF79: exit (exit.c:139)
==14828== by 0x55850A1: (below main) (libc-start.c:342)
==14828== Address 0x66b65d8 is 8 bytes inside a block of size 32 alloc'd
==14828== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14828== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14828== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14828== by 0x4DD0E85: err_get_state (err.c:210)
==14828== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14828== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14828== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14828== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14828== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14828== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14828== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14828== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14828== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14828== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14828== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14828== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14828==
==14828== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14828== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14828== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14828== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14828== by 0x4DD0E85: err_get_state (err.c:210)
==14828== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14828== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14828== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14828== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14828== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14828== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14828== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14828== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14828== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14828== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14828== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14828== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14828==
== 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:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
POST /we/want/304 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.64.0-DEV
Accept: */*
Content-Length: 1386
Content-Type: multipart/form-data; boundary=------------------------3433323135333231
Expect: 100-continue
--------------------------3433323135333231
Content-Disposition: form-data; name="name"
daniel
--------------------------3433323135333231
Content-Disposition: form-data; name="tool"
curl
--------------------------3433323135333231
Content-Disposition: form-data; name="file"; filename="test304.txt"
Content-Type: text/plain
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--------------------------3433323135333231--
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file server.response
=== Start of file stderr304
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 1386 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 1396 100 10 100 1386 3 469 0:00:03 0:00:02 0:00:01 483
=== End of file stderr304
=== Start of file test304.txt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
=== End of file test304.txt
=== Start of file trace304
03:01:32.733482 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:32.759059 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:32.798069 == Info: Added connection 0. The cache now contains 1 members
03:01:32.815536 == Info: Trying 127.0.0.1...
03:01:32.816180 == Info: TCP_NODELAY set
03:01:32.819374 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:32.821814 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:32.833484 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:32.834058 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:32.835224 == Info: Marked for [keep alive]: HTTP default
03:01:32.856276 == Info: ALPN, offering h2
03:01:32.856561 == Info: ALPN, offering http/1.1
03:01:34.043801 == Info: successfully set certificate verify locations:
03:01:34.044074 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:34.126776 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:34.131970 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:34.132049 => Send SSL data, 160 bytes (0xa0)
0000: .......Zx..};..i.f]V:............?..`E..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:34.150299 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:34.154901 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:34.154960 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...+NY./S|...]:...v...L...p.n..8.. .0...a..yGK7.....[7F]..\.a.g
0040: .zf+|.../................
03:01:34.200472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:34.200939 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:34.200995 <= 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.304076 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:34.304377 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:34.304452 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..d..Fc.G...u...t.....it...eE.....4..c...%....=.'tb.....
0040: ...6.Y.+.........l...9.L.(.'...A..p...v.l...#^..(...16v...}..fN.
0080: ..7.Pc.a.~......c.g..^.....?+.S...=.!..n.kV:..........KR....S.Bo
00c0: .tCQ..#L.........c./..........rl ['.E..:.LuC..}.......4.Z..i...a
0100: ....5aa.......M.....[...j.H.......J...C.I...P2.....)b.q.]...p&[7F]@
0140: ....U.R...l.g
03:01:34.377050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:34.377413 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:34.377474 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:34.500886 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:34.501157 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:34.501220 => Send SSL data, 70 bytes (0x46)
0000: ...BA.g*..JzCa".G..N.........:......g..\.d......e}_.BH8.....R..q
0040: ...B.
03:01:34.514295 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:34.514864 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:34.514925 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:34.547898 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:34.548111 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:34.548167 => Send SSL data, 16 bytes (0x10)
0000: ......Q...fY.N1.
03:01:34.550818 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:34.551887 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:34.551946 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:34.554455 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:34.559983 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:34.560045 <= Recv SSL data, 16 bytes (0x10)
0000: ......N....b~...
03:01:34.582715 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:34.583459 == Info: ALPN, server did not agree to a protocol
03:01:34.585790 == Info: Server certificate:
03:01:34.593472 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:34.600040 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:34.601019 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:34.601915 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:34.602840 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:34.604500 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:34.641400 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:34.644262 => Send header, 224 bytes (0xe0)
0000: POST /we/want/304 HTTP/1.1
001c: Host: 127.0.0.1:8991
0032: User-Agent: curl/7.64.0-DEV
004f: Accept: */*
005c: Content-Length: 1386
0072: Content-Type: multipart/form-data; boundary=--------------------
00b2: ----3433323135333231
00c8: Expect: 100-continue
00de:
03:01:34.647281 == Info: Expire in 1000 ms for 0 (transfer 0x626d7a8)
03:01:34.648333 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:34.649371 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:34.650159 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:35.649829 == Info: Done waiting for 100-continue
03:01:35.664868 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:35.665345 => Send data, 1386 bytes (0x56a)
0000: --------------------------3433323135333231
002c: Content-Disposition: form-data; name="name"
0059:
005b: daniel
0063: --------------------------3433323135333231
008f: Content-Disposition: form-data; name="tool"
00bc:
00be: curl
00c4: --------------------------3433323135333231
00f0: Content-Disposition: form-data; name="file"; filename="test304.t
0130: xt"
0135: Content-Type: text/plain
014f:
0151: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0191: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
01d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0211: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0251: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0291: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
02d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0311: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0351: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0391: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
03d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0411: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0451: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0491: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
04d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0511: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
053c: --------------------------3433323135333231--
03:01:35.675391 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:01:35.685393 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:35.687861 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:01:35.691798 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:35.693616 == Info: Server test-server/fake is not blacklisted
03:01:35.693910 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:35.694980 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
03:01:35.697371 <= Recv header, 1 bytes (0x1)
0000: .
03:01:35.698185 <= Recv data, 2 bytes (0x2)
0000: bl
03:01:35.702407 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:35.702595 <= Recv data, 8 bytes (0x8)
0000: ablabla.
03:01:35.704769 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:35.705264 == Info: multi_done
03:01:35.714132 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==14828== Invalid read of size 8
==14828== at 0x5E745A5: check_free (dlerror.c:188)
==14828== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14828== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14828== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14828== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14828== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14828== by 0x559AF79: exit (exit.c:139)
==14828== by 0x55850A1: (below main) (libc-start.c:342)
==14828== Address 0x66b65f0 is 0 bytes after a block of size 32 alloc'd
==14828== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14828== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14828== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14828== by 0x4DD0E85: err_get_state (err.c:210)
==14828== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14828== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14828== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14828== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14828== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14828== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14828== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14828== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14828== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14828== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14828== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14828== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14828==
==14828== Invalid free() / delete / delete[] / realloc()
==14828== at 0x48369AB: free (vg_replace_malloc.c:530)
==14828== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14828== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14828== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14828== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14828== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14828== by 0x559AF79: exit (exit.c:139)
==14828== by 0x55850A1: (below main) (libc-start.c:342)
==14828== Address 0x66b65d8 is 8 bytes inside a block of size 32 alloc'd
==14828== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14828== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14828== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14828== by 0x4DD0E85: err_get_state (err.c:210)
==14828== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14828== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14828== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14828== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14828== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14828== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14828== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14828== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14828== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14828== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14828== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14828== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14828==
==14828== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14828== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14828== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14828== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14828== by 0x4DD0E85: err_get_state (err.c:210)
==14828== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14828== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14828== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14828== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14828== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14828== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14828== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14828== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14828== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14828== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14828== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14828== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14828==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==14832== Invalid read of size 8
==14832== at 0x5E745A5: check_free (dlerror.c:188)
==14832== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14832== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14832== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14832== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14832== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14832== by 0x559AF79: exit (exit.c:139)
==14832== by 0x55850A1: (below main) (libc-start.c:342)
==14832== Address 0x6302300 is 0 bytes after a block of size 32 alloc'd
==14832== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14832== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14832== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14832== by 0x4DD0E85: err_get_state (err.c:210)
==14832== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14832== by 0x4E67EB5: BIO_new_file (file.c:95)
==14832== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==14832== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14832== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14832== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14832== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14832== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14832== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14832== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14832== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14832== by 0x1714CE: https_connecting (http.c:1521)
==14832==
==14832== Invalid free() / delete / delete[] / realloc()
==14832== at 0x48369AB: free (vg_replace_malloc.c:530)
==14832== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14832== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14832== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14832== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14832== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14832== by 0x559AF79: exit (exit.c:139)
==14832== by 0x55850A1: (below main) (libc-start.c:342)
==14832== Address 0x63022e8 is 8 bytes inside a block of size 32 alloc'd
==14832== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14832== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14832== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14832== by 0x4DD0E85: err_get_state (err.c:210)
==14832== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14832== by 0x4E67EB5: BIO_new_file (file.c:95)
==14832== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==14832== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14832== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14832== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14832== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14832== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14832== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14832== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14832== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14832== by 0x1714CE: https_connecting (http.c:1521)
==14832==
==14832== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==14832== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14832== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14832== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14832== by 0x4DD0E85: err_get_state (err.c:210)
==14832== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14832== by 0x4E67EB5: BIO_new_file (file.c:95)
==14832== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==14832== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14832== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14832== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14832== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14832== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14832== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14832== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14832== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14832== by 0x1714CE: https_connecting (http.c:1521)
==14832==
== Contents of files in the log/ dir after test 305
=== Start of file http_server.log
03:01:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file server.response
=== Start of file stderr305
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr305
=== Start of file trace305
03:01:36.772013 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:36.799604 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:36.839663 == Info: Added connection 0. The cache now contains 1 members
03:01:36.859581 == Info: Trying 127.0.0.1...
03:01:36.860191 == Info: TCP_NODELAY set
03:01:36.863262 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:36.865607 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:36.880457 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:36.881248 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:36.882845 == Info: Marked for [keep alive]: HTTP default
03:01:36.904456 == Info: ALPN, offering h2
03:01:36.904764 == Info: ALPN, offering http/1.1
03:01:36.914577 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:36.915064 == Info: Marked for [closure]: Failed HTTPS connection
03:01:36.915599 == Info: multi_done
03:01:36.924431 == Info: Closing connection 0
03:01:36.927100 == Info: The cache now contains 0 members
03:01:36.944682 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace305
=== Start of file valgrind305
==14832== Invalid read of size 8
==14832== at 0x5E745A5: check_free (dlerror.c:188)
==14832== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14832== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14832== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14832== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14832== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14832== by 0x559AF79: exit (exit.c:139)
==14832== by 0x55850A1: (below main) (libc-start.c:342)
==14832== Address 0x6302300 is 0 bytes after a block of size 32 alloc'd
==14832== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14832== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14832== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14832== by 0x4DD0E85: err_get_state (err.c:210)
==14832== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14832== by 0x4E67EB5: BIO_new_file (file.c:95)
==14832== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==14832== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14832== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14832== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14832== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14832== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14832== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14832== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14832== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14832== by 0x1714CE: https_connecting (http.c:1521)
==14832==
==14832== Invalid free() / delete / delete[] / realloc()
==14832== at 0x48369AB: free (vg_replace_malloc.c:530)
==14832== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14832== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14832== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14832== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14832== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14832== by 0x559AF79: exit (exit.c:139)
==14832== by 0x55850A1: (below main) (libc-start.c:342)
==14832== Address 0x63022e8 is 8 bytes inside a block of size 32 alloc'd
==14832== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14832== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14832== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14832== by 0x4DD0E85: err_get_state (err.c:210)
==14832== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14832== by 0x4E67EB5: BIO_new_file (file.c:95)
==14832== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==14832== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14832== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14832== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14832== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14832== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14832== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14832== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14832== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14832== by 0x1714CE: https_connecting (http.c:1521)
==14832==
==14832== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==14832== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14832== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14832== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14832== by 0x4DD0E85: err_get_state (err.c:210)
==14832== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14832== by 0x4E67EB5: BIO_new_file (file.c:95)
==14832== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==14832== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14832== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14832== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14832== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14832== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14832== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14832== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14832== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14832== by 0x1714CE: https_connecting (http.c:1521)
==14832==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==14836== Invalid read of size 8
==14836== at 0x5E745A5: check_free (dlerror.c:188)
==14836== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14836== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14836== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14836== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14836== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14836== by 0x559AF79: exit (exit.c:139)
==14836== by 0x55850A1: (below main) (libc-start.c:342)
==14836== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==14836== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14836== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14836== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14836== by 0x4DD0E85: err_get_state (err.c:210)
==14836== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14836== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14836== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14836== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14836== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14836== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14836== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14836== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14836== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14836== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14836== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14836== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14836==
==14836== Invalid free() / delete / delete[] / realloc()
==14836== at 0x48369AB: free (vg_replace_malloc.c:530)
==14836== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14836== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14836== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14836== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14836== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14836== by 0x559AF79: exit (exit.c:139)
==14836== by 0x55850A1: (below main) (libc-start.c:342)
==14836== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==14836== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14836== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14836== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14836== by 0x4DD0E85: err_get_state (err.c:210)
==14836== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14836== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14836== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14836== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14836== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14836== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14836== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14836== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14836== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14836== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14836== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14836== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14836==
==14836== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14836== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14836== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14836== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14836== by 0x4DD0E85: err_get_state (err.c:210)
==14836== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14836== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14836== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14836== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14836== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14836== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14836== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14836== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14836== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14836== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14836== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14836== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14836==
== 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:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
03:01:38.710758 ====> Client connect
03:01:38.710786 accept_connection 3 returned 4
03:01:38.710802 accept_connection 3 returned 0
03:01:38.784578 Read 85 bytes
03:01:38.784617 Process 85 bytes request
03:01:38.784633 Got request: GET /306 HTTP/1.1
03:01:38.784642 Requested test number 306 part 0
03:01:38.784667 - request found to be complete
03:01:38.784694 Wrote request (85 bytes) input to log/server.input
03:01:38.784720 Send response test306 section <data>
03:01:38.784747 connection close instruction "swsclose" found in response
03:01:38.784809 Response sent (107 bytes) and written to log/server.response
03:01:38.784825 instructed to close connection after server-reply
03:01:38.784833 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /306 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.64.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file server.response
=== Start of file stderr306
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 107 0 107 0 0 56 0 --:--:-- 0:00:01 --:--:-- 58
=== End of file stderr306
=== Start of file trace306
03:01:37.938772 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:37.963580 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:38.001210 == Info: Added connection 0. The cache now contains 1 members
03:01:38.018221 == Info: Trying 127.0.0.1...
03:01:38.018824 == Info: TCP_NODELAY set
03:01:38.021983 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:38.024183 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:38.035215 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:01:38.035763 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:38.036895 == Info: Marked for [keep alive]: HTTP default
03:01:38.057157 == Info: ALPN, offering h2
03:01:38.057457 == Info: ALPN, offering http/1.1
03:01:39.223650 == Info: successfully set certificate verify locations:
03:01:39.223904 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:39.303139 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:39.308225 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:39.308290 => Send SSL data, 160 bytes (0xa0)
0000: .......0.e...~9..d.kB[7F]8..*/.q.gO...\*<..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:39.326270 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:39.330711 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:39.330772 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..>!.V5...}).3..S..oG.!.....J.S..F R..6q....,...?'e&1...D...
0040: .U>...-./................
03:01:39.375022 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:39.375561 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:39.375621 <= 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:39.475036 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:39.475309 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:39.475370 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..d..Fc.G...u...t.....it...eE.....4..c...%....=.'tb.....
0040: ...6.Y.+.....a..:........&8.]...BAn?l..B.n{..r..Nr.0C..........l
0080: .<...;.......$.>...<w...t.+j..#...{....lDZ .(....B|%<G..V.`..+A.
00c0: ,..f..?E?.A.WpK.....j.=......dT.E2...b.....cO...K..Zk....;`.S...
0100: ..z..a...OI#.4h..e...........YN"...v.Q..8.....Y...y2[.C5..m.,..o
0140: ..&.|.....d.8
03:01:39.544712 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:39.545044 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:39.545101 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:39.664099 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:39.664354 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:39.664431 => Send SSL data, 70 bytes (0x46)
0000: ...BA.......Z8`Y.ri1~B......N..[7F].4..V.V.zQ..`.=8..8..DtDZ.!.....
0040: *t...D
03:01:39.677252 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:39.677824 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:39.677880 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:39.709658 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:39.709857 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:39.709912 => Send SSL data, 16 bytes (0x10)
0000: .....{g....,<.Y.
03:01:39.712450 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:39.713534 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:39.713591 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:39.716102 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:39.721483 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:39.721539 <= Recv SSL data, 16 bytes (0x10)
0000: ....;.A..,...f..
03:01:39.743215 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:39.743918 == Info: ALPN, server did not agree to a protocol
03:01:39.746143 == Info: Server certificate:
03:01:39.753509 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:39.759869 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:39.760815 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:39.761653 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:39.762560 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:39.764077 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:39.783217 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:01:39.785818 => Send header, 85 bytes (0x55)
0000: GET /306 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:01:39.788717 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:39.789707 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:39.790465 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:39.795004 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:01:39.800899 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
03:01:39.801770 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
03:01:39.802330 <= Recv data, 2 bytes (0x2)
0000: .L
03:01:39.802675 == Info: Increasing bytecount by 38 from hbuflen
03:01:39.813317 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:01:39.813790 <= Recv data, 60 bytes (0x3c)
0000: et's get..a little..so that..we..have..some..test..data to..
03:01:39.814831 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:39.815001 <= Recv data, 7 bytes (0x7)
0000: verify.
03:01:39.835106 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:39.836623 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
03:01:39.836680 <= Recv SSL data, 2 bytes (0x2)
0000: ..
03:01:39.838335 == Info: nread <= 0, server closed connection, bailing
03:01:39.840156 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:39.840631 == Info: multi_done
03:01:39.848950 == Info: Closing connection 0
03:01:39.851600 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==14836== Invalid read of size 8
==14836== at 0x5E745A5: check_free (dlerror.c:188)
==14836== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14836== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14836== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14836== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14836== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14836== by 0x559AF79: exit (exit.c:139)
==14836== by 0x55850A1: (below main) (libc-start.c:342)
==14836== Address 0x66ad610 is 0 bytes after a block of size 32 alloc'd
==14836== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14836== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14836== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14836== by 0x4DD0E85: err_get_state (err.c:210)
==14836== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14836== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14836== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14836== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14836== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14836== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14836== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14836== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14836== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14836== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14836== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14836== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14836==
==14836== Invalid free() / delete / delete[] / realloc()
==14836== at 0x48369AB: free (vg_replace_malloc.c:530)
==14836== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14836== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14836== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14836== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14836== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14836== by 0x559AF79: exit (exit.c:139)
==14836== by 0x55850A1: (below main) (libc-start.c:342)
==14836== Address 0x66ad5f8 is 8 bytes inside a block of size 32 alloc'd
==14836== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14836== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14836== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14836== by 0x4DD0E85: err_get_state (err.c:210)
==14836== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14836== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14836== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14836== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14836== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14836== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14836== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14836== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14836== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14836== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14836== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14836== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14836==
==14836== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14836== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14836== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14836== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14836== by 0x4DD0E85: err_get_state (err.c:210)
==14836== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14836== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14836== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14836== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14836== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14836== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14836== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14836== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14836== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14836== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14836== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14836== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14836==
=== 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 ==14842== Invalid read of size 8
==14842== at 0x5E745A5: check_free (dlerror.c:188)
==14842== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14842== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14842== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14842== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14842== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14842== by 0x559AF79: exit (exit.c:139)
==14842== by 0x55850A1: (below main) (libc-start.c:342)
==14842== Address 0x66e8110 is 0 bytes after a block of size 32 alloc'd
==14842== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14842== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14842== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14842== by 0x4DD0E85: err_get_state (err.c:210)
==14842== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14842== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14842== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14842== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14842== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14842== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14842== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14842== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14842== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14842== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14842== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14842== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14842==
==14842== Invalid free() / delete / delete[] / realloc()
==14842== at 0x48369AB: free (vg_replace_malloc.c:530)
==14842== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14842== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14842== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14842== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14842== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14842== by 0x559AF79: exit (exit.c:139)
==14842== by 0x55850A1: (below main) (libc-start.c:342)
==14842== Address 0x66e80f8 is 8 bytes inside a block of size 32 alloc'd
==14842== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14842== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14842== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14842== by 0x4DD0E85: err_get_state (err.c:210)
==14842== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14842== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14842== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14842== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14842== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14842== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14842== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14842== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14842== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14842== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14842== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14842== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14842==
==14842== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14842== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14842== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14842== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14842== by 0x4DD0E85: err_get_state (err.c:210)
==14842== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14842== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14842== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14842== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14842== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14842== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14842== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14842== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14842== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14842== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14842== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14842== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14842==
== 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:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
03:01:38.710758 ====> Client connect
03:01:38.710786 accept_connection 3 returned 4
03:01:38.710802 accept_connection 3 returned 0
03:01:38.784578 Read 85 bytes
03:01:38.784617 Process 85 bytes request
03:01:38.784633 Got request: GET /306 HTTP/1.1
03:01:38.784642 Requested test number 306 part 0
03:01:38.784667 - request found to be complete
03:01:38.784694 Wrote request (85 bytes) input to log/server.input
03:01:38.784720 Send response test306 section <data>
03:01:38.784747 connection close instruction "swsclose" found in response
03:01:38.784809 Response sent (107 bytes) and written to log/server.response
03:01:38.784825 instructed to close connection after server-reply
03:01:38.784833 ====> Client disconnect 0
03:01:39.978188 ====> Client connect
03:01:39.978212 accept_connection 3 returned 4
03:01:39.978226 accept_connection 3 returned 0
03:01:40.006209 Read 90 bytes
03:01:40.006248 Process 90 bytes request
03:01:40.006263 Got request: GET /want/309 HTTP/1.1
03:01:40.006272 Requested test number 309 part 0
03:01:40.006300 - request found to be complete
03:01:40.006325 Wrote request (90 bytes) input to log/server.input
03:01:40.006345 Send response test309 section <data>
03:01:40.006376 connection close instruction "swsclose" found in response
03:01:40.006449 Response sent (277 bytes) and written to log/server.response
03:01:40.006459 instructed to close connection after server-reply
03:01:40.006467 ====> Client disconnect 0
03:01:41.692013 ====> Client connect
03:01:41.692038 accept_connection 3 returned 4
03:01:41.692052 accept_connection 3 returned 0
03:01:41.756722 Read 111 bytes
03:01:41.756762 Process 111 bytes request
03:01:41.756780 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:41.756791 Requested test number 309 part 2
03:01:41.756817 - request found to be complete
03:01:41.756830 Wrote request (111 bytes) input to log/server.input
03:01:41.756842 Send response test309 section <data2>
03:01:41.756865 connection close instruction "swsclose" found in response
03:01:41.756924 Response sent (179 bytes) and written to log/server.response
03:01:41.756934 instructed to close connection after server-reply
03:01:41.756941 ====> 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

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 --:--:-- 1529
=== End of file stderr309
=== Start of file trace309
03:01:40.897279 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:40.921874 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:40.958456 == Info: Added connection 0. The cache now contains 1 members
03:01:40.975094 == Info: Trying 127.0.0.1...
03:01:40.975690 == Info: TCP_NODELAY set
03:01:40.978760 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:40.981115 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:01:40.992123 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
03:01:40.992670 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:40.993792 == Info: Marked for [keep alive]: HTTP default
03:01:40.994727 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:41.006861 => Send header, 90 bytes (0x5a)
0000: GET /want/309 HTTP/1.1
0018: Host: 127.0.0.1:8990
002e: User-Agent: curl/7.64.0-DEV
004b: Accept: */*
0058:
03:01:41.011604 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:41.013481 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:41.014245 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:41.024145 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:41.026706 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
03:01:41.030434 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:01:41.032227 == Info: Server test-server/fake is not blacklisted
03:01:41.032512 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
03:01:41.033447 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
03:01:41.034515 == Info: Marked for [closure]: Connection: close used
03:01:41.034625 <= Recv header, 19 bytes (0x13)
0000: Connection: close
03:01:41.037003 <= Recv header, 2 bytes (0x2)
0000:
03:01:41.039599 == Info: multi_done
03:01:41.047925 == Info: Closing connection 0
03:01:41.050625 == Info: The cache now contains 0 members
03:01:41.061402 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
03:01:41.062185 == Info: STATE: PERFORM => CONNECT handle 0x626d7a8; line 2022 (connection #-5000)
03:01:41.065599 == Info: Added connection 1. The cache now contains 1 members
03:01:41.066305 == Info: Trying 127.0.0.1...
03:01:41.066363 == Info: TCP_NODELAY set
03:01:41.066483 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:41.067058 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #1)
03:01:41.067190 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
03:01:41.067271 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #1)
03:01:41.067343 == Info: Marked for [keep alive]: HTTP default
03:01:41.087307 == Info: ALPN, offering h2
03:01:41.087585 == Info: ALPN, offering http/1.1
03:01:42.209112 == Info: successfully set certificate verify locations:
03:01:42.209369 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:42.288777 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:42.292163 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:42.292224 => Send SSL data, 160 bytes (0xa0)
0000: .........)W"j. ...?...;.0...#X..(.t.K...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:01:42.309827 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:42.314314 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:42.314376 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...s...7MzK.O..LZ.S......Q..K..zV. ...T.^..K..~..%......[7F]...
0040: =....l;./................
03:01:42.358468 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:42.358955 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:42.359014 <= 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:42.457279 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:42.457546 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:42.457605 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..d..Fc.G...u...t.....it...eE.....4..c...%....=.'tb.....
0040: ...6.Y.+.....5>3.Rl..w.n....#....g..:....gR..o...=.z.%.A.!^A6yn5
0080: .eS$Uqx.....(.c..h"(.4......k...<....1.0...*...Cv....V....V.....
00c0: ..d..U.6..t..9........V=5..u\.`..m.Ff..e.......p..*....C........
0100: s...."..].. /.."-.....ap.l..6..S.a}..'.h.P_.....G?.Q._...8+..$..
0140: .T......c.ZZ.
03:01:42.526428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:42.526765 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:42.526823 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:42.645236 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:42.645484 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:42.645544 => Send SSL data, 70 bytes (0x46)
0000: ...BA..9..;..[.l.(.=......_ET...*..FZ......O.3....X-..2..[7F]K;m8..
0040: ..CN..
03:01:42.657921 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:42.658479 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:42.658535 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:42.690849 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:42.691062 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:42.691131 => Send SSL data, 16 bytes (0x10)
0000: ........p..<G%..
03:01:42.693633 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:42.694665 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:42.694720 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:42.697143 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:42.702451 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:42.702507 <= Recv SSL data, 16 bytes (0x10)
0000: ....o..^.[l.:.Y.
03:01:42.724131 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:42.724839 == Info: ALPN, server did not agree to a protocol
03:01:42.727045 == Info: Server certificate:
03:01:42.734368 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:42.740667 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:42.741607 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:42.742433 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:42.743331 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:42.744453 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #1)
03:01:42.755355 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:42.757589 => Send header, 111 bytes (0x6f)
0000: GET /data/3090002.txt?coolsite=yes HTTP/1.1
002d: Host: 127.0.0.1:8991
0043: User-Agent: curl/7.64.0-DEV
0060: Accept: */*
006d:
03:01:42.758164 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #1)
03:01:42.758254 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #1)
03:01:42.758339 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #1)
03:01:42.761029 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:01:42.770726 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:01:42.771268 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:42.771340 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
03:01:42.771585 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
03:01:42.772365 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:01:42.772573 == Info: Server test-server/fake is not blacklisted
03:01:42.772659 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
03:01:42.773906 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
03:01:42.774253 <= Recv header, 2 bytes (0x2)
0000:
03:01:42.774622 <= Recv data, 13 bytes (0xd)
0000: If this is re
03:01:42.777091 <= Recv SSL data, 5 bytes (0x5)
0000: ....?
03:01:42.777254 <= Recv data, 39 bytes (0x27)
0000: ceived, the location following worked..
03:01:42.778465 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #1)
03:01:42.778898 == Info: multi_done
03:01:42.781077 == Info: Connection #1 to host 127.0.0.1 left intact
=== End of file trace309
=== Start of file valgrind309
==14842== Invalid read of size 8
==14842== at 0x5E745A5: check_free (dlerror.c:188)
==14842== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14842== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14842== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14842== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14842== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14842== by 0x559AF79: exit (exit.c:139)
==14842== by 0x55850A1: (below main) (libc-start.c:342)
==14842== Address 0x66e8110 is 0 bytes after a block of size 32 alloc'd
==14842== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14842== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14842== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14842== by 0x4DD0E85: err_get_state (err.c:210)
==14842== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14842== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14842== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14842== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14842== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14842== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14842== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14842== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14842== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14842== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14842== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14842== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14842==
==14842== Invalid free() / delete / delete[] / realloc()
==14842== at 0x48369AB: free (vg_replace_malloc.c:530)
==14842== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14842== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14842== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14842== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14842== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14842== by 0x559AF79: exit (exit.c:139)
==14842== by 0x55850A1: (below main) (libc-start.c:342)
==14842== Address 0x66e80f8 is 8 bytes inside a block of size 32 alloc'd
==14842== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14842== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14842== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14842== by 0x4DD0E85: err_get_state (err.c:210)
==14842== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14842== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14842== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14842== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14842== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14842== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14842== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14842== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14842== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14842== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14842== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14842== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14842==
==14842== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14842== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14842== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14842== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14842== by 0x4DD0E85: err_get_state (err.c:210)
==14842== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14842== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14842== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14842== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14842== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14842== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14842== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14842== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14842== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14842== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14842== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14842== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14842==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==14859== Invalid read of size 8
==14859== at 0x5E745A5: check_free (dlerror.c:188)
==14859== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14859== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14859== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14859== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14859== by 0x559AF79: exit (exit.c:139)
==14859== by 0x55850A1: (below main) (libc-start.c:342)
==14859== Address 0x630fe80 is 0 bytes after a block of size 32 alloc'd
==14859== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14859== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14859== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14859== by 0x4DD0E85: err_get_state (err.c:210)
==14859== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14859== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14859== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14859== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14859== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14859== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14859== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14859== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14859== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14859== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14859== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14859== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14859==
==14859== Invalid free() / delete / delete[] / realloc()
==14859== at 0x48369AB: free (vg_replace_malloc.c:530)
==14859== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14859== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14859== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14859== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14859== by 0x559AF79: exit (exit.c:139)
==14859== by 0x55850A1: (below main) (libc-start.c:342)
==14859== Address 0x630fe68 is 8 bytes inside a block of size 32 alloc'd
==14859== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14859== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14859== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14859== by 0x4DD0E85: err_get_state (err.c:210)
==14859== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14859== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14859== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14859== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14859== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14859== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14859== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14859== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14859== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14859== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14859== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14859== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14859==
==14859== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14859== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14859== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14859== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14859== by 0x4DD0E85: err_get_state (err.c:210)
==14859== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14859== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14859== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14859== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14859== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14859== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14859== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14859== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14859== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14859== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14859== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14859== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14859==
== 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:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
03:01:38.710758 ====> Client connect
03:01:38.710786 accept_connection 3 returned 4
03:01:38.710802 accept_connection 3 returned 0
03:01:38.784578 Read 85 bytes
03:01:38.784617 Process 85 bytes request
03:01:38.784633 Got request: GET /306 HTTP/1.1
03:01:38.784642 Requested test number 306 part 0
03:01:38.784667 - request found to be complete
03:01:38.784694 Wrote request (85 bytes) input to log/server.input
03:01:38.784720 Send response test306 section <data>
03:01:38.784747 connection close instruction "swsclose" found in response
03:01:38.784809 Response sent (107 bytes) and written to log/server.response
03:01:38.784825 instructed to close connection after server-reply
03:01:38.784833 ====> Client disconnect 0
03:01:39.978188 ====> Client connect
03:01:39.978212 accept_connection 3 returned 4
03:01:39.978226 accept_connection 3 returned 0
03:01:40.006209 Read 90 bytes
03:01:40.006248 Process 90 bytes request
03:01:40.006263 Got request: GET /want/309 HTTP/1.1
03:01:40.006272 Requested test number 309 part 0
03:01:40.006300 - request found to be complete
03:01:40.006325 Wrote request (90 bytes) input to log/server.input
03:01:40.006345 Send response test309 section <data>
03:01:40.006376 connection close instruction "swsclose" found in response
03:01:40.006449 Response sent (277 bytes) and written to log/server.response
03:01:40.006459 instructed to close connection after server-reply
03:01:40.006467 ====> Client disconnect 0
03:01:41.692013 ====> Client connect
03:01:41.692038 accept_connection 3 returned 4
03:01:41.692052 accept_connection 3 returned 0
03:01:41.756722 Read 111 bytes
03:01:41.756762 Process 111 bytes request
03:01:41.756780 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:41.756791 Requested test number 309 part 2
03:01:41.756817 - request found to be complete
03:01:41.756830 Wrote request (111 bytes) input to log/server.input
03:01:41.756842 Send response test309 section <data2>
03:01:41.756865 connection close instruction "swsclose" found in response
03:01:41.756924 Response sent (179 bytes) and written to log/server.response
03:01:41.756934 instructed to close connection after server-reply
03:01:41.756941 ====> Client disconnect 0
03:01:41.908390 signalled to die
03:01:41.908472 ========> IPv4 sws (port 8990 pid: 13466) exits with signal (15)
03:01:47.922779 Running HTTP IPv4 version on port 8990
03:01:47.923085 Wrote pid 14846 to .http_server.pid
03:01:48.921965 ====> Client connect
03:01:48.921989 accept_connection 3 returned 4
03:01:48.922003 accept_connection 3 returned 0
03:01:48.922017 Read 96 bytes
03:01:48.922026 Process 96 bytes request
03:01:48.922042 Got request: GET /verifiedserver HTTP/1.1
03:01:48.922053 Are-we-friendly question received
03:01:48.922063 Wrote request (96 bytes) input to log/server.input
03:01:48.922077 Identifying ourselves as friends
03:01:48.922119 Response sent (56 bytes) and written to log/server.response
03:01:48.922128 special request received, no persistency
03:01:48.922135 ====> Client disconnect 0
03:01:50.954706 ====> Client connect
03:01:50.954736 accept_connection 3 returned 4
03:01:50.954760 accept_connection 3 returned 0
03:01:50.954929 Read 96 bytes
03:01:50.954946 Process 96 bytes request
03:01:50.954964 Got request: GET /verifiedserver HTTP/1.1
03:01:50.954977 Are-we-friendly question received
03:01:50.954991 Wrote request (96 bytes) input to log/server.input
03:01:50.955011 Identifying ourselves as friends
03:01:50.955061 Response sent (56 bytes) and written to log/server.response
03:01:50.955074 special request received, no persistency
03:01:50.955084 ====> Client disconnect 0
03:01:53.664232 ====> Client connect
03:01:53.664254 accept_connection 3 returned 4
03:01:53.664272 accept_connection 3 returned 0
03:01:53.740940 Read 85 bytes
03:01:53.740978 Process 85 bytes request
03:01:53.740993 Got request: GET /310 HTTP/1.1
03:01:53.741002 Requested test number 310 part 0
03:01:53.741037 - request found to be complete
03:01:53.741068 Wrote request (85 bytes) input to log/server.input
03:01:53.741090 Send response test310 section <data>
03:01:53.741167 Response sent (103 bytes) and written to log/server.response
03:01:53.741177 => persistent connection request ended, awaits new request
03:01:53.806750 Connection closed by client
03:01:53.806789 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x564299cce6a8)
* Expire in 13000 ms for 8 (transfer 0x564299cce6a8)
* STATE: INIT => CONNECT handle 0x564299cce6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x564299cce6a8)
* STATE: CONNECT => WAITCONNECT handle 0x564299cce6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x564299cce6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x564299cce6a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x564299cce6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x564299cce6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x564299cce6a8; line 1849 (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 0x564299cce6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x564299cce6a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 14846
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.12 03:01:49 LOG5[14852]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:01:49 LOG5[14852]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:01:49 LOG5[14852]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:01:49 LOG5[14852]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:01:49 LOG5[14852]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:01:49 LOG5[14852]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:01:49 LOG5[14852]: FIPS mode disabled
2019.01.12 03:01:49 LOG5[14852]: Configuration successful
2019.01.12 03:01:50 LOG5[14855]: Service [curltest] accepted connection from 127.0.0.1:39636
2019.01.12 03:01:50 LOG5[14855]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:50 LOG5[14855]: Service [curltest] connected remote server from 127.0.0.1:34248
2019.01.12 03:01:50 LOG5[14855]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:01:52 LOG5[14860]: Service [curltest] accepted connection from 127.0.0.1:39642
2019.01.12 03:01:53 LOG5[14860]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:01:53 LOG5[14860]: Service [curltest] connected remote server from 127.0.0.1:34254
2019.01.12 03:01:53 LOG5[14860]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x56122a2d36a8)
* Expire in 13000 ms for 8 (transfer 0x56122a2d36a8)
* STATE: INIT => CONNECT handle 0x56122a2d36a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x56122a2d36a8)
* STATE: CONNECT => WAITCONNECT handle 0x56122a2d36a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56122a2d36a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56122a2d36a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x56122a2d36a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x56122a2d36a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x56122a2d36a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x56122a2d36a8; line 1849 (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 0x56122a2d36a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56122a2d36a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 14846
=== 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: 14846
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14846
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr310
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 8
=== End of file stderr310
=== Start of file trace310
03:01:52.885585 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:01:52.910588 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:01:52.948693 == Info: Added connection 0. The cache now contains 1 members
03:01:52.986775 == Info: STATE: CONNECT => WAITRESOLVE handle 0x626d7a8; line 1478 (connection #0)
03:01:52.996732 == Info: Expire in 4988 ms for 1 (transfer 0x626d7a8)
03:01:52.997734 == Info: Expire in 4986 ms for 1 (transfer 0x626d7a8)
03:01:53.009583 == Info: Expire in 300000 ms for 1 (transfer 0x626d7a8)
03:01:53.018350 == Info: Trying ::1...
03:01:53.018979 == Info: TCP_NODELAY set
03:01:53.021412 == Info: Expire in 149950 ms for 3 (transfer 0x626d7a8)
03:01:53.022725 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:01:53.023444 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x626d7a8; line 1559 (connection #0)
03:01:53.032089 == Info: connect to ::1 port 8991 failed: Connection refused
03:01:53.034244 == Info: Trying 127.0.0.1...
03:01:53.034308 == Info: TCP_NODELAY set
03:01:53.034425 == Info: Expire in 149943 ms for 3 (transfer 0x626d7a8)
03:01:53.039903 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:01:53.040420 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:01:53.041425 == Info: Marked for [keep alive]: HTTP default
03:01:53.061537 == Info: ALPN, offering h2
03:01:53.061811 == Info: ALPN, offering http/1.1
03:01:53.145354 == Info: successfully set certificate verify locations:
03:01:53.145666 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:01:53.228353 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:53.233560 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:53.233626 => Send SSL data, 178 bytes (0xb2)
0000: ......1.Mi.k.I..;.$...Zj.m e..{l.@.3Z...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:01:53.251556 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:01:53.255978 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:53.256044 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....E:.c.:_...........@x1P.....*9. 8..#..ja||.2&.......N.:W.
0040: ...[.(../....................
03:01:53.301473 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:53.301936 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:53.301995 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:01:53.477010 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:53.477278 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:53.477338 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..L.I...6........J=Y.......7..i...]..)..q.o..ll._.#28K:(
0040: .....$.......+. .?.n.-......?...c..X.....`&.4..\Dy..........]%p(
0080: .D.5.....T_...;"G..[7F].G.3.YO.a?*7.1....(...k(..2....m......2$O.kJ
00c0: ...:.....{....Q....ar....E.C..=.E."..K{W.o...rtw.-S.q.}c..+...l.
0100: 8.i.B[7F].v.,C.B..f.n..e...d.d..]j`.`...|H........1.J,..n.).9...rL.
0140: 7.(..r.._^B3.
03:01:53.497404 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:53.497723 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:53.497780 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:53.617567 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:53.617818 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:53.617878 => Send SSL data, 70 bytes (0x46)
0000: ...BA..].El)O.........bm\HW.g]=.j..{.%.x...<U...&M.b1.....;y.`..
0040: }.#...
03:01:53.630582 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:53.631138 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:53.631194 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:53.663094 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:53.663289 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:53.663345 => Send SSL data, 16 bytes (0x10)
0000: ....v....q.'..2.
03:01:53.665861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:53.666916 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:53.666975 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:53.669393 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:53.675000 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:53.675058 <= Recv SSL data, 16 bytes (0x10)
0000: ....Eu.|..0.....
03:01:53.696863 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:53.697580 == Info: ALPN, server did not agree to a protocol
03:01:53.699719 == Info: Server certificate:
03:01:53.707551 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:01:53.712358 == Info: start date: Sep 19 07:13:14 2018 GMT
03:01:53.713712 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:01:53.716764 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:01:53.719029 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:01:53.719618 == Info: SSL certificate verify ok.
03:01:53.721158 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:01:53.739519 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:01:53.742117 => Send header, 85 bytes (0x55)
0000: GET /310 HTTP/1.1
0013: Host: localhost:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:01:53.745002 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:01:53.746007 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:01:53.746771 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:01:53.751306 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
03:01:53.761693 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:01:53.764131 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:01:53.767984 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:01:53.769846 == Info: Server test-server/fake is not blacklisted
03:01:53.770131 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:01:53.771405 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:01:53.773620 <= Recv header, 1 bytes (0x1)
0000: .
03:01:53.774405 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:01:53.780792 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:01:53.781259 == Info: multi_done
03:01:53.789794 == Info: Connection #0 to host localhost left intact
03:01:53.791158 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace310
=== Start of file valgrind310
==14859== Invalid read of size 8
==14859== at 0x5E745A5: check_free (dlerror.c:188)
==14859== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14859== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14859== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14859== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14859== by 0x559AF79: exit (exit.c:139)
==14859== by 0x55850A1: (below main) (libc-start.c:342)
==14859== Address 0x630fe80 is 0 bytes after a block of size 32 alloc'd
==14859== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14859== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14859== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14859== by 0x4DD0E85: err_get_state (err.c:210)
==14859== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14859== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14859== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14859== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14859== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14859== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14859== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14859== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14859== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14859== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14859== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14859== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14859==
==14859== Invalid free() / delete / delete[] / realloc()
==14859== at 0x48369AB: free (vg_replace_malloc.c:530)
==14859== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14859== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14859== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14859== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14859== by 0x559AF79: exit (exit.c:139)
==14859== by 0x55850A1: (below main) (libc-start.c:342)
==14859== Address 0x630fe68 is 8 bytes inside a block of size 32 alloc'd
==14859== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14859== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14859== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14859== by 0x4DD0E85: err_get_state (err.c:210)
==14859== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14859== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14859== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14859== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14859== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14859== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14859== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14859== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14859== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14859== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14859== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14859== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14859==
==14859== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14859== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14859== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14859== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14859== by 0x4DD0E85: err_get_state (err.c:210)
==14859== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14859== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14859== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14859== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14859== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14859== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14859== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14859== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14859== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14859== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14859== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14859== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14859==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==14884== Invalid read of size 8
==14884== at 0x5E745A5: check_free (dlerror.c:188)
==14884== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14884== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14884== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14884== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14884== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14884== by 0x559AF79: exit (exit.c:139)
==14884== by 0x55850A1: (below main) (libc-start.c:342)
==14884== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==14884== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14884== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14884== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14884== by 0x4DD0E85: err_get_state (err.c:210)
==14884== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14884== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14884== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14884== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14884== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14884== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14884== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14884== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14884== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14884== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14884== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14884== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14884==
==14884== Invalid free() / delete / delete[] / realloc()
==14884== at 0x48369AB: free (vg_replace_malloc.c:530)
==14884== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14884== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14884== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14884== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14884== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14884== by 0x559AF79: exit (exit.c:139)
==14884== by 0x55850A1: (below main) (libc-start.c:342)
==14884== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==14884== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14884== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14884== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14884== by 0x4DD0E85: err_get_state (err.c:210)
==14884== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14884== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14884== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14884== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14884== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14884== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14884== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14884== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14884== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14884== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14884== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14884== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14884==
==14884== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14884== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14884== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14884== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14884== by 0x4DD0E85: err_get_state (err.c:210)
==14884== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14884== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14884== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14884== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14884== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14884== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14884== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14884== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14884== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14884== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14884== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14884== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14884==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
03:01:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
03:01:38.710758 ====> Client connect
03:01:38.710786 accept_connection 3 returned 4
03:01:38.710802 accept_connection 3 returned 0
03:01:38.784578 Read 85 bytes
03:01:38.784617 Process 85 bytes request
03:01:38.784633 Got request: GET /306 HTTP/1.1
03:01:38.784642 Requested test number 306 part 0
03:01:38.784667 - request found to be complete
03:01:38.784694 Wrote request (85 bytes) input to log/server.input
03:01:38.784720 Send response test306 section <data>
03:01:38.784747 connection close instruction "swsclose" found in response
03:01:38.784809 Response sent (107 bytes) and written to log/server.response
03:01:38.784825 instructed to close connection after server-reply
03:01:38.784833 ====> Client disconnect 0
03:01:39.978188 ====> Client connect
03:01:39.978212 accept_connection 3 returned 4
03:01:39.978226 accept_connection 3 returned 0
03:01:40.006209 Read 90 bytes
03:01:40.006248 Process 90 bytes request
03:01:40.006263 Got request: GET /want/309 HTTP/1.1
03:01:40.006272 Requested test number 309 part 0
03:01:40.006300 - request found to be complete
03:01:40.006325 Wrote request (90 bytes) input to log/server.input
03:01:40.006345 Send response test309 section <data>
03:01:40.006376 connection close instruction "swsclose" found in response
03:01:40.006449 Response sent (277 bytes) and written to log/server.response
03:01:40.006459 instructed to close connection after server-reply
03:01:40.006467 ====> Client disconnect 0
03:01:41.692013 ====> Client connect
03:01:41.692038 accept_connection 3 returned 4
03:01:41.692052 accept_connection 3 returned 0
03:01:41.756722 Read 111 bytes
03:01:41.756762 Process 111 bytes request
03:01:41.756780 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:41.756791 Requested test number 309 part 2
03:01:41.756817 - request found to be complete
03:01:41.756830 Wrote request (111 bytes) input to log/server.input
03:01:41.756842 Send response test309 section <data2>
03:01:41.756865 connection close instruction "swsclose" found in response
03:01:41.756924 Response sent (179 bytes) and written to log/server.response
03:01:41.756934 instructed to close connection after server-reply
03:01:41.756941 ====> Client disconnect 0
03:01:41.908390 signalled to die
03:01:41.908472 ========> IPv4 sws (port 8990 pid: 13466) exits with signal (15)
03:01:47.922779 Running HTTP IPv4 version on port 8990
03:01:47.923085 Wrote pid 14846 to .http_server.pid
03:01:48.921965 ====> Client connect
03:01:48.921989 accept_connection 3 returned 4
03:01:48.922003 accept_connection 3 returned 0
03:01:48.922017 Read 96 bytes
03:01:48.922026 Process 96 bytes request
03:01:48.922042 Got request: GET /verifiedserver HTTP/1.1
03:01:48.922053 Are-we-friendly question received
03:01:48.922063 Wrote request (96 bytes) input to log/server.input
03:01:48.922077 Identifying ourselves as friends
03:01:48.922119 Response sent (56 bytes) and written to log/server.response
03:01:48.922128 special request received, no persistency
03:01:48.922135 ====> Client disconnect 0
03:01:50.954706 ====> Client connect
03:01:50.954736 accept_connection 3 returned 4
03:01:50.954760 accept_connection 3 returned 0
03:01:50.954929 Read 96 bytes
03:01:50.954946 Process 96 bytes request
03:01:50.954964 Got request: GET /verifiedserver HTTP/1.1
03:01:50.954977 Are-we-friendly question received
03:01:50.954991 Wrote request (96 bytes) input to log/server.input
03:01:50.955011 Identifying ourselves as friends
03:01:50.955061 Response sent (56 bytes) and written to log/server.response
03:01:50.955074 special request received, no persistency
03:01:50.955084 ====> Client disconnect 0
03:01:53.664232 ====> Client connect
03:01:53.664254 accept_connection 3 returned 4
03:01:53.664272 accept_connection 3 returned 0
03:01:53.740940 Read 85 bytes
03:01:53.740978 Process 85 bytes request
03:01:53.740993 Got request: GET /310 HTTP/1.1
03:01:53.741002 Requested test number 310 part 0
03:01:53.741037 - request found to be complete
03:01:53.741068 Wrote request (85 bytes) input to log/server.input
03:01:53.741090 Send response test310 section <data>
03:01:53.741167 Response sent (103 bytes) and written to log/server.response
03:01:53.741177 => persistent connection request ended, awaits new request
03:01:53.806750 Connection closed by client
03:01:53.806789 ====> Client disconnect 0
03:01:53.893175 signalled to die
03:01:53.893236 ========> IPv4 sws (port 8990 pid: 14846) exits with signal (15)
03:01:58.907683 Running HTTP IPv4 version on port 8990
03:01:58.907786 Wrote pid 14865 to .http_server.pid
03:01:59.906713 ====> Client connect
03:01:59.906735 accept_connection 3 returned 4
03:01:59.906748 accept_connection 3 returned 0
03:01:59.906761 Read 96 bytes
03:01:59.906771 Process 96 bytes request
03:01:59.906787 Got request: GET /verifiedserver HTTP/1.1
03:01:59.906796 Are-we-friendly question received
03:01:59.906807 Wrote request (96 bytes) input to log/server.input
03:01:59.906822 Identifying ourselves as friends
03:01:59.906863 Response sent (56 bytes) and written to log/server.response
03:01:59.906873 special request received, no persistency
03:01:59.906880 ====> Client disconnect 0
03:02:01.939680 ====> Client connect
03:02:01.939717 accept_connection 3 returned 4
03:02:01.939737 accept_connection 3 returned 0
03:02:01.939877 Read 96 bytes
03:02:01.939895 Process 96 bytes request
03:02:01.939912 Got request: GET /verifiedserver HTTP/1.1
03:02:01.939920 Are-we-friendly question received
03:02:01.939930 Wrote request (96 bytes) input to log/server.input
03:02:01.939940 Identifying ourselves as friends
03:02:01.939982 Response sent (56 bytes) and written to log/server.response
03:02:01.939996 special request received, no persistency
03:02:01.940013 ====> Client disconnect 0
03:02:04.620690 ====> Client connect
03:02:04.620713 accept_connection 3 returned 4
03:02:04.620729 accept_connection 3 returned 0
03:02:04.690998 Connection closed by client
03:02:04.691037 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x556b6e9456a8)
* Expire in 13000 ms for 8 (transfer 0x556b6e9456a8)
* STATE: INIT => CONNECT handle 0x556b6e9456a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x556b6e9456a8)
* STATE: CONNECT => WAITCONNECT handle 0x556b6e9456a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x556b6e9456a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x556b6e9456a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x556b6e9456a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x556b6e9456a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x556b6e9456a8; line 1849 (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 0x556b6e9456a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x556b6e9456a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 14865
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.12 03:02:00 LOG5[14877]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:02:00 LOG5[14877]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:02:00 LOG5[14877]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:02:00 LOG5[14877]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:02:00 LOG5[14877]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:02:00 LOG5[14877]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:02:00 LOG5[14877]: FIPS mode disabled
2019.01.12 03:02:00 LOG5[14877]: Configuration successful
2019.01.12 03:02:01 LOG5[14880]: Service [curltest] accepted connection from 127.0.0.1:39648
2019.01.12 03:02:01 LOG5[14880]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:01 LOG5[14880]: Service [curltest] connected remote server from 127.0.0.1:34260
2019.01.12 03:02:01 LOG5[14880]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:02:03 LOG5[14885]: Service [curltest] accepted connection from 127.0.0.1:39654
2019.01.12 03:02:04 LOG5[14885]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:04 LOG5[14885]: Service [curltest] connected remote server from 127.0.0.1:34266
2019.01.12 03:02:04 LOG5[14885]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x55956309a6a8)
* Expire in 13000 ms for 8 (transfer 0x55956309a6a8)
* STATE: INIT => CONNECT handle 0x55956309a6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55956309a6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55956309a6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55956309a6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55956309a6a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [979 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:14:23 2018 GMT
* expire date: Dec 6 07:14:23 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55956309a6a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55956309a6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55956309a6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55956309a6a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55956309a6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55956309a6a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 14865
=== 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: 14846
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14846
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: 14865
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14865
=== 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
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:03.855023 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:03.879858 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:03.917464 == Info: Added connection 0. The cache now contains 1 members
03:02:03.969822 == Info: Trying ::1...
03:02:03.970460 == Info: TCP_NODELAY set
03:02:03.972906 == Info: Expire in 149959 ms for 3 (transfer 0x626d7a8)
03:02:03.974773 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:03.976356 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:03.990332 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:03.992447 == Info: Trying 127.0.0.1...
03:02:03.992512 == Info: TCP_NODELAY set
03:02:03.992631 == Info: Expire in 149949 ms for 3 (transfer 0x626d7a8)
03:02:04.000947 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:04.001498 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:04.003565 == Info: Marked for [keep alive]: HTTP default
03:02:04.023740 == Info: ALPN, offering h2
03:02:04.024019 == Info: ALPN, offering http/1.1
03:02:04.106382 == Info: successfully set certificate verify locations:
03:02:04.106668 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:04.188139 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:04.193168 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:04.193234 => Send SSL data, 178 bytes (0xb2)
0000: ........^/>.....j......a..>=.U:....Jj...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:04.210840 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:04.215322 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:04.215384 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.....5x..O..0G.....U....+I....$.u. .j|u..Zv...@..A8....K.i..
0040: D{W...../....................
03:02:04.260648 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:04.261098 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:04.261157 <= 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:04.434839 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:04.435106 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:04.435170 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.HR.%.ZB.h..C..Siv..c...#I........}...x..US.{.R..h-.....
0040: ...t..pa.....N.f.......p.i[7F])@D..T...^..%f.}....[...p%..L|`..6.ry
0080: .}.......f..'.|I[.6:.L.E..PT.....+X...gs....H.&...7..![7F].#....i.k
00c0: .!.F;.........b.NE...-.L...D..N../VW./.K...`...Rv..T..4;Tf&!./..
0100: .w['.....b...S....A*.>EAW...-v.c[N5.W3K.A^.).vVw(.&-...k"..b+...
0140: V.M.G.i.t....
03:02:04.455431 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:04.455752 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:04.455809 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:04.574421 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:04.574665 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:04.574725 => Send SSL data, 70 bytes (0x46)
0000: ...BA..w...#./......^6s..N...~bb.....r@.....%'.b......TC.l...c..
0040: =&GP:.
03:02:04.587221 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:04.587779 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:04.587837 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:04.619558 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:04.619749 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:04.619804 => Send SSL data, 16 bytes (0x10)
0000: ....s........;.L
03:02:04.622343 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:04.623382 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:04.623440 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:04.625842 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:04.631215 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:04.631273 <= Recv SSL data, 16 bytes (0x10)
0000: .....l....e..:..
03:02:04.652796 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:04.653506 == Info: ALPN, server did not agree to a protocol
03:02:04.655654 == Info: Server certificate:
03:02:04.663215 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:02:04.668048 == Info: start date: Sep 19 07:14:23 2018 GMT
03:02:04.669390 == Info: expire date: Dec 6 07:14:23 2026 GMT
03:02:04.672561 == Info: subjectAltName does not match localhost
03:02:04.673254 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:02:04.673975 == Info: Marked for [closure]: Failed HTTPS connection
03:02:04.674508 == Info: multi_done
03:02:04.682743 == Info: Closing connection 0
03:02:04.685323 == Info: The cache now contains 0 members
03:02:04.712643 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace311
=== Start of file valgrind311
==14884== Invalid read of size 8
==14884== at 0x5E745A5: check_free (dlerror.c:188)
==14884== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14884== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14884== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14884== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14884== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14884== by 0x559AF79: exit (exit.c:139)
==14884== by 0x55850A1: (below main) (libc-start.c:342)
==14884== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==14884== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14884== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14884== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14884== by 0x4DD0E85: err_get_state (err.c:210)
==14884== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14884== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14884== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14884== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14884== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14884== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14884== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14884== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14884== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14884== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14884== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14884== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14884==
==14884== Invalid free() / delete / delete[] / realloc()
==14884== at 0x48369AB: free (vg_replace_malloc.c:530)
==14884== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14884== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14884== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14884== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14884== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14884== by 0x559AF79: exit (exit.c:139)
==14884== by 0x55850A1: (below main) (libc-start.c:342)
==14884== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==14884== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14884== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14884== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14884== by 0x4DD0E85: err_get_state (err.c:210)
==14884== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14884== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14884== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14884== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14884== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14884== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14884== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14884== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14884== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14884== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14884== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14884== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14884==
==14884== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14884== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14884== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14884== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14884== by 0x4DD0E85: err_get_state (err.c:210)
==14884== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14884== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14884== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14884== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14884== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14884== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14884== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14884== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14884== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14884== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14884== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14884== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14884==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==14902== Invalid read of size 8
==14902== at 0x5E745A5: check_free (dlerror.c:188)
==14902== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14902== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14902== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14902== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14902== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14902== by 0x559AF79: exit (exit.c:139)
==14902== by 0x55850A1: (below main) (libc-start.c:342)
==14902== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==14902== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14902== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14902== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14902== by 0x4DD0E85: err_get_state (err.c:210)
==14902== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14902== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14902== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14902== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14902== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14902== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14902== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14902== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14902== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14902== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14902== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14902== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14902==
==14902== Invalid free() / delete / delete[] / realloc()
==14902== at 0x48369AB: free (vg_replace_malloc.c:530)
==14902== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14902== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14902== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14902== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14902== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14902== by 0x559AF79: exit (exit.c:139)
==14902== by 0x55850A1: (below main) (libc-start.c:342)
==14902== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==14902== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14902== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14902== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14902== by 0x4DD0E85: err_get_state (err.c:210)
==14902== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14902== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14902== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14902== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14902== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14902== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14902== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14902== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14902== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14902== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14902== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14902== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14902==
==14902== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14902== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14902== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14902== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14902== by 0x4DD0E85: err_get_state (err.c:210)
==14902== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14902== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14902== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14902== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14902== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14902== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14902== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14902== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14902== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14902== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14902== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14902== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14902==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
03:01:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
03:01:38.710758 ====> Client connect
03:01:38.710786 accept_connection 3 returned 4
03:01:38.710802 accept_connection 3 returned 0
03:01:38.784578 Read 85 bytes
03:01:38.784617 Process 85 bytes request
03:01:38.784633 Got request: GET /306 HTTP/1.1
03:01:38.784642 Requested test number 306 part 0
03:01:38.784667 - request found to be complete
03:01:38.784694 Wrote request (85 bytes) input to log/server.input
03:01:38.784720 Send response test306 section <data>
03:01:38.784747 connection close instruction "swsclose" found in response
03:01:38.784809 Response sent (107 bytes) and written to log/server.response
03:01:38.784825 instructed to close connection after server-reply
03:01:38.784833 ====> Client disconnect 0
03:01:39.978188 ====> Client connect
03:01:39.978212 accept_connection 3 returned 4
03:01:39.978226 accept_connection 3 returned 0
03:01:40.006209 Read 90 bytes
03:01:40.006248 Process 90 bytes request
03:01:40.006263 Got request: GET /want/309 HTTP/1.1
03:01:40.006272 Requested test number 309 part 0
03:01:40.006300 - request found to be complete
03:01:40.006325 Wrote request (90 bytes) input to log/server.input
03:01:40.006345 Send response test309 section <data>
03:01:40.006376 connection close instruction "swsclose" found in response
03:01:40.006449 Response sent (277 bytes) and written to log/server.response
03:01:40.006459 instructed to close connection after server-reply
03:01:40.006467 ====> Client disconnect 0
03:01:41.692013 ====> Client connect
03:01:41.692038 accept_connection 3 returned 4
03:01:41.692052 accept_connection 3 returned 0
03:01:41.756722 Read 111 bytes
03:01:41.756762 Process 111 bytes request
03:01:41.756780 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:41.756791 Requested test number 309 part 2
03:01:41.756817 - request found to be complete
03:01:41.756830 Wrote request (111 bytes) input to log/server.input
03:01:41.756842 Send response test309 section <data2>
03:01:41.756865 connection close instruction "swsclose" found in response
03:01:41.756924 Response sent (179 bytes) and written to log/server.response
03:01:41.756934 instructed to close connection after server-reply
03:01:41.756941 ====> Client disconnect 0
03:01:41.908390 signalled to die
03:01:41.908472 ========> IPv4 sws (port 8990 pid: 13466) exits with signal (15)
03:01:47.922779 Running HTTP IPv4 version on port 8990
03:01:47.923085 Wrote pid 14846 to .http_server.pid
03:01:48.921965 ====> Client connect
03:01:48.921989 accept_connection 3 returned 4
03:01:48.922003 accept_connection 3 returned 0
03:01:48.922017 Read 96 bytes
03:01:48.922026 Process 96 bytes request
03:01:48.922042 Got request: GET /verifiedserver HTTP/1.1
03:01:48.922053 Are-we-friendly question received
03:01:48.922063 Wrote request (96 bytes) input to log/server.input
03:01:48.922077 Identifying ourselves as friends
03:01:48.922119 Response sent (56 bytes) and written to log/server.response
03:01:48.922128 special request received, no persistency
03:01:48.922135 ====> Client disconnect 0
03:01:50.954706 ====> Client connect
03:01:50.954736 accept_connection 3 returned 4
03:01:50.954760 accept_connection 3 returned 0
03:01:50.954929 Read 96 bytes
03:01:50.954946 Process 96 bytes request
03:01:50.954964 Got request: GET /verifiedserver HTTP/1.1
03:01:50.954977 Are-we-friendly question received
03:01:50.954991 Wrote request (96 bytes) input to log/server.input
03:01:50.955011 Identifying ourselves as friends
03:01:50.955061 Response sent (56 bytes) and written to log/server.response
03:01:50.955074 special request received, no persistency
03:01:50.955084 ====> Client disconnect 0
03:01:53.664232 ====> Client connect
03:01:53.664254 accept_connection 3 returned 4
03:01:53.664272 accept_connection 3 returned 0
03:01:53.740940 Read 85 bytes
03:01:53.740978 Process 85 bytes request
03:01:53.740993 Got request: GET /310 HTTP/1.1
03:01:53.741002 Requested test number 310 part 0
03:01:53.741037 - request found to be complete
03:01:53.741068 Wrote request (85 bytes) input to log/server.input
03:01:53.741090 Send response test310 section <data>
03:01:53.741167 Response sent (103 bytes) and written to log/server.response
03:01:53.741177 => persistent connection request ended, awaits new request
03:01:53.806750 Connection closed by client
03:01:53.806789 ====> Client disconnect 0
03:01:53.893175 signalled to die
03:01:53.893236 ========> IPv4 sws (port 8990 pid: 14846) exits with signal (15)
03:01:58.907683 Running HTTP IPv4 version on port 8990
03:01:58.907786 Wrote pid 14865 to .http_server.pid
03:01:59.906713 ====> Client connect
03:01:59.906735 accept_connection 3 returned 4
03:01:59.906748 accept_connection 3 returned 0
03:01:59.906761 Read 96 bytes
03:01:59.906771 Process 96 bytes request
03:01:59.906787 Got request: GET /verifiedserver HTTP/1.1
03:01:59.906796 Are-we-friendly question received
03:01:59.906807 Wrote request (96 bytes) input to log/server.input
03:01:59.906822 Identifying ourselves as friends
03:01:59.906863 Response sent (56 bytes) and written to log/server.response
03:01:59.906873 special request received, no persistency
03:01:59.906880 ====> Client disconnect 0
03:02:01.939680 ====> Client connect
03:02:01.939717 accept_connection 3 returned 4
03:02:01.939737 accept_connection 3 returned 0
03:02:01.939877 Read 96 bytes
03:02:01.939895 Process 96 bytes request
03:02:01.939912 Got request: GET /verifiedserver HTTP/1.1
03:02:01.939920 Are-we-friendly question received
03:02:01.939930 Wrote request (96 bytes) input to log/server.input
03:02:01.939940 Identifying ourselves as friends
03:02:01.939982 Response sent (56 bytes) and written to log/server.response
03:02:01.939996 special request received, no persistency
03:02:01.940013 ====> Client disconnect 0
03:02:04.620690 ====> Client connect
03:02:04.620713 accept_connection 3 returned 4
03:02:04.620729 accept_connection 3 returned 0
03:02:04.690998 Connection closed by client
03:02:04.691037 ====> Client disconnect 0
03:02:04.787501 signalled to die
03:02:04.787559 ========> IPv4 sws (port 8990 pid: 14865) exits with signal (15)
03:02:09.801858 Running HTTP IPv4 version on port 8990
03:02:09.801962 Wrote pid 14889 to .http_server.pid
03:02:10.801073 ====> Client connect
03:02:10.801098 accept_connection 3 returned 4
03:02:10.801114 accept_connection 3 returned 0
03:02:10.801127 Read 96 bytes
03:02:10.801137 Process 96 bytes request
03:02:10.801153 Got request: GET /verifiedserver HTTP/1.1
03:02:10.801162 Are-we-friendly question received
03:02:10.801186 Wrote request (96 bytes) input to log/server.input
03:02:10.801204 Identifying ourselves as friends
03:02:10.801246 Response sent (56 bytes) and written to log/server.response
03:02:10.801256 special request received, no persistency
03:02:10.801263 ====> Client disconnect 0
03:02:12.834286 ====> Client connect
03:02:12.834311 accept_connection 3 returned 4
03:02:12.834325 accept_connection 3 returned 0
03:02:12.834447 Read 96 bytes
03:02:12.834471 Process 96 bytes request
03:02:12.834487 Got request: GET /verifiedserver HTTP/1.1
03:02:12.834498 Are-we-friendly question received
03:02:12.834511 Wrote request (96 bytes) input to log/server.input
03:02:12.834523 Identifying ourselves as friends
03:02:12.834561 Response sent (56 bytes) and written to log/server.response
03:02:12.834570 special request received, no persistency
03:02:12.834577 ====> Client disconnect 0
03:02:15.524816 ====> Client connect
03:02:15.524840 accept_connection 3 returned 4
03:02:15.524853 accept_connection 3 returned 0
03:02:15.597753 Connection closed by client
03:02:15.597788 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x55d7387196a8)
* Expire in 13000 ms for 8 (transfer 0x55d7387196a8)
* STATE: INIT => CONNECT handle 0x55d7387196a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d7387196a8)
* STATE: CONNECT => WAITCONNECT handle 0x55d7387196a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d7387196a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55d7387196a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55d7387196a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55d7387196a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55d7387196a8; line 1849 (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 0x55d7387196a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55d7387196a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 14889
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.12 03:02:11 LOG5[14895]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:02:11 LOG5[14895]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:02:11 LOG5[14895]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:02:11 LOG5[14895]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:02:11 LOG5[14895]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:02:11 LOG5[14895]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:02:11 LOG5[14895]: FIPS mode disabled
2019.01.12 03:02:11 LOG5[14895]: Configuration successful
2019.01.12 03:02:12 LOG5[14898]: Service [curltest] accepted connection from 127.0.0.1:39662
2019.01.12 03:02:12 LOG5[14898]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:12 LOG5[14898]: Service [curltest] connected remote server from 127.0.0.1:34274
2019.01.12 03:02:12 LOG5[14898]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:02:14 LOG5[14904]: Service [curltest] accepted connection from 127.0.0.1:39668
2019.01.12 03:02:15 LOG5[14904]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:15 LOG5[14904]: Service [curltest] connected remote server from 127.0.0.1:34280
2019.01.12 03:02:15 LOG5[14904]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x5608562a36a8)
* Expire in 13000 ms for 8 (transfer 0x5608562a36a8)
* STATE: INIT => CONNECT handle 0x5608562a36a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5608562a36a8)
* STATE: CONNECT => WAITCONNECT handle 0x5608562a36a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5608562a36a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5608562a36a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [983 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
* start date: Sep 19 07:14:12 2018 GMT
* expire date: Dec 6 07:14:12 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x5608562a36a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5608562a36a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5608562a36a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5608562a36a8; line 1849 (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 0x5608562a36a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5608562a36a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 14889
=== 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: 14846
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14846
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: 14865
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14865
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14889
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14889
=== 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:14.759073 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:14.783890 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:14.821494 == Info: Added connection 0. The cache now contains 1 members
03:02:14.873915 == Info: Trying ::1...
03:02:14.874551 == Info: TCP_NODELAY set
03:02:14.876992 == Info: Expire in 149959 ms for 3 (transfer 0x626d7a8)
03:02:14.878959 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:14.880543 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:14.894585 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:14.896722 == Info: Trying 127.0.0.1...
03:02:14.896787 == Info: TCP_NODELAY set
03:02:14.896906 == Info: Expire in 149949 ms for 3 (transfer 0x626d7a8)
03:02:14.905380 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:14.905887 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:14.906887 == Info: Marked for [keep alive]: HTTP default
03:02:14.927070 == Info: ALPN, offering h2
03:02:14.927347 == Info: ALPN, offering http/1.1
03:02:15.010139 == Info: successfully set certificate verify locations:
03:02:15.010396 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:15.091685 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:15.096791 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:15.096858 => Send SSL data, 178 bytes (0xb2)
0000: ......6..<.y.....pI.F.....|.@.@.........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:15.114497 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:15.118988 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:15.119048 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...P..P..p^......6..}.Q....PW.%.}. ....eW...........`.Z...1.
0040: 0.....e./....................
03:02:15.164309 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:15.164759 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:15.164817 <= 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:15.338583 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:15.338852 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:15.338916 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....q...m.&N.~...4.@f+.1....R4.].3C}..,...k...._\9,.*{..
0040: .l.i....`.....z)a(YY3.>...)....-~..-.....<].z."..qU...!rq.X..%.l
0080: ........?......r7.]..\h<_.L!..lG./~....^h..D.n.......k......~ydV
00c0: ..w....F.2....b.1.n...._xYy..0/.jDH...ZO..Y...}..s]. ..t........
0100: .i.#%{..kM..[..>|.].....hrt.......S..............3.......2\.....
0140: .0v+...d.\.;f
03:02:15.358653 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:15.358968 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:15.359024 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:15.478389 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:15.478646 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:15.478704 => Send SSL data, 70 bytes (0x46)
0000: ...BA..9GlV.0..Ss...kN....m ,.@X8T~..Z.f......TgH...8k.U........
0040: K2....
03:02:15.491152 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:15.491705 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:15.491762 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:15.523681 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:15.523873 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:15.523928 => Send SSL data, 16 bytes (0x10)
0000: ..........^.....
03:02:15.526517 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:15.527547 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:15.527604 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:15.530016 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:15.535351 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:15.535407 <= Recv SSL data, 16 bytes (0x10)
0000: ....1K....+.ca2.
03:02:15.557338 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:15.558063 == Info: ALPN, server did not agree to a protocol
03:02:15.560230 == Info: Server certificate:
03:02:15.567820 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:02:15.572731 == Info: start date: Sep 19 07:14:12 2018 GMT
03:02:15.574076 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:02:15.578862 == Info: subjectAltName does not match localhost
03:02:15.579554 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:02:15.580308 == Info: Marked for [closure]: Failed HTTPS connection
03:02:15.580843 == Info: multi_done
03:02:15.589476 == Info: Closing connection 0
03:02:15.592050 == Info: The cache now contains 0 members
03:02:15.619500 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace312
=== Start of file valgrind312
==14902== Invalid read of size 8
==14902== at 0x5E745A5: check_free (dlerror.c:188)
==14902== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14902== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14902== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14902== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14902== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14902== by 0x559AF79: exit (exit.c:139)
==14902== by 0x55850A1: (below main) (libc-start.c:342)
==14902== Address 0x630f450 is 0 bytes after a block of size 32 alloc'd
==14902== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14902== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14902== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14902== by 0x4DD0E85: err_get_state (err.c:210)
==14902== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14902== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14902== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14902== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14902== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14902== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14902== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14902== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14902== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14902== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14902== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14902== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14902==
==14902== Invalid free() / delete / delete[] / realloc()
==14902== at 0x48369AB: free (vg_replace_malloc.c:530)
==14902== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14902== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14902== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14902== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14902== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14902== by 0x559AF79: exit (exit.c:139)
==14902== by 0x55850A1: (below main) (libc-start.c:342)
==14902== Address 0x630f438 is 8 bytes inside a block of size 32 alloc'd
==14902== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14902== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14902== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14902== by 0x4DD0E85: err_get_state (err.c:210)
==14902== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14902== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14902== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14902== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14902== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14902== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14902== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14902== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14902== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14902== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14902== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14902== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14902==
==14902== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14902== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14902== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14902== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14902== by 0x4DD0E85: err_get_state (err.c:210)
==14902== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14902== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14902== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14902== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14902== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14902== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14902== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14902== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14902== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14902== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14902== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14902== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14902==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==14922== Invalid read of size 8
==14922== at 0x5E745A5: check_free (dlerror.c:188)
==14922== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14922== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14922== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14922== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14922== by 0x559AF79: exit (exit.c:139)
==14922== by 0x55850A1: (below main) (libc-start.c:342)
==14922== Address 0x63113f0 is 0 bytes after a block of size 32 alloc'd
==14922== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14922== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14922== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14922== by 0x4DD0E85: err_get_state (err.c:210)
==14922== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14922== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14922== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14922== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14922== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14922== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14922== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14922== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14922== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14922== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14922== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14922== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14922==
==14922== Invalid free() / delete / delete[] / realloc()
==14922== at 0x48369AB: free (vg_replace_malloc.c:530)
==14922== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14922== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14922== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14922== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14922== by 0x559AF79: exit (exit.c:139)
==14922== by 0x55850A1: (below main) (libc-start.c:342)
==14922== Address 0x63113d8 is 8 bytes inside a block of size 32 alloc'd
==14922== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14922== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14922== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14922== by 0x4DD0E85: err_get_state (err.c:210)
==14922== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14922== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14922== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14922== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14922== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14922== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14922== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14922== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14922== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14922== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14922== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14922== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14922==
==14922== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==14922== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14922== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14922== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14922== by 0x4DD0E85: err_get_state (err.c:210)
==14922== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14922== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14922== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14922== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14922== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14922== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14922== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14922== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14922== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14922== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14922== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14922== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14922==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:01:10.661136 ====> Client connect
03:01:10.661183 accept_connection 3 returned 4
03:01:10.661204 accept_connection 3 returned 0
03:01:10.734327 Read 90 bytes
03:01:10.734361 Process 90 bytes request
03:01:10.734375 Got request: GET /want/303 HTTP/1.1
03:01:10.734384 Requested test number 303 part 0
03:01:10.734410 - request found to be complete
03:01:10.734440 Wrote request (90 bytes) input to log/server.input
03:01:10.734462 Send response test303 section <data>
03:01:10.734527 Response sent (94 bytes) and written to log/server.response
03:01:10.734540 Told to sleep for 20 seconds
03:01:30.754591 Continuing after sleeping 20 seconds
03:01:30.754637 => persistent connection request ended, awaits new request
03:01:30.754652 Connection closed by client
03:01:30.754660 ====> Client disconnect 0
03:01:33.549062 ====> Client connect
03:01:33.549090 accept_connection 3 returned 4
03:01:33.549111 accept_connection 3 returned 0
03:01:33.642924 Read 224 bytes
03:01:33.642971 Process 224 bytes request
03:01:33.642993 Got request: POST /we/want/304 HTTP/1.1
03:01:33.643008 Requested test number 304 part 0
03:01:33.643047 - request found to be complete
03:01:33.643063 Found Content-Length: 1386 in the request
03:01:34.665090 Read 1386 bytes
03:01:34.665125 Process 1610 bytes request [CONTINUED]
03:01:34.665140 - request found to be complete
03:01:34.665182 Wrote request (1610 bytes) input to log/server.input
03:01:34.665213 Send response test304 section <data>
03:01:34.665314 Response sent (108 bytes) and written to log/server.response
03:01:34.665329 => persistent connection request ended, awaits new request
03:01:34.731194 Connection closed by client
03:01:34.731235 ====> Client disconnect 0
03:01:38.710758 ====> Client connect
03:01:38.710786 accept_connection 3 returned 4
03:01:38.710802 accept_connection 3 returned 0
03:01:38.784578 Read 85 bytes
03:01:38.784617 Process 85 bytes request
03:01:38.784633 Got request: GET /306 HTTP/1.1
03:01:38.784642 Requested test number 306 part 0
03:01:38.784667 - request found to be complete
03:01:38.784694 Wrote request (85 bytes) input to log/server.input
03:01:38.784720 Send response test306 section <data>
03:01:38.784747 connection close instruction "swsclose" found in response
03:01:38.784809 Response sent (107 bytes) and written to log/server.response
03:01:38.784825 instructed to close connection after server-reply
03:01:38.784833 ====> Client disconnect 0
03:01:39.978188 ====> Client connect
03:01:39.978212 accept_connection 3 returned 4
03:01:39.978226 accept_connection 3 returned 0
03:01:40.006209 Read 90 bytes
03:01:40.006248 Process 90 bytes request
03:01:40.006263 Got request: GET /want/309 HTTP/1.1
03:01:40.006272 Requested test number 309 part 0
03:01:40.006300 - request found to be complete
03:01:40.006325 Wrote request (90 bytes) input to log/server.input
03:01:40.006345 Send response test309 section <data>
03:01:40.006376 connection close instruction "swsclose" found in response
03:01:40.006449 Response sent (277 bytes) and written to log/server.response
03:01:40.006459 instructed to close connection after server-reply
03:01:40.006467 ====> Client disconnect 0
03:01:41.692013 ====> Client connect
03:01:41.692038 accept_connection 3 returned 4
03:01:41.692052 accept_connection 3 returned 0
03:01:41.756722 Read 111 bytes
03:01:41.756762 Process 111 bytes request
03:01:41.756780 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
03:01:41.756791 Requested test number 309 part 2
03:01:41.756817 - request found to be complete
03:01:41.756830 Wrote request (111 bytes) input to log/server.input
03:01:41.756842 Send response test309 section <data2>
03:01:41.756865 connection close instruction "swsclose" found in response
03:01:41.756924 Response sent (179 bytes) and written to log/server.response
03:01:41.756934 instructed to close connection after server-reply
03:01:41.756941 ====> Client disconnect 0
03:01:41.908390 signalled to die
03:01:41.908472 ========> IPv4 sws (port 8990 pid: 13466) exits with signal (15)
03:01:47.922779 Running HTTP IPv4 version on port 8990
03:01:47.923085 Wrote pid 14846 to .http_server.pid
03:01:48.921965 ====> Client connect
03:01:48.921989 accept_connection 3 returned 4
03:01:48.922003 accept_connection 3 returned 0
03:01:48.922017 Read 96 bytes
03:01:48.922026 Process 96 bytes request
03:01:48.922042 Got request: GET /verifiedserver HTTP/1.1
03:01:48.922053 Are-we-friendly question received
03:01:48.922063 Wrote request (96 bytes) input to log/server.input
03:01:48.922077 Identifying ourselves as friends
03:01:48.922119 Response sent (56 bytes) and written to log/server.response
03:01:48.922128 special request received, no persistency
03:01:48.922135 ====> Client disconnect 0
03:01:50.954706 ====> Client connect
03:01:50.954736 accept_connection 3 returned 4
03:01:50.954760 accept_connection 3 returned 0
03:01:50.954929 Read 96 bytes
03:01:50.954946 Process 96 bytes request
03:01:50.954964 Got request: GET /verifiedserver HTTP/1.1
03:01:50.954977 Are-we-friendly question received
03:01:50.954991 Wrote request (96 bytes) input to log/server.input
03:01:50.955011 Identifying ourselves as friends
03:01:50.955061 Response sent (56 bytes) and written to log/server.response
03:01:50.955074 special request received, no persistency
03:01:50.955084 ====> Client disconnect 0
03:01:53.664232 ====> Client connect
03:01:53.664254 accept_connection 3 returned 4
03:01:53.664272 accept_connection 3 returned 0
03:01:53.740940 Read 85 bytes
03:01:53.740978 Process 85 bytes request
03:01:53.740993 Got request: GET /310 HTTP/1.1
03:01:53.741002 Requested test number 310 part 0
03:01:53.741037 - request found to be complete
03:01:53.741068 Wrote request (85 bytes) input to log/server.input
03:01:53.741090 Send response test310 section <data>
03:01:53.741167 Response sent (103 bytes) and written to log/server.response
03:01:53.741177 => persistent connection request ended, awaits new request
03:01:53.806750 Connection closed by client
03:01:53.806789 ====> Client disconnect 0
03:01:53.893175 signalled to die
03:01:53.893236 ========> IPv4 sws (port 8990 pid: 14846) exits with signal (15)
03:01:58.907683 Running HTTP IPv4 version on port 8990
03:01:58.907786 Wrote pid 14865 to .http_server.pid
03:01:59.906713 ====> Client connect
03:01:59.906735 accept_connection 3 returned 4
03:01:59.906748 accept_connection 3 returned 0
03:01:59.906761 Read 96 bytes
03:01:59.906771 Process 96 bytes request
03:01:59.906787 Got request: GET /verifiedserver HTTP/1.1
03:01:59.906796 Are-we-friendly question received
03:01:59.906807 Wrote request (96 bytes) input to log/server.input
03:01:59.906822 Identifying ourselves as friends
03:01:59.906863 Response sent (56 bytes) and written to log/server.response
03:01:59.906873 special request received, no persistency
03:01:59.906880 ====> Client disconnect 0
03:02:01.939680 ====> Client connect
03:02:01.939717 accept_connection 3 returned 4
03:02:01.939737 accept_connection 3 returned 0
03:02:01.939877 Read 96 bytes
03:02:01.939895 Process 96 bytes request
03:02:01.939912 Got request: GET /verifiedserver HTTP/1.1
03:02:01.939920 Are-we-friendly question received
03:02:01.939930 Wrote request (96 bytes) input to log/server.input
03:02:01.939940 Identifying ourselves as friends
03:02:01.939982 Response sent (56 bytes) and written to log/server.response
03:02:01.939996 special request received, no persistency
03:02:01.940013 ====> Client disconnect 0
03:02:04.620690 ====> Client connect
03:02:04.620713 accept_connection 3 returned 4
03:02:04.620729 accept_connection 3 returned 0
03:02:04.690998 Connection closed by client
03:02:04.691037 ====> Client disconnect 0
03:02:04.787501 signalled to die
03:02:04.787559 ========> IPv4 sws (port 8990 pid: 14865) exits with signal (15)
03:02:09.801858 Running HTTP IPv4 version on port 8990
03:02:09.801962 Wrote pid 14889 to .http_server.pid
03:02:10.801073 ====> Client connect
03:02:10.801098 accept_connection 3 returned 4
03:02:10.801114 accept_connection 3 returned 0
03:02:10.801127 Read 96 bytes
03:02:10.801137 Process 96 bytes request
03:02:10.801153 Got request: GET /verifiedserver HTTP/1.1
03:02:10.801162 Are-we-friendly question received
03:02:10.801186 Wrote request (96 bytes) input to log/server.input
03:02:10.801204 Identifying ourselves as friends
03:02:10.801246 Response sent (56 bytes) and written to log/server.response
03:02:10.801256 special request received, no persistency
03:02:10.801263 ====> Client disconnect 0
03:02:12.834286 ====> Client connect
03:02:12.834311 accept_connection 3 returned 4
03:02:12.834325 accept_connection 3 returned 0
03:02:12.834447 Read 96 bytes
03:02:12.834471 Process 96 bytes request
03:02:12.834487 Got request: GET /verifiedserver HTTP/1.1
03:02:12.834498 Are-we-friendly question received
03:02:12.834511 Wrote request (96 bytes) input to log/server.input
03:02:12.834523 Identifying ourselves as friends
03:02:12.834561 Response sent (56 bytes) and written to log/server.response
03:02:12.834570 special request received, no persistency
03:02:12.834577 ====> Client disconnect 0
03:02:15.524816 ====> Client connect
03:02:15.524840 accept_connection 3 returned 4
03:02:15.524853 accept_connection 3 returned 0
03:02:15.597753 Connection closed by client
03:02:15.597788 ====> Client disconnect 0
03:02:15.694966 signalled to die
03:02:15.695036 ========> IPv4 sws (port 8990 pid: 14889) exits with signal (15)
03:02:20.709283 Running HTTP IPv4 version on port 8990
03:02:20.709384 Wrote pid 14908 to .http_server.pid
03:02:21.708724 ====> Client connect
03:02:21.708749 accept_connection 3 returned 4
03:02:21.708764 accept_connection 3 returned 0
03:02:21.708777 Read 96 bytes
03:02:21.708787 Process 96 bytes request
03:02:21.708804 Got request: GET /verifiedserver HTTP/1.1
03:02:21.708815 Are-we-friendly question received
03:02:21.708832 Wrote request (96 bytes) input to log/server.input
03:02:21.708851 Identifying ourselves as friends
03:02:21.708894 Response sent (56 bytes) and written to log/server.response
03:02:21.708904 special request received, no persistency
03:02:21.708911 ====> Client disconnect 0
03:02:23.742504 ====> Client connect
03:02:23.742530 accept_connection 3 returned 4
03:02:23.742545 accept_connection 3 returned 0
03:02:23.742773 Read 96 bytes
03:02:23.742786 Process 96 bytes request
03:02:23.742802 Got request: GET /verifiedserver HTTP/1.1
03:02:23.742814 Are-we-friendly question received
03:02:23.742833 Wrote request (96 bytes) input to log/server.input
03:02:23.742852 Identifying ourselves as friends
03:02:23.742891 Response sent (56 bytes) and written to log/server.response
03:02:23.742901 special request received, no persistency
03:02:23.742908 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x560acd12b6a8)
* Expire in 13000 ms for 8 (transfer 0x560acd12b6a8)
* STATE: INIT => CONNECT handle 0x560acd12b6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x560acd12b6a8)
* STATE: CONNECT => WAITCONNECT handle 0x560acd12b6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x560acd12b6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x560acd12b6a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x560acd12b6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x560acd12b6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x560acd12b6a8; line 1849 (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 0x560acd12b6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x560acd12b6a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 14908
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.12 03:02:22 LOG5[14915]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:02:22 LOG5[14915]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:02:22 LOG5[14915]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:02:22 LOG5[14915]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:02:22 LOG5[14915]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:02:22 LOG5[14915]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:02:22 LOG5[14915]: FIPS mode disabled
2019.01.12 03:02:22 LOG5[14915]: Configuration successful
2019.01.12 03:02:23 LOG5[14918]: Service [curltest] accepted connection from 127.0.0.1:39674
2019.01.12 03:02:23 LOG5[14918]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:23 LOG5[14918]: Service [curltest] connected remote server from 127.0.0.1:34286
2019.01.12 03:02:23 LOG5[14918]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:02:25 LOG5[14923]: Service [curltest] accepted connection from 127.0.0.1:39680
2019.01.12 03:02:26 LOG3[14923]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.01.12 03:02:26 LOG5[14923]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x55930e29b6a8)
* Expire in 13000 ms for 8 (transfer 0x55930e29b6a8)
* STATE: INIT => CONNECT handle 0x55930e29b6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55930e29b6a8)
* STATE: CONNECT => WAITCONNECT handle 0x55930e29b6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55930e29b6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55930e29b6a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55930e29b6a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55930e29b6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55930e29b6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55930e29b6a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55930e29b6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55930e29b6a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 14908
=== 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: 14846
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14846
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: 14865
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14865
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14889
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14889
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14908
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14908
=== 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:25.691111 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:25.716639 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:25.755150 == Info: Added connection 0. The cache now contains 1 members
03:02:25.809308 == Info: Trying ::1...
03:02:25.809979 == Info: TCP_NODELAY set
03:02:25.812519 == Info: Expire in 149958 ms for 3 (transfer 0x626d7a8)
03:02:25.814464 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:25.816098 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:25.830419 == Info: connect to ::1 port 8991 failed: Connection refused
03:02:25.832626 == Info: Trying 127.0.0.1...
03:02:25.832698 == Info: TCP_NODELAY set
03:02:25.832860 == Info: Expire in 149947 ms for 3 (transfer 0x626d7a8)
03:02:25.841493 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:02:25.842032 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:25.843061 == Info: Marked for [keep alive]: HTTP default
03:02:25.863982 == Info: ALPN, offering h2
03:02:25.864289 == Info: ALPN, offering http/1.1
03:02:25.949327 == Info: successfully set certificate verify locations:
03:02:25.949595 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:02:25.998845 == Info: successfully load CRL file:
03:02:25.999429 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:02:26.084908 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:26.090089 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:26.090176 => Send SSL data, 178 bytes (0xb2)
0000: ............).H5.8.oj.....f.kc(+.NPp.d..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....[..............localhost..................
0080: ..........3t.........h2.http/1.1..................
03:02:26.108601 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:02:26.113285 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:26.113348 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...".>W[7F].....y.=^.S....||.*......W .....`s..#L..3.D4..5.`...
0040: ../..oM./....................
03:02:26.159314 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:26.159788 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:26.159844 <= 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:26.249362 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:26.252141 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:02:26.252205 => Send SSL data, 2 bytes (0x2)
0000: .-
03:02:26.257986 == Info: SSL certificate problem: CRL has expired
03:02:26.258502 == Info: Marked for [closure]: Failed HTTPS connection
03:02:26.259046 == Info: multi_done
03:02:26.267877 == Info: Closing connection 0
03:02:26.270525 == Info: The cache now contains 0 members
03:02:26.303978 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace313
=== Start of file valgrind313
==14922== Invalid read of size 8
==14922== at 0x5E745A5: check_free (dlerror.c:188)
==14922== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14922== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14922== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14922== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14922== by 0x559AF79: exit (exit.c:139)
==14922== by 0x55850A1: (below main) (libc-start.c:342)
==14922== Address 0x63113f0 is 0 bytes after a block of size 32 alloc'd
==14922== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14922== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14922== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14922== by 0x4DD0E85: err_get_state (err.c:210)
==14922== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14922== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14922== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14922== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14922== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14922== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14922== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14922== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14922== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14922== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14922== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14922== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14922==
==14922== Invalid free() / delete / delete[] / realloc()
==14922== at 0x48369AB: free (vg_replace_malloc.c:530)
==14922== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14922== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14922== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14922== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14922== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14922== by 0x559AF79: exit (exit.c:139)
==14922== by 0x55850A1: (below main) (libc-start.c:342)
==14922== Address 0x63113d8 is 8 bytes inside a block of size 32 alloc'd
==14922== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14922== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14922== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14922== by 0x4DD0E85: err_get_state (err.c:210)
==14922== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14922== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14922== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14922== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14922== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14922== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14922== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14922== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14922== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14922== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14922== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14922== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14922==
==14922== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==14922== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14922== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14922== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14922== by 0x4DD0E85: err_get_state (err.c:210)
==14922== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14922== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14922== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14922== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14922== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14922== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14922== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14922== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14922== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14922== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14922== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14922== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14922==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
-pd---emv- OK (314 out of 1217, remaining: 25:36)
test 0315...[HTTP GET brotli compressed content with broken header]
-pd---emv- OK (315 out of 1217, remaining: 25:33)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
-pd---emv- OK (316 out of 1217, remaining: 25:30)
test 0317...[HTTP with custom Authorization: and redirect to new host]
-pd---emv- OK (317 out of 1217, remaining: 25:27)
test 0318...[HTTP with custom Authorization: and redirect to new host]
-pd---emv- OK (318 out of 1217, remaining: 25:24)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
-pd---emv- OK (319 out of 1217, remaining: 25:21)
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 ==14960== Invalid read of size 8
==14960== at 0x5E745A5: check_free (dlerror.c:188)
==14960== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14960== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14960== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14960== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14960== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14960== by 0x559AF79: exit (exit.c:139)
==14960== by 0x55850A1: (below main) (libc-start.c:342)
==14960== Address 0x66aded0 is 0 bytes after a block of size 32 alloc'd
==14960== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14960== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14960== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14960== by 0x4DD0E85: err_get_state (err.c:210)
==14960== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14960== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14960== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14960== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14960== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14960== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14960== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14960== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14960== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14960== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14960== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14960== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14960==
==14960== Invalid free() / delete / delete[] / realloc()
==14960== at 0x48369AB: free (vg_replace_malloc.c:530)
==14960== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14960== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14960== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14960== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14960== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14960== by 0x559AF79: exit (exit.c:139)
==14960== by 0x55850A1: (below main) (libc-start.c:342)
==14960== Address 0x66adeb8 is 8 bytes inside a block of size 32 alloc'd
==14960== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14960== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14960== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14960== by 0x4DD0E85: err_get_state (err.c:210)
==14960== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14960== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14960== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14960== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14960== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14960== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14960== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14960== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14960== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14960== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14960== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14960== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14960==
==14960== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14960== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14960== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14960== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14960== by 0x4DD0E85: err_get_state (err.c:210)
==14960== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14960== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14960== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14960== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14960== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14960== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14960== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14960== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14960== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14960== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14960== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14960== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14960==
== Contents of files in the log/ dir after test 325
=== Start of file curl325.out
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
=== End of file curl325.out
=== Start of file http_server.log
03:02:33.539697 signalled to die
03:02:33.539775 ========> IPv4 sws (port 8990 pid: 14908) exits with signal (15)
03:02:38.553594 Running HTTP IPv4 version on port 8990
03:02:38.553698 Wrote pid 14944 to .http_server.pid
03:02:39.553175 ====> Client connect
03:02:39.553197 accept_connection 3 returned 4
03:02:39.553211 accept_connection 3 returned 0
03:02:39.553225 Read 96 bytes
03:02:39.553236 Process 96 bytes request
03:02:39.553259 Got request: GET /verifiedserver HTTP/1.1
03:02:39.553271 Are-we-friendly question received
03:02:39.553289 Wrote request (96 bytes) input to log/server.input
03:02:39.553309 Identifying ourselves as friends
03:02:39.553358 Response sent (56 bytes) and written to log/server.response
03:02:39.553373 special request received, no persistency
03:02:39.553381 ====> Client disconnect 0
03:02:41.585653 ====> Client connect
03:02:41.585682 accept_connection 3 returned 4
03:02:41.585699 accept_connection 3 returned 0
03:02:41.585820 Read 96 bytes
03:02:41.585836 Process 96 bytes request
03:02:41.585852 Got request: GET /verifiedserver HTTP/1.1
03:02:41.585864 Are-we-friendly question received
03:02:41.585878 Wrote request (96 bytes) input to log/server.input
03:02:41.585894 Identifying ourselves as friends
03:02:41.585947 Response sent (56 bytes) and written to log/server.response
03:02:41.585961 special request received, no persistency
03:02:41.585972 ====> Client disconnect 0
03:02:45.258058 ====> Client connect
03:02:45.258081 accept_connection 3 returned 4
03:02:45.258095 accept_connection 3 returned 0
03:02:45.331068 Read 85 bytes
03:02:45.331103 Process 85 bytes request
03:02:45.331117 Got request: GET /325 HTTP/1.1
03:02:45.331131 Requested test number 325 part 0
03:02:45.331164 - request found to be complete
03:02:45.331192 Wrote request (85 bytes) input to log/server.input
03:02:45.331215 Send response test325 section <data>
03:02:45.331289 Response sent (134 bytes) and written to log/server.response
03:02:45.331299 => persistent connection request ended, awaits new request
03:02:45.416123 Connection closed by client
03:02:45.416158 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* Expire in 0 ms for 6 (transfer 0x5628b992a6a8)
* Expire in 13000 ms for 8 (transfer 0x5628b992a6a8)
* STATE: INIT => CONNECT handle 0x5628b992a6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5628b992a6a8)
* STATE: CONNECT => WAITCONNECT handle 0x5628b992a6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5628b992a6a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5628b992a6a8; line 1631 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5628b992a6a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x5628b992a6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x5628b992a6a8; line 1849 (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 0x5628b992a6a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5628b992a6a8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 14944
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.01.12 03:02:40 LOG5[14950]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:02:40 LOG5[14950]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:02:40 LOG5[14950]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:02:40 LOG5[14950]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:02:40 LOG5[14950]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:02:40 LOG5[14950]: Reading configuration from file /build-13601/tests/https_stunnel.conf
2019.01.12 03:02:40 LOG5[14950]: FIPS mode disabled
2019.01.12 03:02:40 LOG5[14950]: Configuration successful
2019.01.12 03:02:41 LOG5[14953]: Service [curltest] accepted connection from 127.0.0.1:39700
2019.01.12 03:02:41 LOG5[14953]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:41 LOG5[14953]: Service [curltest] connected remote server from 127.0.0.1:34312
2019.01.12 03:02:41 LOG5[14953]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.01.12 03:02:43 LOG5[14965]: Service [curltest] accepted connection from 127.0.0.1:39704
2019.01.12 03:02:45 LOG5[14965]: s_connect: connected 127.0.0.1:8990
2019.01.12 03:02:45 LOG5[14965]: Service [curltest] connected remote server from 127.0.0.1:34316
2019.01.12 03:02:45 LOG5[14965]: Connection closed: 134 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* Expire in 0 ms for 6 (transfer 0x55d4d1ec96a8)
* Expire in 13000 ms for 8 (transfer 0x55d4d1ec96a8)
* STATE: INIT => CONNECT handle 0x55d4d1ec96a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d4d1ec96a8)
* STATE: CONNECT => WAITCONNECT handle 0x55d4d1ec96a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55d4d1ec96a8; line 1613 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [160 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55d4d1ec96a8; line 1627 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55d4d1ec96a8; line 1648 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.64.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55d4d1ec96a8; line 1710 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x55d4d1ec96a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x55d4d1ec96a8; line 1849 (connection #0)
{ [5 bytes data]
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55d4d1ec96a8; line 2046 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55d4d1ec96a8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 14944
=== 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: 14944
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 14944
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
MooMoo
=== End of file server.response
=== Start of file stderr325
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:01 0:00:01 3
curl: (1) Protocol "http" not supported or disabled in libcurl
=== End of file stderr325
=== Start of file trace325
03:02:43.504006 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:02:43.528678 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:02:43.565805 == Info: Added connection 0. The cache now contains 1 members
03:02:43.582814 == Info: Trying 127.0.0.1...
03:02:43.583413 == Info: TCP_NODELAY set
03:02:43.586507 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:02:43.588718 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:02:43.599732 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:02:43.600285 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:02:43.601434 == Info: Marked for [keep alive]: HTTP default
03:02:43.621686 == Info: ALPN, offering h2
03:02:43.621963 == Info: ALPN, offering http/1.1
03:02:44.773392 == Info: successfully set certificate verify locations:
03:02:44.773654 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:02:44.853595 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:44.858620 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:02:44.858683 => Send SSL data, 160 bytes (0xa0)
0000: ......P.....,..3..."H....N.Uw.._b^.j....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....I.................................3t......
0080: ...h2.http/1.1..................
03:02:44.876181 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:02:44.880893 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:02:44.880956 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.._. ..m.....s@S|...W....Y.F.,D6.. L2...L....x...Nd..={..yH
0040: f.f.^.z./................
03:02:44.925327 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:44.925792 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:02:44.925850 <= 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:45.024774 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:02:45.025041 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:02:45.025098 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.0.1...;........S.y.C.N...M.7.%5:9..'....)=X........+.*.
0040: .]s..S..&....F...T..vg....1.....-....`vC............v5..|...f...
0080: ......../.#...x|....$.YAaa.%........A=.5.46L@.|.C.(a...L...;!.OR
00c0: [$...8'.7..?z.#.'.u..7.../.m.{... ..e,..vB..A.s`.X.T..7....\.c..
0100: ....A...&g...X.f.f*9...B+....D..%.|.N.\.G.w...)...w.R...2.....&.
0140: t.8....t:./..
03:02:45.093875 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:45.094217 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:02:45.094275 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:02:45.212031 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:02:45.212289 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:02:45.212347 => Send SSL data, 70 bytes (0x46)
0000: ...BA.......ycR.0D..l....'...A..m%q<r[......{[7F]1.Q.E..;Ne..+...-.
0040: ..c...
03:02:45.224788 => Send SSL data, 5 bytes (0x5)
0000: .....
03:02:45.225344 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:02:45.225400 => Send SSL data, 1 bytes (0x1)
0000: .
03:02:45.256910 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:02:45.257104 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:02:45.257165 => Send SSL data, 16 bytes (0x10)
0000: ....h...0X.../..
03:02:45.259839 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:45.260878 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:02:45.260935 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:02:45.263335 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:02:45.268660 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:02:45.268716 <= Recv SSL data, 16 bytes (0x10)
0000: .....("L[7F]....V~O
03:02:45.290146 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:02:45.290855 == Info: ALPN, server did not agree to a protocol
03:02:45.293077 == Info: Server certificate:
03:02:45.300404 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:45.306633 == Info: start date: Aug 31 23:39:18 2018 GMT
03:02:45.307602 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:02:45.308449 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:02:45.309346 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:02:45.310852 == Info: STATE: SENDPROTOCONNECT => DO handle 0x626d7a8; line 1631 (connection #0)
03:02:45.329705 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:02:45.332261 => Send header, 85 bytes (0x55)
0000: GET /325 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.64.0-DEV
0046: Accept: */*
0053:
03:02:45.335192 == Info: STATE: DO => DO_DONE handle 0x626d7a8; line 1710 (connection #0)
03:02:45.336200 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:02:45.336963 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:02:45.341488 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:02:45.355776 == Info: HTTP 1.1 or later with persistent connection, pipelining supported
03:02:45.358388 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:02:45.362095 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:02:45.363935 == Info: Server test-server/fake is not blacklisted
03:02:45.364226 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:02:45.365263 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:02:45.366178 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:02:45.368710 <= Recv header, 1 bytes (0x1)
0000: .
03:02:45.369379 == Info: Ignoring the response-body
03:02:45.369720 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:02:45.375051 == Info: multi_done
03:02:45.383609 == Info: Connection #0 to host 127.0.0.1 left intact
03:02:45.387156 == Info: Issue another request to this URL: 'http://somewhere/325'
03:02:45.387940 == Info: STATE: PERFORM => CONNECT handle 0x626d7a8; line 2022 (connection #-5000)
03:02:45.390564 == Info: Protocol "http" not supported or disabled in libcurl
03:02:45.392083 == Info: Closing connection -1
03:02:45.400573 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace325
=== Start of file valgrind325
==14960== Invalid read of size 8
==14960== at 0x5E745A5: check_free (dlerror.c:188)
==14960== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==14960== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==14960== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14960== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14960== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14960== by 0x559AF79: exit (exit.c:139)
==14960== by 0x55850A1: (below main) (libc-start.c:342)
==14960== Address 0x66aded0 is 0 bytes after a block of size 32 alloc'd
==14960== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14960== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14960== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14960== by 0x4DD0E85: err_get_state (err.c:210)
==14960== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14960== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14960== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14960== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14960== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14960== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14960== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14960== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14960== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14960== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14960== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14960== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14960==
==14960== Invalid free() / delete / delete[] / realloc()
==14960== at 0x48369AB: free (vg_replace_malloc.c:530)
==14960== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==14960== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==14960== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==14960== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==14960== by 0x559AF49: __run_exit_handlers (exit.c:132)
==14960== by 0x559AF79: exit (exit.c:139)
==14960== by 0x55850A1: (below main) (libc-start.c:342)
==14960== Address 0x66adeb8 is 8 bytes inside a block of size 32 alloc'd
==14960== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14960== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14960== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14960== by 0x4DD0E85: err_get_state (err.c:210)
==14960== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14960== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14960== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14960== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14960== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14960== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14960== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14960== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14960== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14960== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14960== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14960== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14960==
==14960== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==14960== at 0x483577F: malloc (vg_replace_malloc.c:299)
==14960== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==14960== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==14960== by 0x4DD0E85: err_get_state (err.c:210)
==14960== by 0x4DD1A5D: ERR_put_error (err.c:636)
==14960== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==14960== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==14960== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==14960== by 0x4E91358: by_file_ctrl (by_file.c:111)
==14960== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==14960== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==14960== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==14960== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==14960== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==14960== by 0x1B12EE: Curl_ossl_connect_nonblocking (openssl.c:3624)
==14960== by 0x1663F2: Curl_ssl_connect_nonblocking (vtls.c:275)
==14960==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
-pd---emv- OK (326 out of 1217, remaining: 25:12)
test 0327...[HTTP with cookiejar without cookies left]
-pd--oemv- OK (327 out of 1217, remaining: 25:10)
test 0328...[HTTP with "Content-Encoding: none]
-pd---emv- OK (328 out of 1217, remaining: 25:07)
test 0329...[HTTP cookie with Max-Age=0]
-pd---emv- OK (329 out of 1217, remaining: 25:04)
test 0330...[HTTP with custom Cookie: and redirect to new host]
-pd---emv- OK (330 out of 1217, remaining: 25:01)
test 0340...[FTP using %00 in path with singlecwd]
-p----emv- OK (331 out of 1217, remaining: 24:57)
test 0350...[FTP root dir list multicwd]
-pd---emv- OK (332 out of 1217, remaining: 24:54)
test 0351...[FTP root dir list nocwd]
-pd---emv- OK (333 out of 1217, remaining: 24:52)
test 0352...[FTP root dir list singlecwd]
-pd---emv- OK (334 out of 1217, remaining: 24:49)
test 0353...[FTP home dir list singlecwd]
-pd---emv- OK (335 out of 1217, remaining: 24:46)
test 0354...[FTP without password]
-pd---emv- OK (336 out of 1217, remaining: 24:43)
test 0393...[HTTP max-filesize and out-of-range Content-Length]
-p----emv- OK (337 out of 1217, remaining: 24:40)
test 0394...[HTTP with rubbish in Content-Length]
-p----emv- OK (338 out of 1217, remaining: 24:37)
test 0395...[HTTP and out-of-range Content-Length]
-p----emv- OK (339 out of 1217, remaining: 24:34)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==15034== Invalid read of size 8
==15034== at 0x5E745A5: check_free (dlerror.c:188)
==15034== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15034== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15034== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15034== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15034== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15034== by 0x559AF79: exit (exit.c:139)
==15034== by 0x55850A1: (below main) (libc-start.c:342)
==15034== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==15034== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15034== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15034== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15034== by 0x4DD0E85: err_get_state (err.c:210)
==15034== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15034== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15034== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15034== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15034== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15034== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15034== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15034== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15034== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15034== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15034== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15034== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15034==
==15034== Invalid free() / delete / delete[] / realloc()
==15034== at 0x48369AB: free (vg_replace_malloc.c:530)
==15034== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15034== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15034== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15034== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15034== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15034== by 0x559AF79: exit (exit.c:139)
==15034== by 0x55850A1: (below main) (libc-start.c:342)
==15034== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==15034== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15034== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15034== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15034== by 0x4DD0E85: err_get_state (err.c:210)
==15034== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15034== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15034== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15034== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15034== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15034== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15034== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15034== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15034== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15034== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15034== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15034== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15034==
==15034== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15034== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15034== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15034== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15034== by 0x4DD0E85: err_get_state (err.c:210)
==15034== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15034== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15034== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15034== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15034== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15034== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15034== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15034== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15034== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15034== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15034== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15034== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15034==
== 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:03.174422 ====> Client connect
03:03:03.174546 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:03.174890 < "USER anonymous"
03:03:03.174920 > "331 We are happy you popped in![CR][LF]"
03:03:03.175179 < "PASS ftp@example.com"
03:03:03.175203 > "230 Welcome you silly person[CR][LF]"
03:03:03.175456 < "PBSZ 0"
03:03:03.175482 > "500 PBSZ not implemented[CR][LF]"
03:03:03.175669 < "PROT C"
03:03:03.175691 > "500 PROT not implemented[CR][LF]"
03:03:03.175852 < "PWD"
03:03:03.175878 > "257 "/" is current directory[CR][LF]"
03:03:03.176066 < "EPSV"
03:03:03.176087 ====> Passive DATA channel requested by client
03:03:03.176101 DATA sockfilt for passive data channel starting...
03:03:03.177639 DATA sockfilt for passive data channel started (pid 15031)
03:03:03.177721 DATA sockfilt for passive data channel listens on port 36263
03:03:03.177753 > "229 Entering Passive Mode (|||36263|)[LF]"
03:03:03.177767 Client has been notified that DATA conn will be accepted on port 36263
03:03:03.178017 Client connects to port 36263
03:03:03.178039 ====> Client established passive DATA connection on port 36263
03:03:03.178130 < "TYPE I"
03:03:03.178154 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:03.178395 < "SIZE verifiedserver"
03:03:03.178426 > "213 17[CR][LF]"
03:03:03.178638 < "RETR verifiedserver"
03:03:03.178668 > "150 Binary junk (17 bytes).[CR][LF]"
03:03:03.178727 =====> Closing passive DATA connection...
03:03:03.178749 Server disconnects passive DATA connection
03:03:03.178826 DATA sockfilt for passive data channel quits (pid 15032)
03:03:03.178847 =====> Closed passive DATA connection
03:03:03.178880 > "226 File transfer complete[CR][LF]"
03:03:03.221045 < "QUIT"
03:03:03.221089 > "221 bye bye baby[CR][LF]"
03:03:03.221367 MAIN sockfilt said DISC
03:03:03.221385 ====> Client disconnected
03:03:03.221425 Awaiting input
03:03:06.884504 ====> Client connect
03:03:06.884618 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:06.965120 < "USER anonymous"
03:03:06.965168 > "331 We are happy you popped in![CR][LF]"
03:03:06.976148 < "PASS ftp@example.com"
03:03:06.976187 > "230 Welcome you silly person[CR][LF]"
03:03:06.978446 < "PBSZ 0"
03:03:06.978477 > "500 PBSZ not implemented[CR][LF]"
03:03:06.979843 < "PROT C"
03:03:06.979885 > "500 PROT not implemented[CR][LF]"
03:03:06.981309 < "PWD"
03:03:06.981344 > "257 "/" is current directory[CR][LF]"
03:03:06.987936 < "EPSV"
03:03:06.987962 ====> Passive DATA channel requested by client
03:03:06.987974 DATA sockfilt for passive data channel starting...
03:03:06.989616 DATA sockfilt for passive data channel started (pid 15036)
03:03:06.989733 DATA sockfilt for passive data channel listens on port 38951
03:03:06.989769 > "229 Entering Passive Mode (|||38951|)[LF]"
03:03:06.989794 Client has been notified that DATA conn will be accepted on port 38951
03:03:06.996883 Client connects to port 38951
03:03:06.996915 ====> Client established passive DATA connection on port 38951
03:03:07.001884 < "TYPE A"
03:03:07.001918 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:07.004133 < "LIST"
03:03:07.004161 > "150 here comes a directory[CR][LF]"
03:03:07.004192 pass LIST data on data connection
03:03:07.004281 =====> Closing passive DATA connection...
03:03:07.004297 Server disconnects passive DATA connection
03:03:07.004760 DATA sockfilt for passive data channel quits (pid 15037)
03:03:07.004780 =====> Closed passive DATA connection
03:03:07.004812 > "226 ASCII transfer complete[CR][LF]"
03:03:07.064893 < "QUIT"
03:03:07.064937 > "221 bye bye baby[CR][LF]"
03:03:07.072001 MAIN sockfilt said DISC
03:03:07.072031 ====> Client disconnected
03:03:07.072077 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:02.385662 ====> Client connect
03:03:02.385883 Received DATA (on stdin)
03:03:02.385908 > 160 bytes data, server => client
03:03:02.385925 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:02.385940 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:02.385953 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:02.386140 < 16 bytes data, client => server
03:03:02.386159 'USER anonymous\r\n'
03:03:02.386266 Received DATA (on stdin)
03:03:02.386290 > 33 bytes data, server => client
03:03:02.386305 '331 We are happy you popped in!\r\n'
03:03:02.386467 < 22 bytes data, client => server
03:03:02.386487 'PASS ftp@example.com\r\n'
03:03:02.386548 Received DATA (on stdin)
03:03:02.386572 > 30 bytes data, server => client
03:03:02.386587 '230 Welcome you silly person\r\n'
03:03:02.386746 < 8 bytes data, client => server
03:03:02.386766 'PBSZ 0\r\n'
03:03:02.386806 Received DATA (on stdin)
03:03:02.386816 > 26 bytes data, server => client
03:03:02.386826 '500 PBSZ not implemented\r\n'
03:03:02.386960 < 8 bytes data, client => server
03:03:02.386974 'PROT C\r\n'
03:03:02.387015 Received DATA (on stdin)
03:03:02.387024 > 26 bytes data, server => client
03:03:02.387034 '500 PROT not implemented\r\n'
03:03:02.387141 < 5 bytes data, client => server
03:03:02.387154 'PWD\r\n'
03:03:02.387202 Received DATA (on stdin)
03:03:02.387212 > 30 bytes data, server => client
03:03:02.387222 '257 "/" is current directory\r\n'
03:03:02.387358 < 6 bytes data, client => server
03:03:02.387374 'EPSV\r\n'
03:03:02.389098 Received DATA (on stdin)
03:03:02.389122 > 38 bytes data, server => client
03:03:02.389138 '229 Entering Passive Mode (|||36263|)\n'
03:03:02.389411 < 8 bytes data, client => server
03:03:02.389430 'TYPE I\r\n'
03:03:02.389499 Received DATA (on stdin)
03:03:02.389523 > 33 bytes data, server => client
03:03:02.389538 '200 I modify TYPE as you wanted\r\n'
03:03:02.389686 < 21 bytes data, client => server
03:03:02.389701 'SIZE verifiedserver\r\n'
03:03:02.389766 Received DATA (on stdin)
03:03:02.389779 > 8 bytes data, server => client
03:03:02.389792 '213 17\r\n'
03:03:02.389931 < 21 bytes data, client => server
03:03:02.389946 'RETR verifiedserver\r\n'
03:03:02.389992 Received DATA (on stdin)
03:03:02.390002 > 29 bytes data, server => client
03:03:02.390012 '150 Binary junk (17 bytes).\r\n'
03:03:02.390204 Received DATA (on stdin)
03:03:02.390222 > 28 bytes data, server => client
03:03:02.390235 '226 File transfer complete\r\n'
03:03:02.432264 < 6 bytes data, client => server
03:03:02.432304 'QUIT\r\n'
03:03:02.432433 Received DATA (on stdin)
03:03:02.432457 > 18 bytes data, server => client
03:03:02.432471 '221 bye bye baby\r\n'
03:03:02.432662 ====> Client disconnect
03:03:06.095763 ====> Client connect
03:03:06.095933 Received DATA (on stdin)
03:03:06.095959 > 160 bytes data, server => client
03:03:06.095981 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:06.095997 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:06.096014 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:06.176305 < 16 bytes data, client => server
03:03:06.176346 'USER anonymous\r\n'
03:03:06.176488 Received DATA (on stdin)
03:03:06.176509 > 33 bytes data, server => client
03:03:06.176527 '331 We are happy you popped in!\r\n'
03:03:06.187408 < 22 bytes data, client => server
03:03:06.187430 'PASS ftp@example.com\r\n'
03:03:06.187508 Received DATA (on stdin)
03:03:06.187527 > 30 bytes data, server => client
03:03:06.187544 '230 Welcome you silly person\r\n'
03:03:06.189713 < 8 bytes data, client => server
03:03:06.189733 'PBSZ 0\r\n'
03:03:06.189799 Received DATA (on stdin)
03:03:06.189818 > 26 bytes data, server => client
03:03:06.189835 '500 PBSZ not implemented\r\n'
03:03:06.191099 < 8 bytes data, client => server
03:03:06.191118 'PROT C\r\n'
03:03:06.191206 Received DATA (on stdin)
03:03:06.191219 > 26 bytes data, server => client
03:03:06.191231 '500 PROT not implemented\r\n'
03:03:06.192580 < 5 bytes data, client => server
03:03:06.192592 'PWD\r\n'
03:03:06.192667 Received DATA (on stdin)
03:03:06.192684 > 30 bytes data, server => client
03:03:06.192695 '257 "/" is current directory\r\n'
03:03:06.199206 < 6 bytes data, client => server
03:03:06.199220 'EPSV\r\n'
03:03:06.201089 Received DATA (on stdin)
03:03:06.201110 > 38 bytes data, server => client
03:03:06.201129 '229 Entering Passive Mode (|||38951|)\n'
03:03:06.213134 < 8 bytes data, client => server
03:03:06.213158 'TYPE A\r\n'
03:03:06.213240 Received DATA (on stdin)
03:03:06.213259 > 33 bytes data, server => client
03:03:06.213276 '200 I modify TYPE as you wanted\r\n'
03:03:06.215403 < 6 bytes data, client => server
03:03:06.215421 'LIST\r\n'
03:03:06.215484 Received DATA (on stdin)
03:03:06.215502 > 28 bytes data, server => client
03:03:06.215519 '150 here comes a directory\r\n'
03:03:06.216137 Received DATA (on stdin)
03:03:06.216161 > 29 bytes data, server => client
03:03:06.216174 '226 ASCII transfer complete\r\n'
03:03:06.276112 < 6 bytes data, client => server
03:03:06.276148 'QUIT\r\n'
03:03:06.276258 Received DATA (on stdin)
03:03:06.276278 > 18 bytes data, server => client
03:03:06.276296 '221 bye bye baby\r\n'
03:03:06.283299 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:03.388821 Running IPv4 version
03:03:03.388889 Listening on port 36263
03:03:03.388922 Wrote pid 15032 to ./.ftp_sockdata.pid
03:03:03.388937 Received PING (on stdin)
03:03:03.388992 Received PORT (on stdin)
03:03:03.389320 ====> Client connect
03:03:03.390020 Received DATA (on stdin)
03:03:03.390043 > 17 bytes data, server => client
03:03:03.390060 'WE ROOLZ: 14308\r\n'
03:03:03.390099 Received DISC (on stdin)
03:03:03.390113 ====> Client forcibly disconnected
03:03:03.390139 Received QUIT (on stdin)
03:03:03.390154 quits
03:03:03.390178 ============> sockfilt quits
03:03:06.200800 Running IPv4 version
03:03:06.200860 Listening on port 38951
03:03:06.200898 Wrote pid 15037 to ./.ftp_sockdata.pid
03:03:06.200914 Received PING (on stdin)
03:03:06.200996 Received PORT (on stdin)
03:03:06.208172 ====> Client connect
03:03:06.215564 Received DATA (on stdin)
03:03:06.215595 > 10 bytes data, server => client
03:03:06.215609 'total 20\r\n'
03:03:06.215634 Received DATA (on stdin)
03:03:06.215645 > 57 bytes data, server => client
03:03:06.215657 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:06.215673 Received DATA (on stdin)
03:03:06.215682 > 58 bytes data, server => client
03:03:06.215694 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:06.215708 Received DATA (on stdin)
03:03:06.215717 > 61 bytes data, server => client
03:03:06.215729 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:06.215737 '\n'
03:03:06.215750 Received DATA (on stdin)
03:03:06.215759 > 62 bytes data, server => client
03:03:06.215771 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:06.215779 '\n'
03:03:06.215792 Received DATA (on stdin)
03:03:06.215801 > 70 bytes data, server => client
03:03:06.215813 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:06.215821 'usr/bin\r\n'
03:03:06.215835 Received DATA (on stdin)
03:03:06.215844 > 59 bytes data, server => client
03:03:06.215855 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:06.215869 Received DATA (on stdin)
03:03:06.215878 > 69 bytes data, server => client
03:03:06.215890 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:06.215898 'd.html\r\n'
03:03:06.215911 Received DATA (on stdin)
03:03:06.215920 > 59 bytes data, server => client
03:03:06.215932 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:06.215946 Received DATA (on stdin)
03:03:06.215955 > 59 bytes data, server => client
03:03:06.215967 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:06.215981 Received DATA (on stdin)
03:03:06.215990 > 59 bytes data, server => client
03:03:06.216007 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:06.216027 Received DISC (on stdin)
03:03:06.216038 ====> Client forcibly disconnected
03:03:06.216057 Received QUIT (on stdin)
03:03:06.216065 quits
03:03:06.216079 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.12 03:03:02 LOG5[15027]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:03:02 LOG5[15027]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:03:02 LOG5[15027]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:03:02 LOG5[15027]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:03:02 LOG5[15027]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:03:02 LOG5[15027]: Reading configuration from file /build-13601/tests/ftps_stunnel.conf
2019.01.12 03:03:02 LOG5[15027]: FIPS mode disabled
2019.01.12 03:03:02 LOG5[15027]: Configuration successful
2019.01.12 03:03:03 LOG5[15030]: Service [curltest] accepted connection from 127.0.0.1:44748
2019.01.12 03:03:03 LOG5[15030]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:03:03 LOG5[15030]: Service [curltest] connected remote server from 127.0.0.1:55480
2019.01.12 03:03:03 LOG5[15030]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.12 03:03:05 LOG5[15035]: Service [curltest] accepted connection from 127.0.0.1:44754
2019.01.12 03:03:06 LOG5[15035]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:03:06 LOG5[15035]: Service [curltest] connected remote server from 127.0.0.1:55486
2019.01.12 03:03:07 LOG5[15035]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* Expire in 0 ms for 6 (transfer 0x558613dd66a8)
* Expire in 13000 ms for 8 (transfer 0x558613dd66a8)
* STATE: INIT => CONNECT handle 0x558613dd66a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x558613dd66a8)
* STATE: CONNECT => WAITCONNECT handle 0x558613dd66a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x558613dd66a8; line 1613 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [138 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x558613e1c5f8 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x558613dd66a8; line 1627 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x558613e1c5f8 (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 0x558613e1c5f8 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x558613e1c5f8 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x558613e1c5f8 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x558613e1c5f8 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x558613e1c5f8 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x558613dd66a8; line 1648 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x558613e1c5f8 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x558613dd66a8; line 1697 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||36263|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x558613dd66a8)
* Connecting to 127.0.0.1 (127.0.0.1) port 36263
* FTP 0x558613e1c5f8 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x558613dd66a8; line 1781 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x558613e1c5f8 (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 0x558613e1c5f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x558613e1c5f8 (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 0x558613e1c5f8 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x558613dd66a8; line 1807 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x558613dd66a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x558613dd66a8; line 1849 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x558613dd66a8; line 2046 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x558613dd66a8)
=== 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 331 0 --:--:-- 0:00:01 --:--:-- 342
=== End of file stderr400
=== Start of file trace400
03:03:05.351939 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:05.376749 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:05.414366 == Info: Added connection 0. The cache now contains 1 members
03:03:05.431057 == Info: Trying 127.0.0.1...
03:03:05.431658 == Info: TCP_NODELAY set
03:03:05.434740 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:05.436941 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:05.448198 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:05.448755 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:05.449864 == Info: Marked for [keep alive]: FTP default
03:03:06.612017 == Info: successfully set certificate verify locations:
03:03:06.612277 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:06.690541 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:06.695531 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:06.695594 => Send SSL data, 138 bytes (0x8a)
0000: ......nQ.....i...[7F].....9....'C...i..Z-..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:06.713222 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:06.717638 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:06.717698 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......V.....]..Wj.A.......*..x..Or .........t.hW.,..W.I.M8..
0040: .w5...n./................
03:03:06.761846 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:06.762315 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:06.762379 <= 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:06.861054 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:06.861319 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:06.861379 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$.......,....JuT.@.....S.....{D.+\xN.._....o..&....%..<.Xn.
0080: ....>...*.8..K.`%..-....'....,.]..0..'+...:%T...O[|9i...Z[7F]...*.1
00c0: .lq*.....;p2p.....K>v'.`r...R...v{.A@......76../%D'..@y0\.......
0100: ...t.[w....[..].....dT.O4.b.gu..C.......BJa%.V...j.U.;e*...#."x.
0140: {.......QV(..
03:03:06.930744 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:06.931084 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:06.931142 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:07.049415 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:07.049706 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:07.049768 => Send SSL data, 70 bytes (0x46)
0000: ...BA. f../dp...........7.TF...@.`.....e.Dh.L.L.5. ....UV./..=..
0040: ..a../
03:03:07.062369 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:07.063035 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:07.063096 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:07.094670 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:07.094869 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:07.094925 => Send SSL data, 16 bytes (0x10)
0000: .....V23U>s.v.m.
03:03:07.097540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:07.098570 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:07.098628 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:07.101036 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:07.106510 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:07.106567 <= Recv SSL data, 16 bytes (0x10)
0000: ........]...-q..
03:03:07.128020 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:07.130262 == Info: Server certificate:
03:03:07.137625 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:07.143911 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:07.144878 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:07.145709 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:07.146696 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:07.148139 == Info: FTP 0x62ec468 (line 3118) state change from STOP to WAIT220
03:03:07.154237 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:07.163465 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:07.166950 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:07.167147 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:07.167330 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:07.167510 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:07.174948 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:07.177532 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:07.178305 == Info: FTP 0x62ec468 (line 803) state change from WAIT220 to USER
03:03:07.179055 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:07.185331 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:07.185990 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:07.187244 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:07.187363 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:07.187736 == Info: FTP 0x62ec468 (line 2546) state change from USER to PASS
03:03:07.188750 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:07.188894 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:07.189557 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:07.189673 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:07.189994 == Info: FTP 0x62ec468 (line 2522) state change from PASS to PBSZ
03:03:07.190282 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:07.190419 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:07.190943 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:07.191057 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:07.191389 == Info: FTP 0x62ec468 (line 2735) state change from PBSZ to PROT
03:03:07.191631 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:07.191767 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:07.192427 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:07.192541 => Send header, 5 bytes (0x5)
0000: PWD
03:03:07.192851 == Info: FTP 0x62ec468 (line 815) state change from PROT to PWD
03:03:07.193168 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:07.193304 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:07.194485 == Info: Entry path is '/'
03:03:07.194704 == Info: FTP 0x62ec468 (line 2870) state change from PWD to STOP
03:03:07.194868 == Info: protocol connect phase DONE
03:03:07.195205 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:07.197181 == Info: DO phase starts
03:03:07.199044 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:07.199167 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:07.199496 == Info: FTP 0x62ec468 (line 1346) state change from STOP to PASV
03:03:07.199667 == Info: Connect data stream passively
03:03:07.200431 == Info: ftp_perform ends with SECONDARY: 0
03:03:07.201154 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:07.201975 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:07.202124 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||38951|).
03:03:07.207974 == Info: Trying 127.0.0.1...
03:03:07.208045 == Info: TCP_NODELAY set
03:03:07.208170 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:07.208800 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 38951
03:03:07.209691 == Info: FTP 0x62ec468 (line 2003) state change from PASV to STOP
03:03:07.210288 == Info: DO phase is complete2
03:03:07.210702 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:07.211377 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:07.211589 == Info: DO-MORE connected phase starts
03:03:07.212966 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:07.213182 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:07.213520 == Info: FTP 0x62ec468 (line 3444) state change from STOP to LIST_TYPE
03:03:07.213910 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:07.214054 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:07.215248 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:07.215364 => Send header, 6 bytes (0x6)
0000: LIST
03:03:07.215887 == Info: FTP 0x62ec468 (line 1502) state change from LIST_TYPE to LIST
03:03:07.217590 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:07.217734 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:07.218319 == Info: Maxdownload = -1
03:03:07.219623 == Info: FTP 0x62ec468 (line 485) state change from LIST to STOP
03:03:07.220391 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:07.221378 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:07.222141 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:07.225363 <= 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:07.234445 == Info: nread <= 0, server closed connection, bailing
03:03:07.236247 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:07.236712 == Info: multi_done
03:03:07.240451 == Info: Remembering we are in dir ""
03:03:07.256437 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:07.256595 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:07.261457 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:07.263453 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace400
=== Start of file valgrind400
==15034== Invalid read of size 8
==15034== at 0x5E745A5: check_free (dlerror.c:188)
==15034== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15034== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15034== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15034== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15034== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15034== by 0x559AF79: exit (exit.c:139)
==15034== by 0x55850A1: (below main) (libc-start.c:342)
==15034== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==15034== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15034== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15034== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15034== by 0x4DD0E85: err_get_state (err.c:210)
==15034== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15034== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15034== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15034== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15034== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15034== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15034== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15034== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15034== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15034== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15034== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15034== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15034==
==15034== Invalid free() / delete / delete[] / realloc()
==15034== at 0x48369AB: free (vg_replace_malloc.c:530)
==15034== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15034== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15034== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15034== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15034== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15034== by 0x559AF79: exit (exit.c:139)
==15034== by 0x55850A1: (below main) (libc-start.c:342)
==15034== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==15034== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15034== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15034== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15034== by 0x4DD0E85: err_get_state (err.c:210)
==15034== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15034== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15034== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15034== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15034== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15034== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15034== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15034== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15034== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15034== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15034== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15034== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15034==
==15034== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15034== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15034== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15034== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15034== by 0x4DD0E85: err_get_state (err.c:210)
==15034== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15034== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15034== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15034== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15034== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15034== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15034== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15034== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15034== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15034== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15034== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15034== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15034==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==15040== Invalid read of size 8
==15040== at 0x5E745A5: check_free (dlerror.c:188)
==15040== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15040== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15040== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15040== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15040== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15040== by 0x559AF79: exit (exit.c:139)
==15040== by 0x55850A1: (below main) (libc-start.c:342)
==15040== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==15040== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15040== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15040== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15040== by 0x4DD0E85: err_get_state (err.c:210)
==15040== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15040== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15040== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15040== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15040== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15040== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15040== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15040== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15040== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15040== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15040== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15040== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15040==
==15040== Invalid free() / delete / delete[] / realloc()
==15040== at 0x48369AB: free (vg_replace_malloc.c:530)
==15040== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15040== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15040== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15040== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15040== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15040== by 0x559AF79: exit (exit.c:139)
==15040== by 0x55850A1: (below main) (libc-start.c:342)
==15040== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==15040== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15040== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15040== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15040== by 0x4DD0E85: err_get_state (err.c:210)
==15040== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15040== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15040== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15040== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15040== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15040== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15040== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15040== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15040== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15040== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15040== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15040== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15040==
==15040== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15040== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15040== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15040== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15040== by 0x4DD0E85: err_get_state (err.c:210)
==15040== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15040== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15040== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15040== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15040== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15040== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15040== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15040== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15040== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15040== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15040== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15040== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15040==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:03:03.174422 ====> Client connect
03:03:03.174546 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:03.174890 < "USER anonymous"
03:03:03.174920 > "331 We are happy you popped in![CR][LF]"
03:03:03.175179 < "PASS ftp@example.com"
03:03:03.175203 > "230 Welcome you silly person[CR][LF]"
03:03:03.175456 < "PBSZ 0"
03:03:03.175482 > "500 PBSZ not implemented[CR][LF]"
03:03:03.175669 < "PROT C"
03:03:03.175691 > "500 PROT not implemented[CR][LF]"
03:03:03.175852 < "PWD"
03:03:03.175878 > "257 "/" is current directory[CR][LF]"
03:03:03.176066 < "EPSV"
03:03:03.176087 ====> Passive DATA channel requested by client
03:03:03.176101 DATA sockfilt for passive data channel starting...
03:03:03.177639 DATA sockfilt for passive data channel started (pid 15031)
03:03:03.177721 DATA sockfilt for passive data channel listens on port 36263
03:03:03.177753 > "229 Entering Passive Mode (|||36263|)[LF]"
03:03:03.177767 Client has been notified that DATA conn will be accepted on port 36263
03:03:03.178017 Client connects to port 36263
03:03:03.178039 ====> Client established passive DATA connection on port 36263
03:03:03.178130 < "TYPE I"
03:03:03.178154 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:03.178395 < "SIZE verifiedserver"
03:03:03.178426 > "213 17[CR][LF]"
03:03:03.178638 < "RETR verifiedserver"
03:03:03.178668 > "150 Binary junk (17 bytes).[CR][LF]"
03:03:03.178727 =====> Closing passive DATA connection...
03:03:03.178749 Server disconnects passive DATA connection
03:03:03.178826 DATA sockfilt for passive data channel quits (pid 15032)
03:03:03.178847 =====> Closed passive DATA connection
03:03:03.178880 > "226 File transfer complete[CR][LF]"
03:03:03.221045 < "QUIT"
03:03:03.221089 > "221 bye bye baby[CR][LF]"
03:03:03.221367 MAIN sockfilt said DISC
03:03:03.221385 ====> Client disconnected
03:03:03.221425 Awaiting input
03:03:06.884504 ====> Client connect
03:03:06.884618 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:06.965120 < "USER anonymous"
03:03:06.965168 > "331 We are happy you popped in![CR][LF]"
03:03:06.976148 < "PASS ftp@example.com"
03:03:06.976187 > "230 Welcome you silly person[CR][LF]"
03:03:06.978446 < "PBSZ 0"
03:03:06.978477 > "500 PBSZ not implemented[CR][LF]"
03:03:06.979843 < "PROT C"
03:03:06.979885 > "500 PROT not implemented[CR][LF]"
03:03:06.981309 < "PWD"
03:03:06.981344 > "257 "/" is current directory[CR][LF]"
03:03:06.987936 < "EPSV"
03:03:06.987962 ====> Passive DATA channel requested by client
03:03:06.987974 DATA sockfilt for passive data channel starting...
03:03:06.989616 DATA sockfilt for passive data channel started (pid 15036)
03:03:06.989733 DATA sockfilt for passive data channel listens on port 38951
03:03:06.989769 > "229 Entering Passive Mode (|||38951|)[LF]"
03:03:06.989794 Client has been notified that DATA conn will be accepted on port 38951
03:03:06.996883 Client connects to port 38951
03:03:06.996915 ====> Client established passive DATA connection on port 38951
03:03:07.001884 < "TYPE A"
03:03:07.001918 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:07.004133 < "LIST"
03:03:07.004161 > "150 here comes a directory[CR][LF]"
03:03:07.004192 pass LIST data on data connection
03:03:07.004281 =====> Closing passive DATA connection...
03:03:07.004297 Server disconnects passive DATA connection
03:03:07.004760 DATA sockfilt for passive data channel quits (pid 15037)
03:03:07.004780 =====> Closed passive DATA connection
03:03:07.004812 > "226 ASCII transfer complete[CR][LF]"
03:03:07.064893 < "QUIT"
03:03:07.064937 > "221 bye bye baby[CR][LF]"
03:03:07.072001 MAIN sockfilt said DISC
03:03:07.072031 ====> Client disconnected
03:03:07.072077 Awaiting input
03:03:09.860626 ====> Client connect
03:03:09.860745 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:09.940828 < "USER anonymous"
03:03:09.940874 > "331 We are happy you popped in![CR][LF]"
03:03:09.952038 < "PASS ftp@example.com"
03:03:09.952081 > "230 Welcome you silly person[CR][LF]"
03:03:09.954294 < "PBSZ 0"
03:03:09.954327 > "500 PBSZ not implemented[CR][LF]"
03:03:09.955682 < "PROT C"
03:03:09.955713 > "500 PROT not implemented[CR][LF]"
03:03:09.957188 < "PWD"
03:03:09.957221 > "257 "/" is current directory[CR][LF]"
03:03:09.964405 < "EPSV"
03:03:09.964432 ====> Passive DATA channel requested by client
03:03:09.964444 DATA sockfilt for passive data channel starting...
03:03:09.966338 DATA sockfilt for passive data channel started (pid 15042)
03:03:09.966452 DATA sockfilt for passive data channel listens on port 34445
03:03:09.966488 > "229 Entering Passive Mode (|||34445|)[LF]"
03:03:09.966509 Client has been notified that DATA conn will be accepted on port 34445
03:03:09.973143 Client connects to port 34445
03:03:09.973176 ====> Client established passive DATA connection on port 34445
03:03:09.977798 < "TYPE I"
03:03:09.977834 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:09.980024 < "STOR 401"
03:03:09.980045 STOR test number 401 in log/upload.401
03:03:09.980067 > "125 Gimme gimme gimme![CR][LF]"
03:03:09.990257 > Appending 52 bytes to file
03:03:10.000234 =====> Closing passive DATA connection...
03:03:10.000256 Server knows passive DATA connection is already disconnected
03:03:10.000301 DATA sockfilt for passive data channel quits (pid 15043)
03:03:10.000316 =====> Closed passive DATA connection
03:03:10.000331 received 52 bytes upload
03:03:10.000363 > "226 File transfer complete[CR][LF]"
03:03:10.042006 < "QUIT"
03:03:10.042080 > "221 bye bye baby[CR][LF]"
03:03:10.048663 MAIN sockfilt said DISC
03:03:10.048697 ====> Client disconnected
03:03:10.048748 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:02.385662 ====> Client connect
03:03:02.385883 Received DATA (on stdin)
03:03:02.385908 > 160 bytes data, server => client
03:03:02.385925 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:02.385940 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:02.385953 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:02.386140 < 16 bytes data, client => server
03:03:02.386159 'USER anonymous\r\n'
03:03:02.386266 Received DATA (on stdin)
03:03:02.386290 > 33 bytes data, server => client
03:03:02.386305 '331 We are happy you popped in!\r\n'
03:03:02.386467 < 22 bytes data, client => server
03:03:02.386487 'PASS ftp@example.com\r\n'
03:03:02.386548 Received DATA (on stdin)
03:03:02.386572 > 30 bytes data, server => client
03:03:02.386587 '230 Welcome you silly person\r\n'
03:03:02.386746 < 8 bytes data, client => server
03:03:02.386766 'PBSZ 0\r\n'
03:03:02.386806 Received DATA (on stdin)
03:03:02.386816 > 26 bytes data, server => client
03:03:02.386826 '500 PBSZ not implemented\r\n'
03:03:02.386960 < 8 bytes data, client => server
03:03:02.386974 'PROT C\r\n'
03:03:02.387015 Received DATA (on stdin)
03:03:02.387024 > 26 bytes data, server => client
03:03:02.387034 '500 PROT not implemented\r\n'
03:03:02.387141 < 5 bytes data, client => server
03:03:02.387154 'PWD\r\n'
03:03:02.387202 Received DATA (on stdin)
03:03:02.387212 > 30 bytes data, server => client
03:03:02.387222 '257 "/" is current directory\r\n'
03:03:02.387358 < 6 bytes data, client => server
03:03:02.387374 'EPSV\r\n'
03:03:02.389098 Received DATA (on stdin)
03:03:02.389122 > 38 bytes data, server => client
03:03:02.389138 '229 Entering Passive Mode (|||36263|)\n'
03:03:02.389411 < 8 bytes data, client => server
03:03:02.389430 'TYPE I\r\n'
03:03:02.389499 Received DATA (on stdin)
03:03:02.389523 > 33 bytes data, server => client
03:03:02.389538 '200 I modify TYPE as you wanted\r\n'
03:03:02.389686 < 21 bytes data, client => server
03:03:02.389701 'SIZE verifiedserver\r\n'
03:03:02.389766 Received DATA (on stdin)
03:03:02.389779 > 8 bytes data, server => client
03:03:02.389792 '213 17\r\n'
03:03:02.389931 < 21 bytes data, client => server
03:03:02.389946 'RETR verifiedserver\r\n'
03:03:02.389992 Received DATA (on stdin)
03:03:02.390002 > 29 bytes data, server => client
03:03:02.390012 '150 Binary junk (17 bytes).\r\n'
03:03:02.390204 Received DATA (on stdin)
03:03:02.390222 > 28 bytes data, server => client
03:03:02.390235 '226 File transfer complete\r\n'
03:03:02.432264 < 6 bytes data, client => server
03:03:02.432304 'QUIT\r\n'
03:03:02.432433 Received DATA (on stdin)
03:03:02.432457 > 18 bytes data, server => client
03:03:02.432471 '221 bye bye baby\r\n'
03:03:02.432662 ====> Client disconnect
03:03:06.095763 ====> Client connect
03:03:06.095933 Received DATA (on stdin)
03:03:06.095959 > 160 bytes data, server => client
03:03:06.095981 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:06.095997 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:06.096014 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:06.176305 < 16 bytes data, client => server
03:03:06.176346 'USER anonymous\r\n'
03:03:06.176488 Received DATA (on stdin)
03:03:06.176509 > 33 bytes data, server => client
03:03:06.176527 '331 We are happy you popped in!\r\n'
03:03:06.187408 < 22 bytes data, client => server
03:03:06.187430 'PASS ftp@example.com\r\n'
03:03:06.187508 Received DATA (on stdin)
03:03:06.187527 > 30 bytes data, server => client
03:03:06.187544 '230 Welcome you silly person\r\n'
03:03:06.189713 < 8 bytes data, client => server
03:03:06.189733 'PBSZ 0\r\n'
03:03:06.189799 Received DATA (on stdin)
03:03:06.189818 > 26 bytes data, server => client
03:03:06.189835 '500 PBSZ not implemented\r\n'
03:03:06.191099 < 8 bytes data, client => server
03:03:06.191118 'PROT C\r\n'
03:03:06.191206 Received DATA (on stdin)
03:03:06.191219 > 26 bytes data, server => client
03:03:06.191231 '500 PROT not implemented\r\n'
03:03:06.192580 < 5 bytes data, client => server
03:03:06.192592 'PWD\r\n'
03:03:06.192667 Received DATA (on stdin)
03:03:06.192684 > 30 bytes data, server => client
03:03:06.192695 '257 "/" is current directory\r\n'
03:03:06.199206 < 6 bytes data, client => server
03:03:06.199220 'EPSV\r\n'
03:03:06.201089 Received DATA (on stdin)
03:03:06.201110 > 38 bytes data, server => client
03:03:06.201129 '229 Entering Passive Mode (|||38951|)\n'
03:03:06.213134 < 8 bytes data, client => server
03:03:06.213158 'TYPE A\r\n'
03:03:06.213240 Received DATA (on stdin)
03:03:06.213259 > 33 bytes data, server => client
03:03:06.213276 '200 I modify TYPE as you wanted\r\n'
03:03:06.215403 < 6 bytes data, client => server
03:03:06.215421 'LIST\r\n'
03:03:06.215484 Received DATA (on stdin)
03:03:06.215502 > 28 bytes data, server => client
03:03:06.215519 '150 here comes a directory\r\n'
03:03:06.216137 Received DATA (on stdin)
03:03:06.216161 > 29 bytes data, server => client
03:03:06.216174 '226 ASCII transfer complete\r\n'
03:03:06.276112 < 6 bytes data, client => server
03:03:06.276148 'QUIT\r\n'
03:03:06.276258 Received DATA (on stdin)
03:03:06.276278 > 18 bytes data, server => client
03:03:06.276296 '221 bye bye baby\r\n'
03:03:06.283299 ====> Client disconnect
03:03:09.071888 ====> Client connect
03:03:09.072064 Received DATA (on stdin)
03:03:09.072088 > 160 bytes data, server => client
03:03:09.072109 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:09.072129 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:09.072146 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:09.152019 < 16 bytes data, client => server
03:03:09.152056 'USER anonymous\r\n'
03:03:09.152209 Received DATA (on stdin)
03:03:09.152224 > 33 bytes data, server => client
03:03:09.152239 '331 We are happy you popped in!\r\n'
03:03:09.163237 < 22 bytes data, client => server
03:03:09.163269 'PASS ftp@example.com\r\n'
03:03:09.163403 Received DATA (on stdin)
03:03:09.163415 > 30 bytes data, server => client
03:03:09.163428 '230 Welcome you silly person\r\n'
03:03:09.165556 < 8 bytes data, client => server
03:03:09.165572 'PBSZ 0\r\n'
03:03:09.165650 Received DATA (on stdin)
03:03:09.165660 > 26 bytes data, server => client
03:03:09.165670 '500 PBSZ not implemented\r\n'
03:03:09.166952 < 8 bytes data, client => server
03:03:09.166965 'PROT C\r\n'
03:03:09.167035 Received DATA (on stdin)
03:03:09.167046 > 26 bytes data, server => client
03:03:09.167056 '500 PROT not implemented\r\n'
03:03:09.168457 < 5 bytes data, client => server
03:03:09.168470 'PWD\r\n'
03:03:09.168543 Received DATA (on stdin)
03:03:09.168553 > 30 bytes data, server => client
03:03:09.168563 '257 "/" is current directory\r\n'
03:03:09.175672 < 6 bytes data, client => server
03:03:09.175688 'EPSV\r\n'
03:03:09.177809 Received DATA (on stdin)
03:03:09.177831 > 38 bytes data, server => client
03:03:09.177851 '229 Entering Passive Mode (|||34445|)\n'
03:03:09.189051 < 8 bytes data, client => server
03:03:09.189074 'TYPE I\r\n'
03:03:09.189154 Received DATA (on stdin)
03:03:09.189174 > 33 bytes data, server => client
03:03:09.189191 '200 I modify TYPE as you wanted\r\n'
03:03:09.191296 < 10 bytes data, client => server
03:03:09.191313 'STOR 401\r\n'
03:03:09.191390 Received DATA (on stdin)
03:03:09.191408 > 24 bytes data, server => client
03:03:09.191446 '125 Gimme gimme gimme!\r\n'
03:03:09.211683 Received DATA (on stdin)
03:03:09.211709 > 28 bytes data, server => client
03:03:09.211726 '226 File transfer complete\r\n'
03:03:09.253224 < 6 bytes data, client => server
03:03:09.253261 'QUIT\r\n'
03:03:09.253401 Received DATA (on stdin)
03:03:09.253424 > 18 bytes data, server => client
03:03:09.253440 '221 bye bye baby\r\n'
03:03:09.259963 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:03.388821 Running IPv4 version
03:03:03.388889 Listening on port 36263
03:03:03.388922 Wrote pid 15032 to ./.ftp_sockdata.pid
03:03:03.388937 Received PING (on stdin)
03:03:03.388992 Received PORT (on stdin)
03:03:03.389320 ====> Client connect
03:03:03.390020 Received DATA (on stdin)
03:03:03.390043 > 17 bytes data, server => client
03:03:03.390060 'WE ROOLZ: 14308\r\n'
03:03:03.390099 Received DISC (on stdin)
03:03:03.390113 ====> Client forcibly disconnected
03:03:03.390139 Received QUIT (on stdin)
03:03:03.390154 quits
03:03:03.390178 ============> sockfilt quits
03:03:06.200800 Running IPv4 version
03:03:06.200860 Listening on port 38951
03:03:06.200898 Wrote pid 15037 to ./.ftp_sockdata.pid
03:03:06.200914 Received PING (on stdin)
03:03:06.200996 Received PORT (on stdin)
03:03:06.208172 ====> Client connect
03:03:06.215564 Received DATA (on stdin)
03:03:06.215595 > 10 bytes data, server => client
03:03:06.215609 'total 20\r\n'
03:03:06.215634 Received DATA (on stdin)
03:03:06.215645 > 57 bytes data, server => client
03:03:06.215657 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:06.215673 Received DATA (on stdin)
03:03:06.215682 > 58 bytes data, server => client
03:03:06.215694 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:06.215708 Received DATA (on stdin)
03:03:06.215717 > 61 bytes data, server => client
03:03:06.215729 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:06.215737 '\n'
03:03:06.215750 Received DATA (on stdin)
03:03:06.215759 > 62 bytes data, server => client
03:03:06.215771 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:06.215779 '\n'
03:03:06.215792 Received DATA (on stdin)
03:03:06.215801 > 70 bytes data, server => client
03:03:06.215813 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:06.215821 'usr/bin\r\n'
03:03:06.215835 Received DATA (on stdin)
03:03:06.215844 > 59 bytes data, server => client
03:03:06.215855 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:06.215869 Received DATA (on stdin)
03:03:06.215878 > 69 bytes data, server => client
03:03:06.215890 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:06.215898 'd.html\r\n'
03:03:06.215911 Received DATA (on stdin)
03:03:06.215920 > 59 bytes data, server => client
03:03:06.215932 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:06.215946 Received DATA (on stdin)
03:03:06.215955 > 59 bytes data, server => client
03:03:06.215967 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:06.215981 Received DATA (on stdin)
03:03:06.215990 > 59 bytes data, server => client
03:03:06.216007 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:06.216027 Received DISC (on stdin)
03:03:06.216038 ====> Client forcibly disconnected
03:03:06.216057 Received QUIT (on stdin)
03:03:06.216065 quits
03:03:06.216079 ============> sockfilt quits
03:03:09.177281 Running IPv4 version
03:03:09.177342 Listening on port 34445
03:03:09.177605 Wrote pid 15043 to ./.ftp_sockdata.pid
03:03:09.177630 Received PING (on stdin)
03:03:09.177715 Received PORT (on stdin)
03:03:09.184432 ====> Client connect
03:03:09.201532 < 52 bytes data, client => server
03:03:09.201567 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:03:09.211461 ====> Client disconnect
03:03:09.211615 Received QUIT (on stdin)
03:03:09.211631 quits
03:03:09.211650 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.12 03:03:02 LOG5[15027]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:03:02 LOG5[15027]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:03:02 LOG5[15027]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:03:02 LOG5[15027]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:03:02 LOG5[15027]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:03:02 LOG5[15027]: Reading configuration from file /build-13601/tests/ftps_stunnel.conf
2019.01.12 03:03:02 LOG5[15027]: FIPS mode disabled
2019.01.12 03:03:02 LOG5[15027]: Configuration successful
2019.01.12 03:03:03 LOG5[15030]: Service [curltest] accepted connection from 127.0.0.1:44748
2019.01.12 03:03:03 LOG5[15030]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:03:03 LOG5[15030]: Service [curltest] connected remote server from 127.0.0.1:55480
2019.01.12 03:03:03 LOG5[15030]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.12 03:03:05 LOG5[15035]: Service [curltest] accepted connection from 127.0.0.1:44754
2019.01.12 03:03:06 LOG5[15035]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:03:06 LOG5[15035]: Service [curltest] connected remote server from 127.0.0.1:55486
2019.01.12 03:03:07 LOG5[15035]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
2019.01.12 03:03:08 LOG5[15041]: Service [curltest] accepted connection from 127.0.0.1:44760
2019.01.12 03:03:09 LOG5[15041]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:03:09 LOG5[15041]: Service [curltest] connected remote server from 127.0.0.1:55492
2019.01.12 03:03:10 LOG5[15041]: Connection closed: 446 byte(s) sent to SSL, 89 byte(s) sent to socket
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* Expire in 0 ms for 6 (transfer 0x558613dd66a8)
* Expire in 13000 ms for 8 (transfer 0x558613dd66a8)
* STATE: INIT => CONNECT handle 0x558613dd66a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x558613dd66a8)
* STATE: CONNECT => WAITCONNECT handle 0x558613dd66a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x558613dd66a8; line 1613 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [138 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x558613e1c5f8 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x558613dd66a8; line 1627 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x558613e1c5f8 (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 0x558613e1c5f8 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x558613e1c5f8 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x558613e1c5f8 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x558613e1c5f8 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x558613e1c5f8 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x558613dd66a8; line 1648 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x558613e1c5f8 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x558613dd66a8; line 1697 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||36263|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x558613dd66a8)
* Connecting to 127.0.0.1 (127.0.0.1) port 36263
* FTP 0x558613e1c5f8 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x558613dd66a8; line 1781 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x558613e1c5f8 (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 0x558613e1c5f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x558613e1c5f8 (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 0x558613e1c5f8 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x558613dd66a8; line 1807 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x558613dd66a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x558613dd66a8; line 1849 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x558613dd66a8; line 2046 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x558613dd66a8)
=== End of file ftps_verify.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
STOR 401
QUIT
=== End of file server.input
=== Start of file stderr401
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 52 0 0 100 52 0 27 0:00:01 0:00:01 --:--:-- 28
=== End of file stderr401
=== Start of file test401.txt
data
to
see
that FTPS
works
so does it?
=== End of file test401.txt
=== Start of file trace401
03:03:08.321548 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:08.346132 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:08.384201 == Info: Added connection 0. The cache now contains 1 members
03:03:08.401037 == Info: Trying 127.0.0.1...
03:03:08.401630 == Info: TCP_NODELAY set
03:03:08.404906 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:08.407122 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:08.418207 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:08.418754 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:08.419859 == Info: Marked for [keep alive]: FTP default
03:03:09.590114 == Info: successfully set certificate verify locations:
03:03:09.590376 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:09.668222 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:09.673244 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:09.673309 => Send SSL data, 138 bytes (0x8a)
0000: ......-..)..n.......-%r.NB'.."....}e.O..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:09.690655 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:09.695054 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:09.695112 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....G...KAb..O..._!*G|:..X.F...oFn ._.......LA.5.pLR.A!..U..
0040: ..,..WT./................
03:03:09.739091 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:09.739548 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:09.739606 <= 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:09.838530 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:09.838798 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:09.838857 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$........!|.~.>...M..<...)f.....g[E.4.......q.n.8.n..1.7...
0080: Q........._'!cu.. ....../pP.f..q..p.._..$-.@<..c....+k)....@.0..
00c0: ...!..T..N..x...k....C.........F..)...!...c..g..(.;..W.P.|.....c
0100: #......@.<.)k..|...B....4.9yJ..r.*8..>U..$_..7[D..#.W...........
0140: .4,sZ..K..d..
03:03:09.907743 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:09.908090 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:09.908150 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:10.026010 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:10.026261 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:10.026318 => Send SSL data, 70 bytes (0x46)
0000: ...BA.........s^...V..".b.h\&.'......]..8*.Ss...{.^.GIP0.^l....v
0040: ..d...
03:03:10.038788 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:10.039350 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:10.039406 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:10.070789 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:10.070998 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:10.071061 => Send SSL data, 16 bytes (0x10)
0000: ......2-Y..py24.
03:03:10.073588 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:10.074624 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:10.074681 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:10.077079 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:10.082400 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:10.082456 <= Recv SSL data, 16 bytes (0x10)
0000: ....m@k.0..M.e.W
03:03:10.103796 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:10.105998 == Info: Server certificate:
03:03:10.113311 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:10.119534 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:10.120481 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:10.121308 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:10.122203 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:10.123740 == Info: FTP 0x62ef748 (line 3118) state change from STOP to WAIT220
03:03:10.129919 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:10.139259 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:10.142747 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:10.142947 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:10.143130 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:10.143311 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:10.150653 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:10.153251 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:10.154026 == Info: FTP 0x62ef748 (line 803) state change from WAIT220 to USER
03:03:10.154744 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:10.160994 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:10.161678 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:10.163048 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:10.163184 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:10.163556 == Info: FTP 0x62ef748 (line 2546) state change from USER to PASS
03:03:10.164577 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:10.164724 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:10.165393 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:10.165513 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:10.165847 == Info: FTP 0x62ef748 (line 2522) state change from PASS to PBSZ
03:03:10.166135 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:10.166272 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:10.166819 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:10.166934 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:10.167253 == Info: FTP 0x62ef748 (line 2735) state change from PBSZ to PROT
03:03:10.167494 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:10.167646 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:10.168303 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:10.168421 => Send header, 5 bytes (0x5)
0000: PWD
03:03:10.168732 == Info: FTP 0x62ef748 (line 815) state change from PROT to PWD
03:03:10.169048 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:10.169184 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:10.170274 == Info: Entry path is '/'
03:03:10.170494 == Info: FTP 0x62ef748 (line 2870) state change from PWD to STOP
03:03:10.170657 == Info: protocol connect phase DONE
03:03:10.171008 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:10.173640 == Info: DO phase starts
03:03:10.175506 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:10.175631 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:10.175960 == Info: FTP 0x62ef748 (line 1346) state change from STOP to PASV
03:03:10.176139 == Info: Connect data stream passively
03:03:10.176893 == Info: ftp_perform ends with SECONDARY: 0
03:03:10.177619 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:10.178434 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:10.178583 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||34445|).
03:03:10.184242 == Info: Trying 127.0.0.1...
03:03:10.184306 == Info: TCP_NODELAY set
03:03:10.184429 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:10.185054 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 34445
03:03:10.186034 == Info: FTP 0x62ef748 (line 2003) state change from PASV to STOP
03:03:10.186632 == Info: DO phase is complete2
03:03:10.187046 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:10.187732 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:10.187945 == Info: DO-MORE connected phase starts
03:03:10.188882 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:10.189004 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:10.189342 == Info: FTP 0x62ef748 (line 3444) state change from STOP to STOR_TYPE
03:03:10.189719 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:10.189862 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:10.191134 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:10.191256 => Send header, 10 bytes (0xa)
0000: STOR 401
03:03:10.191584 == Info: FTP 0x62ef748 (line 1677) state change from STOR_TYPE to STOR
03:03:10.193345 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:10.193488 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:10.195261 == Info: FTP 0x62ef748 (line 485) state change from STOR to STOP
03:03:10.196044 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:10.197087 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:10.197884 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:10.202049 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:03:10.202659 == Info: We are completely uploaded and fine
03:03:10.206243 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:10.206707 == Info: multi_done
03:03:10.209976 == Info: Remembering we are in dir ""
03:03:10.232445 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:10.232613 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:10.237898 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:10.239782 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace401
=== Start of file upload.401
data
to
see
that FTPS
works
so does it?
=== End of file upload.401
=== Start of file valgrind401
==15040== Invalid read of size 8
==15040== at 0x5E745A5: check_free (dlerror.c:188)
==15040== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15040== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15040== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15040== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15040== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15040== by 0x559AF79: exit (exit.c:139)
==15040== by 0x55850A1: (below main) (libc-start.c:342)
==15040== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==15040== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15040== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15040== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15040== by 0x4DD0E85: err_get_state (err.c:210)
==15040== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15040== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15040== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15040== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15040== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15040== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15040== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15040== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15040== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15040== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15040== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15040== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15040==
==15040== Invalid free() / delete / delete[] / realloc()
==15040== at 0x48369AB: free (vg_replace_malloc.c:530)
==15040== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15040== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15040== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15040== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15040== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15040== by 0x559AF79: exit (exit.c:139)
==15040== by 0x55850A1: (below main) (libc-start.c:342)
==15040== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==15040== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15040== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15040== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15040== by 0x4DD0E85: err_get_state (err.c:210)
==15040== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15040== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15040== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15040== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15040== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15040== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15040== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15040== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15040== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15040== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15040== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15040== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15040==
==15040== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15040== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15040== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15040== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15040== by 0x4DD0E85: err_get_state (err.c:210)
==15040== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15040== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15040== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15040== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15040== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15040== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15040== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15040== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15040== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15040== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15040== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15040== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15040==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
-p----emv- OK (342 out of 1217, remaining: 24:39)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==15049== Invalid read of size 8
==15049== at 0x5E745A5: check_free (dlerror.c:188)
==15049== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15049== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15049== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15049== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15049== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15049== by 0x559AF79: exit (exit.c:139)
==15049== by 0x55850A1: (below main) (libc-start.c:342)
==15049== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==15049== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15049== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15049== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15049== by 0x4DD0E85: err_get_state (err.c:210)
==15049== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15049== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15049== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15049== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15049== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15049== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15049== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15049== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15049== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15049== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15049== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15049== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15049==
==15049== Invalid free() / delete / delete[] / realloc()
==15049== at 0x48369AB: free (vg_replace_malloc.c:530)
==15049== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15049== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15049== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15049== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15049== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15049== by 0x559AF79: exit (exit.c:139)
==15049== by 0x55850A1: (below main) (libc-start.c:342)
==15049== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==15049== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15049== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15049== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15049== by 0x4DD0E85: err_get_state (err.c:210)
==15049== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15049== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15049== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15049== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15049== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15049== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15049== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15049== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15049== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15049== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15049== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15049== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15049==
==15049== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15049== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15049== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15049== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15049== by 0x4DD0E85: err_get_state (err.c:210)
==15049== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15049== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15049== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15049== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15049== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15049== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15049== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15049== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15049== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15049== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15049== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15049== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15049==
== 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:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> 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
100 623 0 623 0 0 331 0 --:--:-- 0:00:01 --:--:-- 342
=== End of file stderr403
=== Start of file trace403
03:03:12.421774 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:12.446594 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:12.484268 == Info: Added connection 0. The cache now contains 1 members
03:03:12.500889 == Info: Trying 127.0.0.1...
03:03:12.501478 == Info: TCP_NODELAY set
03:03:12.504646 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:12.506875 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:12.518176 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:12.518756 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:12.519867 == Info: Marked for [keep alive]: FTP default
03:03:13.671311 == Info: successfully set certificate verify locations:
03:03:13.671588 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:13.752542 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:13.757556 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:13.757622 => Send SSL data, 138 bytes (0x8a)
0000: .......Ey...;.P.\....R.....=4....:..!...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:13.775239 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:13.779695 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:13.779755 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..B..O.s[7F].y=<.]....z'[7F].Z..;.i...A. .R(..5.....iWdM.....P..bC
0040: P.....l./................
03:03:13.823705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:13.824156 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:13.824213 <= 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:13.923068 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:13.923330 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:13.923388 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$.......B..l.S......}..".....b. H.m...g.....i.[7F]M.m%..]$..+.
0080: .`k....b.B..^]..aT.c...?......5xN2]!3.?+dO..t,.y.bK.%....H.H.R..
00c0: Uf..$[7F]...R.....dQ...[7F][7F].......sa\R.M..+.P...c..0.X..j......v.x...
0100: 5l....b.L~.......t..g.H.....I....=...:...p......f...L.6.q..~.j..
0140: ....q;...FZ.5
03:03:13.993153 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:13.993493 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:13.993551 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:14.114050 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:14.114299 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:14.114357 => Send SSL data, 70 bytes (0x46)
0000: ...BA.........6D.}.......C>......]..F.p.V.Z.^.'..9L.g:A.Z__..a.M
0040: .|L>4.
03:03:14.126714 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.127269 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:14.127325 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:14.158953 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:14.159156 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:14.159211 => Send SSL data, 16 bytes (0x10)
0000: ....T7.>.8M".2V.
03:03:14.161751 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.162879 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:14.162936 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:14.165373 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:14.170705 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:14.170767 <= Recv SSL data, 16 bytes (0x10)
0000: ......h>D...a...
03:03:14.192398 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:14.194557 == Info: Server certificate:
03:03:14.201923 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:14.208189 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:14.209130 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:14.209953 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:14.210867 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:14.212309 == Info: FTP 0x62ec468 (line 3118) state change from STOP to WAIT220
03:03:14.218755 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:14.227874 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:14.231449 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:14.231646 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:14.231829 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:14.232012 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:14.239323 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:14.241933 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:14.242703 == Info: FTP 0x62ec468 (line 803) state change from WAIT220 to USER
03:03:14.243407 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:14.249727 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:14.250389 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:14.251778 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.251903 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:14.252280 == Info: FTP 0x62ec468 (line 2546) state change from USER to PASS
03:03:14.253284 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:14.253428 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:14.254095 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.254211 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:14.254532 == Info: FTP 0x62ec468 (line 2522) state change from PASS to PBSZ
03:03:14.254820 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:14.254956 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:14.255481 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.255593 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:14.255911 == Info: FTP 0x62ec468 (line 2735) state change from PBSZ to PROT
03:03:14.256155 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:14.256290 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:14.256884 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.256996 => Send header, 5 bytes (0x5)
0000: CCC
03:03:14.257394 == Info: FTP 0x62ec468 (line 2754) state change from PROT to CCC
03:03:14.257636 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:14.257772 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:03:14.258363 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.258476 => Send header, 5 bytes (0x5)
0000: PWD
03:03:14.258785 == Info: FTP 0x62ec468 (line 815) state change from CCC to PWD
03:03:14.259101 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:14.259237 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:14.260340 == Info: Entry path is '/'
03:03:14.260560 == Info: FTP 0x62ec468 (line 2870) state change from PWD to STOP
03:03:14.260723 == Info: protocol connect phase DONE
03:03:14.261059 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:14.263004 == Info: DO phase starts
03:03:14.264893 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.265010 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:14.265342 == Info: FTP 0x62ec468 (line 1346) state change from STOP to PASV
03:03:14.265511 == Info: Connect data stream passively
03:03:14.266281 == Info: ftp_perform ends with SECONDARY: 0
03:03:14.267003 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:14.267828 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:14.267973 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||39039|).
03:03:14.274008 == Info: Trying 127.0.0.1...
03:03:14.274070 == Info: TCP_NODELAY set
03:03:14.274191 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:14.274813 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 39039
03:03:14.275720 == Info: FTP 0x62ec468 (line 2003) state change from PASV to STOP
03:03:14.276326 == Info: DO phase is complete2
03:03:14.276820 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:14.277496 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:14.277706 == Info: DO-MORE connected phase starts
03:03:14.278989 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:14.279148 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:14.279550 == Info: FTP 0x62ec468 (line 3444) state change from STOP to LIST_TYPE
03:03:14.279929 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:14.280079 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:14.281246 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:14.281362 => Send header, 6 bytes (0x6)
0000: LIST
03:03:14.282068 == Info: FTP 0x62ec468 (line 1502) state change from LIST_TYPE to LIST
03:03:14.283826 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:14.283967 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:14.284563 == Info: Maxdownload = -1
03:03:14.285870 == Info: FTP 0x62ec468 (line 485) state change from LIST to STOP
03:03:14.286628 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:14.287750 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:14.288528 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:14.291780 <= 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:14.300788 == Info: nread <= 0, server closed connection, bailing
03:03:14.302586 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:14.303046 == Info: multi_done
03:03:14.306581 == Info: Remembering we are in dir ""
03:03:14.324446 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:14.324607 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:14.329459 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:14.331347 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace403
=== Start of file valgrind403
==15049== Invalid read of size 8
==15049== at 0x5E745A5: check_free (dlerror.c:188)
==15049== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15049== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15049== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15049== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15049== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15049== by 0x559AF79: exit (exit.c:139)
==15049== by 0x55850A1: (below main) (libc-start.c:342)
==15049== Address 0x66ad2b0 is 0 bytes after a block of size 32 alloc'd
==15049== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15049== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15049== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15049== by 0x4DD0E85: err_get_state (err.c:210)
==15049== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15049== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15049== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15049== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15049== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15049== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15049== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15049== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15049== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15049== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15049== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15049== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15049==
==15049== Invalid free() / delete / delete[] / realloc()
==15049== at 0x48369AB: free (vg_replace_malloc.c:530)
==15049== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15049== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15049== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15049== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15049== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15049== by 0x559AF79: exit (exit.c:139)
==15049== by 0x55850A1: (below main) (libc-start.c:342)
==15049== Address 0x66ad298 is 8 bytes inside a block of size 32 alloc'd
==15049== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15049== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15049== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15049== by 0x4DD0E85: err_get_state (err.c:210)
==15049== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15049== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15049== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15049== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15049== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15049== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15049== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15049== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15049== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15049== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15049== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15049== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15049==
==15049== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15049== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15049== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15049== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15049== by 0x4DD0E85: err_get_state (err.c:210)
==15049== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15049== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15049== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15049== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15049== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15049== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15049== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15049== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15049== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15049== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15049== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15049== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15049==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==15055== Invalid read of size 8
==15055== at 0x5E745A5: check_free (dlerror.c:188)
==15055== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15055== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15055== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15055== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15055== by 0x559AF79: exit (exit.c:139)
==15055== by 0x55850A1: (below main) (libc-start.c:342)
==15055== Address 0x6301f80 is 0 bytes after a block of size 32 alloc'd
==15055== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15055== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15055== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15055== by 0x4DD0E85: err_get_state (err.c:210)
==15055== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15055== by 0x4E67EB5: BIO_new_file (file.c:95)
==15055== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==15055== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15055== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15055== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15055== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15055== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15055== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15055== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15055== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15055== by 0x1B9F19: ftp_connect (ftp.c:3109)
==15055==
==15055== Invalid free() / delete / delete[] / realloc()
==15055== at 0x48369AB: free (vg_replace_malloc.c:530)
==15055== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15055== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15055== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15055== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15055== by 0x559AF79: exit (exit.c:139)
==15055== by 0x55850A1: (below main) (libc-start.c:342)
==15055== Address 0x6301f68 is 8 bytes inside a block of size 32 alloc'd
==15055== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15055== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15055== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15055== by 0x4DD0E85: err_get_state (err.c:210)
==15055== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15055== by 0x4E67EB5: BIO_new_file (file.c:95)
==15055== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==15055== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15055== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15055== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15055== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15055== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15055== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15055== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15055== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15055== by 0x1B9F19: ftp_connect (ftp.c:3109)
==15055==
==15055== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==15055== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15055== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15055== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15055== by 0x4DD0E85: err_get_state (err.c:210)
==15055== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15055== by 0x4E67EB5: BIO_new_file (file.c:95)
==15055== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==15055== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15055== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15055== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15055== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15055== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15055== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15055== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15055== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15055== by 0x1B9F19: ftp_connect (ftp.c:3109)
==15055==
== Contents of files in the log/ dir after test 404
=== Start of file ftp_server.log
03:03:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> 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:15.389050 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:15.413662 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:15.451145 == Info: Added connection 0. The cache now contains 1 members
03:03:15.467731 == Info: Trying 127.0.0.1...
03:03:15.468336 == Info: TCP_NODELAY set
03:03:15.471548 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:15.473761 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:15.484773 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:15.485319 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:15.486427 == Info: Marked for [keep alive]: FTP default
03:03:15.514997 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:03:15.515812 == Info: multi_done
03:03:15.518680 == Info: Marked for [closure]: FTP ended with bad error code
03:03:15.525495 == Info: Closing connection 0
03:03:15.528159 == Info: The cache now contains 0 members
03:03:15.545787 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace404
=== Start of file valgrind404
==15055== Invalid read of size 8
==15055== at 0x5E745A5: check_free (dlerror.c:188)
==15055== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15055== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15055== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15055== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15055== by 0x559AF79: exit (exit.c:139)
==15055== by 0x55850A1: (below main) (libc-start.c:342)
==15055== Address 0x6301f80 is 0 bytes after a block of size 32 alloc'd
==15055== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15055== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15055== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15055== by 0x4DD0E85: err_get_state (err.c:210)
==15055== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15055== by 0x4E67EB5: BIO_new_file (file.c:95)
==15055== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==15055== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15055== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15055== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15055== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15055== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15055== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15055== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15055== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15055== by 0x1B9F19: ftp_connect (ftp.c:3109)
==15055==
==15055== Invalid free() / delete / delete[] / realloc()
==15055== at 0x48369AB: free (vg_replace_malloc.c:530)
==15055== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15055== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15055== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15055== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15055== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15055== by 0x559AF79: exit (exit.c:139)
==15055== by 0x55850A1: (below main) (libc-start.c:342)
==15055== Address 0x6301f68 is 8 bytes inside a block of size 32 alloc'd
==15055== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15055== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15055== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15055== by 0x4DD0E85: err_get_state (err.c:210)
==15055== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15055== by 0x4E67EB5: BIO_new_file (file.c:95)
==15055== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==15055== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15055== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15055== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15055== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15055== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15055== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15055== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15055== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15055== by 0x1B9F19: ftp_connect (ftp.c:3109)
==15055==
==15055== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==15055== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15055== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15055== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15055== by 0x4DD0E85: err_get_state (err.c:210)
==15055== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15055== by 0x4E67EB5: BIO_new_file (file.c:95)
==15055== by 0x4E91803: X509_load_cert_crl_file (by_file.c:248)
==15055== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15055== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15055== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15055== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15055== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15055== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15055== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15055== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15055== by 0x1B9F19: ftp_connect (ftp.c:3109)
==15055==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==15059== Invalid read of size 8
==15059== at 0x5E745A5: check_free (dlerror.c:188)
==15059== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15059== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15059== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15059== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15059== by 0x559AF79: exit (exit.c:139)
==15059== by 0x55850A1: (below main) (libc-start.c:342)
==15059== Address 0x66ad390 is 0 bytes after a block of size 32 alloc'd
==15059== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15059== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15059== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15059== by 0x4DD0E85: err_get_state (err.c:210)
==15059== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15059== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15059== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15059== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15059== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15059== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15059== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15059== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15059== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15059== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15059== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15059== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15059==
==15059== Invalid free() / delete / delete[] / realloc()
==15059== at 0x48369AB: free (vg_replace_malloc.c:530)
==15059== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15059== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15059== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15059== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15059== by 0x559AF79: exit (exit.c:139)
==15059== by 0x55850A1: (below main) (libc-start.c:342)
==15059== Address 0x66ad378 is 8 bytes inside a block of size 32 alloc'd
==15059== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15059== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15059== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15059== by 0x4DD0E85: err_get_state (err.c:210)
==15059== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15059== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15059== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15059== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15059== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15059== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15059== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15059== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15059== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15059== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15059== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15059== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15059==
==15059== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==15059== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15059== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15059== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15059== by 0x4DD0E85: err_get_state (err.c:210)
==15059== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15059== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15059== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15059== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15059== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15059== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15059== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15059== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15059== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15059== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15059== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15059== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15059==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:03:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
03:03:16.446388 ====> Client connect
03:03:16.446496 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:17.869107 MAIN sockfilt said DISC
03:03:17.869162 ====> Client disconnected
03:03:17.869204 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
03:03:15.657619 ====> Client connect
03:03:15.657815 Received DATA (on stdin)
03:03:15.657838 > 160 bytes data, server => client
03:03:15.657861 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:15.657883 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:15.657901 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:16.982857 < 143 bytes data, client => server
03:03:16.982908 '............p.!........?. ....0.x.}...v...4..*.+./.,.0..... .'
03:03:16.982933 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:16.982951 '.......[0B].....\n..........'
03:03:17.001251 < 7 bytes data, client => server
03:03:17.001283 '......F'
03:03:17.080338 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> 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:16.570846 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:16.595586 == Info: Expire in 5000 ms for 8 (transfer 0x626d7a8)
03:03:16.598011 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:16.636367 == Info: Added connection 0. The cache now contains 1 members
03:03:16.654436 == Info: Trying 127.0.0.1...
03:03:16.655072 == Info: TCP_NODELAY set
03:03:16.658239 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:16.659870 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:16.674864 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:03:16.675458 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:16.676647 == Info: Marked for [keep alive]: FTP default
03:03:17.890611 == Info: successfully set certificate verify locations:
03:03:17.890877 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:17.972036 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:17.977358 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:17.977424 => Send SSL data, 138 bytes (0x8a)
0000: .......p.!........?......0.x.}...v...4..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:17.999934 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:18.002879 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:03:18.002969 => Send SSL data, 2 bytes (0x2)
0000: .F
03:03:18.009799 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:03:18.010654 == Info: multi_done
03:03:18.013671 == Info: Marked for [closure]: FTP ended with bad error code
03:03:18.021053 == Info: Closing connection 0
03:03:18.023725 == Info: The cache now contains 0 members
03:03:18.087942 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace405
=== Start of file valgrind405
==15059== Invalid read of size 8
==15059== at 0x5E745A5: check_free (dlerror.c:188)
==15059== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15059== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15059== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15059== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15059== by 0x559AF79: exit (exit.c:139)
==15059== by 0x55850A1: (below main) (libc-start.c:342)
==15059== Address 0x66ad390 is 0 bytes after a block of size 32 alloc'd
==15059== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15059== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15059== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15059== by 0x4DD0E85: err_get_state (err.c:210)
==15059== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15059== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15059== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15059== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15059== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15059== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15059== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15059== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15059== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15059== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15059== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15059== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15059==
==15059== Invalid free() / delete / delete[] / realloc()
==15059== at 0x48369AB: free (vg_replace_malloc.c:530)
==15059== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15059== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15059== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15059== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15059== by 0x559AF79: exit (exit.c:139)
==15059== by 0x55850A1: (below main) (libc-start.c:342)
==15059== Address 0x66ad378 is 8 bytes inside a block of size 32 alloc'd
==15059== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15059== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15059== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15059== by 0x4DD0E85: err_get_state (err.c:210)
==15059== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15059== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15059== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15059== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15059== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15059== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15059== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15059== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15059== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15059== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15059== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15059== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15059==
==15059== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==15059== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15059== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15059== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15059== by 0x4DD0E85: err_get_state (err.c:210)
==15059== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15059== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15059== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15059== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15059== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15059== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15059== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15059== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15059== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15059== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15059== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15059== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15059==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==15062== Invalid read of size 8
==15062== at 0x5E745A5: check_free (dlerror.c:188)
==15062== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15062== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15062== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15062== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15062== by 0x559AF79: exit (exit.c:139)
==15062== by 0x55850A1: (below main) (libc-start.c:342)
==15062== Address 0x66adbb0 is 0 bytes after a block of size 32 alloc'd
==15062== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15062== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15062== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15062== by 0x4DD0E85: err_get_state (err.c:210)
==15062== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15062== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15062== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15062== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15062== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15062== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15062== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15062== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15062== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15062== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15062== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15062== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15062==
==15062== Invalid free() / delete / delete[] / realloc()
==15062== at 0x48369AB: free (vg_replace_malloc.c:530)
==15062== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15062== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15062== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15062== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15062== by 0x559AF79: exit (exit.c:139)
==15062== by 0x55850A1: (below main) (libc-start.c:342)
==15062== Address 0x66adb98 is 8 bytes inside a block of size 32 alloc'd
==15062== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15062== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15062== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15062== by 0x4DD0E85: err_get_state (err.c:210)
==15062== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15062== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15062== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15062== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15062== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15062== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15062== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15062== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15062== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15062== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15062== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15062== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15062==
==15062== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15062== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15062== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15062== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15062== by 0x4DD0E85: err_get_state (err.c:210)
==15062== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15062== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15062== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15062== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15062== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15062== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15062== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15062== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15062== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15062== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15062== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15062== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15062==
== 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:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
03:03:16.446388 ====> Client connect
03:03:16.446496 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:17.869107 MAIN sockfilt said DISC
03:03:17.869162 ====> Client disconnected
03:03:17.869204 Awaiting input
03:03:20.652879 ====> Client connect
03:03:20.653010 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:20.733764 < "USER anonymous"
03:03:20.733824 > "331 We are happy you popped in![CR][LF]"
03:03:20.744883 < "PASS ftp@example.com"
03:03:20.744928 > "230 Welcome you silly person[CR][LF]"
03:03:20.747235 < "PBSZ 0"
03:03:20.747278 > "500 PBSZ not implemented[CR][LF]"
03:03:20.748660 < "PROT C"
03:03:20.748704 > "500 PROT not implemented[CR][LF]"
03:03:20.750236 < "PWD"
03:03:20.750278 > "257 "/" is current directory[CR][LF]"
03:03:20.771055 < "EPRT |1|127.0.0.1|39257|"
03:03:20.771098 ====> Active DATA channel requested by client
03:03:20.771143 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:20.771169 DATA sockfilt for active data channel starting...
03:03:20.772984 DATA sockfilt for active data channel started (pid 15066)
03:03:20.773018 ====> Active DATA channel connected to client port 39257
03:03:20.776264 < "TYPE A"
03:03:20.776321 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:20.778565 < "LIST"
03:03:20.778609 > "150 here comes a directory[CR][LF]"
03:03:20.778645 pass LIST data on data connection
03:03:20.778751 =====> Closing active DATA connection...
03:03:20.778775 Server disconnects active DATA connection
03:03:20.779186 DATA sockfilt for active data channel quits (pid 15067)
03:03:20.779211 =====> Closed active DATA connection
03:03:20.779249 > "226 ASCII transfer complete[CR][LF]"
03:03:20.839585 < "QUIT"
03:03:20.839642 > "221 bye bye baby[CR][LF]"
03:03:20.846257 MAIN sockfilt said DISC
03:03:20.846290 ====> Client disconnected
03:03:20.846352 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
03:03:15.657619 ====> Client connect
03:03:15.657815 Received DATA (on stdin)
03:03:15.657838 > 160 bytes data, server => client
03:03:15.657861 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:15.657883 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:15.657901 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:16.982857 < 143 bytes data, client => server
03:03:16.982908 '............p.!........?. ....0.x.}...v...4..*.+./.,.0..... .'
03:03:16.982933 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:16.982951 '.......[0B].....\n..........'
03:03:17.001251 < 7 bytes data, client => server
03:03:17.001283 '......F'
03:03:17.080338 ====> Client disconnect
03:03:19.864144 ====> Client connect
03:03:19.864324 Received DATA (on stdin)
03:03:19.864342 > 160 bytes data, server => client
03:03:19.864356 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:19.864368 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:19.864379 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:19.944940 < 16 bytes data, client => server
03:03:19.944975 'USER anonymous\r\n'
03:03:19.945143 Received DATA (on stdin)
03:03:19.945155 > 33 bytes data, server => client
03:03:19.945166 '331 We are happy you popped in!\r\n'
03:03:19.956131 < 22 bytes data, client => server
03:03:19.956157 'PASS ftp@example.com\r\n'
03:03:19.956249 Received DATA (on stdin)
03:03:19.956260 > 30 bytes data, server => client
03:03:19.956271 '230 Welcome you silly person\r\n'
03:03:19.958491 < 8 bytes data, client => server
03:03:19.958505 'PBSZ 0\r\n'
03:03:19.958598 Received DATA (on stdin)
03:03:19.958608 > 26 bytes data, server => client
03:03:19.958618 '500 PBSZ not implemented\r\n'
03:03:19.959926 < 8 bytes data, client => server
03:03:19.959938 'PROT C\r\n'
03:03:19.960026 Received DATA (on stdin)
03:03:19.960037 > 26 bytes data, server => client
03:03:19.960047 '500 PROT not implemented\r\n'
03:03:19.961500 < 5 bytes data, client => server
03:03:19.961518 'PWD\r\n'
03:03:19.961613 Received DATA (on stdin)
03:03:19.961627 > 30 bytes data, server => client
03:03:19.961641 '257 "/" is current directory\r\n'
03:03:19.982284 < 26 bytes data, client => server
03:03:19.982307 'EPRT |1|127.0.0.1|39257|\r\n'
03:03:19.982462 Received DATA (on stdin)
03:03:19.982473 > 50 bytes data, server => client
03:03:19.982485 '200 Thanks for dropping by. We contact you later\r\n'
03:03:19.987490 < 8 bytes data, client => server
03:03:19.987512 'TYPE A\r\n'
03:03:19.987635 Received DATA (on stdin)
03:03:19.987646 > 33 bytes data, server => client
03:03:19.987657 '200 I modify TYPE as you wanted\r\n'
03:03:19.989822 < 6 bytes data, client => server
03:03:19.989835 'LIST\r\n'
03:03:19.989929 Received DATA (on stdin)
03:03:19.989939 > 28 bytes data, server => client
03:03:19.989949 '150 here comes a directory\r\n'
03:03:19.990593 Received DATA (on stdin)
03:03:19.990620 > 29 bytes data, server => client
03:03:19.990635 '226 ASCII transfer complete\r\n'
03:03:20.050792 < 6 bytes data, client => server
03:03:20.050823 'QUIT\r\n'
03:03:20.050963 Received DATA (on stdin)
03:03:20.050976 > 18 bytes data, server => client
03:03:20.050986 '221 bye bye baby\r\n'
03:03:20.057555 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> sockfilt quits
03:03:20.984144 ====> Client connect
03:03:20.984215 Running IPv4 version
03:03:20.984224 Connected to port 39257
03:03:20.984263 Wrote pid 15067 to ./.ftp_sockdata.pid
03:03:20.984280 Received PING (on stdin)
03:03:20.990007 Received DATA (on stdin)
03:03:20.990023 > 10 bytes data, server => client
03:03:20.990033 'total 20\r\n'
03:03:20.990052 Received DATA (on stdin)
03:03:20.990062 > 57 bytes data, server => client
03:03:20.990074 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:20.990090 Received DATA (on stdin)
03:03:20.990099 > 58 bytes data, server => client
03:03:20.990111 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:20.990125 Received DATA (on stdin)
03:03:20.990137 > 61 bytes data, server => client
03:03:20.990150 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:20.990157 '\n'
03:03:20.990171 Received DATA (on stdin)
03:03:20.990180 > 62 bytes data, server => client
03:03:20.990192 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:20.990199 '\n'
03:03:20.990213 Received DATA (on stdin)
03:03:20.990222 > 70 bytes data, server => client
03:03:20.990234 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:20.990245 'usr/bin\r\n'
03:03:20.990259 Received DATA (on stdin)
03:03:20.990268 > 59 bytes data, server => client
03:03:20.990280 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:20.990294 Received DATA (on stdin)
03:03:20.990303 > 69 bytes data, server => client
03:03:20.990315 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:20.990323 'd.html\r\n'
03:03:20.990336 Received DATA (on stdin)
03:03:20.990345 > 59 bytes data, server => client
03:03:20.990363 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:20.990378 Received DATA (on stdin)
03:03:20.990391 > 59 bytes data, server => client
03:03:20.990403 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:20.990417 Received DATA (on stdin)
03:03:20.990426 > 59 bytes data, server => client
03:03:20.990438 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:20.990452 Received DISC (on stdin)
03:03:20.990462 ====> Client forcibly disconnected
03:03:20.990478 disconnected, no socket to read on
03:03:20.990488 Received QUIT (on stdin)
03:03:20.990495 quits
03:03:20.990506 ============> 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|39257|
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
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 623 0 623 0 0 323 0 --:--:-- 0:00:01 --:--:-- 334
=== End of file stderr406
=== Start of file trace406
03:03:18.084700 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:18.109688 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:18.147460 == Info: Added connection 0. The cache now contains 1 members
03:03:18.164852 == Info: Trying 127.0.0.1...
03:03:18.165457 == Info: TCP_NODELAY set
03:03:18.168523 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:18.170790 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:18.181989 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:18.182535 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:18.183639 == Info: Marked for [keep alive]: FTP default
03:03:19.378708 == Info: successfully set certificate verify locations:
03:03:19.378966 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:19.457649 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:19.462733 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:19.462800 => Send SSL data, 138 bytes (0x8a)
0000: ......-Y!..KVy...h......8Ekh]}....D.v...*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:19.480514 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:19.484929 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:19.484989 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..0.se..|q.\......*.V ...#Q...}... ...7..........tsQ..>.a./.
0040: `!7."\../................
03:03:19.529169 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:19.529617 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:19.529675 <= 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:19.629084 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:19.629414 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:19.629474 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$.......H.7....$.Z..5...lc.eu.~~...p....."w.]t ..+....$..I.
0080: .3f....W8...~0q9.:.....2.#...}...H..{yF.VE.k..].7....+WLl....l..
00c0: .)..F...7....S.mt.5[...%ot..[7F]......^5..[@....]1....[..iRf..E....
0100: [7F]...x....J9.R....s..F.%..P...h&E....LM.q.U..C0..)`.-...q....<.t,
0140: ...S.$....%..
03:03:19.698602 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:19.698941 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:19.698999 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:19.818022 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:19.818271 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:19.818328 => Send SSL data, 70 bytes (0x46)
0000: ...BA....T(F.$....Sc.18...~...[7F].mMR...r...B..8...q-..g.U...Uh.dc
0040: ...@..
03:03:19.830794 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:19.831356 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:19.831415 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:19.863053 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:19.863250 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:19.863305 => Send SSL data, 16 bytes (0x10)
0000: ....].u?...1....
03:03:19.865863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:19.866894 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:19.866950 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:19.869362 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:19.874912 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:19.874968 <= Recv SSL data, 16 bytes (0x10)
0000: .....(.I....Y...
03:03:19.896661 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:19.898823 == Info: Server certificate:
03:03:19.906323 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:19.912639 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:19.913578 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:19.914409 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:19.915303 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:19.916737 == Info: FTP 0x62ecda8 (line 3118) state change from STOP to WAIT220
03:03:19.922828 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:19.932050 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:19.935505 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:19.935697 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:19.935879 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:19.936063 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:19.943605 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:19.946362 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:19.947132 == Info: FTP 0x62ecda8 (line 803) state change from WAIT220 to USER
03:03:19.947836 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:19.954051 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:19.954711 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:19.955958 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:19.956085 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:19.956507 == Info: FTP 0x62ecda8 (line 2546) state change from USER to PASS
03:03:19.957517 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:19.957663 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:19.958333 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:19.958450 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:19.958821 == Info: FTP 0x62ecda8 (line 2522) state change from PASS to PBSZ
03:03:19.959113 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:19.959250 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:19.959774 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:19.959888 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:19.960261 == Info: FTP 0x62ecda8 (line 2735) state change from PBSZ to PROT
03:03:19.960504 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:19.960642 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:19.961329 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:19.961445 => Send header, 5 bytes (0x5)
0000: PWD
03:03:19.961889 == Info: FTP 0x62ecda8 (line 815) state change from PROT to PWD
03:03:19.962214 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:19.962366 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:19.963571 == Info: Entry path is '/'
03:03:19.963794 == Info: FTP 0x62ecda8 (line 2870) state change from PWD to STOP
03:03:19.963957 == Info: protocol connect phase DONE
03:03:19.964301 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:19.966168 == Info: DO phase starts
03:03:19.982092 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:03:19.982233 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|39257|
03:03:19.982975 == Info: FTP 0x62ecda8 (line 1309) state change from STOP to PORT
03:03:19.983699 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:03:19.984079 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:03:19.984624 == Info: Connect data stream actively
03:03:19.984828 == Info: FTP 0x62ecda8 (line 2037) state change from PORT to STOP
03:03:19.985328 == Info: ftp_perform ends with SECONDARY: 1
03:03:19.985548 == Info: DO phase is complete1
03:03:19.987312 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:19.987438 => Send header, 8 bytes (0x8)
0000: TYPE A
03:03:19.987860 == Info: FTP 0x62ecda8 (line 3444) state change from STOP to LIST_TYPE
03:03:19.988341 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:19.988488 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:19.989665 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:19.989781 => Send header, 6 bytes (0x6)
0000: LIST
03:03:19.990414 == Info: FTP 0x62ecda8 (line 1502) state change from LIST_TYPE to LIST
03:03:19.991611 == Info: STATE: DO => DO_MORE handle 0x626d7a8; line 1705 (connection #0)
03:03:19.992792 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:19.992936 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:03:19.993523 == Info: Maxdownload = -1
03:03:19.993812 == Info: Preparing for accepting server on data port
03:03:19.994838 == Info: Checking for server connect
03:03:19.995749 == Info: Ready to accept data connection from server
03:03:19.997504 == Info: Connection accepted from server
03:03:19.998935 == Info: FTP 0x62ecda8 (line 485) state change from LIST to STOP
03:03:19.999980 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:20.001455 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:20.002231 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:20.005756 <= 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:20.014961 == Info: nread <= 0, server closed connection, bailing
03:03:20.016768 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:20.017231 == Info: multi_done
03:03:20.020730 == Info: Remembering we are in dir ""
03:03:20.032497 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:20.032656 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:03:20.037550 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==15062== Invalid read of size 8
==15062== at 0x5E745A5: check_free (dlerror.c:188)
==15062== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15062== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15062== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15062== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15062== by 0x559AF79: exit (exit.c:139)
==15062== by 0x55850A1: (below main) (libc-start.c:342)
==15062== Address 0x66adbb0 is 0 bytes after a block of size 32 alloc'd
==15062== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15062== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15062== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15062== by 0x4DD0E85: err_get_state (err.c:210)
==15062== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15062== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15062== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15062== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15062== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15062== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15062== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15062== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15062== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15062== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15062== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15062== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15062==
==15062== Invalid free() / delete / delete[] / realloc()
==15062== at 0x48369AB: free (vg_replace_malloc.c:530)
==15062== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15062== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15062== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15062== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15062== by 0x559AF79: exit (exit.c:139)
==15062== by 0x55850A1: (below main) (libc-start.c:342)
==15062== Address 0x66adb98 is 8 bytes inside a block of size 32 alloc'd
==15062== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15062== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15062== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15062== by 0x4DD0E85: err_get_state (err.c:210)
==15062== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15062== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15062== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15062== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15062== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15062== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15062== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15062== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15062== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15062== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15062== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15062== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15062==
==15062== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15062== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15062== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15062== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15062== by 0x4DD0E85: err_get_state (err.c:210)
==15062== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15062== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15062== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15062== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15062== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15062== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15062== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15062== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15062== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15062== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15062== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15062== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15062==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==15070== Invalid read of size 8
==15070== at 0x5E745A5: check_free (dlerror.c:188)
==15070== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15070== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15070== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15070== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15070== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15070== by 0x559AF79: exit (exit.c:139)
==15070== by 0x55850A1: (below main) (libc-start.c:342)
==15070== Address 0x66adc80 is 0 bytes after a block of size 32 alloc'd
==15070== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15070== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15070== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15070== by 0x4DD0E85: err_get_state (err.c:210)
==15070== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15070== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15070== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15070== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15070== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15070== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15070== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15070== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15070== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15070== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15070== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15070== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15070==
==15070== Invalid free() / delete / delete[] / realloc()
==15070== at 0x48369AB: free (vg_replace_malloc.c:530)
==15070== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15070== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15070== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15070== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15070== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15070== by 0x559AF79: exit (exit.c:139)
==15070== by 0x55850A1: (below main) (libc-start.c:342)
==15070== Address 0x66adc68 is 8 bytes inside a block of size 32 alloc'd
==15070== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15070== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15070== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15070== by 0x4DD0E85: err_get_state (err.c:210)
==15070== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15070== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15070== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15070== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15070== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15070== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15070== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15070== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15070== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15070== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15070== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15070== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15070==
==15070== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15070== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15070== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15070== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15070== by 0x4DD0E85: err_get_state (err.c:210)
==15070== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15070== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15070== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15070== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15070== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15070== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15070== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15070== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15070== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15070== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15070== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15070== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15070==
== 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:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
03:03:16.446388 ====> Client connect
03:03:16.446496 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:17.869107 MAIN sockfilt said DISC
03:03:17.869162 ====> Client disconnected
03:03:17.869204 Awaiting input
03:03:20.652879 ====> Client connect
03:03:20.653010 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:20.733764 < "USER anonymous"
03:03:20.733824 > "331 We are happy you popped in![CR][LF]"
03:03:20.744883 < "PASS ftp@example.com"
03:03:20.744928 > "230 Welcome you silly person[CR][LF]"
03:03:20.747235 < "PBSZ 0"
03:03:20.747278 > "500 PBSZ not implemented[CR][LF]"
03:03:20.748660 < "PROT C"
03:03:20.748704 > "500 PROT not implemented[CR][LF]"
03:03:20.750236 < "PWD"
03:03:20.750278 > "257 "/" is current directory[CR][LF]"
03:03:20.771055 < "EPRT |1|127.0.0.1|39257|"
03:03:20.771098 ====> Active DATA channel requested by client
03:03:20.771143 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:20.771169 DATA sockfilt for active data channel starting...
03:03:20.772984 DATA sockfilt for active data channel started (pid 15066)
03:03:20.773018 ====> Active DATA channel connected to client port 39257
03:03:20.776264 < "TYPE A"
03:03:20.776321 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:20.778565 < "LIST"
03:03:20.778609 > "150 here comes a directory[CR][LF]"
03:03:20.778645 pass LIST data on data connection
03:03:20.778751 =====> Closing active DATA connection...
03:03:20.778775 Server disconnects active DATA connection
03:03:20.779186 DATA sockfilt for active data channel quits (pid 15067)
03:03:20.779211 =====> Closed active DATA connection
03:03:20.779249 > "226 ASCII transfer complete[CR][LF]"
03:03:20.839585 < "QUIT"
03:03:20.839642 > "221 bye bye baby[CR][LF]"
03:03:20.846257 MAIN sockfilt said DISC
03:03:20.846290 ====> Client disconnected
03:03:20.846352 Awaiting input
03:03:23.706215 ====> Client connect
03:03:23.706327 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:23.788619 < "USER anonymous"
03:03:23.788666 > "331 We are happy you popped in![CR][LF]"
03:03:23.800931 < "PASS ftp@example.com"
03:03:23.800975 > "230 Welcome you silly person[CR][LF]"
03:03:23.803445 < "PBSZ 0"
03:03:23.803480 > "500 PBSZ not implemented[CR][LF]"
03:03:23.804861 < "PROT C"
03:03:23.804893 > "500 PROT not implemented[CR][LF]"
03:03:23.806364 < "PWD"
03:03:23.806398 > "257 "/" is current directory[CR][LF]"
03:03:23.813588 < "CWD a"
03:03:23.813629 > "250 CWD command successful.[CR][LF]"
03:03:23.815227 < "CWD path"
03:03:23.815257 > "250 CWD command successful.[CR][LF]"
03:03:23.818792 < "EPSV"
03:03:23.818823 ====> Passive DATA channel requested by client
03:03:23.818835 DATA sockfilt for passive data channel starting...
03:03:23.820505 DATA sockfilt for passive data channel started (pid 15078)
03:03:23.820594 DATA sockfilt for passive data channel listens on port 41519
03:03:23.820634 > "229 Entering Passive Mode (|||41519|)[LF]"
03:03:23.820648 Client has been notified that DATA conn will be accepted on port 41519
03:03:23.827138 Client connects to port 41519
03:03:23.827173 ====> Client established passive DATA connection on port 41519
03:03:23.831906 < "TYPE I"
03:03:23.831942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:23.834068 < "SIZE 407"
03:03:23.834231 > "213 11[CR][LF]"
03:03:23.838079 < "RETR 407"
03:03:23.838193 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:23.838245 =====> Closing passive DATA connection...
03:03:23.838259 Server disconnects passive DATA connection
03:03:23.838385 DATA sockfilt for passive data channel quits (pid 15079)
03:03:23.838410 =====> Closed passive DATA connection
03:03:23.838436 > "226 File transfer complete[CR][LF]"
03:03:23.917251 < "EPSV"
03:03:23.917287 ====> Passive DATA channel requested by client
03:03:23.917299 DATA sockfilt for passive data channel starting...
03:03:23.919062 DATA sockfilt for passive data channel started (pid 15080)
03:03:23.919159 DATA sockfilt for passive data channel listens on port 36239
03:03:23.919200 > "229 Entering Passive Mode (|||36239|)[LF]"
03:03:23.919214 Client has been notified that DATA conn will be accepted on port 36239
03:03:23.920726 Client connects to port 36239
03:03:23.920758 ====> Client established passive DATA connection on port 36239
03:03:23.922158 < "SIZE 407"
03:03:23.922325 > "213 11[CR][LF]"
03:03:23.923286 < "RETR 407"
03:03:23.923398 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:23.923450 =====> Closing passive DATA connection...
03:03:23.923464 Server disconnects passive DATA connection
03:03:23.923557 DATA sockfilt for passive data channel quits (pid 15081)
03:03:23.923575 =====> Closed passive DATA connection
03:03:23.923598 > "226 File transfer complete[CR][LF]"
03:03:23.971961 < "QUIT"
03:03:23.972006 > "221 bye bye baby[CR][LF]"
03:03:23.978591 MAIN sockfilt said DISC
03:03:23.978632 ====> Client disconnected
03:03:23.978698 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
03:03:15.657619 ====> Client connect
03:03:15.657815 Received DATA (on stdin)
03:03:15.657838 > 160 bytes data, server => client
03:03:15.657861 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:15.657883 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:15.657901 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:16.982857 < 143 bytes data, client => server
03:03:16.982908 '............p.!........?. ....0.x.}...v...4..*.+./.,.0..... .'
03:03:16.982933 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:16.982951 '.......[0B].....\n..........'
03:03:17.001251 < 7 bytes data, client => server
03:03:17.001283 '......F'
03:03:17.080338 ====> Client disconnect
03:03:19.864144 ====> Client connect
03:03:19.864324 Received DATA (on stdin)
03:03:19.864342 > 160 bytes data, server => client
03:03:19.864356 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:19.864368 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:19.864379 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:19.944940 < 16 bytes data, client => server
03:03:19.944975 'USER anonymous\r\n'
03:03:19.945143 Received DATA (on stdin)
03:03:19.945155 > 33 bytes data, server => client
03:03:19.945166 '331 We are happy you popped in!\r\n'
03:03:19.956131 < 22 bytes data, client => server
03:03:19.956157 'PASS ftp@example.com\r\n'
03:03:19.956249 Received DATA (on stdin)
03:03:19.956260 > 30 bytes data, server => client
03:03:19.956271 '230 Welcome you silly person\r\n'
03:03:19.958491 < 8 bytes data, client => server
03:03:19.958505 'PBSZ 0\r\n'
03:03:19.958598 Received DATA (on stdin)
03:03:19.958608 > 26 bytes data, server => client
03:03:19.958618 '500 PBSZ not implemented\r\n'
03:03:19.959926 < 8 bytes data, client => server
03:03:19.959938 'PROT C\r\n'
03:03:19.960026 Received DATA (on stdin)
03:03:19.960037 > 26 bytes data, server => client
03:03:19.960047 '500 PROT not implemented\r\n'
03:03:19.961500 < 5 bytes data, client => server
03:03:19.961518 'PWD\r\n'
03:03:19.961613 Received DATA (on stdin)
03:03:19.961627 > 30 bytes data, server => client
03:03:19.961641 '257 "/" is current directory\r\n'
03:03:19.982284 < 26 bytes data, client => server
03:03:19.982307 'EPRT |1|127.0.0.1|39257|\r\n'
03:03:19.982462 Received DATA (on stdin)
03:03:19.982473 > 50 bytes data, server => client
03:03:19.982485 '200 Thanks for dropping by. We contact you later\r\n'
03:03:19.987490 < 8 bytes data, client => server
03:03:19.987512 'TYPE A\r\n'
03:03:19.987635 Received DATA (on stdin)
03:03:19.987646 > 33 bytes data, server => client
03:03:19.987657 '200 I modify TYPE as you wanted\r\n'
03:03:19.989822 < 6 bytes data, client => server
03:03:19.989835 'LIST\r\n'
03:03:19.989929 Received DATA (on stdin)
03:03:19.989939 > 28 bytes data, server => client
03:03:19.989949 '150 here comes a directory\r\n'
03:03:19.990593 Received DATA (on stdin)
03:03:19.990620 > 29 bytes data, server => client
03:03:19.990635 '226 ASCII transfer complete\r\n'
03:03:20.050792 < 6 bytes data, client => server
03:03:20.050823 'QUIT\r\n'
03:03:20.050963 Received DATA (on stdin)
03:03:20.050976 > 18 bytes data, server => client
03:03:20.050986 '221 bye bye baby\r\n'
03:03:20.057555 ====> Client disconnect
03:03:22.917446 ====> Client connect
03:03:22.917647 Received DATA (on stdin)
03:03:22.917669 > 160 bytes data, server => client
03:03:22.917690 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:22.917708 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:22.917723 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:22.999803 < 16 bytes data, client => server
03:03:22.999846 'USER anonymous\r\n'
03:03:22.999987 Received DATA (on stdin)
03:03:23.000007 > 33 bytes data, server => client
03:03:23.000025 '331 We are happy you popped in!\r\n'
03:03:23.012137 < 22 bytes data, client => server
03:03:23.012166 'PASS ftp@example.com\r\n'
03:03:23.012298 Received DATA (on stdin)
03:03:23.012315 > 30 bytes data, server => client
03:03:23.012330 '230 Welcome you silly person\r\n'
03:03:23.014680 < 8 bytes data, client => server
03:03:23.014697 'PBSZ 0\r\n'
03:03:23.014803 Received DATA (on stdin)
03:03:23.014816 > 26 bytes data, server => client
03:03:23.014830 '500 PBSZ not implemented\r\n'
03:03:23.016113 < 8 bytes data, client => server
03:03:23.016129 'PROT C\r\n'
03:03:23.016216 Received DATA (on stdin)
03:03:23.016230 > 26 bytes data, server => client
03:03:23.016243 '500 PROT not implemented\r\n'
03:03:23.017622 < 5 bytes data, client => server
03:03:23.017638 'PWD\r\n'
03:03:23.017721 Received DATA (on stdin)
03:03:23.017735 > 30 bytes data, server => client
03:03:23.017749 '257 "/" is current directory\r\n'
03:03:23.024850 < 7 bytes data, client => server
03:03:23.024867 'CWD a\r\n'
03:03:23.024951 Received DATA (on stdin)
03:03:23.024964 > 29 bytes data, server => client
03:03:23.024979 '250 CWD command successful.\r\n'
03:03:23.026478 < 10 bytes data, client => server
03:03:23.026493 'CWD path\r\n'
03:03:23.026581 Received DATA (on stdin)
03:03:23.026594 > 29 bytes data, server => client
03:03:23.026609 '250 CWD command successful.\r\n'
03:03:23.030048 < 6 bytes data, client => server
03:03:23.030067 'EPSV\r\n'
03:03:23.031955 Received DATA (on stdin)
03:03:23.031970 > 38 bytes data, server => client
03:03:23.031985 '229 Entering Passive Mode (|||41519|)\n'
03:03:23.043142 < 8 bytes data, client => server
03:03:23.043168 'TYPE I\r\n'
03:03:23.043264 Received DATA (on stdin)
03:03:23.043278 > 33 bytes data, server => client
03:03:23.043293 '200 I modify TYPE as you wanted\r\n'
03:03:23.045327 < 10 bytes data, client => server
03:03:23.045344 'SIZE 407\r\n'
03:03:23.045555 Received DATA (on stdin)
03:03:23.045568 > 8 bytes data, server => client
03:03:23.045580 '213 11\r\n'
03:03:23.049338 < 10 bytes data, client => server
03:03:23.049354 'RETR 407\r\n'
03:03:23.049517 Received DATA (on stdin)
03:03:23.049530 > 51 bytes data, server => client
03:03:23.049546 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:23.049759 Received DATA (on stdin)
03:03:23.049775 > 28 bytes data, server => client
03:03:23.049789 '226 File transfer complete\r\n'
03:03:23.128450 < 6 bytes data, client => server
03:03:23.128487 'EPSV\r\n'
03:03:23.130522 Received DATA (on stdin)
03:03:23.130547 > 38 bytes data, server => client
03:03:23.130561 '229 Entering Passive Mode (|||36239|)\n'
03:03:23.133385 < 10 bytes data, client => server
03:03:23.133412 'SIZE 407\r\n'
03:03:23.133669 Received DATA (on stdin)
03:03:23.133693 > 8 bytes data, server => client
03:03:23.133706 '213 11\r\n'
03:03:23.134540 < 10 bytes data, client => server
03:03:23.134562 'RETR 407\r\n'
03:03:23.134742 Received DATA (on stdin)
03:03:23.134768 > 51 bytes data, server => client
03:03:23.134792 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:23.134923 Received DATA (on stdin)
03:03:23.134941 > 28 bytes data, server => client
03:03:23.134956 '226 File transfer complete\r\n'
03:03:23.183159 < 6 bytes data, client => server
03:03:23.183196 'QUIT\r\n'
03:03:23.183343 Received DATA (on stdin)
03:03:23.183357 > 18 bytes data, server => client
03:03:23.183371 '221 bye bye baby\r\n'
03:03:23.189859 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> sockfilt quits
03:03:20.984144 ====> Client connect
03:03:20.984215 Running IPv4 version
03:03:20.984224 Connected to port 39257
03:03:20.984263 Wrote pid 15067 to ./.ftp_sockdata.pid
03:03:20.984280 Received PING (on stdin)
03:03:20.990007 Received DATA (on stdin)
03:03:20.990023 > 10 bytes data, server => client
03:03:20.990033 'total 20\r\n'
03:03:20.990052 Received DATA (on stdin)
03:03:20.990062 > 57 bytes data, server => client
03:03:20.990074 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:20.990090 Received DATA (on stdin)
03:03:20.990099 > 58 bytes data, server => client
03:03:20.990111 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:20.990125 Received DATA (on stdin)
03:03:20.990137 > 61 bytes data, server => client
03:03:20.990150 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:20.990157 '\n'
03:03:20.990171 Received DATA (on stdin)
03:03:20.990180 > 62 bytes data, server => client
03:03:20.990192 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:20.990199 '\n'
03:03:20.990213 Received DATA (on stdin)
03:03:20.990222 > 70 bytes data, server => client
03:03:20.990234 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:20.990245 'usr/bin\r\n'
03:03:20.990259 Received DATA (on stdin)
03:03:20.990268 > 59 bytes data, server => client
03:03:20.990280 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:20.990294 Received DATA (on stdin)
03:03:20.990303 > 69 bytes data, server => client
03:03:20.990315 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:20.990323 'd.html\r\n'
03:03:20.990336 Received DATA (on stdin)
03:03:20.990345 > 59 bytes data, server => client
03:03:20.990363 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:20.990378 Received DATA (on stdin)
03:03:20.990391 > 59 bytes data, server => client
03:03:20.990403 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:20.990417 Received DATA (on stdin)
03:03:20.990426 > 59 bytes data, server => client
03:03:20.990438 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:20.990452 Received DISC (on stdin)
03:03:20.990462 ====> Client forcibly disconnected
03:03:20.990478 disconnected, no socket to read on
03:03:20.990488 Received QUIT (on stdin)
03:03:20.990495 quits
03:03:20.990506 ============> sockfilt quits
03:03:23.031668 Running IPv4 version
03:03:23.031731 Listening on port 41519
03:03:23.031772 Wrote pid 15079 to ./.ftp_sockdata.pid
03:03:23.031788 Received PING (on stdin)
03:03:23.031869 Received PORT (on stdin)
03:03:23.038427 ====> Client connect
03:03:23.049560 Received DATA (on stdin)
03:03:23.049586 > 11 bytes data, server => client
03:03:23.049604 'data blobb\n'
03:03:23.049629 Received DISC (on stdin)
03:03:23.049641 ====> Client forcibly disconnected
03:03:23.049686 Received QUIT (on stdin)
03:03:23.049698 quits
03:03:23.049717 ============> sockfilt quits
03:03:23.130234 Running IPv4 version
03:03:23.130298 Listening on port 36239
03:03:23.130341 Wrote pid 15081 to ./.ftp_sockdata.pid
03:03:23.130357 Received PING (on stdin)
03:03:23.130421 Received PORT (on stdin)
03:03:23.132016 ====> Client connect
03:03:23.134753 Received DATA (on stdin)
03:03:23.134776 > 11 bytes data, server => client
03:03:23.134794 'data blobb\n'
03:03:23.134822 Received DISC (on stdin)
03:03:23.134837 ====> Client forcibly disconnected
03:03:23.134857 Received QUIT (on stdin)
03:03:23.134866 quits
03:03:23.134880 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
CWD a
CWD path
EPSV
TYPE I
SIZE 407
RETR 407
EPSV
SIZE 407
RETR 407
QUIT
=== End of file server.input
=== Start of file stderr407
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 11 100 11 0 0 5 0 0:00:02 0:00:01 0:00:01 5

100 11 100 11 0 0 174 0 --:--:-- --:--:-- --:--:-- 174
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:03:21.109773 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:21.135083 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:21.174032 == Info: Added connection 0. The cache now contains 1 members
03:03:21.191358 == Info: Trying 127.0.0.1...
03:03:21.191974 == Info: TCP_NODELAY set
03:03:21.195144 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:21.197425 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:21.208911 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:21.209476 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:21.210628 == Info: Marked for [keep alive]: FTP default
03:03:22.423800 == Info: successfully set certificate verify locations:
03:03:22.424071 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:22.503996 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:22.509200 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:22.509267 => Send SSL data, 138 bytes (0x8a)
0000: ..........l(5w.X0#...Z..t...k..m..W.AN..*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:22.527069 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:22.531600 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:22.531661 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.................B..Ip.?...!..|.5. n.Z..-.n..}.mK.P.j.?'...q
0040: ...!,.../................
03:03:22.576700 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:22.577174 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:22.577233 <= 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:22.678535 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:22.678817 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:22.678898 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$.......E_..5...Y.`%.|..............3n...._..t..~l<.X'.{..|
0080: 2>..1Y.U.........X.7.Q_...A.H..R.....Nvh.........*^...t.i.#..e).
00c0: .....'......@vpd..?..J........I..m.V...w.Q.j....C...d)k....ez.'#
0100: ...+..L.[..2......y..!+....\D........^q8....~.e.'[7F]..5..[.).....m
0140: ,.9W.... .H..
03:03:22.749360 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:22.749707 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:22.749764 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:22.870367 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:22.870623 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:22.870684 => Send SSL data, 70 bytes (0x46)
0000: ...BA.V..i...B.s..:.F....-..I.'....*k ......../z~...]9.7.;u('..]
0040: ......
03:03:22.883489 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:22.884082 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:22.884139 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:22.916329 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:22.916525 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:22.916580 => Send SSL data, 16 bytes (0x10)
0000: ....|.%.t...XR..
03:03:22.919181 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:22.920257 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:22.920315 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:22.922834 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:22.928282 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:22.928338 <= Recv SSL data, 16 bytes (0x10)
0000: .....HEl."}.}..c
03:03:22.950354 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:22.952571 == Info: Server certificate:
03:03:22.960071 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:22.966599 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:22.967564 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:22.968430 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:22.969357 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:22.970825 == Info: FTP 0x62ece38 (line 3118) state change from STOP to WAIT220
03:03:22.977126 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:22.986484 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:22.990083 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:22.990287 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:22.990479 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:22.990668 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:22.998425 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:23.001127 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:23.002181 == Info: FTP 0x62ece38 (line 803) state change from WAIT220 to USER
03:03:23.003232 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:23.009964 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:23.010647 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:23.011965 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:23.012102 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:23.012487 == Info: FTP 0x62ece38 (line 2546) state change from USER to PASS
03:03:23.013681 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:23.013833 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:23.014525 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:23.014647 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:23.014978 == Info: FTP 0x62ece38 (line 2522) state change from PASS to PBSZ
03:03:23.015273 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:23.015414 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:23.015949 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:23.016073 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:23.016402 == Info: FTP 0x62ece38 (line 2735) state change from PBSZ to PROT
03:03:23.016652 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:23.016792 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:23.017463 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:23.017596 => Send header, 5 bytes (0x5)
0000: PWD
03:03:23.017999 == Info: FTP 0x62ece38 (line 815) state change from PROT to PWD
03:03:23.018327 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:23.018469 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:23.019608 == Info: Entry path is '/'
03:03:23.019835 == Info: FTP 0x62ece38 (line 2870) state change from PWD to STOP
03:03:23.020005 == Info: protocol connect phase DONE
03:03:23.020358 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:23.023594 == Info: DO phase starts
03:03:23.024681 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:23.024812 => Send header, 7 bytes (0x7)
0000: CWD a
03:03:23.025141 == Info: FTP 0x62ece38 (line 911) state change from STOP to CWD
03:03:23.025557 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:23.025699 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:23.026321 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:23.026438 => Send header, 10 bytes (0xa)
0000: CWD path
03:03:23.026768 == Info: ftp_perform ends with SECONDARY: 0
03:03:23.027510 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:23.028345 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:23.028490 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:23.029895 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:23.030015 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:23.030354 == Info: FTP 0x62ece38 (line 1346) state change from CWD to PASV
03:03:23.030530 == Info: Connect data stream passively
03:03:23.032162 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:23.032312 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||41519|).
03:03:23.038242 == Info: Trying 127.0.0.1...
03:03:23.038307 == Info: TCP_NODELAY set
03:03:23.038431 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:23.039076 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 41519
03:03:23.039987 == Info: FTP 0x62ece38 (line 2003) state change from PASV to STOP
03:03:23.040527 == Info: DO phase is complete2
03:03:23.040786 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:23.041482 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:23.041699 == Info: DO-MORE connected phase starts
03:03:23.042996 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:23.043120 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:23.043465 == Info: FTP 0x62ece38 (line 3444) state change from STOP to RETR_TYPE
03:03:23.043853 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:23.044003 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:23.045179 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:23.045300 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:03:23.045666 == Info: FTP 0x62ece38 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:03:23.047381 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:03:23.047557 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:03:23.049187 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:23.049307 => Send header, 10 bytes (0xa)
0000: RETR 407
03:03:23.049652 == Info: FTP 0x62ece38 (line 2255) state change from RETR_SIZE to RETR
03:03:23.050163 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:03:23.050516 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:03:23.051362 == Info: Maxdownload = -1
03:03:23.051572 == Info: Getting file with size: 11
03:03:23.052962 == Info: FTP 0x62ece38 (line 485) state change from RETR to STOP
03:03:23.053590 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:23.054603 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:23.055381 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:23.058664 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:03:23.064252 == Info: readwrite_data: we're done
03:03:23.064542 == Info: nread <= 0, server closed connection, bailing
03:03:23.066453 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:23.066928 == Info: multi_done
03:03:23.070111 == Info: Remembering we are in dir "a/path/"
03:03:23.092451 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:23.092625 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:23.098228 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:23.100505 == Info: Expire cleared (transfer 0x626d7a8)
03:03:23.112817 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:23.113077 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:23.117364 == Info: Found bundle for host 127.0.0.1: 0x62faa88 [serially]
03:03:23.125608 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:03:23.126438 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:23.126752 == Info: STATE: CONNECT => DO handle 0x626d7a8; line 1487 (connection #0)
03:03:23.127626 == Info: Request has same path as previous transfer
03:03:23.127814 == Info: DO phase starts
03:03:23.128243 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:23.128386 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:23.128535 == Info: FTP 0x62ece38 (line 1346) state change from STOP to PASV
03:03:23.128595 == Info: Connect data stream passively
03:03:23.128795 == Info: ftp_perform ends with SECONDARY: 0
03:03:23.128874 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:23.130795 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:23.130961 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||36239|).
03:03:23.131838 == Info: Trying 127.0.0.1...
03:03:23.131897 == Info: TCP_NODELAY set
03:03:23.132021 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:23.132109 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 36239
03:03:23.132257 == Info: FTP 0x62ece38 (line 2003) state change from PASV to STOP
03:03:23.132315 == Info: DO phase is complete2
03:03:23.132392 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:23.132490 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:23.132548 == Info: DO-MORE connected phase starts
03:03:23.132786 == Info: FTP 0x62ece38 (line 3439) state change from STOP to RETR_TYPE
03:03:23.133194 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:23.133313 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:03:23.133505 == Info: FTP 0x62ece38 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:03:23.133905 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:03:23.134044 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:03:23.134363 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:23.134477 => Send header, 10 bytes (0xa)
0000: RETR 407
03:03:23.134635 == Info: FTP 0x62ece38 (line 2255) state change from RETR_SIZE to RETR
03:03:23.134976 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:03:23.135118 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:03:23.135382 == Info: Maxdownload = -1
03:03:23.135440 == Info: Getting file with size: 11
03:03:23.135513 == Info: FTP 0x62ece38 (line 485) state change from RETR to STOP
03:03:23.135597 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:23.135683 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:23.135769 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:23.135875 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:03:23.136319 == Info: readwrite_data: we're done
03:03:23.136383 == Info: nread <= 0, server closed connection, bailing
03:03:23.136473 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:23.136533 == Info: multi_done
03:03:23.136760 == Info: Remembering we are in dir "a/path/"
03:03:23.176273 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:23.176464 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:23.177342 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:23.177480 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace407
=== Start of file valgrind407
==15070== Invalid read of size 8
==15070== at 0x5E745A5: check_free (dlerror.c:188)
==15070== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15070== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15070== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15070== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15070== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15070== by 0x559AF79: exit (exit.c:139)
==15070== by 0x55850A1: (below main) (libc-start.c:342)
==15070== Address 0x66adc80 is 0 bytes after a block of size 32 alloc'd
==15070== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15070== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15070== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15070== by 0x4DD0E85: err_get_state (err.c:210)
==15070== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15070== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15070== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15070== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15070== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15070== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15070== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15070== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15070== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15070== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15070== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15070== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15070==
==15070== Invalid free() / delete / delete[] / realloc()
==15070== at 0x48369AB: free (vg_replace_malloc.c:530)
==15070== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15070== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15070== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15070== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15070== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15070== by 0x559AF79: exit (exit.c:139)
==15070== by 0x55850A1: (below main) (libc-start.c:342)
==15070== Address 0x66adc68 is 8 bytes inside a block of size 32 alloc'd
==15070== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15070== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15070== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15070== by 0x4DD0E85: err_get_state (err.c:210)
==15070== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15070== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15070== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15070== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15070== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15070== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15070== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15070== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15070== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15070== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15070== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15070== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15070==
==15070== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15070== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15070== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15070== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15070== by 0x4DD0E85: err_get_state (err.c:210)
==15070== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15070== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15070== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15070== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15070== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15070== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15070== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15070== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15070== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15070== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15070== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15070== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15070==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==15084== Invalid read of size 8
==15084== at 0x5E745A5: check_free (dlerror.c:188)
==15084== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15084== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15084== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15084== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15084== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15084== by 0x559AF79: exit (exit.c:139)
==15084== by 0x55850A1: (below main) (libc-start.c:342)
==15084== Address 0x66b0f40 is 0 bytes after a block of size 32 alloc'd
==15084== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15084== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15084== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15084== by 0x4DD0E85: err_get_state (err.c:210)
==15084== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15084== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15084== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15084== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15084== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15084== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15084== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15084== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15084== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15084== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15084== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15084== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15084==
==15084== Invalid free() / delete / delete[] / realloc()
==15084== at 0x48369AB: free (vg_replace_malloc.c:530)
==15084== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15084== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15084== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15084== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15084== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15084== by 0x559AF79: exit (exit.c:139)
==15084== by 0x55850A1: (below main) (libc-start.c:342)
==15084== Address 0x66b0f28 is 8 bytes inside a block of size 32 alloc'd
==15084== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15084== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15084== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15084== by 0x4DD0E85: err_get_state (err.c:210)
==15084== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15084== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15084== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15084== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15084== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15084== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15084== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15084== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15084== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15084== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15084== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15084== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15084==
==15084== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15084== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15084== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15084== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15084== by 0x4DD0E85: err_get_state (err.c:210)
==15084== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15084== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15084== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15084== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15084== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15084== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15084== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15084== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15084== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15084== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15084== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15084== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15084==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:03:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
03:03:16.446388 ====> Client connect
03:03:16.446496 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:17.869107 MAIN sockfilt said DISC
03:03:17.869162 ====> Client disconnected
03:03:17.869204 Awaiting input
03:03:20.652879 ====> Client connect
03:03:20.653010 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:20.733764 < "USER anonymous"
03:03:20.733824 > "331 We are happy you popped in![CR][LF]"
03:03:20.744883 < "PASS ftp@example.com"
03:03:20.744928 > "230 Welcome you silly person[CR][LF]"
03:03:20.747235 < "PBSZ 0"
03:03:20.747278 > "500 PBSZ not implemented[CR][LF]"
03:03:20.748660 < "PROT C"
03:03:20.748704 > "500 PROT not implemented[CR][LF]"
03:03:20.750236 < "PWD"
03:03:20.750278 > "257 "/" is current directory[CR][LF]"
03:03:20.771055 < "EPRT |1|127.0.0.1|39257|"
03:03:20.771098 ====> Active DATA channel requested by client
03:03:20.771143 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:20.771169 DATA sockfilt for active data channel starting...
03:03:20.772984 DATA sockfilt for active data channel started (pid 15066)
03:03:20.773018 ====> Active DATA channel connected to client port 39257
03:03:20.776264 < "TYPE A"
03:03:20.776321 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:20.778565 < "LIST"
03:03:20.778609 > "150 here comes a directory[CR][LF]"
03:03:20.778645 pass LIST data on data connection
03:03:20.778751 =====> Closing active DATA connection...
03:03:20.778775 Server disconnects active DATA connection
03:03:20.779186 DATA sockfilt for active data channel quits (pid 15067)
03:03:20.779211 =====> Closed active DATA connection
03:03:20.779249 > "226 ASCII transfer complete[CR][LF]"
03:03:20.839585 < "QUIT"
03:03:20.839642 > "221 bye bye baby[CR][LF]"
03:03:20.846257 MAIN sockfilt said DISC
03:03:20.846290 ====> Client disconnected
03:03:20.846352 Awaiting input
03:03:23.706215 ====> Client connect
03:03:23.706327 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:23.788619 < "USER anonymous"
03:03:23.788666 > "331 We are happy you popped in![CR][LF]"
03:03:23.800931 < "PASS ftp@example.com"
03:03:23.800975 > "230 Welcome you silly person[CR][LF]"
03:03:23.803445 < "PBSZ 0"
03:03:23.803480 > "500 PBSZ not implemented[CR][LF]"
03:03:23.804861 < "PROT C"
03:03:23.804893 > "500 PROT not implemented[CR][LF]"
03:03:23.806364 < "PWD"
03:03:23.806398 > "257 "/" is current directory[CR][LF]"
03:03:23.813588 < "CWD a"
03:03:23.813629 > "250 CWD command successful.[CR][LF]"
03:03:23.815227 < "CWD path"
03:03:23.815257 > "250 CWD command successful.[CR][LF]"
03:03:23.818792 < "EPSV"
03:03:23.818823 ====> Passive DATA channel requested by client
03:03:23.818835 DATA sockfilt for passive data channel starting...
03:03:23.820505 DATA sockfilt for passive data channel started (pid 15078)
03:03:23.820594 DATA sockfilt for passive data channel listens on port 41519
03:03:23.820634 > "229 Entering Passive Mode (|||41519|)[LF]"
03:03:23.820648 Client has been notified that DATA conn will be accepted on port 41519
03:03:23.827138 Client connects to port 41519
03:03:23.827173 ====> Client established passive DATA connection on port 41519
03:03:23.831906 < "TYPE I"
03:03:23.831942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:23.834068 < "SIZE 407"
03:03:23.834231 > "213 11[CR][LF]"
03:03:23.838079 < "RETR 407"
03:03:23.838193 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:23.838245 =====> Closing passive DATA connection...
03:03:23.838259 Server disconnects passive DATA connection
03:03:23.838385 DATA sockfilt for passive data channel quits (pid 15079)
03:03:23.838410 =====> Closed passive DATA connection
03:03:23.838436 > "226 File transfer complete[CR][LF]"
03:03:23.917251 < "EPSV"
03:03:23.917287 ====> Passive DATA channel requested by client
03:03:23.917299 DATA sockfilt for passive data channel starting...
03:03:23.919062 DATA sockfilt for passive data channel started (pid 15080)
03:03:23.919159 DATA sockfilt for passive data channel listens on port 36239
03:03:23.919200 > "229 Entering Passive Mode (|||36239|)[LF]"
03:03:23.919214 Client has been notified that DATA conn will be accepted on port 36239
03:03:23.920726 Client connects to port 36239
03:03:23.920758 ====> Client established passive DATA connection on port 36239
03:03:23.922158 < "SIZE 407"
03:03:23.922325 > "213 11[CR][LF]"
03:03:23.923286 < "RETR 407"
03:03:23.923398 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:23.923450 =====> Closing passive DATA connection...
03:03:23.923464 Server disconnects passive DATA connection
03:03:23.923557 DATA sockfilt for passive data channel quits (pid 15081)
03:03:23.923575 =====> Closed passive DATA connection
03:03:23.923598 > "226 File transfer complete[CR][LF]"
03:03:23.971961 < "QUIT"
03:03:23.972006 > "221 bye bye baby[CR][LF]"
03:03:23.978591 MAIN sockfilt said DISC
03:03:23.978632 ====> Client disconnected
03:03:23.978698 Awaiting input
03:03:26.775102 ====> Client connect
03:03:26.775227 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:26.861569 < "USER anonymous"
03:03:26.861626 > "331 We are happy you popped in![CR][LF]"
03:03:26.874617 < "PASS ftp@example.com"
03:03:26.874670 > "230 Welcome you silly person[CR][LF]"
03:03:26.877200 < "PBSZ 0"
03:03:26.877237 > "500 PBSZ not implemented[CR][LF]"
03:03:26.878607 < "PROT C"
03:03:26.878635 > "500 PROT not implemented[CR][LF]"
03:03:26.880284 < "PWD"
03:03:26.880331 > "257 "/" is current directory[CR][LF]"
03:03:26.887484 < "CWD CWD"
03:03:26.887513 > "250 CWD command successful.[CR][LF]"
03:03:26.889108 < "CWD STOR"
03:03:26.889149 > "250 CWD command successful.[CR][LF]"
03:03:26.891730 < "CWD RETR"
03:03:26.891767 > "250 CWD command successful.[CR][LF]"
03:03:26.897784 < "EPRT |1|127.0.0.1|37329|"
03:03:26.897820 ====> Active DATA channel requested by client
03:03:26.897856 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:26.897877 DATA sockfilt for active data channel starting...
03:03:26.899637 DATA sockfilt for active data channel started (pid 15086)
03:03:26.899665 ====> Active DATA channel connected to client port 37329
03:03:26.902613 < "TYPE I"
03:03:26.902663 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:26.904939 < "STOR 408"
03:03:26.904969 STOR test number 408 in log/upload.408
03:03:26.904995 > "125 Gimme gimme gimme![CR][LF]"
03:03:26.919225 > Appending 27 bytes to file
03:03:26.928797 =====> Closing active DATA connection...
03:03:26.928822 Server knows active DATA connection is already disconnected
03:03:26.928880 DATA sockfilt for active data channel quits (pid 15087)
03:03:26.928899 =====> Closed active DATA connection
03:03:26.928920 received 27 bytes upload
03:03:26.928954 > "226 File transfer complete[CR][LF]"
03:03:26.968845 < "QUIT"
03:03:26.968895 > "221 bye bye baby[CR][LF]"
03:03:26.975523 MAIN sockfilt said DISC
03:03:26.975549 ====> Client disconnected
03:03:26.975602 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
03:03:15.657619 ====> Client connect
03:03:15.657815 Received DATA (on stdin)
03:03:15.657838 > 160 bytes data, server => client
03:03:15.657861 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:15.657883 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:15.657901 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:16.982857 < 143 bytes data, client => server
03:03:16.982908 '............p.!........?. ....0.x.}...v...4..*.+./.,.0..... .'
03:03:16.982933 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:16.982951 '.......[0B].....\n..........'
03:03:17.001251 < 7 bytes data, client => server
03:03:17.001283 '......F'
03:03:17.080338 ====> Client disconnect
03:03:19.864144 ====> Client connect
03:03:19.864324 Received DATA (on stdin)
03:03:19.864342 > 160 bytes data, server => client
03:03:19.864356 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:19.864368 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:19.864379 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:19.944940 < 16 bytes data, client => server
03:03:19.944975 'USER anonymous\r\n'
03:03:19.945143 Received DATA (on stdin)
03:03:19.945155 > 33 bytes data, server => client
03:03:19.945166 '331 We are happy you popped in!\r\n'
03:03:19.956131 < 22 bytes data, client => server
03:03:19.956157 'PASS ftp@example.com\r\n'
03:03:19.956249 Received DATA (on stdin)
03:03:19.956260 > 30 bytes data, server => client
03:03:19.956271 '230 Welcome you silly person\r\n'
03:03:19.958491 < 8 bytes data, client => server
03:03:19.958505 'PBSZ 0\r\n'
03:03:19.958598 Received DATA (on stdin)
03:03:19.958608 > 26 bytes data, server => client
03:03:19.958618 '500 PBSZ not implemented\r\n'
03:03:19.959926 < 8 bytes data, client => server
03:03:19.959938 'PROT C\r\n'
03:03:19.960026 Received DATA (on stdin)
03:03:19.960037 > 26 bytes data, server => client
03:03:19.960047 '500 PROT not implemented\r\n'
03:03:19.961500 < 5 bytes data, client => server
03:03:19.961518 'PWD\r\n'
03:03:19.961613 Received DATA (on stdin)
03:03:19.961627 > 30 bytes data, server => client
03:03:19.961641 '257 "/" is current directory\r\n'
03:03:19.982284 < 26 bytes data, client => server
03:03:19.982307 'EPRT |1|127.0.0.1|39257|\r\n'
03:03:19.982462 Received DATA (on stdin)
03:03:19.982473 > 50 bytes data, server => client
03:03:19.982485 '200 Thanks for dropping by. We contact you later\r\n'
03:03:19.987490 < 8 bytes data, client => server
03:03:19.987512 'TYPE A\r\n'
03:03:19.987635 Received DATA (on stdin)
03:03:19.987646 > 33 bytes data, server => client
03:03:19.987657 '200 I modify TYPE as you wanted\r\n'
03:03:19.989822 < 6 bytes data, client => server
03:03:19.989835 'LIST\r\n'
03:03:19.989929 Received DATA (on stdin)
03:03:19.989939 > 28 bytes data, server => client
03:03:19.989949 '150 here comes a directory\r\n'
03:03:19.990593 Received DATA (on stdin)
03:03:19.990620 > 29 bytes data, server => client
03:03:19.990635 '226 ASCII transfer complete\r\n'
03:03:20.050792 < 6 bytes data, client => server
03:03:20.050823 'QUIT\r\n'
03:03:20.050963 Received DATA (on stdin)
03:03:20.050976 > 18 bytes data, server => client
03:03:20.050986 '221 bye bye baby\r\n'
03:03:20.057555 ====> Client disconnect
03:03:22.917446 ====> Client connect
03:03:22.917647 Received DATA (on stdin)
03:03:22.917669 > 160 bytes data, server => client
03:03:22.917690 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:22.917708 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:22.917723 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:22.999803 < 16 bytes data, client => server
03:03:22.999846 'USER anonymous\r\n'
03:03:22.999987 Received DATA (on stdin)
03:03:23.000007 > 33 bytes data, server => client
03:03:23.000025 '331 We are happy you popped in!\r\n'
03:03:23.012137 < 22 bytes data, client => server
03:03:23.012166 'PASS ftp@example.com\r\n'
03:03:23.012298 Received DATA (on stdin)
03:03:23.012315 > 30 bytes data, server => client
03:03:23.012330 '230 Welcome you silly person\r\n'
03:03:23.014680 < 8 bytes data, client => server
03:03:23.014697 'PBSZ 0\r\n'
03:03:23.014803 Received DATA (on stdin)
03:03:23.014816 > 26 bytes data, server => client
03:03:23.014830 '500 PBSZ not implemented\r\n'
03:03:23.016113 < 8 bytes data, client => server
03:03:23.016129 'PROT C\r\n'
03:03:23.016216 Received DATA (on stdin)
03:03:23.016230 > 26 bytes data, server => client
03:03:23.016243 '500 PROT not implemented\r\n'
03:03:23.017622 < 5 bytes data, client => server
03:03:23.017638 'PWD\r\n'
03:03:23.017721 Received DATA (on stdin)
03:03:23.017735 > 30 bytes data, server => client
03:03:23.017749 '257 "/" is current directory\r\n'
03:03:23.024850 < 7 bytes data, client => server
03:03:23.024867 'CWD a\r\n'
03:03:23.024951 Received DATA (on stdin)
03:03:23.024964 > 29 bytes data, server => client
03:03:23.024979 '250 CWD command successful.\r\n'
03:03:23.026478 < 10 bytes data, client => server
03:03:23.026493 'CWD path\r\n'
03:03:23.026581 Received DATA (on stdin)
03:03:23.026594 > 29 bytes data, server => client
03:03:23.026609 '250 CWD command successful.\r\n'
03:03:23.030048 < 6 bytes data, client => server
03:03:23.030067 'EPSV\r\n'
03:03:23.031955 Received DATA (on stdin)
03:03:23.031970 > 38 bytes data, server => client
03:03:23.031985 '229 Entering Passive Mode (|||41519|)\n'
03:03:23.043142 < 8 bytes data, client => server
03:03:23.043168 'TYPE I\r\n'
03:03:23.043264 Received DATA (on stdin)
03:03:23.043278 > 33 bytes data, server => client
03:03:23.043293 '200 I modify TYPE as you wanted\r\n'
03:03:23.045327 < 10 bytes data, client => server
03:03:23.045344 'SIZE 407\r\n'
03:03:23.045555 Received DATA (on stdin)
03:03:23.045568 > 8 bytes data, server => client
03:03:23.045580 '213 11\r\n'
03:03:23.049338 < 10 bytes data, client => server
03:03:23.049354 'RETR 407\r\n'
03:03:23.049517 Received DATA (on stdin)
03:03:23.049530 > 51 bytes data, server => client
03:03:23.049546 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:23.049759 Received DATA (on stdin)
03:03:23.049775 > 28 bytes data, server => client
03:03:23.049789 '226 File transfer complete\r\n'
03:03:23.128450 < 6 bytes data, client => server
03:03:23.128487 'EPSV\r\n'
03:03:23.130522 Received DATA (on stdin)
03:03:23.130547 > 38 bytes data, server => client
03:03:23.130561 '229 Entering Passive Mode (|||36239|)\n'
03:03:23.133385 < 10 bytes data, client => server
03:03:23.133412 'SIZE 407\r\n'
03:03:23.133669 Received DATA (on stdin)
03:03:23.133693 > 8 bytes data, server => client
03:03:23.133706 '213 11\r\n'
03:03:23.134540 < 10 bytes data, client => server
03:03:23.134562 'RETR 407\r\n'
03:03:23.134742 Received DATA (on stdin)
03:03:23.134768 > 51 bytes data, server => client
03:03:23.134792 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:23.134923 Received DATA (on stdin)
03:03:23.134941 > 28 bytes data, server => client
03:03:23.134956 '226 File transfer complete\r\n'
03:03:23.183159 < 6 bytes data, client => server
03:03:23.183196 'QUIT\r\n'
03:03:23.183343 Received DATA (on stdin)
03:03:23.183357 > 18 bytes data, server => client
03:03:23.183371 '221 bye bye baby\r\n'
03:03:23.189859 ====> Client disconnect
03:03:25.986359 ====> Client connect
03:03:25.986543 Received DATA (on stdin)
03:03:25.986563 > 160 bytes data, server => client
03:03:25.986584 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:25.986604 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:25.986615 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:26.072749 < 16 bytes data, client => server
03:03:26.072791 'USER anonymous\r\n'
03:03:26.072945 Received DATA (on stdin)
03:03:26.072971 > 33 bytes data, server => client
03:03:26.072988 '331 We are happy you popped in!\r\n'
03:03:26.085832 < 22 bytes data, client => server
03:03:26.085875 'PASS ftp@example.com\r\n'
03:03:26.085992 Received DATA (on stdin)
03:03:26.086012 > 30 bytes data, server => client
03:03:26.086030 '230 Welcome you silly person\r\n'
03:03:26.088450 < 8 bytes data, client => server
03:03:26.088484 'PBSZ 0\r\n'
03:03:26.088559 Received DATA (on stdin)
03:03:26.088578 > 26 bytes data, server => client
03:03:26.088599 '500 PBSZ not implemented\r\n'
03:03:26.089884 < 8 bytes data, client => server
03:03:26.089901 'PROT C\r\n'
03:03:26.089958 Received DATA (on stdin)
03:03:26.089980 > 26 bytes data, server => client
03:03:26.089995 '500 PROT not implemented\r\n'
03:03:26.091526 < 5 bytes data, client => server
03:03:26.091543 'PWD\r\n'
03:03:26.091682 Received DATA (on stdin)
03:03:26.091699 > 30 bytes data, server => client
03:03:26.091714 '257 "/" is current directory\r\n'
03:03:26.098757 < 9 bytes data, client => server
03:03:26.098783 'CWD CWD\r\n'
03:03:26.098856 Received DATA (on stdin)
03:03:26.098879 > 29 bytes data, server => client
03:03:26.098894 '250 CWD command successful.\r\n'
03:03:26.100356 < 10 bytes data, client => server
03:03:26.100381 'CWD STOR\r\n'
03:03:26.100472 Received DATA (on stdin)
03:03:26.100490 > 29 bytes data, server => client
03:03:26.100507 '250 CWD command successful.\r\n'
03:03:26.102993 < 10 bytes data, client => server
03:03:26.103017 'CWD RETR\r\n'
03:03:26.103091 Received DATA (on stdin)
03:03:26.103108 > 29 bytes data, server => client
03:03:26.103125 '250 CWD command successful.\r\n'
03:03:26.109041 < 26 bytes data, client => server
03:03:26.109069 'EPRT |1|127.0.0.1|37329|\r\n'
03:03:26.109178 Received DATA (on stdin)
03:03:26.109202 > 50 bytes data, server => client
03:03:26.109224 '200 Thanks for dropping by. We contact you later\r\n'
03:03:26.113852 < 8 bytes data, client => server
03:03:26.113880 'TYPE I\r\n'
03:03:26.113981 Received DATA (on stdin)
03:03:26.114000 > 33 bytes data, server => client
03:03:26.114018 '200 I modify TYPE as you wanted\r\n'
03:03:26.116213 < 10 bytes data, client => server
03:03:26.116238 'STOR 408\r\n'
03:03:26.116320 Received DATA (on stdin)
03:03:26.116339 > 24 bytes data, server => client
03:03:26.116367 '125 Gimme gimme gimme!\r\n'
03:03:26.140291 Received DATA (on stdin)
03:03:26.140319 > 28 bytes data, server => client
03:03:26.140336 '226 File transfer complete\r\n'
03:03:26.180065 < 6 bytes data, client => server
03:03:26.180099 'QUIT\r\n'
03:03:26.180230 Received DATA (on stdin)
03:03:26.180244 > 18 bytes data, server => client
03:03:26.180260 '221 bye bye baby\r\n'
03:03:26.186823 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> sockfilt quits
03:03:20.984144 ====> Client connect
03:03:20.984215 Running IPv4 version
03:03:20.984224 Connected to port 39257
03:03:20.984263 Wrote pid 15067 to ./.ftp_sockdata.pid
03:03:20.984280 Received PING (on stdin)
03:03:20.990007 Received DATA (on stdin)
03:03:20.990023 > 10 bytes data, server => client
03:03:20.990033 'total 20\r\n'
03:03:20.990052 Received DATA (on stdin)
03:03:20.990062 > 57 bytes data, server => client
03:03:20.990074 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:20.990090 Received DATA (on stdin)
03:03:20.990099 > 58 bytes data, server => client
03:03:20.990111 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:20.990125 Received DATA (on stdin)
03:03:20.990137 > 61 bytes data, server => client
03:03:20.990150 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:20.990157 '\n'
03:03:20.990171 Received DATA (on stdin)
03:03:20.990180 > 62 bytes data, server => client
03:03:20.990192 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:20.990199 '\n'
03:03:20.990213 Received DATA (on stdin)
03:03:20.990222 > 70 bytes data, server => client
03:03:20.990234 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:20.990245 'usr/bin\r\n'
03:03:20.990259 Received DATA (on stdin)
03:03:20.990268 > 59 bytes data, server => client
03:03:20.990280 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:20.990294 Received DATA (on stdin)
03:03:20.990303 > 69 bytes data, server => client
03:03:20.990315 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:20.990323 'd.html\r\n'
03:03:20.990336 Received DATA (on stdin)
03:03:20.990345 > 59 bytes data, server => client
03:03:20.990363 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:20.990378 Received DATA (on stdin)
03:03:20.990391 > 59 bytes data, server => client
03:03:20.990403 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:20.990417 Received DATA (on stdin)
03:03:20.990426 > 59 bytes data, server => client
03:03:20.990438 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:20.990452 Received DISC (on stdin)
03:03:20.990462 ====> Client forcibly disconnected
03:03:20.990478 disconnected, no socket to read on
03:03:20.990488 Received QUIT (on stdin)
03:03:20.990495 quits
03:03:20.990506 ============> sockfilt quits
03:03:23.031668 Running IPv4 version
03:03:23.031731 Listening on port 41519
03:03:23.031772 Wrote pid 15079 to ./.ftp_sockdata.pid
03:03:23.031788 Received PING (on stdin)
03:03:23.031869 Received PORT (on stdin)
03:03:23.038427 ====> Client connect
03:03:23.049560 Received DATA (on stdin)
03:03:23.049586 > 11 bytes data, server => client
03:03:23.049604 'data blobb\n'
03:03:23.049629 Received DISC (on stdin)
03:03:23.049641 ====> Client forcibly disconnected
03:03:23.049686 Received QUIT (on stdin)
03:03:23.049698 quits
03:03:23.049717 ============> sockfilt quits
03:03:23.130234 Running IPv4 version
03:03:23.130298 Listening on port 36239
03:03:23.130341 Wrote pid 15081 to ./.ftp_sockdata.pid
03:03:23.130357 Received PING (on stdin)
03:03:23.130421 Received PORT (on stdin)
03:03:23.132016 ====> Client connect
03:03:23.134753 Received DATA (on stdin)
03:03:23.134776 > 11 bytes data, server => client
03:03:23.134794 'data blobb\n'
03:03:23.134822 Received DISC (on stdin)
03:03:23.134837 ====> Client forcibly disconnected
03:03:23.134857 Received QUIT (on stdin)
03:03:23.134866 quits
03:03:23.134880 ============> sockfilt quits
03:03:26.110771 ====> Client connect
03:03:26.110849 Running IPv4 version
03:03:26.110863 Connected to port 37329
03:03:26.110910 Wrote pid 15087 to ./.ftp_sockdata.pid
03:03:26.110931 Received PING (on stdin)
03:03:26.130478 < 27 bytes data, client => server
03:03:26.130528 'Moooooooooooo\n upload this\n'
03:03:26.140023 ====> Client disconnect
03:03:26.140074 disconnected, no socket to read on
03:03:26.140171 Received QUIT (on stdin)
03:03:26.140189 quits
03:03:26.140207 ============> 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|37329|
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:25.229603 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:25.254310 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:25.291447 == Info: Added connection 0. The cache now contains 1 members
03:03:25.308347 == Info: Trying 127.0.0.1...
03:03:25.308940 == Info: TCP_NODELAY set
03:03:25.312025 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:25.314352 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:25.325326 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:25.325872 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:25.327000 == Info: Marked for [keep alive]: FTP default
03:03:26.500056 == Info: successfully set certificate verify locations:
03:03:26.500315 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:26.578323 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:26.583310 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:26.583377 => Send SSL data, 138 bytes (0x8a)
0000: .......'...^(~X.......@.|bN..sGe........*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:26.600823 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:26.605344 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:26.605407 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....B>......8.h..5.D*]..!.."...*zN ..z,W.B..AQU.....%...|...
0040: V.0-A.../................
03:03:26.653267 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:26.653738 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:26.653798 <= 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:26.752094 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:26.752362 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:26.752421 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$.......V..r5...2..r...:dI9xG..T7...\s...p...9.4L.g9....i..
0080: ...f<..{..o...=..J.......g9.j...p..l7i.....]....Qut..A..N!......
00c0: ..Y2..(.]Y./...AsR)h........W?a......p..IRb..?.....(........Op..
0100: w..)o.!7.........<\...Xa....V........8...6hvq[7F].e......}X...$....
0140: q.@.F......O|
03:03:26.821224 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:26.821557 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:26.821615 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:26.939378 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:26.939624 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:26.939682 => Send SSL data, 70 bytes (0x46)
0000: ...BA..K>... ..E.-.A~|.x.*E$2U...._.?.......N......'..L5....mE..
0040: J..]..
03:03:26.952083 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:26.952645 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:26.952701 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:26.984895 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:26.985189 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:26.985277 => Send SSL data, 16 bytes (0x10)
0000: .......s........
03:03:26.989004 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:26.990561 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:26.990649 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:26.994203 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:27.000507 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:27.000578 <= Recv SSL data, 16 bytes (0x10)
0000: .....q....+...(.
03:03:27.022898 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:27.025095 == Info: Server certificate:
03:03:27.032498 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:27.039236 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:27.040209 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:27.041066 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:27.041968 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:27.043405 == Info: FTP 0x62f00d8 (line 3118) state change from STOP to WAIT220
03:03:27.049580 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:27.059105 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:27.062728 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:27.062960 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:27.063157 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:27.063339 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:27.070957 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:27.074407 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:27.075409 == Info: FTP 0x62f00d8 (line 803) state change from WAIT220 to USER
03:03:27.076341 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:27.083307 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:27.084071 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:27.085617 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:27.085789 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:27.086252 == Info: FTP 0x62f00d8 (line 2546) state change from USER to PASS
03:03:27.087429 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:27.087594 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:27.088299 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:27.088426 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:27.088793 == Info: FTP 0x62f00d8 (line 2522) state change from PASS to PBSZ
03:03:27.089088 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:27.089227 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:27.089752 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:27.089869 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:27.090204 == Info: FTP 0x62f00d8 (line 2735) state change from PBSZ to PROT
03:03:27.090444 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:27.090592 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:27.091387 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:27.091505 => Send header, 5 bytes (0x5)
0000: PWD
03:03:27.091884 == Info: FTP 0x62f00d8 (line 815) state change from PROT to PWD
03:03:27.092280 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:27.092450 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:27.093580 == Info: Entry path is '/'
03:03:27.093800 == Info: FTP 0x62f00d8 (line 2870) state change from PWD to STOP
03:03:27.093962 == Info: protocol connect phase DONE
03:03:27.094297 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:27.097538 == Info: DO phase starts
03:03:27.098589 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:27.098716 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:03:27.099044 == Info: FTP 0x62f00d8 (line 911) state change from STOP to CWD
03:03:27.099445 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:27.099585 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:27.100203 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:27.100329 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:03:27.100715 == Info: ftp_perform ends with SECONDARY: 0
03:03:27.101464 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:27.102287 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:27.102435 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:27.102825 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:27.102949 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:03:27.103576 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:03:27.103713 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:03:27.108890 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:03:27.109016 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|37329|
03:03:27.109663 == Info: FTP 0x62f00d8 (line 1309) state change from CWD to PORT
03:03:27.110200 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:03:27.110642 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:03:27.111278 == Info: Connect data stream actively
03:03:27.111484 == Info: FTP 0x62f00d8 (line 2037) state change from PORT to STOP
03:03:27.112148 == Info: DO phase is complete2
03:03:27.112407 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:27.113690 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:27.113817 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:27.114202 == Info: FTP 0x62f00d8 (line 3444) state change from STOP to STOR_TYPE
03:03:27.114591 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:27.114738 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:27.116046 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:27.116167 => Send header, 10 bytes (0xa)
0000: STOR 408
03:03:27.116551 == Info: FTP 0x62f00d8 (line 1677) state change from STOR_TYPE to STOR
03:03:27.118003 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:27.118178 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:27.118743 == Info: FTP 0x62f00d8 (line 2356) state change from STOR to STOP
03:03:27.118924 == Info: Preparing for accepting server on data port
03:03:27.119959 == Info: Checking for server connect
03:03:27.120797 == Info: Ready to accept data connection from server
03:03:27.122558 == Info: Connection accepted from server
03:03:27.125094 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:27.126133 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:27.126891 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:27.131019 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:03:27.131547 == Info: We are completely uploaded and fine
03:03:27.135108 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:27.135579 == Info: multi_done
03:03:27.138850 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:03:27.160461 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:27.160629 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:27.165815 == 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
==15084== Invalid read of size 8
==15084== at 0x5E745A5: check_free (dlerror.c:188)
==15084== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15084== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15084== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15084== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15084== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15084== by 0x559AF79: exit (exit.c:139)
==15084== by 0x55850A1: (below main) (libc-start.c:342)
==15084== Address 0x66b0f40 is 0 bytes after a block of size 32 alloc'd
==15084== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15084== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15084== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15084== by 0x4DD0E85: err_get_state (err.c:210)
==15084== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15084== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15084== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15084== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15084== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15084== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15084== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15084== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15084== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15084== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15084== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15084== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15084==
==15084== Invalid free() / delete / delete[] / realloc()
==15084== at 0x48369AB: free (vg_replace_malloc.c:530)
==15084== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15084== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15084== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15084== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15084== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15084== by 0x559AF79: exit (exit.c:139)
==15084== by 0x55850A1: (below main) (libc-start.c:342)
==15084== Address 0x66b0f28 is 8 bytes inside a block of size 32 alloc'd
==15084== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15084== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15084== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15084== by 0x4DD0E85: err_get_state (err.c:210)
==15084== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15084== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15084== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15084== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15084== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15084== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15084== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15084== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15084== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15084== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15084== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15084== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15084==
==15084== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15084== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15084== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15084== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15084== by 0x4DD0E85: err_get_state (err.c:210)
==15084== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15084== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15084== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15084== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15084== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15084== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15084== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15084== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15084== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15084== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15084== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15084== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15084==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==15090== Invalid read of size 8
==15090== at 0x5E745A5: check_free (dlerror.c:188)
==15090== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15090== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15090== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15090== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15090== by 0x559AF79: exit (exit.c:139)
==15090== by 0x55850A1: (below main) (libc-start.c:342)
==15090== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==15090== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15090== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15090== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15090== by 0x4DD0E85: err_get_state (err.c:210)
==15090== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15090== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15090== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15090== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15090== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15090== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15090== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15090== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15090== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15090== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15090== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15090== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15090==
==15090== Invalid free() / delete / delete[] / realloc()
==15090== at 0x48369AB: free (vg_replace_malloc.c:530)
==15090== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15090== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15090== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15090== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15090== by 0x559AF79: exit (exit.c:139)
==15090== by 0x55850A1: (below main) (libc-start.c:342)
==15090== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==15090== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15090== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15090== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15090== by 0x4DD0E85: err_get_state (err.c:210)
==15090== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15090== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15090== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15090== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15090== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15090== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15090== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15090== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15090== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15090== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15090== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15090== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15090==
==15090== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15090== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15090== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15090== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15090== by 0x4DD0E85: err_get_state (err.c:210)
==15090== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15090== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15090== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15090== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15090== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15090== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15090== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15090== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15090== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15090== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15090== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15090== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15090==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:03:13.948846 ====> Client connect
03:03:13.948956 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:14.029472 < "USER anonymous"
03:03:14.029525 > "331 We are happy you popped in![CR][LF]"
03:03:14.040680 < "PASS ftp@example.com"
03:03:14.040719 > "230 Welcome you silly person[CR][LF]"
03:03:14.042950 < "PBSZ 0"
03:03:14.042979 > "500 PBSZ not implemented[CR][LF]"
03:03:14.044327 < "PROT C"
03:03:14.044355 > "500 PROT not implemented[CR][LF]"
03:03:14.045736 < "CCC"
03:03:14.045755 CCC wasn't handled
03:03:14.045776 > "500 CCC is not dealt with![CR][LF]"
03:03:14.047208 < "PWD"
03:03:14.047245 > "257 "/" is current directory[CR][LF]"
03:03:14.053752 < "EPSV"
03:03:14.053775 ====> Passive DATA channel requested by client
03:03:14.053786 DATA sockfilt for passive data channel starting...
03:03:14.055465 DATA sockfilt for passive data channel started (pid 15051)
03:03:14.055578 DATA sockfilt for passive data channel listens on port 39039
03:03:14.055617 > "229 Entering Passive Mode (|||39039|)[LF]"
03:03:14.055638 Client has been notified that DATA conn will be accepted on port 39039
03:03:14.062903 Client connects to port 39039
03:03:14.062932 ====> Client established passive DATA connection on port 39039
03:03:14.067909 < "TYPE A"
03:03:14.067942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:14.070119 < "LIST"
03:03:14.070147 > "150 here comes a directory[CR][LF]"
03:03:14.070182 pass LIST data on data connection
03:03:14.070266 =====> Closing passive DATA connection...
03:03:14.070281 Server disconnects passive DATA connection
03:03:14.070981 DATA sockfilt for passive data channel quits (pid 15052)
03:03:14.070996 =====> Closed passive DATA connection
03:03:14.071019 > "226 ASCII transfer complete[CR][LF]"
03:03:14.132575 < "QUIT"
03:03:14.132623 > "221 bye bye baby[CR][LF]"
03:03:14.139237 MAIN sockfilt said DISC
03:03:14.139270 ====> Client disconnected
03:03:14.139320 Awaiting input
03:03:16.446388 ====> Client connect
03:03:16.446496 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:17.869107 MAIN sockfilt said DISC
03:03:17.869162 ====> Client disconnected
03:03:17.869204 Awaiting input
03:03:20.652879 ====> Client connect
03:03:20.653010 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:20.733764 < "USER anonymous"
03:03:20.733824 > "331 We are happy you popped in![CR][LF]"
03:03:20.744883 < "PASS ftp@example.com"
03:03:20.744928 > "230 Welcome you silly person[CR][LF]"
03:03:20.747235 < "PBSZ 0"
03:03:20.747278 > "500 PBSZ not implemented[CR][LF]"
03:03:20.748660 < "PROT C"
03:03:20.748704 > "500 PROT not implemented[CR][LF]"
03:03:20.750236 < "PWD"
03:03:20.750278 > "257 "/" is current directory[CR][LF]"
03:03:20.771055 < "EPRT |1|127.0.0.1|39257|"
03:03:20.771098 ====> Active DATA channel requested by client
03:03:20.771143 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:20.771169 DATA sockfilt for active data channel starting...
03:03:20.772984 DATA sockfilt for active data channel started (pid 15066)
03:03:20.773018 ====> Active DATA channel connected to client port 39257
03:03:20.776264 < "TYPE A"
03:03:20.776321 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:20.778565 < "LIST"
03:03:20.778609 > "150 here comes a directory[CR][LF]"
03:03:20.778645 pass LIST data on data connection
03:03:20.778751 =====> Closing active DATA connection...
03:03:20.778775 Server disconnects active DATA connection
03:03:20.779186 DATA sockfilt for active data channel quits (pid 15067)
03:03:20.779211 =====> Closed active DATA connection
03:03:20.779249 > "226 ASCII transfer complete[CR][LF]"
03:03:20.839585 < "QUIT"
03:03:20.839642 > "221 bye bye baby[CR][LF]"
03:03:20.846257 MAIN sockfilt said DISC
03:03:20.846290 ====> Client disconnected
03:03:20.846352 Awaiting input
03:03:23.706215 ====> Client connect
03:03:23.706327 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:23.788619 < "USER anonymous"
03:03:23.788666 > "331 We are happy you popped in![CR][LF]"
03:03:23.800931 < "PASS ftp@example.com"
03:03:23.800975 > "230 Welcome you silly person[CR][LF]"
03:03:23.803445 < "PBSZ 0"
03:03:23.803480 > "500 PBSZ not implemented[CR][LF]"
03:03:23.804861 < "PROT C"
03:03:23.804893 > "500 PROT not implemented[CR][LF]"
03:03:23.806364 < "PWD"
03:03:23.806398 > "257 "/" is current directory[CR][LF]"
03:03:23.813588 < "CWD a"
03:03:23.813629 > "250 CWD command successful.[CR][LF]"
03:03:23.815227 < "CWD path"
03:03:23.815257 > "250 CWD command successful.[CR][LF]"
03:03:23.818792 < "EPSV"
03:03:23.818823 ====> Passive DATA channel requested by client
03:03:23.818835 DATA sockfilt for passive data channel starting...
03:03:23.820505 DATA sockfilt for passive data channel started (pid 15078)
03:03:23.820594 DATA sockfilt for passive data channel listens on port 41519
03:03:23.820634 > "229 Entering Passive Mode (|||41519|)[LF]"
03:03:23.820648 Client has been notified that DATA conn will be accepted on port 41519
03:03:23.827138 Client connects to port 41519
03:03:23.827173 ====> Client established passive DATA connection on port 41519
03:03:23.831906 < "TYPE I"
03:03:23.831942 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:23.834068 < "SIZE 407"
03:03:23.834231 > "213 11[CR][LF]"
03:03:23.838079 < "RETR 407"
03:03:23.838193 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:23.838245 =====> Closing passive DATA connection...
03:03:23.838259 Server disconnects passive DATA connection
03:03:23.838385 DATA sockfilt for passive data channel quits (pid 15079)
03:03:23.838410 =====> Closed passive DATA connection
03:03:23.838436 > "226 File transfer complete[CR][LF]"
03:03:23.917251 < "EPSV"
03:03:23.917287 ====> Passive DATA channel requested by client
03:03:23.917299 DATA sockfilt for passive data channel starting...
03:03:23.919062 DATA sockfilt for passive data channel started (pid 15080)
03:03:23.919159 DATA sockfilt for passive data channel listens on port 36239
03:03:23.919200 > "229 Entering Passive Mode (|||36239|)[LF]"
03:03:23.919214 Client has been notified that DATA conn will be accepted on port 36239
03:03:23.920726 Client connects to port 36239
03:03:23.920758 ====> Client established passive DATA connection on port 36239
03:03:23.922158 < "SIZE 407"
03:03:23.922325 > "213 11[CR][LF]"
03:03:23.923286 < "RETR 407"
03:03:23.923398 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:03:23.923450 =====> Closing passive DATA connection...
03:03:23.923464 Server disconnects passive DATA connection
03:03:23.923557 DATA sockfilt for passive data channel quits (pid 15081)
03:03:23.923575 =====> Closed passive DATA connection
03:03:23.923598 > "226 File transfer complete[CR][LF]"
03:03:23.971961 < "QUIT"
03:03:23.972006 > "221 bye bye baby[CR][LF]"
03:03:23.978591 MAIN sockfilt said DISC
03:03:23.978632 ====> Client disconnected
03:03:23.978698 Awaiting input
03:03:26.775102 ====> Client connect
03:03:26.775227 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:26.861569 < "USER anonymous"
03:03:26.861626 > "331 We are happy you popped in![CR][LF]"
03:03:26.874617 < "PASS ftp@example.com"
03:03:26.874670 > "230 Welcome you silly person[CR][LF]"
03:03:26.877200 < "PBSZ 0"
03:03:26.877237 > "500 PBSZ not implemented[CR][LF]"
03:03:26.878607 < "PROT C"
03:03:26.878635 > "500 PROT not implemented[CR][LF]"
03:03:26.880284 < "PWD"
03:03:26.880331 > "257 "/" is current directory[CR][LF]"
03:03:26.887484 < "CWD CWD"
03:03:26.887513 > "250 CWD command successful.[CR][LF]"
03:03:26.889108 < "CWD STOR"
03:03:26.889149 > "250 CWD command successful.[CR][LF]"
03:03:26.891730 < "CWD RETR"
03:03:26.891767 > "250 CWD command successful.[CR][LF]"
03:03:26.897784 < "EPRT |1|127.0.0.1|37329|"
03:03:26.897820 ====> Active DATA channel requested by client
03:03:26.897856 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:03:26.897877 DATA sockfilt for active data channel starting...
03:03:26.899637 DATA sockfilt for active data channel started (pid 15086)
03:03:26.899665 ====> Active DATA channel connected to client port 37329
03:03:26.902613 < "TYPE I"
03:03:26.902663 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:26.904939 < "STOR 408"
03:03:26.904969 STOR test number 408 in log/upload.408
03:03:26.904995 > "125 Gimme gimme gimme![CR][LF]"
03:03:26.919225 > Appending 27 bytes to file
03:03:26.928797 =====> Closing active DATA connection...
03:03:26.928822 Server knows active DATA connection is already disconnected
03:03:26.928880 DATA sockfilt for active data channel quits (pid 15087)
03:03:26.928899 =====> Closed active DATA connection
03:03:26.928920 received 27 bytes upload
03:03:26.928954 > "226 File transfer complete[CR][LF]"
03:03:26.968845 < "QUIT"
03:03:26.968895 > "221 bye bye baby[CR][LF]"
03:03:26.975523 MAIN sockfilt said DISC
03:03:26.975549 ====> Client disconnected
03:03:26.975602 Awaiting input
03:03:29.860781 ====> Client connect
03:03:29.860905 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:03:29.944070 < "USER anonymous"
03:03:29.944126 > "331 We are happy you popped in![CR][LF]"
03:03:29.955631 < "PASS ftp@example.com"
03:03:29.955671 > "230 Welcome you silly person[CR][LF]"
03:03:29.958064 < "PBSZ 0"
03:03:29.958100 > "500 PBSZ not implemented[CR][LF]"
03:03:29.959569 < "PROT C"
03:03:29.959603 > "500 PROT not implemented[CR][LF]"
03:03:29.961361 < "PWD"
03:03:29.961402 > "257 "/" is current directory[CR][LF]"
03:03:29.968925 < "EPSV"
03:03:29.968960 ====> Passive DATA channel requested by client
03:03:29.968977 DATA sockfilt for passive data channel starting...
03:03:29.970643 DATA sockfilt for passive data channel started (pid 15092)
03:03:29.970767 DATA sockfilt for passive data channel listens on port 46353
03:03:29.970809 > "229 Entering Passive Mode (|||46353|)[LF]"
03:03:29.970826 Client has been notified that DATA conn will be accepted on port 46353
03:03:29.978052 Client connects to port 46353
03:03:29.978093 ====> Client established passive DATA connection on port 46353
03:03:29.984278 < "TYPE I"
03:03:29.984329 > "200 I modify TYPE as you wanted[CR][LF]"
03:03:29.986689 < "STOR 409"
03:03:29.986720 STOR test number 409 in log/upload.409
03:03:29.986749 > "125 Gimme gimme gimme![CR][LF]"
03:03:29.997246 > Appending 51 bytes to file
03:03:30.007607 =====> Closing passive DATA connection...
03:03:30.007630 Server knows passive DATA connection is already disconnected
03:03:30.007687 DATA sockfilt for passive data channel quits (pid 15093)
03:03:30.007705 =====> Closed passive DATA connection
03:03:30.007725 received 51 bytes upload
03:03:30.007756 > "226 File transfer complete[CR][LF]"
03:03:30.050611 < "QUIT"
03:03:30.050659 > "221 bye bye baby[CR][LF]"
03:03:30.057617 MAIN sockfilt said DISC
03:03:30.057645 ====> Client disconnected
03:03:30.057696 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:03:13.160088 ====> Client connect
03:03:13.160272 Received DATA (on stdin)
03:03:13.160297 > 160 bytes data, server => client
03:03:13.160318 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:13.160332 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:13.160343 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:13.240654 < 16 bytes data, client => server
03:03:13.240696 'USER anonymous\r\n'
03:03:13.240845 Received DATA (on stdin)
03:03:13.240866 > 33 bytes data, server => client
03:03:13.240884 '331 We are happy you popped in!\r\n'
03:03:13.251924 < 22 bytes data, client => server
03:03:13.251949 'PASS ftp@example.com\r\n'
03:03:13.252040 Received DATA (on stdin)
03:03:13.252060 > 30 bytes data, server => client
03:03:13.252078 '230 Welcome you silly person\r\n'
03:03:13.254223 < 8 bytes data, client => server
03:03:13.254241 'PBSZ 0\r\n'
03:03:13.254302 Received DATA (on stdin)
03:03:13.254319 > 26 bytes data, server => client
03:03:13.254336 '500 PBSZ not implemented\r\n'
03:03:13.255605 < 8 bytes data, client => server
03:03:13.255622 'PROT C\r\n'
03:03:13.255678 Received DATA (on stdin)
03:03:13.255696 > 26 bytes data, server => client
03:03:13.255712 '500 PROT not implemented\r\n'
03:03:13.257007 < 5 bytes data, client => server
03:03:13.257026 'CCC\r\n'
03:03:13.257099 Received DATA (on stdin)
03:03:13.257117 > 28 bytes data, server => client
03:03:13.257132 '500 CCC is not dealt with!\r\n'
03:03:13.258486 < 5 bytes data, client => server
03:03:13.258503 'PWD\r\n'
03:03:13.258568 Received DATA (on stdin)
03:03:13.258586 > 30 bytes data, server => client
03:03:13.258602 '257 "/" is current directory\r\n'
03:03:13.265024 < 6 bytes data, client => server
03:03:13.265044 'EPSV\r\n'
03:03:13.266933 Received DATA (on stdin)
03:03:13.266954 > 38 bytes data, server => client
03:03:13.266973 '229 Entering Passive Mode (|||39039|)\n'
03:03:13.279163 < 8 bytes data, client => server
03:03:13.279184 'TYPE A\r\n'
03:03:13.279263 Received DATA (on stdin)
03:03:13.279282 > 33 bytes data, server => client
03:03:13.279299 '200 I modify TYPE as you wanted\r\n'
03:03:13.281394 < 6 bytes data, client => server
03:03:13.281413 'LIST\r\n'
03:03:13.281470 Received DATA (on stdin)
03:03:13.281488 > 28 bytes data, server => client
03:03:13.281507 '150 here comes a directory\r\n'
03:03:13.282343 Received DATA (on stdin)
03:03:13.282361 > 29 bytes data, server => client
03:03:13.282378 '226 ASCII transfer complete\r\n'
03:03:13.343792 < 6 bytes data, client => server
03:03:13.343828 'QUIT\r\n'
03:03:13.343944 Received DATA (on stdin)
03:03:13.343964 > 18 bytes data, server => client
03:03:13.343981 '221 bye bye baby\r\n'
03:03:13.350529 ====> Client disconnect
03:03:15.657619 ====> Client connect
03:03:15.657815 Received DATA (on stdin)
03:03:15.657838 > 160 bytes data, server => client
03:03:15.657861 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:15.657883 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:15.657901 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:16.982857 < 143 bytes data, client => server
03:03:16.982908 '............p.!........?. ....0.x.}...v...4..*.+./.,.0..... .'
03:03:16.982933 '#...'.\n.$...(...../.<.5.=.\n...3..........\r................'
03:03:16.982951 '.......[0B].....\n..........'
03:03:17.001251 < 7 bytes data, client => server
03:03:17.001283 '......F'
03:03:17.080338 ====> Client disconnect
03:03:19.864144 ====> Client connect
03:03:19.864324 Received DATA (on stdin)
03:03:19.864342 > 160 bytes data, server => client
03:03:19.864356 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:19.864368 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:19.864379 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:19.944940 < 16 bytes data, client => server
03:03:19.944975 'USER anonymous\r\n'
03:03:19.945143 Received DATA (on stdin)
03:03:19.945155 > 33 bytes data, server => client
03:03:19.945166 '331 We are happy you popped in!\r\n'
03:03:19.956131 < 22 bytes data, client => server
03:03:19.956157 'PASS ftp@example.com\r\n'
03:03:19.956249 Received DATA (on stdin)
03:03:19.956260 > 30 bytes data, server => client
03:03:19.956271 '230 Welcome you silly person\r\n'
03:03:19.958491 < 8 bytes data, client => server
03:03:19.958505 'PBSZ 0\r\n'
03:03:19.958598 Received DATA (on stdin)
03:03:19.958608 > 26 bytes data, server => client
03:03:19.958618 '500 PBSZ not implemented\r\n'
03:03:19.959926 < 8 bytes data, client => server
03:03:19.959938 'PROT C\r\n'
03:03:19.960026 Received DATA (on stdin)
03:03:19.960037 > 26 bytes data, server => client
03:03:19.960047 '500 PROT not implemented\r\n'
03:03:19.961500 < 5 bytes data, client => server
03:03:19.961518 'PWD\r\n'
03:03:19.961613 Received DATA (on stdin)
03:03:19.961627 > 30 bytes data, server => client
03:03:19.961641 '257 "/" is current directory\r\n'
03:03:19.982284 < 26 bytes data, client => server
03:03:19.982307 'EPRT |1|127.0.0.1|39257|\r\n'
03:03:19.982462 Received DATA (on stdin)
03:03:19.982473 > 50 bytes data, server => client
03:03:19.982485 '200 Thanks for dropping by. We contact you later\r\n'
03:03:19.987490 < 8 bytes data, client => server
03:03:19.987512 'TYPE A\r\n'
03:03:19.987635 Received DATA (on stdin)
03:03:19.987646 > 33 bytes data, server => client
03:03:19.987657 '200 I modify TYPE as you wanted\r\n'
03:03:19.989822 < 6 bytes data, client => server
03:03:19.989835 'LIST\r\n'
03:03:19.989929 Received DATA (on stdin)
03:03:19.989939 > 28 bytes data, server => client
03:03:19.989949 '150 here comes a directory\r\n'
03:03:19.990593 Received DATA (on stdin)
03:03:19.990620 > 29 bytes data, server => client
03:03:19.990635 '226 ASCII transfer complete\r\n'
03:03:20.050792 < 6 bytes data, client => server
03:03:20.050823 'QUIT\r\n'
03:03:20.050963 Received DATA (on stdin)
03:03:20.050976 > 18 bytes data, server => client
03:03:20.050986 '221 bye bye baby\r\n'
03:03:20.057555 ====> Client disconnect
03:03:22.917446 ====> Client connect
03:03:22.917647 Received DATA (on stdin)
03:03:22.917669 > 160 bytes data, server => client
03:03:22.917690 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:22.917708 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:22.917723 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:22.999803 < 16 bytes data, client => server
03:03:22.999846 'USER anonymous\r\n'
03:03:22.999987 Received DATA (on stdin)
03:03:23.000007 > 33 bytes data, server => client
03:03:23.000025 '331 We are happy you popped in!\r\n'
03:03:23.012137 < 22 bytes data, client => server
03:03:23.012166 'PASS ftp@example.com\r\n'
03:03:23.012298 Received DATA (on stdin)
03:03:23.012315 > 30 bytes data, server => client
03:03:23.012330 '230 Welcome you silly person\r\n'
03:03:23.014680 < 8 bytes data, client => server
03:03:23.014697 'PBSZ 0\r\n'
03:03:23.014803 Received DATA (on stdin)
03:03:23.014816 > 26 bytes data, server => client
03:03:23.014830 '500 PBSZ not implemented\r\n'
03:03:23.016113 < 8 bytes data, client => server
03:03:23.016129 'PROT C\r\n'
03:03:23.016216 Received DATA (on stdin)
03:03:23.016230 > 26 bytes data, server => client
03:03:23.016243 '500 PROT not implemented\r\n'
03:03:23.017622 < 5 bytes data, client => server
03:03:23.017638 'PWD\r\n'
03:03:23.017721 Received DATA (on stdin)
03:03:23.017735 > 30 bytes data, server => client
03:03:23.017749 '257 "/" is current directory\r\n'
03:03:23.024850 < 7 bytes data, client => server
03:03:23.024867 'CWD a\r\n'
03:03:23.024951 Received DATA (on stdin)
03:03:23.024964 > 29 bytes data, server => client
03:03:23.024979 '250 CWD command successful.\r\n'
03:03:23.026478 < 10 bytes data, client => server
03:03:23.026493 'CWD path\r\n'
03:03:23.026581 Received DATA (on stdin)
03:03:23.026594 > 29 bytes data, server => client
03:03:23.026609 '250 CWD command successful.\r\n'
03:03:23.030048 < 6 bytes data, client => server
03:03:23.030067 'EPSV\r\n'
03:03:23.031955 Received DATA (on stdin)
03:03:23.031970 > 38 bytes data, server => client
03:03:23.031985 '229 Entering Passive Mode (|||41519|)\n'
03:03:23.043142 < 8 bytes data, client => server
03:03:23.043168 'TYPE I\r\n'
03:03:23.043264 Received DATA (on stdin)
03:03:23.043278 > 33 bytes data, server => client
03:03:23.043293 '200 I modify TYPE as you wanted\r\n'
03:03:23.045327 < 10 bytes data, client => server
03:03:23.045344 'SIZE 407\r\n'
03:03:23.045555 Received DATA (on stdin)
03:03:23.045568 > 8 bytes data, server => client
03:03:23.045580 '213 11\r\n'
03:03:23.049338 < 10 bytes data, client => server
03:03:23.049354 'RETR 407\r\n'
03:03:23.049517 Received DATA (on stdin)
03:03:23.049530 > 51 bytes data, server => client
03:03:23.049546 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:23.049759 Received DATA (on stdin)
03:03:23.049775 > 28 bytes data, server => client
03:03:23.049789 '226 File transfer complete\r\n'
03:03:23.128450 < 6 bytes data, client => server
03:03:23.128487 'EPSV\r\n'
03:03:23.130522 Received DATA (on stdin)
03:03:23.130547 > 38 bytes data, server => client
03:03:23.130561 '229 Entering Passive Mode (|||36239|)\n'
03:03:23.133385 < 10 bytes data, client => server
03:03:23.133412 'SIZE 407\r\n'
03:03:23.133669 Received DATA (on stdin)
03:03:23.133693 > 8 bytes data, server => client
03:03:23.133706 '213 11\r\n'
03:03:23.134540 < 10 bytes data, client => server
03:03:23.134562 'RETR 407\r\n'
03:03:23.134742 Received DATA (on stdin)
03:03:23.134768 > 51 bytes data, server => client
03:03:23.134792 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:03:23.134923 Received DATA (on stdin)
03:03:23.134941 > 28 bytes data, server => client
03:03:23.134956 '226 File transfer complete\r\n'
03:03:23.183159 < 6 bytes data, client => server
03:03:23.183196 'QUIT\r\n'
03:03:23.183343 Received DATA (on stdin)
03:03:23.183357 > 18 bytes data, server => client
03:03:23.183371 '221 bye bye baby\r\n'
03:03:23.189859 ====> Client disconnect
03:03:25.986359 ====> Client connect
03:03:25.986543 Received DATA (on stdin)
03:03:25.986563 > 160 bytes data, server => client
03:03:25.986584 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:25.986604 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:25.986615 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:26.072749 < 16 bytes data, client => server
03:03:26.072791 'USER anonymous\r\n'
03:03:26.072945 Received DATA (on stdin)
03:03:26.072971 > 33 bytes data, server => client
03:03:26.072988 '331 We are happy you popped in!\r\n'
03:03:26.085832 < 22 bytes data, client => server
03:03:26.085875 'PASS ftp@example.com\r\n'
03:03:26.085992 Received DATA (on stdin)
03:03:26.086012 > 30 bytes data, server => client
03:03:26.086030 '230 Welcome you silly person\r\n'
03:03:26.088450 < 8 bytes data, client => server
03:03:26.088484 'PBSZ 0\r\n'
03:03:26.088559 Received DATA (on stdin)
03:03:26.088578 > 26 bytes data, server => client
03:03:26.088599 '500 PBSZ not implemented\r\n'
03:03:26.089884 < 8 bytes data, client => server
03:03:26.089901 'PROT C\r\n'
03:03:26.089958 Received DATA (on stdin)
03:03:26.089980 > 26 bytes data, server => client
03:03:26.089995 '500 PROT not implemented\r\n'
03:03:26.091526 < 5 bytes data, client => server
03:03:26.091543 'PWD\r\n'
03:03:26.091682 Received DATA (on stdin)
03:03:26.091699 > 30 bytes data, server => client
03:03:26.091714 '257 "/" is current directory\r\n'
03:03:26.098757 < 9 bytes data, client => server
03:03:26.098783 'CWD CWD\r\n'
03:03:26.098856 Received DATA (on stdin)
03:03:26.098879 > 29 bytes data, server => client
03:03:26.098894 '250 CWD command successful.\r\n'
03:03:26.100356 < 10 bytes data, client => server
03:03:26.100381 'CWD STOR\r\n'
03:03:26.100472 Received DATA (on stdin)
03:03:26.100490 > 29 bytes data, server => client
03:03:26.100507 '250 CWD command successful.\r\n'
03:03:26.102993 < 10 bytes data, client => server
03:03:26.103017 'CWD RETR\r\n'
03:03:26.103091 Received DATA (on stdin)
03:03:26.103108 > 29 bytes data, server => client
03:03:26.103125 '250 CWD command successful.\r\n'
03:03:26.109041 < 26 bytes data, client => server
03:03:26.109069 'EPRT |1|127.0.0.1|37329|\r\n'
03:03:26.109178 Received DATA (on stdin)
03:03:26.109202 > 50 bytes data, server => client
03:03:26.109224 '200 Thanks for dropping by. We contact you later\r\n'
03:03:26.113852 < 8 bytes data, client => server
03:03:26.113880 'TYPE I\r\n'
03:03:26.113981 Received DATA (on stdin)
03:03:26.114000 > 33 bytes data, server => client
03:03:26.114018 '200 I modify TYPE as you wanted\r\n'
03:03:26.116213 < 10 bytes data, client => server
03:03:26.116238 'STOR 408\r\n'
03:03:26.116320 Received DATA (on stdin)
03:03:26.116339 > 24 bytes data, server => client
03:03:26.116367 '125 Gimme gimme gimme!\r\n'
03:03:26.140291 Received DATA (on stdin)
03:03:26.140319 > 28 bytes data, server => client
03:03:26.140336 '226 File transfer complete\r\n'
03:03:26.180065 < 6 bytes data, client => server
03:03:26.180099 'QUIT\r\n'
03:03:26.180230 Received DATA (on stdin)
03:03:26.180244 > 18 bytes data, server => client
03:03:26.180260 '221 bye bye baby\r\n'
03:03:26.186823 ====> Client disconnect
03:03:29.072042 ====> Client connect
03:03:29.072224 Received DATA (on stdin)
03:03:29.072250 > 160 bytes data, server => client
03:03:29.072272 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:03:29.072293 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:03:29.072310 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:03:29.155251 < 16 bytes data, client => server
03:03:29.155293 'USER anonymous\r\n'
03:03:29.155448 Received DATA (on stdin)
03:03:29.155470 > 33 bytes data, server => client
03:03:29.155489 '331 We are happy you popped in!\r\n'
03:03:29.166889 < 22 bytes data, client => server
03:03:29.166916 'PASS ftp@example.com\r\n'
03:03:29.166993 Received DATA (on stdin)
03:03:29.167010 > 30 bytes data, server => client
03:03:29.167026 '230 Welcome you silly person\r\n'
03:03:29.169337 < 8 bytes data, client => server
03:03:29.169358 'PBSZ 0\r\n'
03:03:29.169423 Received DATA (on stdin)
03:03:29.169441 > 26 bytes data, server => client
03:03:29.169458 '500 PBSZ not implemented\r\n'
03:03:29.170843 < 8 bytes data, client => server
03:03:29.170865 'PROT C\r\n'
03:03:29.170927 Received DATA (on stdin)
03:03:29.170945 > 26 bytes data, server => client
03:03:29.170961 '500 PROT not implemented\r\n'
03:03:29.172425 < 5 bytes data, client => server
03:03:29.172676 'PWD\r\n'
03:03:29.172725 Received DATA (on stdin)
03:03:29.172744 > 30 bytes data, server => client
03:03:29.172761 '257 "/" is current directory\r\n'
03:03:29.180186 < 6 bytes data, client => server
03:03:29.180212 'EPSV\r\n'
03:03:29.182131 Received DATA (on stdin)
03:03:29.182155 > 38 bytes data, server => client
03:03:29.182174 '229 Entering Passive Mode (|||46353|)\n'
03:03:29.195505 < 8 bytes data, client => server
03:03:29.195537 'TYPE I\r\n'
03:03:29.195651 Received DATA (on stdin)
03:03:29.195674 > 33 bytes data, server => client
03:03:29.195692 '200 I modify TYPE as you wanted\r\n'
03:03:29.197951 < 10 bytes data, client => server
03:03:29.197975 'STOR 409\r\n'
03:03:29.198072 Received DATA (on stdin)
03:03:29.198091 > 24 bytes data, server => client
03:03:29.198125 '125 Gimme gimme gimme!\r\n'
03:03:29.219081 Received DATA (on stdin)
03:03:29.219110 > 28 bytes data, server => client
03:03:29.219130 '226 File transfer complete\r\n'
03:03:29.261840 < 6 bytes data, client => server
03:03:29.261871 'QUIT\r\n'
03:03:29.261982 Received DATA (on stdin)
03:03:29.262003 > 18 bytes data, server => client
03:03:29.262018 '221 bye bye baby\r\n'
03:03:29.268908 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:03:14.266640 Running IPv4 version
03:03:14.266720 Listening on port 39039
03:03:14.266747 Wrote pid 15052 to ./.ftp_sockdata.pid
03:03:14.266763 Received PING (on stdin)
03:03:14.266842 Received PORT (on stdin)
03:03:14.274194 ====> Client connect
03:03:14.281545 Received DATA (on stdin)
03:03:14.281571 > 10 bytes data, server => client
03:03:14.281588 'total 20\r\n'
03:03:14.281619 Received DATA (on stdin)
03:03:14.281635 > 57 bytes data, server => client
03:03:14.281656 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:14.281683 Received DATA (on stdin)
03:03:14.281698 > 58 bytes data, server => client
03:03:14.281717 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:14.281740 Received DATA (on stdin)
03:03:14.281756 > 61 bytes data, server => client
03:03:14.281776 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:14.281788 '\n'
03:03:14.281811 Received DATA (on stdin)
03:03:14.281827 > 62 bytes data, server => client
03:03:14.281846 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:14.281859 '\n'
03:03:14.281881 Received DATA (on stdin)
03:03:14.281895 > 70 bytes data, server => client
03:03:14.281916 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:14.281929 'usr/bin\r\n'
03:03:14.281951 Received DATA (on stdin)
03:03:14.281965 > 59 bytes data, server => client
03:03:14.281984 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:14.282006 Received DATA (on stdin)
03:03:14.282020 > 69 bytes data, server => client
03:03:14.282040 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:14.282054 'd.html\r\n'
03:03:14.282076 Received DATA (on stdin)
03:03:14.282092 > 59 bytes data, server => client
03:03:14.282112 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:14.282136 Received DATA (on stdin)
03:03:14.282151 > 59 bytes data, server => client
03:03:14.282171 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:14.282194 Received DATA (on stdin)
03:03:14.282209 > 59 bytes data, server => client
03:03:14.282228 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:14.282253 Received DISC (on stdin)
03:03:14.282269 ====> Client forcibly disconnected
03:03:14.282295 Received QUIT (on stdin)
03:03:14.282310 quits
03:03:14.282330 ============> sockfilt quits
03:03:20.984144 ====> Client connect
03:03:20.984215 Running IPv4 version
03:03:20.984224 Connected to port 39257
03:03:20.984263 Wrote pid 15067 to ./.ftp_sockdata.pid
03:03:20.984280 Received PING (on stdin)
03:03:20.990007 Received DATA (on stdin)
03:03:20.990023 > 10 bytes data, server => client
03:03:20.990033 'total 20\r\n'
03:03:20.990052 Received DATA (on stdin)
03:03:20.990062 > 57 bytes data, server => client
03:03:20.990074 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:03:20.990090 Received DATA (on stdin)
03:03:20.990099 > 58 bytes data, server => client
03:03:20.990111 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:03:20.990125 Received DATA (on stdin)
03:03:20.990137 > 61 bytes data, server => client
03:03:20.990150 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:03:20.990157 '\n'
03:03:20.990171 Received DATA (on stdin)
03:03:20.990180 > 62 bytes data, server => client
03:03:20.990192 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:03:20.990199 '\n'
03:03:20.990213 Received DATA (on stdin)
03:03:20.990222 > 70 bytes data, server => client
03:03:20.990234 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:03:20.990245 'usr/bin\r\n'
03:03:20.990259 Received DATA (on stdin)
03:03:20.990268 > 59 bytes data, server => client
03:03:20.990280 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:03:20.990294 Received DATA (on stdin)
03:03:20.990303 > 69 bytes data, server => client
03:03:20.990315 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:03:20.990323 'd.html\r\n'
03:03:20.990336 Received DATA (on stdin)
03:03:20.990345 > 59 bytes data, server => client
03:03:20.990363 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:03:20.990378 Received DATA (on stdin)
03:03:20.990391 > 59 bytes data, server => client
03:03:20.990403 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:03:20.990417 Received DATA (on stdin)
03:03:20.990426 > 59 bytes data, server => client
03:03:20.990438 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:03:20.990452 Received DISC (on stdin)
03:03:20.990462 ====> Client forcibly disconnected
03:03:20.990478 disconnected, no socket to read on
03:03:20.990488 Received QUIT (on stdin)
03:03:20.990495 quits
03:03:20.990506 ============> sockfilt quits
03:03:23.031668 Running IPv4 version
03:03:23.031731 Listening on port 41519
03:03:23.031772 Wrote pid 15079 to ./.ftp_sockdata.pid
03:03:23.031788 Received PING (on stdin)
03:03:23.031869 Received PORT (on stdin)
03:03:23.038427 ====> Client connect
03:03:23.049560 Received DATA (on stdin)
03:03:23.049586 > 11 bytes data, server => client
03:03:23.049604 'data blobb\n'
03:03:23.049629 Received DISC (on stdin)
03:03:23.049641 ====> Client forcibly disconnected
03:03:23.049686 Received QUIT (on stdin)
03:03:23.049698 quits
03:03:23.049717 ============> sockfilt quits
03:03:23.130234 Running IPv4 version
03:03:23.130298 Listening on port 36239
03:03:23.130341 Wrote pid 15081 to ./.ftp_sockdata.pid
03:03:23.130357 Received PING (on stdin)
03:03:23.130421 Received PORT (on stdin)
03:03:23.132016 ====> Client connect
03:03:23.134753 Received DATA (on stdin)
03:03:23.134776 > 11 bytes data, server => client
03:03:23.134794 'data blobb\n'
03:03:23.134822 Received DISC (on stdin)
03:03:23.134837 ====> Client forcibly disconnected
03:03:23.134857 Received QUIT (on stdin)
03:03:23.134866 quits
03:03:23.134880 ============> sockfilt quits
03:03:26.110771 ====> Client connect
03:03:26.110849 Running IPv4 version
03:03:26.110863 Connected to port 37329
03:03:26.110910 Wrote pid 15087 to ./.ftp_sockdata.pid
03:03:26.110931 Received PING (on stdin)
03:03:26.130478 < 27 bytes data, client => server
03:03:26.130528 'Moooooooooooo\n upload this\n'
03:03:26.140023 ====> Client disconnect
03:03:26.140074 disconnected, no socket to read on
03:03:26.140171 Received QUIT (on stdin)
03:03:26.140189 quits
03:03:26.140207 ============> sockfilt quits
03:03:29.181830 Running IPv4 version
03:03:29.181889 Listening on port 46353
03:03:29.181927 Wrote pid 15093 to ./.ftp_sockdata.pid
03:03:29.181942 Received PING (on stdin)
03:03:29.182022 Received PORT (on stdin)
03:03:29.189335 ====> Client connect
03:03:29.208530 < 51 bytes data, client => server
03:03:29.208559 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:03:29.218833 ====> Client disconnect
03:03:29.218998 Received QUIT (on stdin)
03:03:29.219020 quits
03:03:29.219041 ============> 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 --:--:-- 26
=== 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:28.257373 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:03:28.282920 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:03:28.321436 == Info: Added connection 0. The cache now contains 1 members
03:03:28.339025 == Info: Trying 127.0.0.1...
03:03:28.339653 == Info: TCP_NODELAY set
03:03:28.342874 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:28.345152 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:03:28.356692 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:28.357274 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:03:28.358445 == Info: Marked for [keep alive]: FTP default
03:03:29.569693 == Info: successfully set certificate verify locations:
03:03:29.569961 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:03:29.652892 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:29.658078 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:03:29.658143 => Send SSL data, 138 bytes (0x8a)
0000: ........7..k.........0..O.)f....(`......*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:03:29.676195 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:03:29.680791 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:03:29.680850 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..)........[...ES.M{.-...P..Y.Ipg. ..R3M..%.*QG.!...%.8..32.
0040: ^...B.../................
03:03:29.726523 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:29.726996 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:03:29.727054 <= 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:29.829003 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:03:29.829282 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:03:29.829341 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..MT.............ke.?...p...U).'.......h....C. T........
0040: g.iLu$.........~vF].0!rM...v...d/....mb.....l....z.y.j![.bFS....
0080: ...{;...}0..lA[.:.....i.......^8_...;.[7F]...`. .=Bg........u.dOXH.
00c0: ..+>...'.@Xi,.?...h..Xwh.+3..V..........o."`5|.GO+,4......@W1.E&
0100: &.X"..`....h.c6$.K.g.x.l..(4...Bd..tp.j.@....oM.c.qN......$..k.+
0140: I..L>w.Cq.W..
03:03:29.901371 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:29.901748 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:03:29.901811 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:03:30.024507 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:03:30.024767 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:03:30.024829 => Send SSL data, 70 bytes (0x46)
0000: ...BA....y.._#.kF.F.O..U......c(......[[7F]{..a.HJx.......@.......8
0040: ..+<..
03:03:30.037791 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:30.038384 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:03:30.038441 => Send SSL data, 1 bytes (0x1)
0000: .
03:03:30.070951 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:30.071155 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:03:30.071213 => Send SSL data, 16 bytes (0x10)
0000: .......F...I...-
03:03:30.073890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:30.074959 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:03:30.075020 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:03:30.077525 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:03:30.083094 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:03:30.083156 <= Recv SSL data, 16 bytes (0x10)
0000: ...../...IO.[TD.
03:03:30.105464 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:03:30.107734 == Info: Server certificate:
03:03:30.115373 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:30.121874 == Info: start date: Aug 31 23:39:18 2018 GMT
03:03:30.122851 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:03:30.123707 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:03:30.124648 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:03:30.126144 == Info: FTP 0x62ef748 (line 3118) state change from STOP to WAIT220
03:03:30.132511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:03:30.142025 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:03:30.145637 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:03:30.145842 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:03:30.146032 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:03:30.146216 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:03:30.153838 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:03:30.156592 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:03:30.157392 == Info: FTP 0x62ef748 (line 803) state change from WAIT220 to USER
03:03:30.158143 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:03:30.164624 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:30.165313 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:03:30.166713 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:30.166841 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:03:30.167279 == Info: FTP 0x62ef748 (line 2546) state change from USER to PASS
03:03:30.168331 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:30.168480 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:03:30.169170 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:30.169291 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:03:30.169688 == Info: FTP 0x62ef748 (line 2522) state change from PASS to PBSZ
03:03:30.169985 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:30.170128 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:03:30.170694 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:30.170813 => Send header, 8 bytes (0x8)
0000: PROT C
03:03:30.171199 == Info: FTP 0x62ef748 (line 2735) state change from PBSZ to PROT
03:03:30.171459 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:03:30.171606 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:03:30.172283 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:30.172407 => Send header, 5 bytes (0x5)
0000: PWD
03:03:30.172954 == Info: FTP 0x62ef748 (line 815) state change from PROT to PWD
03:03:30.173287 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:03:30.173448 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:03:30.174584 == Info: Entry path is '/'
03:03:30.174814 == Info: FTP 0x62ef748 (line 2870) state change from PWD to STOP
03:03:30.174987 == Info: protocol connect phase DONE
03:03:30.175334 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:03:30.178021 == Info: DO phase starts
03:03:30.179998 => Send SSL data, 5 bytes (0x5)
0000: .....
03:03:30.180138 => Send header, 6 bytes (0x6)
0000: EPSV
03:03:30.180508 == Info: FTP 0x62ef748 (line 1346) state change from STOP to PASV
03:03:30.180686 == Info: Connect data stream passively
03:03:30.181491 == Info: ftp_perform ends with SECONDARY: 0
03:03:30.182268 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:03:30.183113 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:03:30.183267 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||46353|).
03:03:30.189140 == Info: Trying 127.0.0.1...
03:03:30.189203 == Info: TCP_NODELAY set
03:03:30.189333 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:03:30.189999 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 46353
03:03:30.191075 == Info: FTP 0x62ef748 (line 2003) state change from PASV to STOP
03:03:30.191952 == Info: DO phase is complete2
03:03:30.192618 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:03:30.193690 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:03:30.194022 == Info: DO-MORE connected phase starts
03:03:30.195309 => Send SSL data, 5 bytes (0x5)
0000: ....
03:03:30.195447 => Send header, 8 bytes (0x8)
0000: TYPE I
03:03:30.195856 == Info: FTP 0x62ef748 (line 3444) state change from STOP to STOR_TYPE
03:03:30.196273 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:03:30.196429 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:03:30.197779 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:03:30.197903 => Send header, 10 bytes (0xa)
0000: STOR 409
03:03:30.198298 == Info: FTP 0x62ef748 (line 1677) state change from STOR_TYPE to STOR
03:03:30.200139 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:03:30.200286 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:03:30.202118 == Info: FTP 0x62ef748 (line 485) state change from STOR to STOP
03:03:30.202901 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:03:30.203964 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:03:30.204798 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:03:30.209065 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:03:30.209699 == Info: We are completely uploaded and fine
03:03:30.213387 == Info: STATE: PERFORM => DONE handle 0x626d7a8; line 2046 (connection #0)
03:03:30.213887 == Info: multi_done
03:03:30.217262 == Info: Remembering we are in dir ""
03:03:30.240412 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:03:30.240582 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:03:30.245975 == Info: Connection #0 to host 127.0.0.1 left intact
03:03:30.247904 == Info: Expire cleared (transfer 0x626d7a8)
=== End of file trace409
=== Start of file upload.408
Moooooooooooo
upload this
=== End of file upload.408
=== Start of file upload.409
data
to
see
that FTP
works
so does it?
=== End of file upload.409
=== Start of file valgrind409
==15090== Invalid read of size 8
==15090== at 0x5E745A5: check_free (dlerror.c:188)
==15090== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15090== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15090== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15090== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15090== by 0x559AF79: exit (exit.c:139)
==15090== by 0x55850A1: (below main) (libc-start.c:342)
==15090== Address 0x66b05a0 is 0 bytes after a block of size 32 alloc'd
==15090== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15090== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15090== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15090== by 0x4DD0E85: err_get_state (err.c:210)
==15090== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15090== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15090== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15090== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15090== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15090== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15090== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15090== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15090== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15090== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15090== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15090== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15090==
==15090== Invalid free() / delete / delete[] / realloc()
==15090== at 0x48369AB: free (vg_replace_malloc.c:530)
==15090== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15090== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15090== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15090== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15090== by 0x559AF79: exit (exit.c:139)
==15090== by 0x55850A1: (below main) (libc-start.c:342)
==15090== Address 0x66b0588 is 8 bytes inside a block of size 32 alloc'd
==15090== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15090== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15090== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15090== by 0x4DD0E85: err_get_state (err.c:210)
==15090== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15090== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15090== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15090== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15090== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15090== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15090== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15090== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15090== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15090== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15090== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15090== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15090==
==15090== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15090== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15090== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15090== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15090== by 0x4DD0E85: err_get_state (err.c:210)
==15090== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15090== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15090== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15090== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15090== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15090== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15090== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15090== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15090== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==15090== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==15090== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==15090== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==15090==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
-pd--oemv- OK (350 out of 1217, remaining: 24:42)
test 0501...[simple libcurl attempt operation without URL set]
------emv- OK (351 out of 1217, remaining: 24:38)
test 0502...[simple multi file:// get]
--d---emv- OK (352 out of 1217, remaining: 24:35)
test 0503...[simple multi http:// through proxytunnel with authentication info]
-pd-P-emv- OK (353 out of 1217, remaining: 24:32)
test 0504...[simple multi through local proxy without listener]
------emv- OK (354 out of 1217, remaining: 24:29)
test 0505...[FTP upload with rename after transfer]
-p-u--emv- OK (355 out of 1217, remaining: 24:26)
test 0506...[HTTP with shared cookie list (and dns cache)]
s----oemv- OK (356 out of 1217, remaining: 24:23)
test 0507...[multi interface get with non-existing host name]
------emv- OK (357 out of 1217, remaining: 24:20)
test 0508...[send HTTP POST using read callback]
-pd---emv- OK (358 out of 1217, remaining: 24:17)
test 0509...[initialization with memory callbacks and actual usage]
s-----emv- OK (359 out of 1217, remaining: 24:13)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
-pd---emv- OK (360 out of 1217, remaining: 24:12)
test 0511...[FTP with FILETIME and NOBODY but missing file]
-p----emv- OK (361 out of 1217, remaining: 24:09)
test 0512...[simple curl_easy_duplicate() test]
-pd---emv- OK (362 out of 1217, remaining: 24:06)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
-p----emv- OK (363 out of 1217, remaining: 24:05)
test 0514...[First set options to POST and then to make HEAD]
-pd---emv- OK (364 out of 1217, remaining: 24:04)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
-pd---emv- OK (365 out of 1217, remaining: 24:01)
test 0516...[make a HTTPPOST set to NULL]
-pd---emv- OK (366 out of 1217, remaining: 23:58)
test 0517...[curl_getdate() testing]
------emv- OK (367 out of 1217, remaining: 23:54)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
-pd---em-- OK (368 out of 1217, remaining: 23:49)
test 0519...[GET same URL twice with different users]
-pd---emv- OK (369 out of 1217, remaining: 23:46)
test 0520...[FTP RETR with FILETIME]
-pd---emv- OK (370 out of 1217, remaining: 23:43)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
-pd---emv- OK (371 out of 1217, remaining: 23:40)
test 0522...[HTTP GET with CURLOPT_PORT]
sp----emv- OK (372 out of 1217, remaining: 23:37)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
sp----emv- OK (373 out of 1217, remaining: 23:34)
test 0524...[FTP upload with target URL ending with slash]
-p----emv- OK (374 out of 1217, remaining: 23:30)
test 0525...[FTP PORT upload using multi interface]
-p-u--emv- OK (375 out of 1217, remaining: 23:27)
test 0526...[FTP RETR same file using different handles but same connection]
-pd---emv- OK (376 out of 1217, remaining: 23:32)
test 0527...[FTP RETR same file using different handles but same connection]
-pd---emv- OK (377 out of 1217, remaining: 23:36)
test 0528...[HTTP GET same file using different handles but same connection]
-pd---emv- OK (378 out of 1217, remaining: 23:39)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
-p-u--emv- OK (379 out of 1217, remaining: 23:36)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
-p----emv- OK (380 out of 1217, remaining: 23:33)
test 0532...[FTP RETR same file using reset handles between each transfer]
-pd---emv- OK (381 out of 1217, remaining: 23:37)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
-p----emv- OK (382 out of 1217, remaining: 23:37)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
-p----emv- OK (383 out of 1217, remaining: 23:36)
test 0535...[HTTP GET multi two files with FAILONERROR]
-pd---emv- OK (384 out of 1217, remaining: 23:35)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
-pd---emv- OK (385 out of 1217, remaining: 23:33)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
-p----emv- OK (386 out of 1217, remaining: 23:30)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
-pd---emv- OK (387 out of 1217, remaining: 23:27)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
-pd---emv- OK (388 out of 1217, remaining: 23:24)
test 0541...[FTP upload and upload same file again without rewind]
-p----emv- OK (389 out of 1217, remaining: 23:21)
test 0542...[FTP a file with NOBODY yes and HEADER no]
-pd---emv- OK (390 out of 1217, remaining: 23:18)
test 0543...[curl_easy_escape]
s-----emv- OK (391 out of 1217, remaining: 23:15)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
-pd---emv- OK (392 out of 1217, remaining: 23:12)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
-pd---emv- OK (393 out of 1217, remaining: 23:09)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
sp----emv- OK (394 out of 1217, remaining: 23:08)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
-pd---emv- OK (395 out of 1217, remaining: 23:05)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
-pd---emv- OK (396 out of 1217, remaining: 23:03)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
sp----emv- OK (397 out of 1217, remaining: 23:00)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
sp----emv- OK (398 out of 1217, remaining: 22:57)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
-pd---emv- OK (399 out of 1217, remaining: 22:54)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
-pd---emv- OK (400 out of 1217, remaining: 22:58)
test 0553...[HTTP post with huge request headers and post data from callback]
-pd---emv- OK (401 out of 1217, remaining: 22:55)
test 0554...[HTTP multi-part formpost using read callback for the file part]
-pd---emv- OK (402 out of 1217, remaining: 22:52)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
-pd---emv- OK (403 out of 1217, remaining: 22:50)
test 0556...[send and recv HTTP]
-pd---emv- OK (404 out of 1217, remaining: 22:47)
test 0557...[curl_mprintf() testing]
s-----emv- OK (405 out of 1217, remaining: 22:44)
test 0558...[libtest memory tracking operational]
-----oemv- OK (406 out of 1217, remaining: 22:40)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
--d---emv- OK (407 out of 1217, remaining: 22:38)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==15371== Invalid read of size 8
==15371== at 0x5E745A5: check_free (dlerror.c:188)
==15371== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15371== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15371== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15371== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15371== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15371== by 0x559AF79: exit (exit.c:139)
==15371== by 0x55850A1: (below main) (libc-start.c:342)
==15371== Address 0x6675240 is 0 bytes after a block of size 32 alloc'd
==15371== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15371== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15371== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15371== by 0x4DD0E85: err_get_state (err.c:210)
==15371== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15371== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15371== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15371== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15371== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15371== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15371== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15371== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15371== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==15371== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==15371== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==15371== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==15371==
==15371== Invalid free() / delete / delete[] / realloc()
==15371== at 0x48369AB: free (vg_replace_malloc.c:530)
==15371== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15371== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15371== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15371== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15371== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15371== by 0x559AF79: exit (exit.c:139)
==15371== by 0x55850A1: (below main) (libc-start.c:342)
==15371== Address 0x6675228 is 8 bytes inside a block of size 32 alloc'd
==15371== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15371== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15371== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15371== by 0x4DD0E85: err_get_state (err.c:210)
==15371== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15371== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15371== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15371== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15371== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15371== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15371== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15371== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15371== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==15371== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==15371== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==15371== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==15371==
==15371== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15371== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15371== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15371== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15371== by 0x4DD0E85: err_get_state (err.c:210)
==15371== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15371== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15371== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15371== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15371== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15371== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15371== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15371== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15371== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==15371== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==15371== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==15371== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==15371==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:04:58.106909 ====> Client connect
03:04:58.106953 accept_connection 3 returned 4
03:04:58.106968 accept_connection 3 returned 0
03:04:58.182832 Read 56 bytes
03:04:58.182883 Process 56 bytes request
03:04:58.182896 Got request: GET /560 HTTP/1.1
03:04:58.182905 Requested test number 560 part 0
03:04:58.182931 - request found to be complete
03:04:58.182961 Wrote request (56 bytes) input to log/server.input
03:04:58.182990 Send response test560 section <data>
03:04:58.183064 Response sent (108 bytes) and written to log/server.response
03:04:58.183075 => persistent connection request ended, awaits new request
03:04:58.248378 Connection closed by client
03:04:58.248428 ====> 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
==15371== Invalid read of size 8
==15371== at 0x5E745A5: check_free (dlerror.c:188)
==15371== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==15371== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==15371== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15371== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15371== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15371== by 0x559AF79: exit (exit.c:139)
==15371== by 0x55850A1: (below main) (libc-start.c:342)
==15371== Address 0x6675240 is 0 bytes after a block of size 32 alloc'd
==15371== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15371== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15371== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15371== by 0x4DD0E85: err_get_state (err.c:210)
==15371== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15371== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15371== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15371== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15371== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15371== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15371== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15371== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15371== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==15371== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==15371== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==15371== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==15371==
==15371== Invalid free() / delete / delete[] / realloc()
==15371== at 0x48369AB: free (vg_replace_malloc.c:530)
==15371== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==15371== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==15371== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==15371== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==15371== by 0x559AF49: __run_exit_handlers (exit.c:132)
==15371== by 0x559AF79: exit (exit.c:139)
==15371== by 0x55850A1: (below main) (libc-start.c:342)
==15371== Address 0x6675228 is 8 bytes inside a block of size 32 alloc'd
==15371== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15371== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15371== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15371== by 0x4DD0E85: err_get_state (err.c:210)
==15371== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15371== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15371== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15371== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15371== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15371== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15371== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15371== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15371== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==15371== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==15371== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==15371== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==15371==
==15371== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==15371== at 0x483577F: malloc (vg_replace_malloc.c:299)
==15371== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==15371== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==15371== by 0x4DD0E85: err_get_state (err.c:210)
==15371== by 0x4DD1A5D: ERR_put_error (err.c:636)
==15371== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==15371== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==15371== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==15371== by 0x4E91358: by_file_ctrl (by_file.c:111)
==15371== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==15371== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==15371== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==15371== by 0x18B808: ossl_connect_step1 (openssl.c:2597)
==15371== by 0x18E0F7: ossl_connect_common (openssl.c:3538)
==15371== by 0x18E372: Curl_ossl_connect_nonblocking (openssl.c:3624)
==15371== by 0x13F384: Curl_ssl_connect_nonblocking (vtls.c:275)
==15371==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
sp----emv- OK (409 out of 1217, remaining: 22:35)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
-pd---emv- OK (410 out of 1217, remaining: 22:32)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
-p----emv- OK (411 out of 1217, remaining: 22:30)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
spd---emv- OK (412 out of 1217, remaining: 23:28)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
-pd---emv- OK (413 out of 1217, remaining: 23:27)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
-pd--oemv- OK (414 out of 1217, remaining: 23:24)
test 0567...[simple RTSP OPTIONS command]
-pd---emv- OK (415 out of 1217, remaining: 23:24)
test 0568...[RTSP Announce (PUT and POST style) test]
-p----emv- OK (416 out of 1217, remaining: 23:21)
test 0569...[RTSP Session ID parsing]
-p---oemv- OK (417 out of 1217, remaining: 23:18)
test 0570...[RTSP CSeq and Session Mismatch checks]
-p----emv- OK (418 out of 1217, remaining: 23:15)
test 0571...[RTSP RTP Interleaving Test]
s----oemv- OK (419 out of 1217, remaining: 23:12)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
-p----emv- OK (420 out of 1217, remaining: 23:10)
test 0573...[verify connect time with multi interface]
-pd---emv- OK (421 out of 1217, remaining: 23:07)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
sp----emv- OK (422 out of 1217, remaining: 23:05)
test 0575...[FTP wildcard download - dup_handle and multi interface]
sp----emv- OK (423 out of 1217, remaining: 23:04)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s-----emv- OK (424 out of 1217, remaining: 23:02)
test 0577...[Funny RTSP version in response]
-p----emv- OK (425 out of 1217, remaining: 22:58)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
--d--oemv- OK (426 out of 1217, remaining: 22:56)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
--d--oemv- OK (427 out of 1217, remaining: 22:55)
test 0580...[multi interface, multiple Location: headers]
-pd---emv- OK (428 out of 1217, remaining: 22:51)
test 0581...[multi interface, multiple Content-Type: headers]
-pd---emv- OK (429 out of 1217, remaining: 22:48)
test 0582 SKIPPED: curl lacks sftp server support
test 0583 SKIPPED: curl lacks sftp server support
test 0585...[socket open/close callbacks]
-pd---emv- OK (432 out of 1217, remaining: 22:36)
test 0586...[FTP and open/close socket callbacks]
-pd---emv- OK (433 out of 1217, remaining: 22:33)
test 0587...[HTTP multi-part formpost with aborted read callback]
-p----emv- OK (434 out of 1217, remaining: 22:30)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
-p-u--emv- OK (435 out of 1217, remaining: 22:27)
test 0589...[make a HTTP MIME POST set to NULL]
-pd---emv- OK (436 out of 1217, remaining: 22:24)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
-pd---emv- OK (437 out of 1217, remaining: 22:22)
test 0591...[FTP multi PORT and 425 on upload]
-p----emv- OK (438 out of 1217, remaining: 22:19)
test 0592...[FTP multi PORT and 421 on upload]
-p----emv- OK (439 out of 1217, remaining: 22:16)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
-p----emv- OK (440 out of 1217, remaining: 22:17)
test 0595...[verify close callbacks with passive FTP]
-pd---emv- OK (441 out of 1217, remaining: 22:14)
test 0596...[verify close callbacks with active FTP]
-pd---emv- OK (442 out of 1217, remaining: 22:11)
test 0597...[FTP connect only option]
-p----emv- OK (443 out of 1217, remaining: 22:08)
test 0598...[curl_easy_reset with referer and other strings set]
-pd---emv- OK (444 out of 1217, remaining: 22:05)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
--d--oemv- OK (445 out of 1217, remaining: 22:03)
test 0600 SKIPPED: curl lacks sftp server support
test 0601 SKIPPED: curl lacks scp server support
test 0603 SKIPPED: curl lacks scp server support
test 0605 SKIPPED: curl lacks scp server support
test 0632 SKIPPED: curl lacks sftp support
test 0643...[HTTP multi-part mimepost using read callback for the file part]
-pd---emv- OK (489 out of 1217, remaining: 18:57)
test 0644...[HTTP multi-part formpost with aborted read callback]
-p----emv- OK (490 out of 1217, remaining: 18:55)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
-pd---emv- OK (491 out of 1217, remaining: 18:55)
test 0646...[SMTP multipart using mime API]
-p-u--emv- OK (492 out of 1217, remaining: 18:56)
test 0647...[IMAP APPEND multipart using mime API]
-p-u--emv- OK (493 out of 1217, remaining: 18:57)
test 0648...[SMTP multipart with transfer content encoders]
-p-u--emv- OK (494 out of 1217, remaining: 18:55)
test 0649...[SMTP multipart with 7bit encoder error]
-p-u--emv- OK (495 out of 1217, remaining: 18:53)
test 0650...[HTTP formpost using form API]
-pd---emv- OK (496 out of 1217, remaining: 18:53)
test 0651...[curl_formadd with huge COPYCONTENTS]
-pd---emv- OK (497 out of 1217, remaining: 18:52)
test 0652...[SMTP with encoded huge mime data contents]
-p-u--emv- OK (498 out of 1217, remaining: 18:49)
test 0653...[Reuse of handle after altering mime data]
-pd---emv- OK (499 out of 1217, remaining: 18:47)
test 0654...[HTTP duplicate easy handle with mime data]
-pd---emv- OK (500 out of 1217, remaining: 18:47)
test 0655...[resolver start callback]
--d---emv- OK (501 out of 1217, remaining: 18:44)
test 0658...[HTTP GET]
-p----emv- OK (503 out of 1217, remaining: 18:38)
test 0700...[HTTP GET via SOCKS4 proxy]
-pd---emv- OK (504 out of 1217, remaining: 18:36)
test 0701...[HTTP GET via SOCKS5 proxy]
-pd---emv- OK (505 out of 1217, remaining: 18:34)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
------emv- OK (506 out of 1217, remaining: 18:32)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
------emv- OK (507 out of 1217, remaining: 18:30)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
------emv- OK (508 out of 1217, remaining: 18:27)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
------emv- OK (509 out of 1217, remaining: 18:25)
test 0706...[FTP dir list PASV via SOCKS4]
-pd---emv- OK (510 out of 1217, remaining: 18:23)
test 0707...[FTP dir list PASV via SOCKS5]
-pd---emv- OK (511 out of 1217, remaining: 18:21)
test 0708...[HTTP GET via SOCKS4 proxy]
-pd---emv- OK (512 out of 1217, remaining: 18:19)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
-pd---emv- OK (513 out of 1217, remaining: 18:17)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
-pd---emv- OK (514 out of 1217, remaining: 18:15)
test 0711...[FTP fetch with all_proxy set to socks5]
-pd---emv- OK (515 out of 1217, remaining: 18:13)
test 0712...[FTP fetch with --proxy set to socks5://]
-pd---emv- OK (516 out of 1217, remaining: 18:11)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
-pd---emv- OK (517 out of 1217, remaining: 18:09)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
-p----emv- OK (518 out of 1217, remaining: 18:09)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
-p----emv- OK (519 out of 1217, remaining: 18:09)
test 0800...[IMAP FETCH message]
-pd---emv- OK (520 out of 1217, remaining: 18:07)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
-pd---emv- OK (521 out of 1217, remaining: 18:05)
test 0802...[IMAP SELECT UIDVALIDITY Success]
-pd---emv- OK (522 out of 1217, remaining: 18:04)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
-p----emv- OK (523 out of 1217, remaining: 18:02)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
-pd---emv- OK (524 out of 1217, remaining: 18:00)
test 0805...[IMAP APPEND message]
-p-u--emv- OK (525 out of 1217, remaining: 17:58)
test 0806...[IMAP LIST mailbox]
-pd---emv- OK (526 out of 1217, remaining: 17:56)
test 0807...[IMAP LSUB mailbox]
-pd---emv- OK (527 out of 1217, remaining: 17:54)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
-pd---emv- OK (528 out of 1217, remaining: 17:52)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
-pd---emv- OK (529 out of 1217, remaining: 17:50)
test 0810...[IMAP SEARCH for NEW messages]
-pd---emv- OK (530 out of 1217, remaining: 17:48)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
-p----emv- OK (531 out of 1217, remaining: 17:46)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
-p----emv- OK (532 out of 1217, remaining: 17:44)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
-p----emv- OK (533 out of 1217, remaining: 17:42)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
-p----emv- OK (534 out of 1217, remaining: 17:40)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
-p----emv- OK (535 out of 1217, remaining: 17:38)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
-p----emv- OK (536 out of 1217, remaining: 17:37)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
-p----emv- OK (537 out of 1217, remaining: 17:35)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
-pd---emv- OK (538 out of 1217, remaining: 17:33)
test 0819...[IMAP plain authentication]
-pd---emv- OK (539 out of 1217, remaining: 17:31)
test 0820...[IMAP login authentication]
-pd---emv- OK (540 out of 1217, remaining: 17:29)
test 0821...[IMAP CRAM-MD5 authentication]
-pd---emv- OK (541 out of 1217, remaining: 17:27)
test 0822...[IMAP NTLM authentication]
-pd---emv- OK (542 out of 1217, remaining: 17:26)
test 0823...[IMAP DIGEST-MD5 authentication]
-pd---emv- OK (543 out of 1217, remaining: 17:24)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
-pd---emv- OK (544 out of 1217, remaining: 17:22)
test 0825...[IMAP plain authentication with initial response]
-pd---emv- OK (545 out of 1217, remaining: 17:20)
test 0826...[IMAP login authentication with initial response]
-pd---emv- OK (546 out of 1217, remaining: 17:18)
test 0827...[IMAP NTLM authentication with initial response]
-pd---emv- OK (547 out of 1217, remaining: 17:17)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
-pd---emv- OK (548 out of 1217, remaining: 17:15)
test 0829...[IMAP with URL-encoded CR LF in the URL]
------emv- OK (549 out of 1217, remaining: 17:13)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
-p----emv- OK (550 out of 1217, remaining: 17:11)
test 0831...[IMAP NTLM graceful cancellation]
-p----emv- OK (551 out of 1217, remaining: 17:09)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
-p----emv- OK (552 out of 1217, remaining: 17:07)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
-pd---emv- OK (553 out of 1217, remaining: 17:05)
test 0834...[IMAP NTLM authentication with SASL downgrade]
-pd---emv- OK (554 out of 1217, remaining: 17:04)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
-pd---emv- OK (555 out of 1217, remaining: 17:02)
test 0837...[IMAP external authentication]
-pd---emv- OK (556 out of 1217, remaining: 17:00)
test 0838...[IMAP external authentication without credentials]
-pd---emv- OK (557 out of 1217, remaining: 16:58)
test 0839...[IMAP external authentication with initial response]
-pd---emv- OK (558 out of 1217, remaining: 16:56)
test 0840...[IMAP external authentication with initial response without credentials]
-pd---emv- OK (559 out of 1217, remaining: 16:55)
test 0841...[IMAP custom request doesn't check continuation data]
-pd---emv- OK (560 out of 1217, remaining: 16:53)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
-pd---emv- OK (561 out of 1217, remaining: 16:51)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-pd---emv- OK (562 out of 1217, remaining: 16:49)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (563 out of 1217, remaining: 16:47)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (564 out of 1217, remaining: 16:45)
test 0846...[IMAP PREAUTH response]
-pd---emv- OK (565 out of 1217, remaining: 16:44)
test 0847...[IMAP FETCH message]
-pd---emv- OK (566 out of 1217, remaining: 16:42)
test 0850...[POP3 RETR message]
-pd---emv- OK (567 out of 1217, remaining: 16:42)
test 0851...[POP3 LIST one message]
-p----emv- OK (568 out of 1217, remaining: 16:40)
test 0852...[POP3 LIST invalid message]
-p----emv- OK (569 out of 1217, remaining: 16:38)
test 0853...[POP3 LIST messages from *SLOW* server]
-pd---emv- OK (570 out of 1217, remaining: 16:40)
test 0854...[POP3 LIST no messages available]
-p----emv- OK (571 out of 1217, remaining: 16:38)
test 0855...[POP3 RETR invalid message]
-p----emv- OK (572 out of 1217, remaining: 16:36)
test 0856...[POP3 invalid login]
-p----emv- OK (573 out of 1217, remaining: 16:34)
test 0857...[POP3 RETR message with dot-prefixed line]
-pd---emv- OK (574 out of 1217, remaining: 16:32)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
-p----emv- OK (575 out of 1217, remaining: 16:30)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
-p----emv- OK (576 out of 1217, remaining: 16:28)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
-p----emv- OK (577 out of 1217, remaining: 16:26)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
-pd---emv- OK (578 out of 1217, remaining: 16:24)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
-pd---emv- OK (579 out of 1217, remaining: 16:22)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
-p----emv- OK (580 out of 1217, remaining: 16:20)
test 0864...[POP3 APOP authentication]
-pd---emv- OK (581 out of 1217, remaining: 16:18)
test 0865...[POP3 plain authentication]
-pd---emv- OK (582 out of 1217, remaining: 16:17)
test 0866...[POP3 login authentication]
-pd---emv- OK (583 out of 1217, remaining: 16:15)
test 0867...[POP3 CRAM-MD5 authentication]
-pd---emv- OK (584 out of 1217, remaining: 16:13)
test 0868...[POP3 NTLM authentication]
-pd---emv- OK (585 out of 1217, remaining: 16:11)
test 0869...[POP3 DIGEST-MD5 authentication]
-pd---emv- OK (586 out of 1217, remaining: 16:09)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
-pd---emv- OK (587 out of 1217, remaining: 16:07)
test 0871...[POP3 plain authentication with initial response]
-pd---emv- OK (588 out of 1217, remaining: 16:06)
test 0872...[POP3 login authentication with initial response]
-pd---emv- OK (589 out of 1217, remaining: 16:04)
test 0873...[POP3 NTLM authentication with initial response]
-pd---emv- OK (590 out of 1217, remaining: 16:02)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
-pd---emv- OK (591 out of 1217, remaining: 16:00)
test 0875...[POP3 with URL-encoded CR LF in the URL]
------emv- OK (592 out of 1217, remaining: 15:58)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
-p----emv- OK (593 out of 1217, remaining: 15:56)
test 0877...[POP3 NTLM graceful cancellation]
-p----emv- OK (594 out of 1217, remaining: 15:54)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
-p----emv- OK (595 out of 1217, remaining: 15:53)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
-pd---emv- OK (596 out of 1217, remaining: 15:51)
test 0880...[POP3 NTLM authentication with SASL downgrade]
-pd---emv- OK (597 out of 1217, remaining: 15:49)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
-pd---emv- OK (598 out of 1217, remaining: 15:47)
test 0883...[POP3 external authentication]
-pd---emv- OK (599 out of 1217, remaining: 15:45)
test 0884...[POP3 external authentication without credentials]
-pd---emv- OK (600 out of 1217, remaining: 15:43)
test 0885...[POP3 external authentication with initial response]
-pd---emv- OK (601 out of 1217, remaining: 15:42)
test 0886...[POP3 external authentication with initial response without credentials]
-pd---emv- OK (602 out of 1217, remaining: 15:40)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
-pd---emv- OK (603 out of 1217, remaining: 15:38)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-pd---emv- OK (604 out of 1217, remaining: 15:36)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (605 out of 1217, remaining: 15:34)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (606 out of 1217, remaining: 15:32)
test 0891...[POP3 with short authentication response]
-p----emv- OK (607 out of 1217, remaining: 15:31)
test 0900...[SMTP]
-p-u--emv- OK (608 out of 1217, remaining: 15:29)
test 0901...[SMTP with CRLF-dot-CRLF in data]
-p-u--emv- OK (609 out of 1217, remaining: 15:27)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
-p-u--emv- OK (610 out of 1217, remaining: 15:25)
test 0903...[SMTP plain authentication]
-p-u--emv- OK (611 out of 1217, remaining: 15:23)
test 0904...[SMTP login authentication]
-p-u--emv- OK (612 out of 1217, remaining: 15:21)
test 0905...[SMTP CRAM-MD5 authentication]
-p-u--emv- OK (613 out of 1217, remaining: 15:20)
test 0906...[SMTP NTLM authentication]
-p-u--emv- OK (614 out of 1217, remaining: 15:18)
test 0907...[SMTP DIGEST-MD5 authentication]
-p-u--emv- OK (615 out of 1217, remaining: 15:16)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
-p-u--emv- OK (616 out of 1217, remaining: 15:14)
test 0909...[SMTP without SIZE support]
-p-u--emv- OK (617 out of 1217, remaining: 15:12)
test 0910...[SMTP without terminating CRLF]
-p-u--emv- OK (618 out of 1217, remaining: 15:10)
test 0911...[SMTP with no mail data]
-p-u--emv- OK (619 out of 1217, remaining: 15:09)
test 0912...[SMTP with SIZE support]
-p-u--emv- OK (620 out of 1217, remaining: 15:07)
test 0913...[SMTP with large message SIZE]
-p----emv- OK (621 out of 1217, remaining: 15:05)
test 0914...[SMTP invalid --mail-from]
-p----emv- OK (622 out of 1217, remaining: 15:03)
test 0915...[SMTP without --mail-from]
-p-u--emv- OK (623 out of 1217, remaining: 15:01)
test 0916...[SMTP with invalid --mail-rcpt]
-p----emv- OK (624 out of 1217, remaining: 14:59)
test 0917...[SMTP with multiple --mail-rcpt]
-p-u--emv- OK (625 out of 1217, remaining: 14:58)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
-p----emv- OK (626 out of 1217, remaining: 14:56)
test 0919...[SMTP plain authentication with initial response]
-p-u--emv- OK (627 out of 1217, remaining: 14:54)
test 0920...[SMTP login authentication with initial response]
-p-u--emv- OK (628 out of 1217, remaining: 14:52)
test 0921...[SMTP NTLM authentication with initial response]
-p-u--emv- OK (629 out of 1217, remaining: 14:50)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
-p-u--emv- OK (630 out of 1217, remaining: 14:49)
test 0923...[SMTP VRFY]
-pd---emv- OK (631 out of 1217, remaining: 14:47)
test 0924...[SMTP ambiguous VRFY]
-pd---emv- OK (632 out of 1217, remaining: 14:45)
test 0925...[SMTP external VRFY]
-pd---emv- OK (633 out of 1217, remaining: 14:43)
test 0926...[SMTP unknown user VRFY]
-p----emv- OK (634 out of 1217, remaining: 14:41)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
-pd---emv- OK (635 out of 1217, remaining: 14:40)
test 0928...[SMTP HELP]
-pd---emv- OK (636 out of 1217, remaining: 14:38)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
-p----emv- OK (637 out of 1217, remaining: 14:36)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
-p----emv- OK (638 out of 1217, remaining: 14:34)
test 0931...[SMTP with URL-encoded CR LF in the URL]
------emv- OK (639 out of 1217, remaining: 14:32)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
-p----emv- OK (640 out of 1217, remaining: 14:30)
test 0933...[SMTP NTLM graceful cancellation]
-p----emv- OK (641 out of 1217, remaining: 14:29)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
-p----emv- OK (642 out of 1217, remaining: 14:27)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
-p-u--emv- OK (643 out of 1217, remaining: 14:25)
test 0936...[SMTP NTLM authentication with SASL downgrade]
-p-u--emv- OK (644 out of 1217, remaining: 14:23)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
-p-u--emv- OK (645 out of 1217, remaining: 14:22)
test 0939...[RFC821-only SMTP with username and password]
-p-u--emv- OK (646 out of 1217, remaining: 14:20)
test 0940...[SMTP with username and password but no AUTH capability]
-p-u--emv- OK (647 out of 1217, remaining: 14:18)
test 0941...[SMTP with --crlf]
-p-u--emv- OK (648 out of 1217, remaining: 14:16)
test 0942...[SMTP external authentication]
-p-u--emv- OK (649 out of 1217, remaining: 14:14)
test 0943...[SMTP external authentication without credentials]
-p-u--emv- OK (650 out of 1217, remaining: 14:13)
test 0944...[SMTP external authentication with initial response]
-p-u--emv- OK (651 out of 1217, remaining: 14:11)
test 0945...[SMTP external authentication with initial response without credentials]
-p-u--emv- OK (652 out of 1217, remaining: 14:09)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
-p-u--emv- OK (653 out of 1217, remaining: 14:07)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
-p-u--emv- OK (654 out of 1217, remaining: 14:06)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
-p----emv- OK (655 out of 1217, remaining: 14:04)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
-p----emv- OK (656 out of 1217, remaining: 14:02)
test 0950...[SMTP VRFY with custom request]
-pd---emv- OK (657 out of 1217, remaining: 14:00)
test 0951...[SMTP data with dot as first character]
-p-u--emv- OK (658 out of 1217, remaining: 13:59)
test 0952...[SMTP data with single dot-only line]
-p-u--emv- OK (659 out of 1217, remaining: 13:57)
test 1000...[FTP dir list PASV with -I]
-p----emv- OK (660 out of 1217, remaining: 13:55)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
-pd---emv- OK (661 out of 1217, remaining: 13:54)
test 1002...[HTTP POST --digest with PUT and resumed upload and modified method, twice]
-pd---emv- OK (662 out of 1217, remaining: 13:54)
test 1003...[FTP with excessively large server command response line]
-pd---emv- OK (663 out of 1217, remaining: 13:52)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
-pd---em-- OK (664 out of 1217, remaining: 13:50)
test 1005...[FTP with excessively large number of server command response lines]
-pd---emv- OK (665 out of 1217, remaining: 13:48)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
-pd---emv- OK (666 out of 1217, remaining: 13:46)
test 1007...[TFTP send with invalid permission on server]
-p----emv- OK (667 out of 1217, remaining: 13:45)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
-pd---emv- OK (668 out of 1217, remaining: 13:43)
test 1009...[TFTP retrieve with --local-port]
-pd---emv- OK (669 out of 1217, remaining: 13:41)
test 1010...[FTP dir list nocwd]
-pd---emv- OK (670 out of 1217, remaining: 13:39)
test 1011...[HTTP POST with 301 redirect]
-pd---emv- OK (671 out of 1217, remaining: 13:38)
test 1012...[HTTP POST with 301 redirect and --post301]
-pd---emv- OK (672 out of 1217, remaining: 13:36)
test 1013...[Compare curl --version with curl-config --protocols]
------emv- OK (673 out of 1217, remaining: 13:34)
test 1014...[Compare curl --version with curl-config --features]
------emv- OK (674 out of 1217, remaining: 13:32)
test 1015...[--data-urlencode]
-pd---emv- OK (675 out of 1217, remaining: 13:30)
test 1016...[X-Y range on a file:// URL to stdout]
s-----emv- OK (676 out of 1217, remaining: 13:29)
test 1017...[0-Y range on a file:// URL to stdout]
s-----emv- OK (677 out of 1217, remaining: 13:27)
test 1018...[X-X range on a file:// URL to stdout]
s-----emv- OK (678 out of 1217, remaining: 13:25)
test 1019...[X- range on a file:// URL to stdout]
s-----emv- OK (679 out of 1217, remaining: 13:23)
test 1020...[-Y range on a file:// URL to stdout]
s-----emv- OK (680 out of 1217, remaining: 13:21)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
-pd---emv- OK (681 out of 1217, remaining: 13:20)
test 1022...[Compare curl --version with curl-config --version]
------emv- OK (682 out of 1217, remaining: 13:18)
test 1023...[Compare curl --version with curl-config --vernum]
------emv- OK (683 out of 1217, remaining: 13:16)
test 1024...[HTTP Location: following with cookies]
-pd---emv- OK (684 out of 1217, remaining: 13:14)
test 1025...[HTTP Location: following with command-line and server cookies]
-pd---emv- OK (685 out of 1217, remaining: 13:13)
test 1026...[curl --manual ]
------emv- OK (686 out of 1217, remaining: 13:11)
test 1027...[curl --help]
------emv- OK (687 out of 1217, remaining: 13:09)
test 1028...[HTTP Location: redirect to FTP URL]
sp----emv- OK (688 out of 1217, remaining: 13:07)
test 1029...[HTTP Location: and 'redirect_url' check]
sp----emv- OK (689 out of 1217, remaining: 13:05)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
-pd---emv- OK (690 out of 1217, remaining: 13:05)
test 1031...[HTTP Location: following to a query string]
-pd---emv- OK (691 out of 1217, remaining: 13:04)
test 1032...[HTTP HEAD with --range]
-pd---emv- OK (692 out of 1217, remaining: 13:02)
test 1033...[HTTP GET with 102 response!]
-pd---emv- OK (693 out of 1217, remaining: 13:00)
test 1034...[HTTP over proxy with malformatted IDN host name]
------emv- OK (694 out of 1217, remaining: 12:58)
test 1035...[HTTP over proxy with too long IDN host name]
------emv- OK (695 out of 1217, remaining: 12:57)
test 1036...[FTP download resume from end of file]
-p---oemv- OK (696 out of 1217, remaining: 12:55)
test 1037...[FTP download resume from end of empty file]
-p----emv- OK (697 out of 1217, remaining: 12:53)
test 1038...[FTP PASV upload resume from end of file]
-p-u--emv- OK (698 out of 1217, remaining: 12:51)
test 1039...[FTP PASV upload resume from end of empty file]
-p-u--emv- OK (699 out of 1217, remaining: 12:50)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
-pd---emv- OK (700 out of 1217, remaining: 12:48)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
-pd---emv- OK (701 out of 1217, remaining: 12:47)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
-pd---emv- OK (702 out of 1217, remaining: 12:45)
test 1043...[HTTP GET with resume from end of file]
-pd---emv- OK (703 out of 1217, remaining: 12:44)
test 1044...[FTP download large file info with -I]
sp----emv- OK (704 out of 1217, remaining: 12:42)
test 1045...[HTTP GET with numeric localhost --interface]
-pd---emv- OK (705 out of 1217, remaining: 12:40)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
-pd---emv- OK (706 out of 1217, remaining: 12:39)
test 1047...[FTP dir list PASV with localhost --interface]
-pd---emv- OK (707 out of 1217, remaining: 12:37)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
-pd---emv- OK (708 out of 1217, remaining: 12:35)
test 1049...[TFTP retrieve with localhost --interface]
-pd---emv- OK (709 out of 1217, remaining: 12:34)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
-pd---emv- OK (710 out of 1217, remaining: 12:32)
test 1051...[HTTP PUT with Location: following]
-pd---emv- OK (711 out of 1217, remaining: 12:32)
test 1052...[HTTP 1.0 PUT with Location: following]
-pd---emv- OK (712 out of 1217, remaining: 12:30)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
-pd---emv- OK (713 out of 1217, remaining: 12:28)
test 1054...[HTTP POST from file with 301 redirect and --post301]
-pd---emv- OK (714 out of 1217, remaining: 12:27)
test 1055...[HTTP PUT Location: redirect to FTP URL]
-pdu--emv- OK (715 out of 1217, remaining: 12:26)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
-pd---emv- OK (716 out of 1217, remaining: 12:24)
test 1057...[FTP retrieve a byte-range relative to end of file]
-pd---emv- OK (717 out of 1217, remaining: 12:22)
test 1058...[HTTP range relative to end of file]
-pd---emv- OK (718 out of 1217, remaining: 12:21)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
-p----emv- OK (719 out of 1217, remaining: 12:19)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
-pd---emv- OK (720 out of 1217, remaining: 12:19)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
-pd---emv- OK (721 out of 1217, remaining: 12:19)
test 1062...[FTP with excessively long server command response lines, boundary condition]
-pd---emv- OK (722 out of 1217, remaining: 12:17)
test 1063...[Invalid large X- range on a file://]
------emv- OK (723 out of 1217, remaining: 12:15)
test 1064...[HTTP PUT twice]
sp----emv- OK (724 out of 1217, remaining: 12:14)
test 1065...[HTTP PUT with one file but two URLs]
sp----emv- OK (725 out of 1217, remaining: 12:12)
test 1066...[HTTP --dump-header - with two URLs]
sp----emv- OK (726 out of 1217, remaining: 12:10)
test 1067...[HTTP Location: following with auto-referer]
-pd---emv- OK (727 out of 1217, remaining: 12:09)
test 1068...[HTTP PUT from stdin]
-pd---emv- OK (728 out of 1217, remaining: 12:08)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
------emv- OK (729 out of 1217, remaining: 12:06)
test 1070...[HTTP POST with server closing connection before (all) data is received]
-pd---emv- OK (730 out of 1217, remaining: 12:05)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
-pd---emv- OK (731 out of 1217, remaining: 12:04)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
-pd---emv- OK (732 out of 1217, remaining: 12:03)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
-pd---emv- OK (733 out of 1217, remaining: 12:02)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
sp----emv- OK (734 out of 1217, remaining: 12:01)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
-pd---emv- OK (735 out of 1217, remaining: 12:01)
test 1076...[HTTP POST with 302 redirect and --post302]
-pd---emv- OK (736 out of 1217, remaining: 11:59)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
-pd---emv- OK (737 out of 1217, remaining: 11:58)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
sp--P-emv- OK (738 out of 1217, remaining: 11:56)
test 1079...[HTTP retry after closed connection and empty response]
-pd---emv- OK (739 out of 1217, remaining: 11:55)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
sp----emv- OK (740 out of 1217, remaining: 11:53)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
sp----emv- OK (741 out of 1217, remaining: 11:51)
test 1082...[HTTP GET with localhost --interface]
-pd---emv- OK (742 out of 1217, remaining: 11:50)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
-pd---emv- OK (743 out of 1217, remaining: 11:48)
test 1084...[HTTP GET with invalid --interface]
------emv- OK (744 out of 1217, remaining: 11:46)
test 1085...[HTTP-IPv6 GET with invalid --interface]
------emv- OK (745 out of 1217, remaining: 11:45)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
-p----emv- OK (746 out of 1217, remaining: 11:51)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
-pd---emv- OK (747 out of 1217, remaining: 11:49)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
-pd---emv- OK (748 out of 1217, remaining: 11:48)
test 1089...[HTTP GET --write-out with redirected fetch]
sp----emv- OK (749 out of 1217, remaining: 11:46)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
sp----emv- OK (750 out of 1217, remaining: 11:44)
test 1091...[FTP URL with type=i]
-pd---emv- OK (751 out of 1217, remaining: 11:44)
test 1092...[FTP with type=i over HTTP proxy]
-pd---emv- OK (752 out of 1217, remaining: 11:42)
test 1093...[TFTP retrieve with mode=i]
-pd---emv- OK (753 out of 1217, remaining: 11:40)
test 1094...[TFTP retrieve with mode=netascii]
-pd---emv- OK (754 out of 1217, remaining: 11:39)
test 1095...[HTTP with Digest and realm with quoted quotes]
-pd---emv- OK (755 out of 1217, remaining: 11:37)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
-p----emv- OK (756 out of 1217, remaining: 11:35)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
-pd---emv- OK (757 out of 1217, remaining: 11:34)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
sp----emv- OK (758 out of 1217, remaining: 11:32)
test 1099...[TFTP get first a non-existing file then an existing]
sp----emv- OK (759 out of 1217, remaining: 11:30)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
-pd---emv- OK (760 out of 1217, remaining: 11:29)
test 1101...[NO_PROXY test, with user name in URL]
-pd---emv- OK (761 out of 1217, remaining: 11:27)
test 1102...[FTP OS/400 server name format check]
-p----emv- OK (762 out of 1217, remaining: 11:25)
test 1103...[FTP non-OS/400 server]
-p----emv- OK (763 out of 1217, remaining: 11:24)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
-pd---emv- OK (764 out of 1217, remaining: 11:22)
test 1105...[HTTP with cookie parser and header recording]
-pd--oemv- OK (765 out of 1217, remaining: 11:20)
test 1106...[FTP URL and with ftp_proxy environment variable set]
-p----emv- OK (766 out of 1217, remaining: 11:18)
test 1107...[FTP RETR PASV with PRET]
-pd---emv- OK (767 out of 1217, remaining: 11:17)
test 1108...[FTP RETR PASV with PRET not supported]
-p----emv- OK (768 out of 1217, remaining: 11:15)
test 1109...[HTTP GET with URL that contains fragment after the path]
-pd---emv- OK (769 out of 1217, remaining: 11:13)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
-pd---emv- OK (770 out of 1217, remaining: 11:12)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
-pd---emv- OK (771 out of 1217, remaining: 11:10)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==16979== Invalid read of size 8
==16979== at 0x5E745A5: check_free (dlerror.c:188)
==16979== by 0x5E74AB1: free_key_mem (dlerror.c:221)
==16979== by 0x5E74AB1: __dlerror_main_freeres (dlerror.c:239)
==16979== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16979== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16979== by 0x559AF49: __run_exit_handlers (exit.c:132)
==16979== by 0x559AF79: exit (exit.c:139)
==16979== by 0x55850A1: (below main) (libc-start.c:342)
==16979== Address 0x66ad340 is 0 bytes after a block of size 32 alloc'd
==16979== at 0x483577F: malloc (vg_replace_malloc.c:299)
==16979== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==16979== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==16979== by 0x4DD0E85: err_get_state (err.c:210)
==16979== by 0x4DD1A5D: ERR_put_error (err.c:636)
==16979== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==16979== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==16979== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==16979== by 0x4E91358: by_file_ctrl (by_file.c:111)
==16979== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==16979== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==16979== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==16979== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==16979== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==16979== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==16979== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==16979==
==16979== Invalid free() / delete / delete[] / realloc()
==16979== at 0x48369AB: free (vg_replace_malloc.c:530)
==16979== by 0x5E74AB9: free_key_mem (dlerror.c:223)
==16979== by 0x5E74AB9: __dlerror_main_freeres (dlerror.c:239)
==16979== by 0x56C9F81: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16979== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16979== by 0x559AF49: __run_exit_handlers (exit.c:132)
==16979== by 0x559AF79: exit (exit.c:139)
==16979== by 0x55850A1: (below main) (libc-start.c:342)
==16979== Address 0x66ad328 is 8 bytes inside a block of size 32 alloc'd
==16979== at 0x483577F: malloc (vg_replace_malloc.c:299)
==16979== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==16979== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==16979== by 0x4DD0E85: err_get_state (err.c:210)
==16979== by 0x4DD1A5D: ERR_put_error (err.c:636)
==16979== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==16979== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==16979== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==16979== by 0x4E91358: by_file_ctrl (by_file.c:111)
==16979== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==16979== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==16979== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==16979== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==16979== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==16979== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==16979== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==16979==
==16979== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 24
==16979== at 0x483577F: malloc (vg_replace_malloc.c:299)
==16979== by 0x4DCEEFE: OPENSSL_malloc (mem.c:79)
==16979== by 0x4DCF8C9: CRYPTO_set_thread_local (thread_pthread.c:152)
==16979== by 0x4DD0E85: err_get_state (err.c:210)
==16979== by 0x4DD1A5D: ERR_put_error (err.c:636)
==16979== by 0x4E8B834: PEM_read_bio (pem_lib.c:621)
==16979== by 0x4E895AA: PEM_X509_INFO_read_bio (pem_info.c:119)
==16979== by 0x4E91854: X509_load_cert_crl_file (by_file.c:253)
==16979== by 0x4E91358: by_file_ctrl (by_file.c:111)
==16979== by 0x4E9734C: X509_LOOKUP_ctrl (x509_lu.c:123)
==16979== by 0x4E968F8: X509_STORE_load_locations (x509_d2.c:91)
==16979== by 0x4B528B8: SSL_CTX_load_verify_locations (ssl_x509.cc:689)
==16979== by 0x1AE784: ossl_connect_step1 (openssl.c:2597)
==16979== by 0x1B1073: ossl_connect_common (openssl.c:3538)
==16979== by 0x1B131E: Curl_ossl_connect (openssl.c:3632)
==16979== by 0x16632B: Curl_ssl_connect (vtls.c:251)
==16979==
== 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 th
=== End of file curl1112.out
=== Start of file ftp_server.log
03:12:52.981161 ====> Client connect
03:12:52.981286 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:12:52.981702 < "USER anonymous"
03:12:52.981734 > "331 We are happy you popped in![CR][LF]"
03:12:52.982062 < "PASS ftp@example.com"
03:12:52.982086 > "230 Welcome you silly person[CR][LF]"
03:12:52.982360 < "PBSZ 0"
03:12:52.982384 > "500 PBSZ not implemented[CR][LF]"
03:12:52.982659 < "PROT C"
03:12:52.982680 > "500 PROT not implemented[CR][LF]"
03:12:52.982912 < "PWD"
03:12:52.982935 > "257 "/" is current directory[CR][LF]"
03:12:52.983144 < "EPSV"
03:12:52.983166 ====> Passive DATA channel requested by client
03:12:52.983177 DATA sockfilt for passive data channel starting...
03:12:52.984930 DATA sockfilt for passive data channel started (pid 16959)
03:12:52.985015 DATA sockfilt for passive data channel listens on port 40887
03:12:52.985047 > "229 Entering Passive Mode (|||40887|)[LF]"
03:12:52.985065 Client has been notified that DATA conn will be accepted on port 40887
03:12:52.985288 Client connects to port 40887
03:12:52.985309 ====> Client established passive DATA connection on port 40887
03:12:52.985419 < "TYPE I"
03:12:52.985445 > "200 I modify TYPE as you wanted[CR][LF]"
03:12:52.985690 < "SIZE verifiedserver"
03:12:52.985722 > "213 17[CR][LF]"
03:12:52.985969 < "RETR verifiedserver"
03:12:52.986001 > "150 Binary junk (17 bytes).[CR][LF]"
03:12:52.986051 =====> Closing passive DATA connection...
03:12:52.986068 Server disconnects passive DATA connection
03:12:52.986124 DATA sockfilt for passive data channel quits (pid 16960)
03:12:52.986138 =====> Closed passive DATA connection
03:12:52.986159 > "226 File transfer complete[CR][LF]"
03:12:53.028926 < "QUIT"
03:12:53.028960 > "221 bye bye baby[CR][LF]"
03:12:53.029086 MAIN sockfilt said DISC
03:12:53.029104 ====> Client disconnected
03:12:53.029147 Awaiting input
03:12:56.803864 ====> Client connect
03:12:56.803959 FTPD: Getting commands from log/ftpserver.cmd
03:12:56.803985 FTPD: send response with 0.01 sec delay between each byte
03:12:56.804056 FTPD: set custom reply for USER command
03:12:56.804094 FTPD: set custom reply for PASS command
03:12:56.804129 FTPD: set custom reply for PWD command
03:12:56.804160 FTPD: set custom reply for TYPE command
03:12:58.414837 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:12:58.414980 < "USER anonymous"
03:12:58.495564 > "331 OK[CR][LF]"
03:12:58.495680 < "PASS ftp@example.com"
03:12:58.576250 > "230 OK[CR][LF]"
03:12:58.576365 < "PBSZ 0"
03:12:58.838104 > "500 PBSZ not implemented[CR][LF]"
03:12:58.838266 < "PROT C"
03:12:59.100030 > "500 PROT not implemented[CR][LF]"
03:12:59.100152 < "PWD"
03:12:59.190760 > "257 "/"[CR][LF]"
03:12:59.190870 < "EPSV"
03:12:59.190899 ====> Passive DATA channel requested by client
03:12:59.190912 DATA sockfilt for passive data channel starting...
03:12:59.192579 DATA sockfilt for passive data channel started (pid 16983)
03:12:59.192686 DATA sockfilt for passive data channel listens on port 42755
03:12:59.575156 > "229 Entering Passive Mode (|||42755|)[LF]"
03:12:59.575202 Client has been notified that DATA conn will be accepted on port 42755
03:12:59.575237 Client connects to port 42755
03:12:59.575258 ====> Client established passive DATA connection on port 42755
03:12:59.577943 < "TYPE I"
03:12:59.658512 > "200 OK[CR][LF]"
03:12:59.658623 < "SIZE 1112"
03:12:59.759626 > "213 3600[CR][LF]"
03:12:59.759788 < "RETR 1112"
03:13:00.303859 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:12:52.192401 ====> Client connect
03:12:52.192618 Received DATA (on stdin)
03:12:52.192643 > 160 bytes data, server => client
03:12:52.192661 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:12:52.192677 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:12:52.192690 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:12:52.192949 < 16 bytes data, client => server
03:12:52.192972 'USER anonymous\r\n'
03:12:52.193080 Received DATA (on stdin)
03:12:52.193104 > 33 bytes data, server => client
03:12:52.193119 '331 We are happy you popped in!\r\n'
03:12:52.193351 < 22 bytes data, client => server
03:12:52.193374 'PASS ftp@example.com\r\n'
03:12:52.193429 Received DATA (on stdin)
03:12:52.193453 > 30 bytes data, server => client
03:12:52.193468 '230 Welcome you silly person\r\n'
03:12:52.193653 < 8 bytes data, client => server
03:12:52.193675 'PBSZ 0\r\n'
03:12:52.193723 Received DATA (on stdin)
03:12:52.193737 > 26 bytes data, server => client
03:12:52.193751 '500 PBSZ not implemented\r\n'
03:12:52.193953 < 8 bytes data, client => server
03:12:52.193968 'PROT C\r\n'
03:12:52.194018 Received DATA (on stdin)
03:12:52.194031 > 26 bytes data, server => client
03:12:52.194045 '500 PROT not implemented\r\n'
03:12:52.194207 < 5 bytes data, client => server
03:12:52.194221 'PWD\r\n'
03:12:52.194259 Received DATA (on stdin)
03:12:52.194272 > 30 bytes data, server => client
03:12:52.194282 '257 "/" is current directory\r\n'
03:12:52.194430 < 6 bytes data, client => server
03:12:52.194446 'EPSV\r\n'
03:12:52.196385 Received DATA (on stdin)
03:12:52.196400 > 38 bytes data, server => client
03:12:52.196415 '229 Entering Passive Mode (|||40887|)\n'
03:12:52.196707 < 8 bytes data, client => server
03:12:52.196722 'TYPE I\r\n'
03:12:52.196782 Received DATA (on stdin)
03:12:52.196795 > 33 bytes data, server => client
03:12:52.196810 '200 I modify TYPE as you wanted\r\n'
03:12:52.196983 < 21 bytes data, client => server
03:12:52.196998 'SIZE verifiedserver\r\n'
03:12:52.197061 Received DATA (on stdin)
03:12:52.197074 > 8 bytes data, server => client
03:12:52.197087 '213 17\r\n'
03:12:52.197260 < 21 bytes data, client => server
03:12:52.197276 'RETR verifiedserver\r\n'
03:12:52.197325 Received DATA (on stdin)
03:12:52.197336 > 29 bytes data, server => client
03:12:52.197346 '150 Binary junk (17 bytes).\r\n'
03:12:52.197485 Received DATA (on stdin)
03:12:52.197501 > 28 bytes data, server => client
03:12:52.197518 '226 File transfer complete\r\n'
03:12:52.240184 < 6 bytes data, client => server
03:12:52.240211 'QUIT\r\n'
03:12:52.240282 Received DATA (on stdin)
03:12:52.240293 > 18 bytes data, server => client
03:12:52.240303 '221 bye bye baby\r\n'
03:12:52.240387 ====> Client disconnect
03:12:56.015107 ====> Client connect
03:12:56.015561 Received DATA (on stdin)
03:12:56.015589 > 1 bytes data, server => client
03:12:56.015606 '2'
03:12:56.025639 Received DATA (on stdin)
03:12:56.025663 > 1 bytes data, server => client
03:12:56.025677 '2'
03:12:56.035703 Received DATA (on stdin)
03:12:56.035731 > 1 bytes data, server => client
03:12:56.035744 '0'
03:12:56.045772 Received DATA (on stdin)
03:12:56.045797 > 1 bytes data, server => client
03:12:56.045810 '-'
03:12:56.055842 Received DATA (on stdin)
03:12:56.055867 > 1 bytes data, server => client
03:12:56.055880 ' '
03:12:56.065912 Received DATA (on stdin)
03:12:56.065937 > 1 bytes data, server => client
03:12:56.065951 ' '
03:12:56.075977 Received DATA (on stdin)
03:12:56.076010 > 1 bytes data, server => client
03:12:56.076025 ' '
03:12:56.086053 Received DATA (on stdin)
03:12:56.086078 > 1 bytes data, server => client
03:12:56.086091 ' '
03:12:56.096119 Received DATA (on stdin)
03:12:56.096144 > 1 bytes data, server => client
03:12:56.096157 ' '
03:12:56.106169 Received DATA (on stdin)
03:12:56.106192 > 1 bytes data, server => client
03:12:56.106202 ' '
03:12:56.116259 Received DATA (on stdin)
03:12:56.116283 > 1 bytes data, server => client
03:12:56.116296 ' '
03:12:56.126328 Received DATA (on stdin)
03:12:56.126352 > 1 bytes data, server => client
03:12:56.126365 ' '
03:12:56.136394 Received DATA (on stdin)
03:12:56.136417 > 1 bytes data, server => client
03:12:56.136431 '_'
03:12:56.146461 Received DATA (on stdin)
03:12:56.146486 > 1 bytes data, server => client
03:12:56.146499 ' '
03:12:56.156529 Received DATA (on stdin)
03:12:56.156552 > 1 bytes data, server => client
03:12:56.156566 ' '
03:12:56.166595 Received DATA (on stdin)
03:12:56.166619 > 1 bytes data, server => client
03:12:56.166632 ' '
03:12:56.176664 Received DATA (on stdin)
03:12:56.176689 > 1 bytes data, server => client
03:12:56.176702 '_'
03:12:56.186732 Received DATA (on stdin)
03:12:56.186756 > 1 bytes data, server => client
03:12:56.186770 ' '
03:12:56.196801 Received DATA (on stdin)
03:12:56.196823 > 1 bytes data, server => client
03:12:56.196837 '_'
03:12:56.206867 Received DATA (on stdin)
03:12:56.206892 > 1 bytes data, server => client
03:12:56.206905 '_'
03:12:56.216936 Received DATA (on stdin)
03:12:56.216959 > 1 bytes data, server => client
03:12:56.216973 '_'
03:12:56.227004 Received DATA (on stdin)
03:12:56.227027 > 1 bytes data, server => client
03:12:56.227040 '_'
03:12:56.237070 Received DATA (on stdin)
03:12:56.237093 > 1 bytes data, server => client
03:12:56.237107 ' '
03:12:56.247134 Received DATA (on stdin)
03:12:56.247161 > 1 bytes data, server => client
03:12:56.247174 ' '
03:12:56.257201 Received DATA (on stdin)
03:12:56.257224 > 1 bytes data, server => client
03:12:56.257238 '_'
03:12:56.267268 Received DATA (on stdin)
03:12:56.267291 > 1 bytes data, server => client
03:12:56.267305 ' '
03:12:56.277336 Received DATA (on stdin)
03:12:56.277359 > 1 bytes data, server => client
03:12:56.277372 ' '
03:12:56.287403 Received DATA (on stdin)
03:12:56.287427 > 1 bytes data, server => client
03:12:56.287440 ' '
03:12:56.297471 Received DATA (on stdin)
03:12:56.297494 > 1 bytes data, server => client
03:12:56.297507 ' '
03:12:56.307519 Received DATA (on stdin)
03:12:56.307541 > 1 bytes data, server => client
03:12:56.307550 ' '
03:12:56.317608 Received DATA (on stdin)
03:12:56.317634 > 1 bytes data, server => client
03:12:56.317647 '\r'
03:12:56.327676 Received DATA (on stdin)
03:12:56.327700 > 1 bytes data, server => client
03:12:56.327713 '\n'
03:12:56.337726 Received DATA (on stdin)
03:12:56.337754 > 1 bytes data, server => client
03:12:56.337768 '2'
03:12:56.347807 Received DATA (on stdin)
03:12:56.347832 > 1 bytes data, server => client
03:12:56.347845 '2'
03:12:56.357880 Received DATA (on stdin)
03:12:56.357903 > 1 bytes data, server => client
03:12:56.357916 '0'
03:12:56.367948 Received DATA (on stdin)
03:12:56.367972 > 1 bytes data, server => client
03:12:56.367985 '-'
03:12:56.378016 Received DATA (on stdin)
03:12:56.378040 > 1 bytes data, server => client
03:12:56.378053 ' '
03:12:56.388035 Received DATA (on stdin)
03:12:56.388060 > 1 bytes data, server => client
03:12:56.388073 ' '
03:12:56.398109 Received DATA (on stdin)
03:12:56.398132 > 1 bytes data, server => client
03:12:56.398145 ' '
03:12:56.408174 Received DATA (on stdin)
03:12:56.408197 > 1 bytes data, server => client
03:12:56.408210 ' '
03:12:56.418240 Received DATA (on stdin)
03:12:56.418263 > 1 bytes data, server => client
03:12:56.418276 '_'
03:12:56.428304 Received DATA (on stdin)
03:12:56.428327 > 1 bytes data, server => client
03:12:56.428340 '_'
03:12:56.438371 Received DATA (on stdin)
03:12:56.438395 > 1 bytes data, server => client
03:12:56.438408 '_'
03:12:56.448438 Received DATA (on stdin)
03:12:56.448462 > 1 bytes data, server => client
03:12:56.448474 '|'
03:12:56.458505 Received DATA (on stdin)
03:12:56.458529 > 1 bytes data, server => client
03:12:56.458542 ' '
03:12:56.468571 Received DATA (on stdin)
03:12:56.468595 > 1 bytes data, server => client
03:12:56.468608 '|'
03:12:56.478636 Received DATA (on stdin)
03:12:56.478661 > 1 bytes data, server => client
03:12:56.478676 ' '
03:12:56.488688 Received DATA (on stdin)
03:12:56.488708 > 1 bytes data, server => client
03:12:56.488718 '|'
03:12:56.498755 Received DATA (on stdin)
03:12:56.498773 > 1 bytes data, server => client
03:12:56.498783 ' '
03:12:56.508823 Received DATA (on stdin)
03:12:56.508853 > 1 bytes data, server => client
03:12:56.508863 '|'
03:12:56.518890 Received DATA (on stdin)
03:12:56.518908 > 1 bytes data, server => client
03:12:56.518918 ' '
03:12:56.528962 Received DATA (on stdin)
03:12:56.528994 > 1 bytes data, server => client
03:12:56.529011 ' '
03:12:56.539024 Received DATA (on stdin)
03:12:56.539047 > 1 bytes data, server => client
03:12:56.539057 '_'
03:12:56.549113 Received DATA (on stdin)
03:12:56.549137 > 1 bytes data, server => client
03:12:56.549150 ' '
03:12:56.559179 Received DATA (on stdin)
03:12:56.559202 > 1 bytes data, server => client
03:12:56.559216 '\'
03:12:56.569247 Received DATA (on stdin)
03:12:56.569277 > 1 bytes data, server => client
03:12:56.569291 '|'
03:12:56.579313 Received DATA (on stdin)
03:12:56.579339 > 1 bytes data, server => client
03:12:56.579352 ' '
03:12:56.589383 Received DATA (on stdin)
03:12:56.589407 > 1 bytes data, server => client
03:12:56.589420 '|'
03:12:56.599452 Received DATA (on stdin)
03:12:56.599475 > 1 bytes data, server => client
03:12:56.599488 ' '
03:12:56.609498 Received DATA (on stdin)
03:12:56.609519 > 1 bytes data, server => client
03:12:56.609529 ' '
03:12:56.619587 Received DATA (on stdin)
03:12:56.619611 > 1 bytes data, server => client
03:12:56.619624 ' '
03:12:56.629656 Received DATA (on stdin)
03:12:56.629679 > 1 bytes data, server => client
03:12:56.629693 ' '
03:12:56.639720 Received DATA (on stdin)
03:12:56.639743 > 1 bytes data, server => client
03:12:56.639756 '\r'
03:12:56.649796 Received DATA (on stdin)
03:12:56.649821 > 1 bytes data, server => client
03:12:56.649834 '\n'
03:12:56.659859 Received DATA (on stdin)
03:12:56.659888 > 1 bytes data, server => client
03:12:56.659901 '2'
03:12:56.669931 Received DATA (on stdin)
03:12:56.669955 > 1 bytes data, server => client
03:12:56.669969 '2'
03:12:56.679995 Received DATA (on stdin)
03:12:56.680025 > 1 bytes data, server => client
03:12:56.680039 '0'
03:12:56.690062 Received DATA (on stdin)
03:12:56.690086 > 1 bytes data, server => client
03:12:56.690099 '-'
03:12:56.700119 Received DATA (on stdin)
03:12:56.700143 > 1 bytes data, server => client
03:12:56.700156 ' '
03:12:56.710181 Received DATA (on stdin)
03:12:56.710205 > 1 bytes data, server => client
03:12:56.710218 ' '
03:12:56.720251 Received DATA (on stdin)
03:12:56.720275 > 1 bytes data, server => client
03:12:56.720288 ' '
03:12:56.730305 Received DATA (on stdin)
03:12:56.730329 > 1 bytes data, server => client
03:12:56.730342 '/'
03:12:56.740366 Received DATA (on stdin)
03:12:56.740406 > 1 bytes data, server => client
03:12:56.740426 ' '
03:12:56.750439 Received DATA (on stdin)
03:12:56.750464 > 1 bytes data, server => client
03:12:56.750477 '_'
03:12:56.760500 Received DATA (on stdin)
03:12:56.760524 > 1 bytes data, server => client
03:12:56.760538 '_'
03:12:56.770568 Received DATA (on stdin)
03:12:56.770594 > 1 bytes data, server => client
03:12:56.770607 '|'
03:12:56.780633 Received DATA (on stdin)
03:12:56.780659 > 1 bytes data, server => client
03:12:56.780672 ' '
03:12:56.790695 Received DATA (on stdin)
03:12:56.790719 > 1 bytes data, server => client
03:12:56.790733 '|'
03:12:56.800756 Received DATA (on stdin)
03:12:56.800780 > 1 bytes data, server => client
03:12:56.800794 ' '
03:12:56.810813 Received DATA (on stdin)
03:12:56.810837 > 1 bytes data, server => client
03:12:56.810851 '|'
03:12:56.820881 Received DATA (on stdin)
03:12:56.820905 > 1 bytes data, server => client
03:12:56.820919 ' '
03:12:56.830943 Received DATA (on stdin)
03:12:56.830967 > 1 bytes data, server => client
03:12:56.830980 '|'
03:12:56.841003 Received DATA (on stdin)
03:12:56.841028 > 1 bytes data, server => client
03:12:56.841041 ' '
03:12:56.851073 Received DATA (on stdin)
03:12:56.851097 > 1 bytes data, server => client
03:12:56.851110 '|'
03:12:56.861126 Received DATA (on stdin)
03:12:56.861150 > 1 bytes data, server => client
03:12:56.861164 '_'
03:12:56.871190 Received DATA (on stdin)
03:12:56.871218 > 1 bytes data, server => client
03:12:56.871231 ')'
03:12:56.881253 Received DATA (on stdin)
03:12:56.881287 > 1 bytes data, server => client
03:12:56.881301 ' '
03:12:56.891315 Received DATA (on stdin)
03:12:56.891339 > 1 bytes data, server => client
03:12:56.891353 '|'
03:12:56.901376 Received DATA (on stdin)
03:12:56.901400 > 1 bytes data, server => client
03:12:56.901413 ' '
03:12:56.911433 Received DATA (on stdin)
03:12:56.911459 > 1 bytes data, server => client
03:12:56.911472 '|'
03:12:56.921500 Received DATA (on stdin)
03:12:56.921525 > 1 bytes data, server => client
03:12:56.921538 ' '
03:12:56.931563 Received DATA (on stdin)
03:12:56.931587 > 1 bytes data, server => client
03:12:56.931601 ' '
03:12:56.941624 Received DATA (on stdin)
03:12:56.941649 > 1 bytes data, server => client
03:12:56.941662 ' '
03:12:56.951687 Received DATA (on stdin)
03:12:56.951711 > 1 bytes data, server => client
03:12:56.951724 ' '
03:12:56.961761 Received DATA (on stdin)
03:12:56.961786 > 1 bytes data, server => client
03:12:56.961800 '\r'
03:12:56.971812 Received DATA (on stdin)
03:12:56.971836 > 1 bytes data, server => client
03:12:56.971849 '\n'
03:12:56.981879 Received DATA (on stdin)
03:12:56.981911 > 1 bytes data, server => client
03:12:56.981924 '2'
03:12:56.991944 Received DATA (on stdin)
03:12:56.991969 > 1 bytes data, server => client
03:12:56.991982 '2'
03:12:57.001986 Received DATA (on stdin)
03:12:57.002012 > 1 bytes data, server => client
03:12:57.002025 '0'
03:12:57.012021 Received DATA (on stdin)
03:12:57.012052 > 1 bytes data, server => client
03:12:57.012068 '-'
03:12:57.022106 Received DATA (on stdin)
03:12:57.022131 > 1 bytes data, server => client
03:12:57.022144 ' '
03:12:57.032168 Received DATA (on stdin)
03:12:57.032192 > 1 bytes data, server => client
03:12:57.032206 ' '
03:12:57.042230 Received DATA (on stdin)
03:12:57.042255 > 1 bytes data, server => client
03:12:57.042268 '|'
03:12:57.052298 Received DATA (on stdin)
03:12:57.052322 > 1 bytes data, server => client
03:12:57.052336 ' '
03:12:57.062364 Received DATA (on stdin)
03:12:57.062388 > 1 bytes data, server => client
03:12:57.062402 '('
03:12:57.072412 Received DATA (on stdin)
03:12:57.072444 > 1 bytes data, server => client
03:12:57.072460 '_'
03:12:57.082500 Received DATA (on stdin)
03:12:57.082528 > 1 bytes data, server => client
03:12:57.082541 '_'
03:12:57.092568 Received DATA (on stdin)
03:12:57.092593 > 1 bytes data, server => client
03:12:57.092607 '|'
03:12:57.102637 Received DATA (on stdin)
03:12:57.102662 > 1 bytes data, server => client
03:12:57.102675 ' '
03:12:57.112705 Received DATA (on stdin)
03:12:57.112730 > 1 bytes data, server => client
03:12:57.112744 '|'
03:12:57.122772 Received DATA (on stdin)
03:12:57.122796 > 1 bytes data, server => client
03:12:57.122810 '_'
03:12:57.132840 Received DATA (on stdin)
03:12:57.132864 > 1 bytes data, server => client
03:12:57.132877 '|'
03:12:57.142902 Received DATA (on stdin)
03:12:57.142927 > 1 bytes data, server => client
03:12:57.142940 ' '
03:12:57.152969 Received DATA (on stdin)
03:12:57.152994 > 1 bytes data, server => client
03:12:57.153007 '|'
03:12:57.163036 Received DATA (on stdin)
03:12:57.163060 > 1 bytes data, server => client
03:12:57.163074 ' '
03:12:57.173082 Received DATA (on stdin)
03:12:57.173103 > 1 bytes data, server => client
03:12:57.173113 ' '
03:12:57.183154 Received DATA (on stdin)
03:12:57.183184 > 1 bytes data, server => client
03:12:57.183195 '_'
03:12:57.193220 Received DATA (on stdin)
03:12:57.193239 > 1 bytes data, server => client
03:12:57.193249 ' '
03:12:57.203286 Received DATA (on stdin)
03:12:57.203304 > 1 bytes data, server => client
03:12:57.203314 '{'
03:12:57.213354 Received DATA (on stdin)
03:12:57.213374 > 1 bytes data, server => client
03:12:57.213384 '|'
03:12:57.223420 Received DATA (on stdin)
03:12:57.223442 > 1 bytes data, server => client
03:12:57.223452 ' '
03:12:57.233487 Received DATA (on stdin)
03:12:57.233505 > 1 bytes data, server => client
03:12:57.233514 '|'
03:12:57.243551 Received DATA (on stdin)
03:12:57.243569 > 1 bytes data, server => client
03:12:57.243578 '_'
03:12:57.253619 Received DATA (on stdin)
03:12:57.253638 > 1 bytes data, server => client
03:12:57.253659 '_'
03:12:57.263687 Received DATA (on stdin)
03:12:57.263704 > 1 bytes data, server => client
03:12:57.263714 '_'
03:12:57.273752 Received DATA (on stdin)
03:12:57.273772 > 1 bytes data, server => client
03:12:57.273782 ' '
03:12:57.283815 Received DATA (on stdin)
03:12:57.283838 > 1 bytes data, server => client
03:12:57.283847 '\r'
03:12:57.293883 Received DATA (on stdin)
03:12:57.293901 > 1 bytes data, server => client
03:12:57.293910 '\n'
03:12:57.303951 Received DATA (on stdin)
03:12:57.303977 > 1 bytes data, server => client
03:12:57.303990 '2'
03:12:57.314025 Received DATA (on stdin)
03:12:57.314057 > 1 bytes data, server => client
03:12:57.314070 '2'
03:12:57.324092 Received DATA (on stdin)
03:12:57.324112 > 1 bytes data, server => client
03:12:57.324124 '0'
03:12:57.334160 Received DATA (on stdin)
03:12:57.334179 > 1 bytes data, server => client
03:12:57.334190 ' '
03:12:57.344224 Received DATA (on stdin)
03:12:57.344244 > 1 bytes data, server => client
03:12:57.344255 ' '
03:12:57.354292 Received DATA (on stdin)
03:12:57.354310 > 1 bytes data, server => client
03:12:57.354322 ' '
03:12:57.364359 Received DATA (on stdin)
03:12:57.364378 > 1 bytes data, server => client
03:12:57.364390 ' '
03:12:57.374426 Received DATA (on stdin)
03:12:57.374449 > 1 bytes data, server => client
03:12:57.374462 '\'
03:12:57.384496 Received DATA (on stdin)
03:12:57.384518 > 1 bytes data, server => client
03:12:57.384530 '_'
03:12:57.394584 Received DATA (on stdin)
03:12:57.394608 > 1 bytes data, server => client
03:12:57.394620 '_'
03:12:57.404655 Received DATA (on stdin)
03:12:57.404680 > 1 bytes data, server => client
03:12:57.404692 '_'
03:12:57.414725 Received DATA (on stdin)
03:12:57.414744 > 1 bytes data, server => client
03:12:57.414756 '|'
03:12:57.424795 Received DATA (on stdin)
03:12:57.424813 > 1 bytes data, server => client
03:12:57.424824 '\'
03:12:57.434865 Received DATA (on stdin)
03:12:57.434883 > 1 bytes data, server => client
03:12:57.434895 '_'
03:12:57.444935 Received DATA (on stdin)
03:12:57.444954 > 1 bytes data, server => client
03:12:57.444966 '_'
03:12:57.455004 Received DATA (on stdin)
03:12:57.455022 > 1 bytes data, server => client
03:12:57.455034 '_'
03:12:57.465072 Received DATA (on stdin)
03:12:57.465091 > 1 bytes data, server => client
03:12:57.465102 '/'
03:12:57.475141 Received DATA (on stdin)
03:12:57.475160 > 1 bytes data, server => client
03:12:57.475171 '|'
03:12:57.485209 Received DATA (on stdin)
03:12:57.485227 > 1 bytes data, server => client
03:12:57.485239 '_'
03:12:57.495277 Received DATA (on stdin)
03:12:57.495299 > 1 bytes data, server => client
03:12:57.495311 '|'
03:12:57.505344 Received DATA (on stdin)
03:12:57.505363 > 1 bytes data, server => client
03:12:57.505375 ' '
03:12:57.515412 Received DATA (on stdin)
03:12:57.515430 > 1 bytes data, server => client
03:12:57.515442 '\'
03:12:57.525479 Received DATA (on stdin)
03:12:57.525498 > 1 bytes data, server => client
03:12:57.525513 '_'
03:12:57.535547 Received DATA (on stdin)
03:12:57.535565 > 1 bytes data, server => client
03:12:57.535577 '\'
03:12:57.545610 Received DATA (on stdin)
03:12:57.545629 > 1 bytes data, server => client
03:12:57.545642 '_'
03:12:57.555678 Received DATA (on stdin)
03:12:57.555696 > 1 bytes data, server => client
03:12:57.555708 '_'
03:12:57.565743 Received DATA (on stdin)
03:12:57.565764 > 1 bytes data, server => client
03:12:57.565775 '_'
03:12:57.575811 Received DATA (on stdin)
03:12:57.575832 > 1 bytes data, server => client
03:12:57.575843 '_'
03:12:57.585880 Received DATA (on stdin)
03:12:57.585898 > 1 bytes data, server => client
03:12:57.585909 '_'
03:12:57.595947 Received DATA (on stdin)
03:12:57.595965 > 1 bytes data, server => client
03:12:57.595976 '|'
03:12:57.606018 Received DATA (on stdin)
03:12:57.606042 > 1 bytes data, server => client
03:12:57.606055 '\r'
03:12:57.616082 Received DATA (on stdin)
03:12:57.616101 > 1 bytes data, server => client
03:12:57.616112 '\n'
03:12:57.624983 < 16 bytes data, client => server
03:12:57.625002 'USER anonymous\r\n'
03:12:57.626338 Received DATA (on stdin)
03:12:57.626353 > 1 bytes data, server => client
03:12:57.626364 '3'
03:12:57.636403 Received DATA (on stdin)
03:12:57.636423 > 1 bytes data, server => client
03:12:57.636434 '3'
03:12:57.646470 Received DATA (on stdin)
03:12:57.646494 > 1 bytes data, server => client
03:12:57.646507 '1'
03:12:57.656541 Received DATA (on stdin)
03:12:57.656573 > 1 bytes data, server => client
03:12:57.656586 ' '
03:12:57.666609 Received DATA (on stdin)
03:12:57.666632 > 1 bytes data, server => client
03:12:57.666644 'O'
03:12:57.676680 Received DATA (on stdin)
03:12:57.676704 > 1 bytes data, server => client
03:12:57.676716 'K'
03:12:57.686747 Received DATA (on stdin)
03:12:57.686767 > 1 bytes data, server => client
03:12:57.686778 '\r'
03:12:57.696815 Received DATA (on stdin)
03:12:57.696833 > 1 bytes data, server => client
03:12:57.696845 '\n'
03:12:57.698647 < 22 bytes data, client => server
03:12:57.698665 'PASS ftp@example.com\r\n'
03:12:57.707039 Received DATA (on stdin)
03:12:57.707058 > 1 bytes data, server => client
03:12:57.707069 '2'
03:12:57.717105 Received DATA (on stdin)
03:12:57.717122 > 1 bytes data, server => client
03:12:57.717134 '3'
03:12:57.727172 Received DATA (on stdin)
03:12:57.727189 > 1 bytes data, server => client
03:12:57.727200 '0'
03:12:57.737237 Received DATA (on stdin)
03:12:57.737253 > 1 bytes data, server => client
03:12:57.737265 ' '
03:12:57.747311 Received DATA (on stdin)
03:12:57.747356 > 1 bytes data, server => client
03:12:57.747370 'O'
03:12:57.757376 Received DATA (on stdin)
03:12:57.757398 > 1 bytes data, server => client
03:12:57.757410 'K'
03:12:57.767440 Received DATA (on stdin)
03:12:57.767460 > 1 bytes data, server => client
03:12:57.767472 '\r'
03:12:57.777506 Received DATA (on stdin)
03:12:57.777530 > 1 bytes data, server => client
03:12:57.777541 '\n'
03:12:57.778761 < 8 bytes data, client => server
03:12:57.778780 'PBSZ 0\r\n'
03:12:57.787727 Received DATA (on stdin)
03:12:57.787743 > 1 bytes data, server => client
03:12:57.787755 '5'
03:12:57.797788 Received DATA (on stdin)
03:12:57.797806 > 1 bytes data, server => client
03:12:57.797818 '0'
03:12:57.807850 Received DATA (on stdin)
03:12:57.807869 > 1 bytes data, server => client
03:12:57.807881 '0'
03:12:57.817910 Received DATA (on stdin)
03:12:57.817928 > 1 bytes data, server => client
03:12:57.817940 ' '
03:12:57.827970 Received DATA (on stdin)
03:12:57.827985 > 1 bytes data, server => client
03:12:57.827996 'P'
03:12:57.838031 Received DATA (on stdin)
03:12:57.838050 > 1 bytes data, server => client
03:12:57.838062 'B'
03:12:57.848093 Received DATA (on stdin)
03:12:57.848112 > 1 bytes data, server => client
03:12:57.848124 'S'
03:12:57.858157 Received DATA (on stdin)
03:12:57.858174 > 1 bytes data, server => client
03:12:57.858186 'Z'
03:12:57.868232 Received DATA (on stdin)
03:12:57.868267 > 1 bytes data, server => client
03:12:57.868279 ' '
03:12:57.878305 Received DATA (on stdin)
03:12:57.878344 > 1 bytes data, server => client
03:12:57.878357 'n'
03:12:57.888370 Received DATA (on stdin)
03:12:57.888396 > 1 bytes data, server => client
03:12:57.888407 'o'
03:12:57.898431 Received DATA (on stdin)
03:12:57.898450 > 1 bytes data, server => client
03:12:57.898462 't'
03:12:57.908494 Received DATA (on stdin)
03:12:57.908517 > 1 bytes data, server => client
03:12:57.908529 ' '
03:12:57.918555 Received DATA (on stdin)
03:12:57.918574 > 1 bytes data, server => client
03:12:57.918586 'i'
03:12:57.928616 Received DATA (on stdin)
03:12:57.928635 > 1 bytes data, server => client
03:12:57.928647 'm'
03:12:57.938678 Received DATA (on stdin)
03:12:57.938697 > 1 bytes data, server => client
03:12:57.938709 'p'
03:12:57.948741 Received DATA (on stdin)
03:12:57.948763 > 1 bytes data, server => client
03:12:57.948775 'l'
03:12:57.958801 Received DATA (on stdin)
03:12:57.958819 > 1 bytes data, server => client
03:12:57.958831 'e'
03:12:57.968861 Received DATA (on stdin)
03:12:57.968879 > 1 bytes data, server => client
03:12:57.968890 'm'
03:12:57.978930 Received DATA (on stdin)
03:12:57.978960 > 1 bytes data, server => client
03:12:57.978978 'e'
03:12:57.989015 Received DATA (on stdin)
03:12:57.989042 > 1 bytes data, server => client
03:12:57.989056 'n'
03:12:57.999083 Received DATA (on stdin)
03:12:57.999107 > 1 bytes data, server => client
03:12:57.999120 't'
03:12:58.009119 Received DATA (on stdin)
03:12:58.009143 > 1 bytes data, server => client
03:12:58.009154 'e'
03:12:58.019198 Received DATA (on stdin)
03:12:58.019224 > 1 bytes data, server => client
03:12:58.019237 'd'
03:12:58.029284 Received DATA (on stdin)
03:12:58.029330 > 1 bytes data, server => client
03:12:58.029343 '\r'
03:12:58.039346 Received DATA (on stdin)
03:12:58.039402 > 1 bytes data, server => client
03:12:58.039420 '\n'
03:12:58.041080 < 8 bytes data, client => server
03:12:58.041103 'PROT C\r\n'
03:12:58.049662 Received DATA (on stdin)
03:12:58.049697 > 1 bytes data, server => client
03:12:58.049710 '5'
03:12:58.059738 Received DATA (on stdin)
03:12:58.059790 > 1 bytes data, server => client
03:12:58.059802 '0'
03:12:58.069805 Received DATA (on stdin)
03:12:58.069828 > 1 bytes data, server => client
03:12:58.069841 '0'
03:12:58.079848 Received DATA (on stdin)
03:12:58.079870 > 1 bytes data, server => client
03:12:58.079880 ' '
03:12:58.089930 Received DATA (on stdin)
03:12:58.089955 > 1 bytes data, server => client
03:12:58.089968 'P'
03:12:58.099990 Received DATA (on stdin)
03:12:58.100017 > 1 bytes data, server => client
03:12:58.100031 'R'
03:12:58.110055 Received DATA (on stdin)
03:12:58.110080 > 1 bytes data, server => client
03:12:58.110093 'O'
03:12:58.120115 Received DATA (on stdin)
03:12:58.120138 > 1 bytes data, server => client
03:12:58.120151 'T'
03:12:58.130180 Received DATA (on stdin)
03:12:58.130204 > 1 bytes data, server => client
03:12:58.130217 ' '
03:12:58.140242 Received DATA (on stdin)
03:12:58.140268 > 1 bytes data, server => client
03:12:58.140281 'n'
03:12:58.150308 Received DATA (on stdin)
03:12:58.150332 > 1 bytes data, server => client
03:12:58.150345 'o'
03:12:58.160371 Received DATA (on stdin)
03:12:58.160397 > 1 bytes data, server => client
03:12:58.160410 't'
03:12:58.170458 Received DATA (on stdin)
03:12:58.170485 > 1 bytes data, server => client
03:12:58.170499 ' '
03:12:58.180512 Received DATA (on stdin)
03:12:58.180539 > 1 bytes data, server => client
03:12:58.180553 'i'
03:12:58.190578 Received DATA (on stdin)
03:12:58.190602 > 1 bytes data, server => client
03:12:58.190615 'm'
03:12:58.200641 Received DATA (on stdin)
03:12:58.200665 > 1 bytes data, server => client
03:12:58.200678 'p'
03:12:58.210682 Received DATA (on stdin)
03:12:58.210704 > 1 bytes data, server => client
03:12:58.210714 'l'
03:12:58.220766 Received DATA (on stdin)
03:12:58.220791 > 1 bytes data, server => client
03:12:58.220805 'e'
03:12:58.230828 Received DATA (on stdin)
03:12:58.230853 > 1 bytes data, server => client
03:12:58.230866 'm'
03:12:58.240869 Received DATA (on stdin)
03:12:58.240892 > 1 bytes data, server => client
03:12:58.240902 'e'
03:12:58.250952 Received DATA (on stdin)
03:12:58.250976 > 1 bytes data, server => client
03:12:58.250989 'n'
03:12:58.261013 Received DATA (on stdin)
03:12:58.261037 > 1 bytes data, server => client
03:12:58.261050 't'
03:12:58.271055 Received DATA (on stdin)
03:12:58.271079 > 1 bytes data, server => client
03:12:58.271092 'e'
03:12:58.281154 Received DATA (on stdin)
03:12:58.281197 > 1 bytes data, server => client
03:12:58.281211 'd'
03:12:58.291224 Received DATA (on stdin)
03:12:58.291253 > 1 bytes data, server => client
03:12:58.291266 '\r'
03:12:58.301301 Received DATA (on stdin)
03:12:58.301349 > 1 bytes data, server => client
03:12:58.301361 '\n'
03:12:58.302779 < 5 bytes data, client => server
03:12:58.302802 'PWD\r\n'
03:12:58.311512 Received DATA (on stdin)
03:12:58.311538 > 1 bytes data, server => client
03:12:58.311548 '2'
03:12:58.321597 Received DATA (on stdin)
03:12:58.321622 > 1 bytes data, server => client
03:12:58.321635 '5'
03:12:58.331661 Received DATA (on stdin)
03:12:58.331686 > 1 bytes data, server => client
03:12:58.331760 '7'
03:12:58.341702 Received DATA (on stdin)
03:12:58.341723 > 1 bytes data, server => client
03:12:58.341740 ' '
03:12:58.351784 Received DATA (on stdin)
03:12:58.351811 > 1 bytes data, server => client
03:12:58.351830 '"'
03:12:58.361847 Received DATA (on stdin)
03:12:58.361871 > 1 bytes data, server => client
03:12:58.361884 '/'
03:12:58.371893 Received DATA (on stdin)
03:12:58.371920 > 1 bytes data, server => client
03:12:58.371930 '"'
03:12:58.381976 Received DATA (on stdin)
03:12:58.382000 > 1 bytes data, server => client
03:12:58.382013 '\r'
03:12:58.392034 Received DATA (on stdin)
03:12:58.392057 > 1 bytes data, server => client
03:12:58.392070 '\n'
03:12:58.399355 < 6 bytes data, client => server
03:12:58.399381 'EPSV\r\n'
03:12:58.404079 Received DATA (on stdin)
03:12:58.404104 > 1 bytes data, server => client
03:12:58.404117 '2'
03:12:58.414145 Received DATA (on stdin)
03:12:58.414170 > 1 bytes data, server => client
03:12:58.414183 '2'
03:12:58.424204 Received DATA (on stdin)
03:12:58.424227 > 1 bytes data, server => client
03:12:58.424241 '9'
03:12:58.434271 Received DATA (on stdin)
03:12:58.434294 > 1 bytes data, server => client
03:12:58.434307 ' '
03:12:58.444324 Received DATA (on stdin)
03:12:58.444348 > 1 bytes data, server => client
03:12:58.444361 'E'
03:12:58.454387 Received DATA (on stdin)
03:12:58.454410 > 1 bytes data, server => client
03:12:58.454424 'n'
03:12:58.464449 Received DATA (on stdin)
03:12:58.464472 > 1 bytes data, server => client
03:12:58.464486 't'
03:12:58.474491 Received DATA (on stdin)
03:12:58.474513 > 1 bytes data, server => client
03:12:58.474523 'e'
03:12:58.484574 Received DATA (on stdin)
03:12:58.484598 > 1 bytes data, server => client
03:12:58.484611 'r'
03:12:58.494636 Received DATA (on stdin)
03:12:58.494659 > 1 bytes data, server => client
03:12:58.494673 'i'
03:12:58.504687 Received DATA (on stdin)
03:12:58.504724 > 1 bytes data, server => client
03:12:58.504740 'n'
03:12:58.514768 Received DATA (on stdin)
03:12:58.514792 > 1 bytes data, server => client
03:12:58.514805 'g'
03:12:58.524838 Received DATA (on stdin)
03:12:58.524861 > 1 bytes data, server => client
03:12:58.524874 ' '
03:12:58.534891 Received DATA (on stdin)
03:12:58.534915 > 1 bytes data, server => client
03:12:58.534928 'P'
03:12:58.544961 Received DATA (on stdin)
03:12:58.544986 > 1 bytes data, server => client
03:12:58.544999 'a'
03:12:58.555017 Received DATA (on stdin)
03:12:58.555041 > 1 bytes data, server => client
03:12:58.555054 's'
03:12:58.565079 Received DATA (on stdin)
03:12:58.565102 > 1 bytes data, server => client
03:12:58.565115 's'
03:12:58.575138 Received DATA (on stdin)
03:12:58.575166 > 1 bytes data, server => client
03:12:58.575179 'i'
03:12:58.585207 Received DATA (on stdin)
03:12:58.585230 > 1 bytes data, server => client
03:12:58.585243 'v'
03:12:58.595268 Received DATA (on stdin)
03:12:58.595293 > 1 bytes data, server => client
03:12:58.595306 'e'
03:12:58.605312 Received DATA (on stdin)
03:12:58.605338 > 1 bytes data, server => client
03:12:58.605348 ' '
03:12:58.615396 Received DATA (on stdin)
03:12:58.615422 > 1 bytes data, server => client
03:12:58.615435 'M'
03:12:58.625458 Received DATA (on stdin)
03:12:58.625482 > 1 bytes data, server => client
03:12:58.625495 'o'
03:12:58.635519 Received DATA (on stdin)
03:12:58.635543 > 1 bytes data, server => client
03:12:58.635557 'd'
03:12:58.645582 Received DATA (on stdin)
03:12:58.645608 > 1 bytes data, server => client
03:12:58.645621 'e'
03:12:58.655643 Received DATA (on stdin)
03:12:58.655667 > 1 bytes data, server => client
03:12:58.655680 ' '
03:12:58.665710 Received DATA (on stdin)
03:12:58.665738 > 1 bytes data, server => client
03:12:58.665752 '('
03:12:58.675753 Received DATA (on stdin)
03:12:58.675775 > 1 bytes data, server => client
03:12:58.675785 '|'
03:12:58.685838 Received DATA (on stdin)
03:12:58.685864 > 1 bytes data, server => client
03:12:58.685877 '|'
03:12:58.695900 Received DATA (on stdin)
03:12:58.695924 > 1 bytes data, server => client
03:12:58.695938 '|'
03:12:58.705942 Received DATA (on stdin)
03:12:58.705964 > 1 bytes data, server => client
03:12:58.705975 '4'
03:12:58.716012 Received DATA (on stdin)
03:12:58.716036 > 1 bytes data, server => client
03:12:58.716050 '2'
03:12:58.726091 Received DATA (on stdin)
03:12:58.726115 > 1 bytes data, server => client
03:12:58.726128 '7'
03:12:58.736166 Received DATA (on stdin)
03:12:58.736189 > 1 bytes data, server => client
03:12:58.736202 '5'
03:12:58.746216 Received DATA (on stdin)
03:12:58.746241 > 1 bytes data, server => client
03:12:58.746254 '5'
03:12:58.756277 Received DATA (on stdin)
03:12:58.756301 > 1 bytes data, server => client
03:12:58.756315 '|'
03:12:58.766339 Received DATA (on stdin)
03:12:58.766363 > 1 bytes data, server => client
03:12:58.766376 ')'
03:12:58.776398 Received DATA (on stdin)
03:12:58.776422 > 1 bytes data, server => client
03:12:58.776435 '\n'
03:12:58.789162 < 8 bytes data, client => server
03:12:58.789186 'TYPE I\r\n'
03:12:58.789326 Received DATA (on stdin)
03:12:58.789350 > 1 bytes data, server => client
03:12:58.789363 '2'
03:12:58.799389 Received DATA (on stdin)
03:12:58.799413 > 1 bytes data, server => client
03:12:58.799427 '0'
03:12:58.809433 Received DATA (on stdin)
03:12:58.809454 > 1 bytes data, server => client
03:12:58.809465 '0'
03:12:58.819520 Received DATA (on stdin)
03:12:58.819544 > 1 bytes data, server => client
03:12:58.819558 ' '
03:12:58.829589 Received DATA (on stdin)
03:12:58.829613 > 1 bytes data, server => client
03:12:58.829626 'O'
03:12:58.839633 Received DATA (on stdin)
03:12:58.839655 > 1 bytes data, server => client
03:12:58.839666 'K'
03:12:58.849715 Received DATA (on stdin)
03:12:58.849739 > 1 bytes data, server => client
03:12:58.849752 '\r'
03:12:58.859784 Received DATA (on stdin)
03:12:58.859807 > 1 bytes data, server => client
03:12:58.859820 '\n'
03:12:58.861472 < 11 bytes data, client => server
03:12:58.861495 'SIZE 1112\r\n'
03:12:58.870277 Received DATA (on stdin)
03:12:58.870300 > 1 bytes data, server => client
03:12:58.870314 '2'
03:12:58.880351 Received DATA (on stdin)
03:12:58.880395 > 1 bytes data, server => client
03:12:58.880408 '1'
03:12:58.890426 Received DATA (on stdin)
03:12:58.890454 > 1 bytes data, server => client
03:12:58.890469 '3'
03:12:58.900493 Received DATA (on stdin)
03:12:58.900519 > 1 bytes data, server => client
03:12:58.900532 ' '
03:12:58.910538 Received DATA (on stdin)
03:12:58.910562 > 1 bytes data, server => client
03:12:58.910573 '3'
03:12:58.920608 Received DATA (on stdin)
03:12:58.920633 > 1 bytes data, server => client
03:12:58.920643 '6'
03:12:58.930677 Received DATA (on stdin)
03:12:58.930694 > 1 bytes data, server => client
03:12:58.930702 '0'
03:12:58.940743 Received DATA (on stdin)
03:12:58.940759 > 1 bytes data, server => client
03:12:58.940767 '0'
03:12:58.950808 Received DATA (on stdin)
03:12:58.950823 > 1 bytes data, server => client
03:12:58.950834 '\r'
03:12:58.960877 Received DATA (on stdin)
03:12:58.960893 > 1 bytes data, server => client
03:12:58.960902 '\n'
03:12:58.963256 < 11 bytes data, client => server
03:12:58.963280 'RETR 1112\r\n'
03:12:58.971451 Received DATA (on stdin)
03:12:58.971473 > 1 bytes data, server => client
03:12:58.971483 '1'
03:12:58.981518 Received DATA (on stdin)
03:12:58.981546 > 1 bytes data, server => client
03:12:58.981557 '5'
03:12:58.991587 Received DATA (on stdin)
03:12:58.991607 > 1 bytes data, server => client
03:12:58.991617 '0'
03:12:59.001673 Received DATA (on stdin)
03:12:59.001699 > 1 bytes data, server => client
03:12:59.001713 ' '
03:12:59.011722 Received DATA (on stdin)
03:12:59.011746 > 1 bytes data, server => client
03:12:59.011757 'B'
03:12:59.021812 Received DATA (on stdin)
03:12:59.021839 > 1 bytes data, server => client
03:12:59.021852 'i'
03:12:59.031854 Received DATA (on stdin)
03:12:59.031876 > 1 bytes data, server => client
03:12:59.031887 'n'
03:12:59.041922 Received DATA (on stdin)
03:12:59.041945 > 1 bytes data, server => client
03:12:59.041954 'a'
03:12:59.051986 Received DATA (on stdin)
03:12:59.052012 > 1 bytes data, server => client
03:12:59.052023 'r'
03:12:59.062069 Received DATA (on stdin)
03:12:59.062126 > 1 bytes data, server => client
03:12:59.062146 'y'
03:12:59.072137 Received DATA (on stdin)
03:12:59.072167 > 1 bytes data, server => client
03:12:59.072178 ' '
03:12:59.082210 Received DATA (on stdin)
03:12:59.082234 > 1 bytes data, server => client
03:12:59.082245 'd'
03:12:59.092277 Received DATA (on stdin)
03:12:59.092297 > 1 bytes data, server => client
03:12:59.092306 'a'
03:12:59.102347 Received DATA (on stdin)
03:12:59.102366 > 1 bytes data, server => client
03:12:59.102376 't'
03:12:59.112415 Received DATA (on stdin)
03:12:59.112434 > 1 bytes data, server => client
03:12:59.112443 'a'
03:12:59.122483 Received DATA (on stdin)
03:12:59.122498 > 1 bytes data, server => client
03:12:59.122507 ' '
03:12:59.132551 Received DATA (on stdin)
03:12:59.132568 > 1 bytes data, server => client
03:12:59.132577 'c'
03:12:59.142616 Received DATA (on stdin)
03:12:59.142633 > 1 bytes data, server => client
03:12:59.142642 'o'
03:12:59.152680 Received DATA (on stdin)
03:12:59.152698 > 1 bytes data, server => client
03:12:59.152707 'n'
03:12:59.162748 Received DATA (on stdin)
03:12:59.162763 > 1 bytes data, server => client
03:12:59.162772 'n'
03:12:59.172814 Received DATA (on stdin)
03:12:59.172833 > 1 bytes data, server => client
03:12:59.172842 'e'
03:12:59.182881 Received DATA (on stdin)
03:12:59.182896 > 1 bytes data, server => client
03:12:59.182907 'c'
03:12:59.192948 Received DATA (on stdin)
03:12:59.192963 > 1 bytes data, server => client
03:12:59.192972 't'
03:12:59.203016 Received DATA (on stdin)
03:12:59.203034 > 1 bytes data, server => client
03:12:59.203043 'i'
03:12:59.213084 Received DATA (on stdin)
03:12:59.213100 > 1 bytes data, server => client
03:12:59.213109 'o'
03:12:59.223152 Received DATA (on stdin)
03:12:59.223168 > 1 bytes data, server => client
03:12:59.223177 'n'
03:12:59.233219 Received DATA (on stdin)
03:12:59.233234 > 1 bytes data, server => client
03:12:59.233243 ' '
03:12:59.243290 Received DATA (on stdin)
03:12:59.243320 > 1 bytes data, server => client
03:12:59.243329 'f'
03:12:59.253359 Received DATA (on stdin)
03:12:59.253376 > 1 bytes data, server => client
03:12:59.253385 'o'
03:12:59.263428 Received DATA (on stdin)
03:12:59.263443 > 1 bytes data, server => client
03:12:59.263452 'r'
03:12:59.273497 Received DATA (on stdin)
03:12:59.273515 > 1 bytes data, server => client
03:12:59.273524 ' '
03:12:59.283565 Received DATA (on stdin)
03:12:59.283584 > 1 bytes data, server => client
03:12:59.283593 '1'
03:12:59.293634 Received DATA (on stdin)
03:12:59.293648 > 1 bytes data, server => client
03:12:59.293657 '1'
03:12:59.303702 Received DATA (on stdin)
03:12:59.303721 > 1 bytes data, server => client
03:12:59.303730 '1'
03:12:59.313779 Received DATA (on stdin)
03:12:59.313812 > 1 bytes data, server => client
03:12:59.313822 '2'
03:12:59.323858 Received DATA (on stdin)
03:12:59.323895 > 1 bytes data, server => client
03:12:59.323912 ' '
03:12:59.333927 Received DATA (on stdin)
03:12:59.333946 > 1 bytes data, server => client
03:12:59.333956 '('
03:12:59.344006 Received DATA (on stdin)
03:12:59.344030 > 1 bytes data, server => client
03:12:59.344041 ')'
03:12:59.354076 Received DATA (on stdin)
03:12:59.354095 > 1 bytes data, server => client
03:12:59.354104 ' '
03:12:59.364143 Received DATA (on stdin)
03:12:59.364160 > 1 bytes data, server => client
03:12:59.364169 '('
03:12:59.374210 Received DATA (on stdin)
03:12:59.374231 > 1 bytes data, server => client
03:12:59.374241 '3'
03:12:59.384277 Received DATA (on stdin)
03:12:59.384295 > 1 bytes data, server => client
03:12:59.384305 '6'
03:12:59.394344 Received DATA (on stdin)
03:12:59.394361 > 1 bytes data, server => client
03:12:59.394371 '0'
03:12:59.404415 Received DATA (on stdin)
03:12:59.404443 > 1 bytes data, server => client
03:12:59.404460 '0'
03:12:59.414503 Received DATA (on stdin)
03:12:59.414527 > 1 bytes data, server => client
03:12:59.414540 ' '
03:12:59.424570 Received DATA (on stdin)
03:12:59.424594 > 1 bytes data, server => client
03:12:59.424607 'b'
03:12:59.434639 Received DATA (on stdin)
03:12:59.434662 > 1 bytes data, server => client
03:12:59.434675 'y'
03:12:59.444704 Received DATA (on stdin)
03:12:59.444739 > 1 bytes data, server => client
03:12:59.444752 't'
03:12:59.454770 Received DATA (on stdin)
03:12:59.454794 > 1 bytes data, server => client
03:12:59.454807 'e'
03:12:59.464838 Received DATA (on stdin)
03:12:59.464861 > 1 bytes data, server => client
03:12:59.464875 's'
03:12:59.474901 Received DATA (on stdin)
03:12:59.474925 > 1 bytes data, server => client
03:12:59.474939 ')'
03:12:59.484970 Received DATA (on stdin)
03:12:59.484995 > 1 bytes data, server => client
03:12:59.485008 '.'
03:12:59.495038 Received DATA (on stdin)
03:12:59.495061 > 1 bytes data, server => client
03:12:59.495074 '\r'
03:12:59.505108 Received DATA (on stdin)
03:12:59.505162 > 1 bytes data, server => client
03:12:59.505178 '\n'
03:13:10.231014 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:12:52.196085 Running IPv4 version
03:12:52.196171 Listening on port 40887
03:12:52.196206 Wrote pid 16960 to ./.ftp_sockdata.pid
03:12:52.196225 Received PING (on stdin)
03:12:52.196289 Received PORT (on stdin)
03:12:52.196592 ====> Client connect
03:12:52.197351 Received DATA (on stdin)
03:12:52.197367 > 17 bytes data, server => client
03:12:52.197380 'WE ROOLZ: 16855\r\n'
03:12:52.197407 Received DISC (on stdin)
03:12:52.197422 ====> Client forcibly disconnected
03:12:52.197444 Received QUIT (on stdin)
03:12:52.197456 quits
03:12:52.197473 ============> sockfilt quits
03:12:59.403751 Running IPv4 version
03:12:59.403814 Listening on port 42755
03:12:59.403857 Wrote pid 16984 to ./.ftp_sockdata.pid
03:12:59.403873 Received PING (on stdin)
03:12:59.403937 Received PORT (on stdin)
03:12:59.783282 ====> Client connect
03:13:00.515284 Received DATA (on stdin)
03:13:00.515318 > 1 bytes data, server => client
03:13:00.515330 'L'
03:13:00.525365 Received DATA (on stdin)
03:13:00.525411 > 1 bytes data, server => client
03:13:00.525423 'o'
03:13:00.535448 Received DATA (on stdin)
03:13:00.535485 > 1 bytes data, server => client
03:13:00.535497 'n'
03:13:00.545528 Received DATA (on stdin)
03:13:00.545572 > 1 bytes data, server => client
03:13:00.545582 'g'
03:13:00.555619 Received DATA (on stdin)
03:13:00.555647 > 1 bytes data, server => client
03:13:00.555660 ' '
03:13:00.565686 Received DATA (on stdin)
03:13:00.565710 > 1 bytes data, server => client
03:13:00.565723 'c'
03:13:00.575755 Received DATA (on stdin)
03:13:00.575781 > 1 bytes data, server => client
03:13:00.575794 'h'
03:13:00.585823 Received DATA (on stdin)
03:13:00.585846 > 1 bytes data, server => client
03:13:00.585859 'u'
03:13:00.595882 Received DATA (on stdin)
03:13:00.595905 > 1 bytes data, server => client
03:13:00.595918 'n'
03:13:00.605954 Received DATA (on stdin)
03:13:00.605978 > 1 bytes data, server => client
03:13:00.605991 'k'
03:13:00.616008 Received DATA (on stdin)
03:13:00.616031 > 1 bytes data, server => client
03:13:00.616044 ' '
03:13:00.626094 Received DATA (on stdin)
03:13:00.626117 > 1 bytes data, server => client
03:13:00.626130 'o'
03:13:00.636158 Received DATA (on stdin)
03:13:00.636181 > 1 bytes data, server => client
03:13:00.636194 'f'
03:13:00.646225 Received DATA (on stdin)
03:13:00.646250 > 1 bytes data, server => client
03:13:00.646263 ' '
03:13:00.656293 Received DATA (on stdin)
03:13:00.656316 > 1 bytes data, server => client
03:13:00.656329 'd'
03:13:00.666354 Received DATA (on stdin)
03:13:00.666403 > 1 bytes data, server => client
03:13:00.666419 'a'
03:13:00.676443 Received DATA (on stdin)
03:13:00.676477 > 1 bytes data, server => client
03:13:00.676490 't'
03:13:00.686512 Received DATA (on stdin)
03:13:00.686540 > 1 bytes data, server => client
03:13:00.686553 'a'
03:13:00.696580 Received DATA (on stdin)
03:13:00.696604 > 1 bytes data, server => client
03:13:00.696617 ' '
03:13:00.706649 Received DATA (on stdin)
03:13:00.706674 > 1 bytes data, server => client
03:13:00.706687 't'
03:13:00.716716 Received DATA (on stdin)
03:13:00.716738 > 1 bytes data, server => client
03:13:00.716751 'h'
03:13:00.726782 Received DATA (on stdin)
03:13:00.726805 > 1 bytes data, server => client
03:13:00.726817 'a'
03:13:00.736848 Received DATA (on stdin)
03:13:00.736871 > 1 bytes data, server => client
03:13:00.736884 't'
03:13:00.746915 Received DATA (on stdin)
03:13:00.746939 > 1 bytes data, server => client
03:13:00.746952 ' '
03:13:00.756982 Received DATA (on stdin)
03:13:00.757006 > 1 bytes data, server => client
03:13:00.757019 'c'
03:13:00.767048 Received DATA (on stdin)
03:13:00.767071 > 1 bytes data, server => client
03:13:00.767083 'o'
03:13:00.777098 Received DATA (on stdin)
03:13:00.777127 > 1 bytes data, server => client
03:13:00.777143 'u'
03:13:00.787183 Received DATA (on stdin)
03:13:00.787206 > 1 bytes data, server => client
03:13:00.787218 'l'
03:13:00.797250 Received DATA (on stdin)
03:13:00.797275 > 1 bytes data, server => client
03:13:00.797288 'd'
03:13:00.807314 Received DATA (on stdin)
03:13:00.807339 > 1 bytes data, server => client
03:13:00.807361 'n'
03:13:00.817381 Received DATA (on stdin)
03:13:00.817404 > 1 bytes data, server => client
03:13:00.817416 '''
03:13:00.827446 Received DATA (on stdin)
03:13:00.827470 > 1 bytes data, server => client
03:13:00.827482 't'
03:13:00.837517 Received DATA (on stdin)
03:13:00.837546 > 1 bytes data, server => client
03:13:00.837559 ' '
03:13:00.847582 Received DATA (on stdin)
03:13:00.847605 > 1 bytes data, server => client
03:13:00.847618 'p'
03:13:00.857648 Received DATA (on stdin)
03:13:00.857671 > 1 bytes data, server => client
03:13:00.857684 'o'
03:13:00.867716 Received DATA (on stdin)
03:13:00.867739 > 1 bytes data, server => client
03:13:00.867752 's'
03:13:00.877788 Received DATA (on stdin)
03:13:00.877832 > 1 bytes data, server => client
03:13:00.877845 's'
03:13:00.887857 Received DATA (on stdin)
03:13:00.887908 > 1 bytes data, server => client
03:13:00.887920 'i'
03:13:00.897944 Received DATA (on stdin)
03:13:00.897971 > 1 bytes data, server => client
03:13:00.897984 'b'
03:13:00.907998 Received DATA (on stdin)
03:13:00.908028 > 1 bytes data, server => client
03:13:00.908041 'l'
03:13:00.918075 Received DATA (on stdin)
03:13:00.918098 > 1 bytes data, server => client
03:13:00.918110 'y'
03:13:00.928138 Received DATA (on stdin)
03:13:00.928161 > 1 bytes data, server => client
03:13:00.928174 ' '
03:13:00.938187 Received DATA (on stdin)
03:13:00.938211 > 1 bytes data, server => client
03:13:00.938220 'b'
03:13:00.948275 Received DATA (on stdin)
03:13:00.948298 > 1 bytes data, server => client
03:13:00.948311 'e'
03:13:00.958342 Received DATA (on stdin)
03:13:00.958365 > 1 bytes data, server => client
03:13:00.958378 ' '
03:13:00.968410 Received DATA (on stdin)
03:13:00.968435 > 1 bytes data, server => client
03:13:00.968448 's'
03:13:00.978478 Received DATA (on stdin)
03:13:00.978501 > 1 bytes data, server => client
03:13:00.978514 'e'
03:13:00.988554 Received DATA (on stdin)
03:13:00.988578 > 1 bytes data, server => client
03:13:00.988591 'n'
03:13:00.998613 Received DATA (on stdin)
03:13:00.998635 > 1 bytes data, server => client
03:13:00.998648 't'
03:13:01.008684 Received DATA (on stdin)
03:13:01.008717 > 1 bytes data, server => client
03:13:01.008733 ' '
03:13:01.018751 Received DATA (on stdin)
03:13:01.018774 > 1 bytes data, server => client
03:13:01.018787 'i'
03:13:01.028818 Received DATA (on stdin)
03:13:01.028841 > 1 bytes data, server => client
03:13:01.028853 'n'
03:13:01.038885 Received DATA (on stdin)
03:13:01.038911 > 1 bytes data, server => client
03:13:01.038924 ' '
03:13:01.048955 Received DATA (on stdin)
03:13:01.048977 > 1 bytes data, server => client
03:13:01.048990 't'
03:13:01.059021 Received DATA (on stdin)
03:13:01.059044 > 1 bytes data, server => client
03:13:01.059056 'h'
03:13:01.069084 Received DATA (on stdin)
03:13:01.069108 > 1 bytes data, server => client
03:13:01.069121 'e'
03:13:01.079145 Received DATA (on stdin)
03:13:01.079193 > 1 bytes data, server => client
03:13:01.079204 ' '
03:13:01.089228 Received DATA (on stdin)
03:13:01.089253 > 1 bytes data, server => client
03:13:01.089266 't'
03:13:01.099294 Received DATA (on stdin)
03:13:01.099319 > 1 bytes data, server => client
03:13:01.099332 'i'
03:13:01.109358 Received DATA (on stdin)
03:13:01.109382 > 1 bytes data, server => client
03:13:01.109395 'm'
03:13:01.119425 Received DATA (on stdin)
03:13:01.119448 > 1 bytes data, server => client
03:13:01.119461 'e'
03:13:01.129493 Received DATA (on stdin)
03:13:01.129516 > 1 bytes data, server => client
03:13:01.129529 ' '
03:13:01.139557 Received DATA (on stdin)
03:13:01.139581 > 1 bytes data, server => client
03:13:01.139594 'a'
03:13:01.149628 Received DATA (on stdin)
03:13:01.149651 > 1 bytes data, server => client
03:13:01.149664 'l'
03:13:01.159694 Received DATA (on stdin)
03:13:01.159717 > 1 bytes data, server => client
03:13:01.159730 'l'
03:13:01.169762 Received DATA (on stdin)
03:13:01.169785 > 1 bytes data, server => client
03:13:01.169798 'o'
03:13:01.179830 Received DATA (on stdin)
03:13:01.179859 > 1 bytes data, server => client
03:13:01.179872 't'
03:13:01.189904 Received DATA (on stdin)
03:13:01.189941 > 1 bytes data, server => client
03:13:01.189954 't'
03:13:01.199971 Received DATA (on stdin)
03:13:01.199994 > 1 bytes data, server => client
03:13:01.200015 'e'
03:13:01.210040 Received DATA (on stdin)
03:13:01.210066 > 1 bytes data, server => client
03:13:01.210078 'd'
03:13:01.220103 Received DATA (on stdin)
03:13:01.220127 > 1 bytes data, server => client
03:13:01.220140 '.'
03:13:01.230172 Received DATA (on stdin)
03:13:01.230195 > 1 bytes data, server => client
03:13:01.230208 '\n'
03:13:01.240250 Received DATA (on stdin)
03:13:01.240275 > 1 bytes data, server => client
03:13:01.240288 'L'
03:13:01.250317 Received DATA (on stdin)
03:13:01.250340 > 1 bytes data, server => client
03:13:01.250353 'o'
03:13:01.260389 Received DATA (on stdin)
03:13:01.260412 > 1 bytes data, server => client
03:13:01.260425 'n'
03:13:01.270454 Received DATA (on stdin)
03:13:01.270478 > 1 bytes data, server => client
03:13:01.270491 'g'
03:13:01.280525 Received DATA (on stdin)
03:13:01.280551 > 1 bytes data, server => client
03:13:01.280564 ' '
03:13:01.290579 Received DATA (on stdin)
03:13:01.290603 > 1 bytes data, server => client
03:13:01.290615 'c'
03:13:01.300646 Received DATA (on stdin)
03:13:01.300669 > 1 bytes data, server => client
03:13:01.300682 'h'
03:13:01.310698 Received DATA (on stdin)
03:13:01.310722 > 1 bytes data, server => client
03:13:01.310735 'u'
03:13:01.320765 Received DATA (on stdin)
03:13:01.320792 > 1 bytes data, server => client
03:13:01.320805 'n'
03:13:01.330831 Received DATA (on stdin)
03:13:01.330859 > 1 bytes data, server => client
03:13:01.330872 'k'
03:13:01.340872 Received DATA (on stdin)
03:13:01.340894 > 1 bytes data, server => client
03:13:01.340903 ' '
03:13:01.350958 Received DATA (on stdin)
03:13:01.350991 > 1 bytes data, server => client
03:13:01.351004 'o'
03:13:01.361021 Received DATA (on stdin)
03:13:01.361044 > 1 bytes data, server => client
03:13:01.361057 'f'
03:13:01.371083 Received DATA (on stdin)
03:13:01.371111 > 1 bytes data, server => client
03:13:01.371123 ' '
03:13:01.381148 Received DATA (on stdin)
03:13:01.381172 > 1 bytes data, server => client
03:13:01.381185 'd'
03:13:01.391210 Received DATA (on stdin)
03:13:01.391234 > 1 bytes data, server => client
03:13:01.391247 'a'
03:13:01.401272 Received DATA (on stdin)
03:13:01.401295 > 1 bytes data, server => client
03:13:01.401308 't'
03:13:01.411332 Received DATA (on stdin)
03:13:01.411356 > 1 bytes data, server => client
03:13:01.411369 'a'
03:13:01.421396 Received DATA (on stdin)
03:13:01.421420 > 1 bytes data, server => client
03:13:01.421433 ' '
03:13:01.431459 Received DATA (on stdin)
03:13:01.431482 > 1 bytes data, server => client
03:13:01.431495 't'
03:13:01.441518 Received DATA (on stdin)
03:13:01.441542 > 1 bytes data, server => client
03:13:01.441555 'h'
03:13:01.451578 Received DATA (on stdin)
03:13:01.451601 > 1 bytes data, server => client
03:13:01.451614 'a'
03:13:01.461643 Received DATA (on stdin)
03:13:01.461666 > 1 bytes data, server => client
03:13:01.461679 't'
03:13:01.471683 Received DATA (on stdin)
03:13:01.471705 > 1 bytes data, server => client
03:13:01.471714 ' '
03:13:01.481772 Received DATA (on stdin)
03:13:01.481798 > 1 bytes data, server => client
03:13:01.481811 'c'
03:13:01.491830 Received DATA (on stdin)
03:13:01.491854 > 1 bytes data, server => client
03:13:01.491868 'o'
03:13:01.501897 Received DATA (on stdin)
03:13:01.501921 > 1 bytes data, server => client
03:13:01.501934 'u'
03:13:01.511938 Received DATA (on stdin)
03:13:01.511964 > 1 bytes data, server => client
03:13:01.511977 'l'
03:13:01.522021 Received DATA (on stdin)
03:13:01.522045 > 1 bytes data, server => client
03:13:01.522058 'd'
03:13:01.532018 Received DATA (on stdin)
03:13:01.532042 > 1 bytes data, server => client
03:13:01.532055 'n'
03:13:01.542099 Received DATA (on stdin)
03:13:01.542124 > 1 bytes data, server => client
03:13:01.542137 '''
03:13:01.552159 Received DATA (on stdin)
03:13:01.552183 > 1 bytes data, server => client
03:13:01.552196 't'
03:13:01.562222 Received DATA (on stdin)
03:13:01.562254 > 1 bytes data, server => client
03:13:01.562268 ' '
03:13:01.572283 Received DATA (on stdin)
03:13:01.572308 > 1 bytes data, server => client
03:13:01.572321 'p'
03:13:01.582350 Received DATA (on stdin)
03:13:01.582378 > 1 bytes data, server => client
03:13:01.582391 'o'
03:13:01.592412 Received DATA (on stdin)
03:13:01.592437 > 1 bytes data, server => client
03:13:01.592450 's'
03:13:01.602476 Received DATA (on stdin)
03:13:01.602501 > 1 bytes data, server => client
03:13:01.602514 's'
03:13:01.612539 Received DATA (on stdin)
03:13:01.612563 > 1 bytes data, server => client
03:13:01.612576 'i'
03:13:01.622603 Received DATA (on stdin)
03:13:01.622627 > 1 bytes data, server => client
03:13:01.622640 'b'
03:13:01.632665 Received DATA (on stdin)
03:13:01.632689 > 1 bytes data, server => client
03:13:01.632702 'l'
03:13:01.642726 Received DATA (on stdin)
03:13:01.642750 > 1 bytes data, server => client
03:13:01.642763 'y'
03:13:01.652772 Received DATA (on stdin)
03:13:01.652800 > 1 bytes data, server => client
03:13:01.652812 ' '
03:13:01.662844 Received DATA (on stdin)
03:13:01.662868 > 1 bytes data, server => client
03:13:01.662881 'b'
03:13:01.672933 Received DATA (on stdin)
03:13:01.672986 > 1 bytes data, server => client
03:13:01.672998 'e'
03:13:01.683003 Received DATA (on stdin)
03:13:01.683044 > 1 bytes data, server => client
03:13:01.683057 ' '
03:13:01.693061 Received DATA (on stdin)
03:13:01.693085 > 1 bytes data, server => client
03:13:01.693098 's'
03:13:01.703123 Received DATA (on stdin)
03:13:01.703148 > 1 bytes data, server => client
03:13:01.703161 'e'
03:13:01.713185 Received DATA (on stdin)
03:13:01.713210 > 1 bytes data, server => client
03:13:01.713223 'n'
03:13:01.723245 Received DATA (on stdin)
03:13:01.723268 > 1 bytes data, server => client
03:13:01.723281 't'
03:13:01.733306 Received DATA (on stdin)
03:13:01.733331 > 1 bytes data, server => client
03:13:01.733343 ' '
03:13:01.743368 Received DATA (on stdin)
03:13:01.743392 > 1 bytes data, server => client
03:13:01.743405 'i'
03:13:01.753428 Received DATA (on stdin)
03:13:01.753452 > 1 bytes data, server => client
03:13:01.753465 'n'
03:13:01.763490 Received DATA (on stdin)
03:13:01.763513 > 1 bytes data, server => client
03:13:01.763526 ' '
03:13:01.773532 Received DATA (on stdin)
03:13:01.773556 > 1 bytes data, server => client
03:13:01.773565 't'
03:13:01.783615 Received DATA (on stdin)
03:13:01.783638 > 1 bytes data, server => client
03:13:01.783651 'h'
03:13:01.793674 Received DATA (on stdin)
03:13:01.793698 > 1 bytes data, server => client
03:13:01.793710 'e'
03:13:01.803737 Received DATA (on stdin)
03:13:01.803761 > 1 bytes data, server => client
03:13:01.803774 ' '
03:13:01.813799 Received DATA (on stdin)
03:13:01.813823 > 1 bytes data, server => client
03:13:01.813835 't'
03:13:01.823859 Received DATA (on stdin)
03:13:01.823882 > 1 bytes data, server => client
03:13:01.823895 'i'
03:13:01.833917 Received DATA (on stdin)
03:13:01.833941 > 1 bytes data, server => client
03:13:01.833954 'm'
03:13:01.843978 Received DATA (on stdin)
03:13:01.844010 > 1 bytes data, server => client
03:13:01.844025 'e'
03:13:01.854048 Received DATA (on stdin)
03:13:01.854079 > 1 bytes data, server => client
03:13:01.854092 ' '
03:13:01.864111 Received DATA (on stdin)
03:13:01.864137 > 1 bytes data, server => client
03:13:01.864149 'a'
03:13:01.874173 Received DATA (on stdin)
03:13:01.874198 > 1 bytes data, server => client
03:13:01.874211 'l'
03:13:01.884218 Received DATA (on stdin)
03:13:01.884245 > 1 bytes data, server => client
03:13:01.884255 'l'
03:13:01.894298 Received DATA (on stdin)
03:13:01.894321 > 1 bytes data, server => client
03:13:01.894334 'o'
03:13:01.904368 Received DATA (on stdin)
03:13:01.904393 > 1 bytes data, server => client
03:13:01.904408 't'
03:13:01.914407 Received DATA (on stdin)
03:13:01.914428 > 1 bytes data, server => client
03:13:01.914437 't'
03:13:01.924489 Received DATA (on stdin)
03:13:01.924512 > 1 bytes data, server => client
03:13:01.924524 'e'
03:13:01.934530 Received DATA (on stdin)
03:13:01.934553 > 1 bytes data, server => client
03:13:01.934575 'd'
03:13:01.944612 Received DATA (on stdin)
03:13:01.944636 > 1 bytes data, server => client
03:13:01.944649 '.'
03:13:01.954673 Received DATA (on stdin)
03:13:01.954697 > 1 bytes data, server => client
03:13:01.954709 '\n'
03:13:01.964748 Received DATA (on stdin)
03:13:01.964771 > 1 bytes data, server => client
03:13:01.964784 'L'
03:13:01.974811 Received DATA (on stdin)
03:13:01.974836 > 1 bytes data, server => client
03:13:01.974849 'o'
03:13:01.984872 Received DATA (on stdin)
03:13:01.984897 > 1 bytes data, server => client
03:13:01.984910 'n'
03:13:01.994932 Received DATA (on stdin)
03:13:01.994956 > 1 bytes data, server => client
03:13:01.994969 'g'
03:13:02.004998 Received DATA (on stdin)
03:13:02.005027 > 1 bytes data, server => client
03:13:02.005040 ' '
03:13:02.015050 Received DATA (on stdin)
03:13:02.015083 > 1 bytes data, server => client
03:13:02.015100 'c'
03:13:02.025126 Received DATA (on stdin)
03:13:02.025149 > 1 bytes data, server => client
03:13:02.025162 'h'
03:13:02.035190 Received DATA (on stdin)
03:13:02.035216 > 1 bytes data, server => client
03:13:02.035229 'u'
03:13:02.045262 Received DATA (on stdin)
03:13:02.045288 > 1 bytes data, server => client
03:13:02.045301 'n'
03:13:02.055328 Received DATA (on stdin)
03:13:02.055352 > 1 bytes data, server => client
03:13:02.055365 'k'
03:13:02.065390 Received DATA (on stdin)
03:13:02.065414 > 1 bytes data, server => client
03:13:02.065427 ' '
03:13:02.075465 Received DATA (on stdin)
03:13:02.075503 > 1 bytes data, server => client
03:13:02.075517 'o'
03:13:02.085546 Received DATA (on stdin)
03:13:02.085583 > 1 bytes data, server => client
03:13:02.085596 'f'
03:13:02.095597 Received DATA (on stdin)
03:13:02.095636 > 1 bytes data, server => client
03:13:02.095657 ' '
03:13:02.105681 Received DATA (on stdin)
03:13:02.105731 > 1 bytes data, server => client
03:13:02.105744 'd'
03:13:02.115770 Received DATA (on stdin)
03:13:02.115812 > 1 bytes data, server => client
03:13:02.115822 'a'
03:13:02.125844 Received DATA (on stdin)
03:13:02.125895 > 1 bytes data, server => client
03:13:02.125909 't'
03:13:02.135920 Received DATA (on stdin)
03:13:02.135962 > 1 bytes data, server => client
03:13:02.135974 'a'
03:13:02.146011 Received DATA (on stdin)
03:13:02.146037 > 1 bytes data, server => client
03:13:02.146049 ' '
03:13:02.156078 Received DATA (on stdin)
03:13:02.156097 > 1 bytes data, server => client
03:13:02.156108 't'
03:13:02.166148 Received DATA (on stdin)
03:13:02.166166 > 1 bytes data, server => client
03:13:02.166177 'h'
03:13:02.176215 Received DATA (on stdin)
03:13:02.176233 > 1 bytes data, server => client
03:13:02.176245 'a'
03:13:02.186283 Received DATA (on stdin)
03:13:02.186301 > 1 bytes data, server => client
03:13:02.186312 't'
03:13:02.196348 Received DATA (on stdin)
03:13:02.196364 > 1 bytes data, server => client
03:13:02.196375 ' '
03:13:02.206413 Received DATA (on stdin)
03:13:02.206432 > 1 bytes data, server => client
03:13:02.206443 'c'
03:13:02.216477 Received DATA (on stdin)
03:13:02.216496 > 1 bytes data, server => client
03:13:02.216507 'o'
03:13:02.226542 Received DATA (on stdin)
03:13:02.226560 > 1 bytes data, server => client
03:13:02.226571 'u'
03:13:02.236606 Received DATA (on stdin)
03:13:02.236622 > 1 bytes data, server => client
03:13:02.236633 'l'
03:13:02.246674 Received DATA (on stdin)
03:13:02.246691 > 1 bytes data, server => client
03:13:02.246702 'd'
03:13:02.256741 Received DATA (on stdin)
03:13:02.256758 > 1 bytes data, server => client
03:13:02.256769 'n'
03:13:02.266806 Received DATA (on stdin)
03:13:02.266822 > 1 bytes data, server => client
03:13:02.266833 '''
03:13:02.276873 Received DATA (on stdin)
03:13:02.276890 > 1 bytes data, server => client
03:13:02.276901 't'
03:13:02.286958 Received DATA (on stdin)
03:13:02.286974 > 1 bytes data, server => client
03:13:02.286985 ' '
03:13:02.297034 Received DATA (on stdin)
03:13:02.297071 > 1 bytes data, server => client
03:13:02.297083 'p'
03:13:02.307098 Received DATA (on stdin)
03:13:02.307119 > 1 bytes data, server => client
03:13:02.307139 'o'
03:13:02.317162 Received DATA (on stdin)
03:13:02.317180 > 1 bytes data, server => client
03:13:02.317191 's'
03:13:02.327229 Received DATA (on stdin)
03:13:02.327246 > 1 bytes data, server => client
03:13:02.327257 's'
03:13:02.337301 Received DATA (on stdin)
03:13:02.337317 > 1 bytes data, server => client
03:13:02.337329 'i'
03:13:02.347365 Received DATA (on stdin)
03:13:02.347383 > 1 bytes data, server => client
03:13:02.347393 'b'
03:13:02.357427 Received DATA (on stdin)
03:13:02.357444 > 1 bytes data, server => client
03:13:02.357455 'l'
03:13:02.367488 Received DATA (on stdin)
03:13:02.367505 > 1 bytes data, server => client
03:13:02.367515 'y'
03:13:02.377550 Received DATA (on stdin)
03:13:02.377569 > 1 bytes data, server => client
03:13:02.377580 ' '
03:13:02.387610 Received DATA (on stdin)
03:13:02.387626 > 1 bytes data, server => client
03:13:02.387637 'b'
03:13:02.397672 Received DATA (on stdin)
03:13:02.397691 > 1 bytes data, server => client
03:13:02.397702 'e'
03:13:02.407736 Received DATA (on stdin)
03:13:02.407754 > 1 bytes data, server => client
03:13:02.407765 ' '
03:13:02.417797 Received DATA (on stdin)
03:13:02.417814 > 1 bytes data, server => client
03:13:02.417825 's'
03:13:02.427859 Received DATA (on stdin)
03:13:02.427877 > 1 bytes data, server => client
03:13:02.427888 'e'
03:13:02.437948 Received DATA (on stdin)
03:13:02.437976 > 1 bytes data, server => client
03:13:02.437989 'n'
03:13:02.447986 Received DATA (on stdin)
03:13:02.448014 > 1 bytes data, server => client
03:13:02.448025 't'
03:13:02.458066 Received DATA (on stdin)
03:13:02.458089 > 1 bytes data, server => client
03:13:02.458102 ' '
03:13:02.468127 Received DATA (on stdin)
03:13:02.468152 > 1 bytes data, server => client
03:13:02.468164 'i'
03:13:02.478188 Received DATA (on stdin)
03:13:02.478211 > 1 bytes data, server => client
03:13:02.478224 'n'
03:13:02.488249 Received DATA (on stdin)
03:13:02.488272 > 1 bytes data, server => client
03:13:02.488284 ' '
03:13:02.498311 Received DATA (on stdin)
03:13:02.498336 > 1 bytes data, server => client
03:13:02.498348 't'
03:13:02.508351 Received DATA (on stdin)
03:13:02.508373 > 1 bytes data, server => client
03:13:02.508382 'h'
03:13:02.518432 Received DATA (on stdin)
03:13:02.518455 > 1 bytes data, server => client
03:13:02.518468 'e'
03:13:02.528491 Received DATA (on stdin)
03:13:02.528514 > 1 bytes data, server => client
03:13:02.528526 ' '
03:13:02.538533 Received DATA (on stdin)
03:13:02.538555 > 1 bytes data, server => client
03:13:02.538565 't'
03:13:02.548615 Received DATA (on stdin)
03:13:02.548639 > 1 bytes data, server => client
03:13:02.548652 'i'
03:13:02.558676 Received DATA (on stdin)
03:13:02.558699 > 1 bytes data, server => client
03:13:02.558712 'm'
03:13:02.568741 Received DATA (on stdin)
03:13:02.568768 > 1 bytes data, server => client
03:13:02.568781 'e'
03:13:02.578805 Received DATA (on stdin)
03:13:02.578829 > 1 bytes data, server => client
03:13:02.578842 ' '
03:13:02.588866 Received DATA (on stdin)
03:13:02.588889 > 1 bytes data, server => client
03:13:02.588902 'a'
03:13:02.598926 Received DATA (on stdin)
03:13:02.598949 > 1 bytes data, server => client
03:13:02.598962 'l'
03:13:02.608988 Received DATA (on stdin)
03:13:02.609011 > 1 bytes data, server => client
03:13:02.609024 'l'
03:13:02.619049 Received DATA (on stdin)
03:13:02.619072 > 1 bytes data, server => client
03:13:02.619084 'o'
03:13:02.629110 Received DATA (on stdin)
03:13:02.629133 > 1 bytes data, server => client
03:13:02.629146 't'
03:13:02.639151 Received DATA (on stdin)
03:13:02.639173 > 1 bytes data, server => client
03:13:02.639183 't'
03:13:02.649234 Received DATA (on stdin)
03:13:02.649257 > 1 bytes data, server => client
03:13:02.649270 'e'
03:13:02.659294 Received DATA (on stdin)
03:13:02.659317 > 1 bytes data, server => client
03:13:02.659330 'd'
03:13:02.669358 Received DATA (on stdin)
03:13:02.669389 > 1 bytes data, server => client
03:13:02.669407 '.'
03:13:02.679435 Received DATA (on stdin)
03:13:02.679478 > 1 bytes data, server => client
03:13:02.679491 '\n'
03:13:02.689517 Received DATA (on stdin)
03:13:02.689542 > 1 bytes data, server => client
03:13:02.689555 'L'
03:13:02.699581 Received DATA (on stdin)
03:13:02.699605 > 1 bytes data, server => client
03:13:02.699618 'o'
03:13:02.709645 Received DATA (on stdin)
03:13:02.709670 > 1 bytes data, server => client
03:13:02.709683 'n'
03:13:02.719707 Received DATA (on stdin)
03:13:02.719731 > 1 bytes data, server => client
03:13:02.719744 'g'
03:13:02.729768 Received DATA (on stdin)
03:13:02.729791 > 1 bytes data, server => client
03:13:02.729803 ' '
03:13:02.739825 Received DATA (on stdin)
03:13:02.739850 > 1 bytes data, server => client
03:13:02.739863 'c'
03:13:02.749893 Received DATA (on stdin)
03:13:02.749916 > 1 bytes data, server => client
03:13:02.749929 'h'
03:13:02.759955 Received DATA (on stdin)
03:13:02.759978 > 1 bytes data, server => client
03:13:02.759991 'u'
03:13:02.770015 Received DATA (on stdin)
03:13:02.770038 > 1 bytes data, server => client
03:13:02.770051 'n'
03:13:02.780042 Received DATA (on stdin)
03:13:02.780067 > 1 bytes data, server => client
03:13:02.780080 'k'
03:13:02.790097 Received DATA (on stdin)
03:13:02.790120 > 1 bytes data, server => client
03:13:02.790133 ' '
03:13:02.800157 Received DATA (on stdin)
03:13:02.800180 > 1 bytes data, server => client
03:13:02.800193 'o'
03:13:02.810220 Received DATA (on stdin)
03:13:02.810245 > 1 bytes data, server => client
03:13:02.810258 'f'
03:13:02.820282 Received DATA (on stdin)
03:13:02.820306 > 1 bytes data, server => client
03:13:02.820319 ' '
03:13:02.830344 Received DATA (on stdin)
03:13:02.830367 > 1 bytes data, server => client
03:13:02.830379 'd'
03:13:02.840385 Received DATA (on stdin)
03:13:02.840407 > 1 bytes data, server => client
03:13:02.840416 'a'
03:13:02.850467 Received DATA (on stdin)
03:13:02.850490 > 1 bytes data, server => client
03:13:02.850503 't'
03:13:02.860536 Received DATA (on stdin)
03:13:02.860568 > 1 bytes data, server => client
03:13:02.860581 'a'
03:13:02.870600 Received DATA (on stdin)
03:13:02.870630 > 1 bytes data, server => client
03:13:02.870644 ' '
03:13:02.880667 Received DATA (on stdin)
03:13:02.880695 > 1 bytes data, server => client
03:13:02.880708 't'
03:13:02.890729 Received DATA (on stdin)
03:13:02.890753 > 1 bytes data, server => client
03:13:02.890766 'h'
03:13:02.900792 Received DATA (on stdin)
03:13:02.900816 > 1 bytes data, server => client
03:13:02.900829 'a'
03:13:02.910854 Received DATA (on stdin)
03:13:02.910878 > 1 bytes data, server => client
03:13:02.910891 't'
03:13:02.920916 Received DATA (on stdin)
03:13:02.920939 > 1 bytes data, server => client
03:13:02.920952 ' '
03:13:02.930979 Received DATA (on stdin)
03:13:02.931003 > 1 bytes data, server => client
03:13:02.931016 'c'
03:13:02.941025 Received DATA (on stdin)
03:13:02.941053 > 1 bytes data, server => client
03:13:02.941067 'o'
03:13:02.951103 Received DATA (on stdin)
03:13:02.951128 > 1 bytes data, server => client
03:13:02.951141 'u'
03:13:02.961171 Received DATA (on stdin)
03:13:02.961195 > 1 bytes data, server => client
03:13:02.961208 'l'
03:13:02.971214 Received DATA (on stdin)
03:13:02.971238 > 1 bytes data, server => client
03:13:02.971249 'd'
03:13:02.981275 Received DATA (on stdin)
03:13:02.981294 > 1 bytes data, server => client
03:13:02.981303 'n'
03:13:02.991338 Received DATA (on stdin)
03:13:02.991358 > 1 bytes data, server => client
03:13:02.991367 '''
03:13:03.001411 Received DATA (on stdin)
03:13:03.001443 > 1 bytes data, server => client
03:13:03.001453 't'
03:13:03.011477 Received DATA (on stdin)
03:13:03.011501 > 1 bytes data, server => client
03:13:03.011511 ' '
03:13:03.021540 Received DATA (on stdin)
03:13:03.021560 > 1 bytes data, server => client
03:13:03.021569 'p'
03:13:03.031603 Received DATA (on stdin)
03:13:03.031620 > 1 bytes data, server => client
03:13:03.031628 'o'
03:13:03.041667 Received DATA (on stdin)
03:13:03.041686 > 1 bytes data, server => client
03:13:03.041695 's'
03:13:03.051729 Received DATA (on stdin)
03:13:03.051746 > 1 bytes data, server => client
03:13:03.051755 's'
03:13:03.061791 Received DATA (on stdin)
03:13:03.061814 > 1 bytes data, server => client
03:13:03.061825 'i'
03:13:03.071854 Received DATA (on stdin)
03:13:03.071873 > 1 bytes data, server => client
03:13:03.071882 'b'
03:13:03.081915 Received DATA (on stdin)
03:13:03.081929 > 1 bytes data, server => client
03:13:03.081938 'l'
03:13:03.091980 Received DATA (on stdin)
03:13:03.091998 > 1 bytes data, server => client
03:13:03.092012 'y'
03:13:03.102040 Received DATA (on stdin)
03:13:03.102054 > 1 bytes data, server => client
03:13:03.102063 ' '
03:13:03.112102 Received DATA (on stdin)
03:13:03.112119 > 1 bytes data, server => client
03:13:03.112127 'b'
03:13:03.122163 Received DATA (on stdin)
03:13:03.122180 > 1 bytes data, server => client
03:13:03.122189 'e'
03:13:03.132224 Received DATA (on stdin)
03:13:03.132239 > 1 bytes data, server => client
03:13:03.132247 ' '
03:13:03.142287 Received DATA (on stdin)
03:13:03.142305 > 1 bytes data, server => client
03:13:03.142314 's'
03:13:03.152347 Received DATA (on stdin)
03:13:03.152362 > 1 bytes data, server => client
03:13:03.152370 'e'
03:13:03.162411 Received DATA (on stdin)
03:13:03.162429 > 1 bytes data, server => client
03:13:03.162438 'n'
03:13:03.172471 Received DATA (on stdin)
03:13:03.172488 > 1 bytes data, server => client
03:13:03.172497 't'
03:13:03.182532 Received DATA (on stdin)
03:13:03.182546 > 1 bytes data, server => client
03:13:03.182554 ' '
03:13:03.192596 Received DATA (on stdin)
03:13:03.192613 > 1 bytes data, server => client
03:13:03.192622 'i'
03:13:03.202658 Received DATA (on stdin)
03:13:03.202675 > 1 bytes data, server => client
03:13:03.202683 'n'
03:13:03.212720 Received DATA (on stdin)
03:13:03.212737 > 1 bytes data, server => client
03:13:03.212745 ' '
03:13:03.222783 Received DATA (on stdin)
03:13:03.222798 > 1 bytes data, server => client
03:13:03.222807 't'
03:13:03.232846 Received DATA (on stdin)
03:13:03.232862 > 1 bytes data, server => client
03:13:03.232870 'h'
03:13:03.242908 Received DATA (on stdin)
03:13:03.242924 > 1 bytes data, server => client
03:13:03.242933 'e'
03:13:03.252968 Received DATA (on stdin)
03:13:03.252982 > 1 bytes data, server => client
03:13:03.252991 ' '
03:13:03.263029 Received DATA (on stdin)
03:13:03.263045 > 1 bytes data, server => client
03:13:03.263053 't'
03:13:03.273103 Received DATA (on stdin)
03:13:03.273136 > 1 bytes data, server => client
03:13:03.273146 'i'
03:13:03.283168 Received DATA (on stdin)
03:13:03.283185 > 1 bytes data, server => client
03:13:03.283193 'm'
03:13:03.293231 Received DATA (on stdin)
03:13:03.293246 > 1 bytes data, server => client
03:13:03.293254 'e'
03:13:03.303296 Received DATA (on stdin)
03:13:03.303314 > 1 bytes data, server => client
03:13:03.303323 ' '
03:13:03.313362 Received DATA (on stdin)
03:13:03.313382 > 1 bytes data, server => client
03:13:03.313391 'a'
03:13:03.323423 Received DATA (on stdin)
03:13:03.323437 > 1 bytes data, server => client
03:13:03.323445 'l'
03:13:03.333486 Received DATA (on stdin)
03:13:03.333503 > 1 bytes data, server => client
03:13:03.333512 'l'
03:13:03.343552 Received DATA (on stdin)
03:13:03.343573 > 1 bytes data, server => client
03:13:03.343582 'o'
03:13:03.353615 Received DATA (on stdin)
03:13:03.353631 > 1 bytes data, server => client
03:13:03.353639 't'
03:13:03.363677 Received DATA (on stdin)
03:13:03.363692 > 1 bytes data, server => client
03:13:03.363701 't'
03:13:03.373739 Received DATA (on stdin)
03:13:03.373756 > 1 bytes data, server => client
03:13:03.373764 'e'
03:13:03.383802 Received DATA (on stdin)
03:13:03.383818 > 1 bytes data, server => client
03:13:03.383826 'd'
03:13:03.393863 Received DATA (on stdin)
03:13:03.393877 > 1 bytes data, server => client
03:13:03.393885 '.'
03:13:03.403925 Received DATA (on stdin)
03:13:03.403943 > 1 bytes data, server => client
03:13:03.403957 '\n'
03:13:03.414003 Received DATA (on stdin)
03:13:03.414021 > 1 bytes data, server => client
03:13:03.414030 'L'
03:13:03.424064 Received DATA (on stdin)
03:13:03.424078 > 1 bytes data, server => client
03:13:03.424086 'o'
03:13:03.434124 Received DATA (on stdin)
03:13:03.434146 > 1 bytes data, server => client
03:13:03.434157 'n'
03:13:03.444216 Received DATA (on stdin)
03:13:03.444240 > 1 bytes data, server => client
03:13:03.444249 'g'
03:13:03.454293 Received DATA (on stdin)
03:13:03.454324 > 1 bytes data, server => client
03:13:03.454333 ' '
03:13:03.464361 Received DATA (on stdin)
03:13:03.464376 > 1 bytes data, server => client
03:13:03.464385 'c'
03:13:03.474432 Received DATA (on stdin)
03:13:03.474453 > 1 bytes data, server => client
03:13:03.474465 'h'
03:13:03.484500 Received DATA (on stdin)
03:13:03.484516 > 1 bytes data, server => client
03:13:03.484524 'u'
03:13:03.494569 Received DATA (on stdin)
03:13:03.494585 > 1 bytes data, server => client
03:13:03.494593 'n'
03:13:03.504639 Received DATA (on stdin)
03:13:03.504664 > 1 bytes data, server => client
03:13:03.504673 'k'
03:13:03.514707 Received DATA (on stdin)
03:13:03.514722 > 1 bytes data, server => client
03:13:03.514730 ' '
03:13:03.524774 Received DATA (on stdin)
03:13:03.524790 > 1 bytes data, server => client
03:13:03.524799 'o'
03:13:03.534842 Received DATA (on stdin)
03:13:03.534857 > 1 bytes data, server => client
03:13:03.534866 'f'
03:13:03.544910 Received DATA (on stdin)
03:13:03.544930 > 1 bytes data, server => client
03:13:03.544939 ' '
03:13:03.554977 Received DATA (on stdin)
03:13:03.554993 > 1 bytes data, server => client
03:13:03.555001 'd'
03:13:03.565066 Received DATA (on stdin)
03:13:03.565081 > 1 bytes data, server => client
03:13:03.565089 'a'
03:13:03.575135 Received DATA (on stdin)
03:13:03.575157 > 1 bytes data, server => client
03:13:03.575167 't'
03:13:03.585203 Received DATA (on stdin)
03:13:03.585217 > 1 bytes data, server => client
03:13:03.585226 'a'
03:13:03.595270 Received DATA (on stdin)
03:13:03.595283 > 1 bytes data, server => client
03:13:03.595291 ' '
03:13:03.605340 Received DATA (on stdin)
03:13:03.605356 > 1 bytes data, server => client
03:13:03.605365 't'
03:13:03.615415 Received DATA (on stdin)
03:13:03.615452 > 1 bytes data, server => client
03:13:03.615463 'h'
03:13:03.625485 Received DATA (on stdin)
03:13:03.625503 > 1 bytes data, server => client
03:13:03.625512 'a'
03:13:03.635554 Received DATA (on stdin)
03:13:03.635570 > 1 bytes data, server => client
03:13:03.635578 't'
03:13:03.645620 Received DATA (on stdin)
03:13:03.645640 > 1 bytes data, server => client
03:13:03.645650 ' '
03:13:03.655689 Received DATA (on stdin)
03:13:03.655711 > 1 bytes data, server => client
03:13:03.655721 'c'
03:13:03.665759 Received DATA (on stdin)
03:13:03.665777 > 1 bytes data, server => client
03:13:03.665786 'o'
03:13:03.675827 Received DATA (on stdin)
03:13:03.675854 > 1 bytes data, server => client
03:13:03.675864 'u'
03:13:03.685905 Received DATA (on stdin)
03:13:03.685940 > 1 bytes data, server => client
03:13:03.685950 'l'
03:13:03.695978 Received DATA (on stdin)
03:13:03.696025 > 1 bytes data, server => client
03:13:03.696036 'd'
03:13:03.706052 Received DATA (on stdin)
03:13:03.706081 > 1 bytes data, server => client
03:13:03.706092 'n'
03:13:03.716157 Received DATA (on stdin)
03:13:03.716208 > 1 bytes data, server => client
03:13:03.716220 '''
03:13:03.726201 Received DATA (on stdin)
03:13:03.726227 > 1 bytes data, server => client
03:13:03.726237 't'
03:13:03.736288 Received DATA (on stdin)
03:13:03.736320 > 1 bytes data, server => client
03:13:03.736333 ' '
03:13:03.746343 Received DATA (on stdin)
03:13:03.746378 > 1 bytes data, server => client
03:13:03.746387 'p'
03:13:03.756422 Received DATA (on stdin)
03:13:03.756445 > 1 bytes data, server => client
03:13:03.756458 'o'
03:13:03.766478 Received DATA (on stdin)
03:13:03.766494 > 1 bytes data, server => client
03:13:03.766502 's'
03:13:03.776547 Received DATA (on stdin)
03:13:03.776567 > 1 bytes data, server => client
03:13:03.776580 's'
03:13:03.786613 Received DATA (on stdin)
03:13:03.786632 > 1 bytes data, server => client
03:13:03.786641 'i'
03:13:03.796695 Received DATA (on stdin)
03:13:03.796714 > 1 bytes data, server => client
03:13:03.796728 'b'
=== File too long: 2464 lines omitted here
03:13:11.858893 Received DATA (on stdin)
03:13:11.858909 > 1 bytes data, server => client
03:13:11.858920 'n'
03:13:11.858927 *** We are disconnected
03:13:11.868960 Received DATA (on stdin)
03:13:11.868975 > 1 bytes data, server => client
03:13:11.868983 't'
03:13:11.868990 *** We are disconnected
03:13:11.879027 Received DATA (on stdin)
03:13:11.879044 > 1 bytes data, server => client
03:13:11.879054 ' '
03:13:11.879060 *** We are disconnected
03:13:11.889095 Received DATA (on stdin)
03:13:11.889111 > 1 bytes data, server => client
03:13:11.889119 'i'
03:13:11.889126 *** We are disconnected
03:13:11.899161 Received DATA (on stdin)
03:13:11.899177 > 1 bytes data, server => client
03:13:11.899185 'n'
03:13:11.899192 *** We are disconnected
03:13:11.909234 Received DATA (on stdin)
03:13:11.909261 > 1 bytes data, server => client
03:13:11.909271 ' '
03:13:11.909278 *** We are disconnected
03:13:11.919301 Received DATA (on stdin)
03:13:11.919316 > 1 bytes data, server => client
03:13:11.919324 't'
03:13:11.919331 *** We are disconnected
03:13:11.929369 Received DATA (on stdin)
03:13:11.929387 > 1 bytes data, server => client
03:13:11.929395 'h'
03:13:11.929402 *** We are disconnected
03:13:11.939438 Received DATA (on stdin)
03:13:11.939454 > 1 bytes data, server => client
03:13:11.939462 'e'
03:13:11.939469 *** We are disconnected
03:13:11.949506 Received DATA (on stdin)
03:13:11.949522 > 1 bytes data, server => client
03:13:11.949530 ' '
03:13:11.949537 *** We are disconnected
03:13:11.959574 Received DATA (on stdin)
03:13:11.959589 > 1 bytes data, server => client
03:13:11.959598 't'
03:13:11.959607 *** We are disconnected
03:13:11.969642 Received DATA (on stdin)
03:13:11.969657 > 1 bytes data, server => client
03:13:11.969665 'i'
03:13:11.969672 *** We are disconnected
03:13:11.979710 Received DATA (on stdin)
03:13:11.979728 > 1 bytes data, server => client
03:13:11.979737 'm'
03:13:11.979744 *** We are disconnected
03:13:11.989779 Received DATA (on stdin)
03:13:11.989795 > 1 bytes data, server => client
03:13:11.989804 'e'
03:13:11.989811 *** We are disconnected
03:13:11.999848 Received DATA (on stdin)
03:13:11.999874 > 1 bytes data, server => client
03:13:11.999884 ' '
03:13:11.999891 *** We are disconnected
03:13:12.009916 Received DATA (on stdin)
03:13:12.009939 > 1 bytes data, server => client
03:13:12.009948 'a'
03:13:12.009955 *** We are disconnected
03:13:12.019983 Received DATA (on stdin)
03:13:12.019997 > 1 bytes data, server => client
03:13:12.020012 'l'
03:13:12.020020 *** We are disconnected
03:13:12.030049 Received DATA (on stdin)
03:13:12.030064 > 1 bytes data, server => client
03:13:12.030072 'l'
03:13:12.030079 *** We are disconnected
03:13:12.040117 Received DATA (on stdin)
03:13:12.040135 > 1 bytes data, server => client
03:13:12.040147 'o'
03:13:12.040157 *** We are disconnected
03:13:12.050182 Received DATA (on stdin)
03:13:12.050196 > 1 bytes data, server => client
03:13:12.050204 't'
03:13:12.050211 *** We are disconnected
03:13:12.060245 Received DATA (on stdin)
03:13:12.060259 > 1 bytes data, server => client
03:13:12.060267 't'
03:13:12.060274 *** We are disconnected
03:13:12.070312 Received DATA (on stdin)
03:13:12.070327 > 1 bytes data, server => client
03:13:12.070335 'e'
03:13:12.070342 *** We are disconnected
03:13:12.080377 Received DATA (on stdin)
03:13:12.080391 > 1 bytes data, server => client
03:13:12.080400 'd'
03:13:12.080406 *** We are disconnected
03:13:12.090443 Received DATA (on stdin)
03:13:12.090456 > 1 bytes data, server => client
03:13:12.090464 '.'
03:13:12.090471 *** We are disconnected
03:13:12.100509 Received DATA (on stdin)
03:13:12.100534 > 1 bytes data, server => client
03:13:12.100543 '\n'
03:13:12.100550 *** We are disconnected
03:13:12.110586 Received DATA (on stdin)
03:13:12.110603 > 1 bytes data, server => client
03:13:12.110613 'L'
03:13:12.110619 *** We are disconnected
03:13:12.120651 Received DATA (on stdin)
03:13:12.120664 > 1 bytes data, server => client
03:13:12.120675 'o'
03:13:12.120682 *** We are disconnected
03:13:12.130717 Received DATA (on stdin)
03:13:12.130731 > 1 bytes data, server => client
03:13:12.130739 'n'
03:13:12.130746 *** We are disconnected
03:13:12.140795 Received DATA (on stdin)
03:13:12.140813 > 1 bytes data, server => client
03:13:12.140825 'g'
03:13:12.140836 *** We are disconnected
03:13:12.150846 Received DATA (on stdin)
03:13:12.150859 > 1 bytes data, server => client
03:13:12.150868 ' '
03:13:12.150874 *** We are disconnected
03:13:12.160927 Received DATA (on stdin)
03:13:12.160943 > 1 bytes data, server => client
03:13:12.160955 'c'
03:13:12.160965 *** We are disconnected
03:13:12.170978 Received DATA (on stdin)
03:13:12.170995 > 1 bytes data, server => client
03:13:12.171009 'h'
03:13:12.171033 *** We are disconnected
03:13:12.181044 Received DATA (on stdin)
03:13:12.181058 > 1 bytes data, server => client
03:13:12.181066 'u'
03:13:12.181073 *** We are disconnected
03:13:12.191125 Received DATA (on stdin)
03:13:12.191141 > 1 bytes data, server => client
03:13:12.191153 'n'
03:13:12.191163 *** We are disconnected
03:13:12.201177 Received DATA (on stdin)
03:13:12.201191 > 1 bytes data, server => client
03:13:12.201199 'k'
03:13:12.201205 *** We are disconnected
03:13:12.211239 Received DATA (on stdin)
03:13:12.211258 > 1 bytes data, server => client
03:13:12.211270 ' '
03:13:12.211280 *** We are disconnected
03:13:12.221305 Received DATA (on stdin)
03:13:12.221321 > 1 bytes data, server => client
03:13:12.221330 'o'
03:13:12.221337 *** We are disconnected
03:13:12.231371 Received DATA (on stdin)
03:13:12.231385 > 1 bytes data, server => client
03:13:12.231393 'f'
03:13:12.231400 *** We are disconnected
03:13:12.241434 Received DATA (on stdin)
03:13:12.241450 > 1 bytes data, server => client
03:13:12.241459 ' '
03:13:12.241465 *** We are disconnected
03:13:12.251500 Received DATA (on stdin)
03:13:12.251515 > 1 bytes data, server => client
03:13:12.251523 'd'
03:13:12.251530 *** We are disconnected
03:13:12.261567 Received DATA (on stdin)
03:13:12.261579 > 1 bytes data, server => client
03:13:12.261588 'a'
03:13:12.261594 *** We are disconnected
03:13:12.271632 Received DATA (on stdin)
03:13:12.271647 > 1 bytes data, server => client
03:13:12.271656 't'
03:13:12.271662 *** We are disconnected
03:13:12.281697 Received DATA (on stdin)
03:13:12.281710 > 1 bytes data, server => client
03:13:12.281718 'a'
03:13:12.281725 *** We are disconnected
03:13:12.291763 Received DATA (on stdin)
03:13:12.291776 > 1 bytes data, server => client
03:13:12.291784 ' '
03:13:12.291791 *** We are disconnected
03:13:12.301830 Received DATA (on stdin)
03:13:12.301844 > 1 bytes data, server => client
03:13:12.301852 't'
03:13:12.301859 *** We are disconnected
03:13:12.311892 Received DATA (on stdin)
03:13:12.311908 > 1 bytes data, server => client
03:13:12.311916 'h'
03:13:12.311923 *** We are disconnected
03:13:12.321957 Received DATA (on stdin)
03:13:12.321975 > 1 bytes data, server => client
03:13:12.321983 'a'
03:13:12.321990 *** We are disconnected
03:13:12.332020 Received DATA (on stdin)
03:13:12.332036 > 1 bytes data, server => client
03:13:12.332048 't'
03:13:12.332055 *** We are disconnected
03:13:12.342083 Received DATA (on stdin)
03:13:12.342099 > 1 bytes data, server => client
03:13:12.342108 ' '
03:13:12.342115 *** We are disconnected
03:13:12.352162 Received DATA (on stdin)
03:13:12.352180 > 1 bytes data, server => client
03:13:12.352192 'c'
03:13:12.352203 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.01.12 03:12:51 LOG5[16955]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.01.12 03:12:51 LOG5[16955]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.01.12 03:12:51 LOG5[16955]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.01.12 03:12:51 LOG5[16955]: Update OpenSSL shared libraries or rebuild stunnel
2019.01.12 03:12:51 LOG5[16955]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.01.12 03:12:51 LOG5[16955]: Reading configuration from file /build-13601/tests/ftps_stunnel.conf
2019.01.12 03:12:51 LOG5[16955]: FIPS mode disabled
2019.01.12 03:12:51 LOG5[16955]: Configuration successful
2019.01.12 03:12:52 LOG5[16958]: Service [curltest] accepted connection from 127.0.0.1:45862
2019.01.12 03:12:52 LOG5[16958]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:12:52 LOG5[16958]: Service [curltest] connected remote server from 127.0.0.1:56594
2019.01.12 03:12:53 LOG5[16958]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.01.12 03:12:55 LOG5[16982]: Service [curltest] accepted connection from 127.0.0.1:45868
2019.01.12 03:12:56 LOG5[16982]: s_connect: connected 127.0.0.1:8992
2019.01.12 03:12:56 LOG5[16982]: Service [curltest] connected remote server from 127.0.0.1:56600
2019.01.12 03:13:11 LOG5[16982]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.01.12 03:13:12 LOG5[16955]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* Expire in 0 ms for 6 (transfer 0x559b44b5d6a8)
* Expire in 13000 ms for 8 (transfer 0x559b44b5d6a8)
* STATE: INIT => CONNECT handle 0x559b44b5d6a8; line 1443 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x559b44b5d6a8)
* STATE: CONNECT => WAITCONNECT handle 0x559b44b5d6a8; line 1494 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x559b44b5d6a8; line 1613 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [138 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x559b44ba35f8 (line 3118) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x559b44b5d6a8; line 1627 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x559b44ba35f8 (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 0x559b44ba35f8 (line 2546) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x559b44ba35f8 (line 2522) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x559b44ba35f8 (line 2735) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x559b44ba35f8 (line 815) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x559b44ba35f8 (line 2870) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x559b44b5d6a8; line 1648 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x559b44ba35f8 (line 1346) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x559b44b5d6a8; line 1697 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||40887|)
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x559b44b5d6a8)
* Connecting to 127.0.0.1 (127.0.0.1) port 40887
* FTP 0x559b44ba35f8 (line 2003) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x559b44b5d6a8; line 1781 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x559b44ba35f8 (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 0x559b44ba35f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x559b44ba35f8 (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 0x559b44ba35f8 (line 485) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x559b44b5d6a8; line 1807 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x559b44b5d6a8; line 1834 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x559b44b5d6a8; line 1849 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x559b44b5d6a8; line 2046 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x559b44b5d6a8)
=== 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 3600 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
1 3600 1 50 0 0 8 0 0:07:30 0:00:05 0:07:25 8
4 3600 4 149 0 0 21 0 0:02:51 0:00:06 0:02:45 30
6 3600 6 248 0 0 31 0 0:01:56 0:00:07 0:01:49 49
9 3600 9 348 0 0 39 0 0:01:32 0:00:08 0:01:24 69
12 3600 12 447 0 0 45 0 0:01:20 0:00:09 0:01:11 89
15 3600 15 546 0 0 50 0 0:01:12 0:00:10 0:01:02 99
17 3600 17 646 0 0 54 0 0:01:06 0:00:11 0:00:55 99
20 3600 20 745 0 0 58 0 0:01:02 0:00:12 0:00:50 99
23 3600 23 844 0 0 61 0 0:00:59 0:00:13 0:00:46 99
26 3600 26 944 0 0 63 0 0:00:57 0:00:14 0:00:43 99
28 3600 28 1043 0 0 66 0 0:00:54 0:00:15 0:00:39 99
29 3600 29 1063 0 0 66 0 0:00:54 0:00:16 0:00:38 98
curl: (28) Operation timed out after 16004 milliseconds with 1063 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:12:54.181919 == Info: Expire in 0 ms for 6 (transfer 0x626d7a8)
03:12:54.206694 == Info: Expire in 16000 ms for 8 (transfer 0x626d7a8)
03:12:54.209079 == Info: STATE: INIT => CONNECT handle 0x626d7a8; line 1443 (connection #-5000)
03:12:54.247090 == Info: Added connection 0. The cache now contains 1 members
03:12:54.264143 == Info: Trying 127.0.0.1...
03:12:54.264756 == Info: TCP_NODELAY set
03:12:54.267918 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:12:54.269534 == Info: STATE: CONNECT => WAITCONNECT handle 0x626d7a8; line 1494 (connection #0)
03:12:54.281026 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:12:54.281585 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x626d7a8; line 1613 (connection #0)
03:12:54.282727 == Info: Marked for [keep alive]: FTP default
03:12:55.517603 == Info: successfully set certificate verify locations:
03:12:55.517867 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:12:55.598587 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:55.603705 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:12:55.603771 => Send SSL data, 138 bytes (0x8a)
0000: ......<Q....E.q.&2.8r..._.`^......EJ....*.+./.,.0.......#...'...
0040: $...(...../.<.5.=.....3.........................................
0080: ..........
03:12:55.621921 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:12:55.626479 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:12:55.626538 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..[.[7F]3%%.....r.#.@..2.i.kB.....tk. ...*......R.5..z.m.d...D^
0040: du..S2../................
03:12:55.672127 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:55.672612 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:12:55.672675 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:12:55.774180 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:12:55.774449 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:12:55.774517 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...9..`v...5.xO....`).x...C...h........3..q........G.!.q
0040: ...*...7.....n.rIf*.......S.....&..H...b..-....j<...NW.cv4.X....
0080: v..6..++.t...{W.G....m-#..U;4....P.<l.5.P.?....1...|...,b.d...uc
00c0: w...G..].+[..Ok}...y...Y. ......6.A.."..k8.......P.......[7F]..K.|.
0100: |X{....a..i:.\Y...MEJ.}.l'.4....#)'N....,(..a...7...%L.....2 q..
0140: V)..t.<..<g..
03:12:55.845427 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:55.845778 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:12:55.845838 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:12:55.967213 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:12:55.967466 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:12:55.967528 => Send SSL data, 70 bytes (0x46)
0000: ...BA.@B..[.4}.P..7.V<$!e3.A..........:.yN.,.7h.b..&.[...jP.....
0040: .K....
03:12:55.980572 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:55.981154 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:12:55.981211 => Send SSL data, 1 bytes (0x1)
0000: .
03:12:56.013978 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:12:56.014185 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:12:56.014240 => Send SSL data, 16 bytes (0x10)
0000: .........U(.[...
03:12:56.016958 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.018018 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:12:56.018075 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:12:56.020546 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:12:56.025980 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:12:56.026038 <= Recv SSL data, 16 bytes (0x10)
0000: ......f.6.[0<W,.
03:12:56.048355 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:12:56.050580 == Info: Server certificate:
03:12:56.058067 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:12:56.064462 == Info: start date: Aug 31 23:39:18 2018 GMT
03:12:56.065427 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:12:56.066280 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:12:56.067202 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:12:56.068681 == Info: FTP 0x62ec4f8 (line 3118) state change from STOP to WAIT220
03:12:56.075482 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.079147 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.079389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.079620 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.079845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.080073 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.080295 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.083397 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x626d7a8; line 1627 (connection #0)
03:12:56.089784 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.096357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.106407 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.116519 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.126564 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.136641 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.146702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.156753 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.166828 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.176909 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.186970 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.197042 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.207103 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.217193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.227238 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.237349 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.247386 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.257437 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.267504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.277573 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.287643 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.297706 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.307751 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.317854 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.327911 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.328312 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:12:56.338004 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.348061 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.358112 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.368171 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.378235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.388278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.398341 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.408421 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.418481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.428542 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.438610 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.448675 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.458738 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.468805 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.478893 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.488918 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.498951 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.509059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.519102 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.529246 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.539256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.549386 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.559444 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.569544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.579591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.589645 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.599714 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.609751 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.619873 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.629901 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.639962 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.650054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.650198 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:12:56.660139 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.670188 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.680271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.690320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.700361 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.710424 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.720492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.730552 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.740703 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.750687 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.760739 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.770790 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.780856 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.790908 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.800967 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.811023 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.821093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.831150 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.841221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.851311 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.861334 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.871442 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.881499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.891551 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.901610 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.911657 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.921742 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.931797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.941841 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.951920 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.962030 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.972035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.972173 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:12:56.982165 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:56.992189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.002251 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.012274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.022319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.032403 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.042508 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.052531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.062575 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.072668 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.082732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.092782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.102852 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.112936 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.122989 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.133054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.143116 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.153189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.163249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.173287 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.183409 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.193422 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.203490 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.213567 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.223627 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.233684 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.243758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.253836 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.263887 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.273951 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.284030 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.294088 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.294228 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:12:57.304224 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.314326 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.324361 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.334421 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.344481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.354552 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.364625 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.374674 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.384765 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.394850 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.404913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.414983 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.425042 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.435122 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.445188 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.455263 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.465331 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.475406 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.485468 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.495544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.505606 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.515671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.525740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.535805 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.545860 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.555905 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.565980 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.576054 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.586106 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.596174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.606261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.616331 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.616468 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:12:57.623628 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:12:57.626268 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:12:57.627065 == Info: FTP 0x62ec4f8 (line 803) state change from WAIT220 to USER
03:12:57.627421 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.668291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.676929 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.686983 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.697049 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.697192 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:12:57.698477 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:57.698605 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:12:57.698996 == Info: FTP 0x62ec4f8 (line 2546) state change from USER to PASS
03:12:57.707285 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.748265 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.757635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.767674 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.777757 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.777907 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:12:57.778593 => Send SSL data, 5 bytes (0x5)
0000: ....
03:12:57.778721 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:12:57.779057 == Info: FTP 0x62ec4f8 (line 2522) state change from PASS to PBSZ
03:12:57.787955 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.828205 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.828455 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.838266 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.848304 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.858385 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.868544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.878609 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.888647 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.898691 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.908740 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.918814 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.928876 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.938890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.949008 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.959069 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.969129 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.979202 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.989293 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:57.999362 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.009368 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.019477 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.029639 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.039770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.040014 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:12:58.040881 => Send SSL data, 5 bytes (0x5)
0000: ....
03:12:58.041050 => Send header, 8 bytes (0x8)
0000: PROT C
03:12:58.041533 == Info: FTP 0x62ec4f8 (line 2735) state change from PBSZ to PROT
03:12:58.049994 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.092300 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.100261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.110328 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.120380 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.130422 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.140523 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.150574 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.160660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.170721 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.180775 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.190820 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.200901 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.210889 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.221033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.231066 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.241101 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.251188 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.261256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.271283 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.281514 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.291459 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.301627 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.301800 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:12:58.302604 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:58.302731 => Send header, 5 bytes (0x5)
0000: PWD
03:12:58.303062 == Info: FTP 0x62ec4f8 (line 815) state change from PROT to PWD
03:12:58.311787 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.352240 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.362093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.372134 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.382192 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.392272 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.392411 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:12:58.393547 == Info: Entry path is '/'
03:12:58.393873 == Info: FTP 0x62ec4f8 (line 2870) state change from PWD to STOP
03:12:58.394045 == Info: protocol connect phase DONE
03:12:58.394411 == Info: STATE: PROTOCONNECT => DO handle 0x626d7a8; line 1648 (connection #0)
03:12:58.397199 == Info: DO phase starts
03:12:58.399177 => Send SSL data, 5 bytes (0x5)
0000: .....
03:12:58.399306 => Send header, 6 bytes (0x6)
0000: EPSV
03:12:58.399654 == Info: FTP 0x62ec4f8 (line 1346) state change from STOP to PASV
03:12:58.399828 == Info: Connect data stream passively
03:12:58.400619 == Info: ftp_perform ends with SECONDARY: 0
03:12:58.401364 == Info: STATE: DO => DOING handle 0x626d7a8; line 1697 (connection #0)
03:12:58.404734 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.448249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.454627 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.464709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.474707 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.484818 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.494894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.504968 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.515006 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.525105 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.535128 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.545236 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.555275 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.565316 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.575378 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.585463 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.595505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.605540 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.615635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.625671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.635732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.645835 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.655858 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.665971 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.675964 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.686059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.696122 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.706158 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.716249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.726303 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.736401 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.746438 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.756497 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.766574 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.776637 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.776779 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42755|).
03:12:58.783101 == Info: Trying 127.0.0.1...
03:12:58.783168 == Info: TCP_NODELAY set
03:12:58.783297 == Info: Expire in 200 ms for 4 (transfer 0x626d7a8)
03:12:58.784858 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42755
03:12:58.785807 == Info: FTP 0x62ec4f8 (line 2003) state change from PASV to STOP
03:12:58.786340 == Info: DO phase is complete2
03:12:58.786616 == Info: STATE: DOING => DO_MORE handle 0x626d7a8; line 1781 (connection #0)
03:12:58.787324 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:12:58.787547 == Info: DO-MORE connected phase starts
03:12:58.788979 => Send SSL data, 5 bytes (0x5)
0000: ....
03:12:58.789107 => Send header, 8 bytes (0x8)
0000: TYPE I
03:12:58.789455 == Info: FTP 0x62ec4f8 (line 3444) state change from STOP to RETR_TYPE
03:12:58.789851 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.832507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.839851 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.849932 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.860014 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.860160 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:12:58.861304 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:12:58.861427 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:12:58.861778 == Info: FTP 0x62ec4f8 (line 1769) state change from RETR_TYPE to RETR_SIZE
03:12:58.870536 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.912290 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.920848 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.930935 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.940974 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.951062 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.961126 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:58.961274 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:12:58.963084 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:12:58.963210 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:12:58.963583 == Info: FTP 0x62ec4f8 (line 2255) state change from RETR_SIZE to RETR
03:12:58.971695 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.012245 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.022046 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.032080 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.042139 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.052198 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.062451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.072389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.082479 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.092513 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.102621 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.112678 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.122734 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.132805 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.142845 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.152937 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.163000 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.173053 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.183136 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.193193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.203274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.213311 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.223411 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.233468 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.243575 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.253617 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.263699 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.273730 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.283835 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.293886 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.303952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.314078 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.324164 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.334166 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.344260 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.354306 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.364368 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.374472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.384507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.394566 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.404655 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.414754 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.424809 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.434877 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.444936 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.455010 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.465075 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.475121 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.485221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.495281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.505447 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:12:59.505654 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:12:59.506634 == Info: Maxdownload = -1
03:12:59.506856 == Info: Getting file with size: 3600
03:12:59.508284 == Info: FTP 0x62ec4f8 (line 485) state change from RETR to STOP
03:12:59.508930 == Info: STATE: DO_MORE => DO_DONE handle 0x626d7a8; line 1807 (connection #0)
03:12:59.509959 == Info: STATE: DO_DONE => WAITPERFORM handle 0x626d7a8; line 1834 (connection #0)
03:12:59.510768 == Info: STATE: WAITPERFORM => PERFORM handle 0x626d7a8; line 1849 (connection #0)
03:12:59.517907 <= Recv data, 1 bytes (0x1)
0000: L
03:12:59.525564 <= Recv data, 1 bytes (0x1)
0000: o
03:12:59.535636 <= Recv data, 1 bytes (0x1)
0000: n
03:12:59.545709 <= Recv data, 1 bytes (0x1)
0000: g
03:12:59.555769 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.565818 <= Recv data, 1 bytes (0x1)
0000: c
03:12:59.575899 <= Recv data, 1 bytes (0x1)
0000: h
03:12:59.585956 <= Recv data, 1 bytes (0x1)
0000: u
03:12:59.596009 <= Recv data, 1 bytes (0x1)
0000: n
03:12:59.606088 <= Recv data, 1 bytes (0x1)
0000: k
03:12:59.616154 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.626224 <= Recv data, 1 bytes (0x1)
0000: o
03:12:59.636288 <= Recv data, 1 bytes (0x1)
0000: f
03:12:59.646355 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.656426 <= Recv data, 1 bytes (0x1)
0000: d
03:12:59.666583 <= Recv data, 1 bytes (0x1)
0000: a
03:12:59.676633 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.686694 <= Recv data, 1 bytes (0x1)
0000: a
03:12:59.696745 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.706817 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.716876 <= Recv data, 1 bytes (0x1)
0000: h
03:12:59.726949 <= Recv data, 1 bytes (0x1)
0000: a
03:12:59.737008 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.747082 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.757151 <= Recv data, 1 bytes (0x1)
0000: c
03:12:59.767210 <= Recv data, 1 bytes (0x1)
0000: o
03:12:59.777279 <= Recv data, 1 bytes (0x1)
0000: u
03:12:59.787342 <= Recv data, 1 bytes (0x1)
0000: l
03:12:59.797419 <= Recv data, 1 bytes (0x1)
0000: d
03:12:59.807492 <= Recv data, 1 bytes (0x1)
0000: n
03:12:59.817541 <= Recv data, 1 bytes (0x1)
0000: '
03:12:59.827635 <= Recv data, 1 bytes (0x1)
0000: t
03:12:59.837701 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.847746 <= Recv data, 1 bytes (0x1)
0000: p
03:12:59.857808 <= Recv data, 1 bytes (0x1)
0000: o
03:12:59.867879 <= Recv data, 1 bytes (0x1)
0000: s
03:12:59.878006 <= Recv data, 1 bytes (0x1)
0000: s
03:12:59.888081 <= Recv data, 1 bytes (0x1)
0000: i
03:12:59.898127 <= Recv data, 1 bytes (0x1)
0000: b
03:12:59.908169 <= Recv data, 1 bytes (0x1)
0000: l
03:12:59.918237 <= Recv data, 1 bytes (0x1)
0000: y
03:12:59.928298 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.938354 <= Recv data, 1 bytes (0x1)
0000: b
03:12:59.948436 <= Recv data, 1 bytes (0x1)
0000: e
03:12:59.958502 <= Recv data, 1 bytes (0x1)
0000:
03:12:59.968582 <= Recv data, 1 bytes (0x1)
0000: s
03:12:59.978640 <= Recv data, 1 bytes (0x1)
0000: e
03:12:59.988716 <= Recv data, 1 bytes (0x1)
0000: n
03:12:59.998798 <= Recv data, 1 bytes (0x1)
0000: t
03:13:00.008880 <= Recv data, 1 bytes (0x1)
0000:
03:13:00.018914 <= Recv data, 1 bytes (0x1)
0000: i
03:13:00.028979 <= Recv data, 1 bytes (0x1)
0000: n
03:13:00.039063 <= Recv data, 1 bytes (0x1