Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/stunnel.spec'], chrootPath='/mnt/compose/mock/dist-circle9-build-94953-41462/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/stunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670457600 Wrote: /builddir/build/SRPMS/stunnel-5.62-3.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stunnel.spec'], chrootPath='/mnt/compose/mock/dist-circle9-build-94953-41462/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stunnel.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670457600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bTpDLC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stunnel-5.62 + /usr/bin/gzip -dc /builddir/build/SOURCES/stunnel-5.62.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd stunnel-5.62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (stunnel-5.50-authpriv.patch): + echo 'Patch #0 (stunnel-5.50-authpriv.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authpriv --fuzz=0 patching file doc/stunnel.8.in Hunk #1 succeeded at 204 (offset 4 lines). patching file doc/stunnel.html.in patching file doc/stunnel.pod.in patching file src/options.c Hunk #1 succeeded at 1886 (offset 141 lines). Patch #1 (stunnel-5.61-systemd-service.patch): + echo 'Patch #1 (stunnel-5.61-systemd-service.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systemd-service --fuzz=0 patching file tools/stunnel.service.in + echo 'Patch #3 (stunnel-5.56-system-ciphers.patch):' Patch #3 (stunnel-5.56-system-ciphers.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .system-ciphers --fuzz=0 patching file src/options.c Hunk #1 succeeded at 322 (offset 45 lines). Patch #4 (stunnel-5.56-coverity.patch): + echo 'Patch #4 (stunnel-5.56-coverity.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity --fuzz=0 patching file src/str.c patching file src/stunnel.c Hunk #1 succeeded at 446 (offset 82 lines). Patch #5 (stunnel-5.61-default-tls-version.patch): + echo 'Patch #5 (stunnel-5.61-default-tls-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .default-tls-version --fuzz=0 patching file src/ctx.c patching file src/options.c patching file src/prototypes.h Patch #6 (stunnel-5.56-curves-doc-update.patch): + echo 'Patch #6 (stunnel-5.56-curves-doc-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .curves-doc-update --fuzz=0 patching file doc/stunnel.8.in Hunk #1 succeeded at 475 (offset 2 lines). patching file doc/stunnel.html.in Hunk #1 succeeded at 570 (offset 2 lines). patching file doc/stunnel.pod.in Hunk #1 succeeded at 501 (offset 2 lines). patching file doc/stunnel.pl.pod.in Hunk #1 succeeded at 516 (offset 9 lines). patching file doc/stunnel.pl.html.in Hunk #1 succeeded at 568 (offset 4 lines). patching file doc/stunnel.pl.8.in Hunk #1 succeeded at 492 (offset 9 lines). Patch #7 (stunnel-5.61-openssl30-fips.patch): + echo 'Patch #7 (stunnel-5.61-openssl30-fips.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl30-fips --fuzz=0 patching file tests/plugins/p11_fips_cipher.py Patch #8 (stunnel-5.62-disabled-curves.patch): + echo 'Patch #8 (stunnel-5.62-disabled-curves.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .disabled-curves --fuzz=0 patching file src/options.c + echo 'Patch #9 (stunnel-5.62-openssl3-error-handling.patch):' Patch #9 (stunnel-5.62-openssl3-error-handling.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl3-error-handling --fuzz=0 patching file src/common.h Hunk #1 succeeded at 488 (offset -3 lines). Hunk #2 succeeded at 500 (offset -3 lines). patching file src/ctx.c Hunk #1 succeeded at 1006 (offset 5 lines). Hunk #2 succeeded at 1049 (offset 5 lines). + sed -i s/-fstack-protector/-fstack-protector-strong/ configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QlcwJn + umask 022 + cd /builddir/build/BUILD + cd stunnel-5.62 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' + export CFLAGS + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC ' ++ pkg-config --libs-only-L openssl + LDFLAGS= + export LDFLAGS + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-10 18:37:31.242027360 +0000 +++ ./configure 2023-05-10 18:37:31.296027541 +0000 @@ -1791,7 +1791,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-10 18:37:31.296027541 +0000 +++ ./configure 2023-05-10 18:37:31.318027615 +0000 @@ -8933,7 +8933,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -17139,7 +17139,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./auto/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./auto/config.guess ++ basename ./auto/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./auto/config.guess '/usr/lib/rpm/redhat/config.guess' -> './auto/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./auto/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./auto/config.sub ++ basename ./auto/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./auto/config.sub '/usr/lib/rpm/redhat/config.sub' -> './auto/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./auto/ltmain.sh + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-fips --enable-ipv6 --with-ssl=/usr --disable-libwrap 'CPPFLAGS=-UPIDFILE -DPIDFILE='\''"/var/run/stunnel.pid"'\''' configure: **************************************** initialization checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for i686-redhat-linux-gnu-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes configure: **************************************** bash completion checking for i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for bashcompdir... ${prefix}/share/bash-completion/completions configure: **************************************** thread model checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes configure: PTHREAD thread model detected configure: **************************************** compiler/linker flags checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wpedantic... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wconversion... yes checking whether C compiler accepts -Wno-long-long... yes checking whether C compiler accepts -Wno-deprecated-declarations... yes checking whether C compiler accepts -fPIE... yes checking whether C compiler accepts -fstack-protector-strong... yes checking whether the linker accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes configure: **************************************** libtool checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8939: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i686-redhat-linux-gnu-mt... no checking for mt... no checking if : 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... no 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) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... yes checking whether to build static libraries... no configure: **************************************** types checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for struct sockaddr_un... yes checking for struct addrinfo... yes configure: **************************************** PTY device files checking for "/dev/ptmx"... yes checking for "/dev/ptc"... no configure: **************************************** entropy sources checking for "/dev/urandom"... yes configure: **************************************** default group checking for default group... nobody checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 configure: **************************************** header files checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for unistd.h... (cached) yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for sys/types.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking linux/sched.h usability... yes checking linux/sched.h presence... yes checking for linux/sched.h... yes checking for struct msghdr.msg_control... yes checking for linux/netfilter_ipv4.h... yes configure: **************************************** libraries checking for library containing gethostbyname... none required checking for library containing yp_get_default_domain... no checking for library containing socket... none required checking for library containing openpty... none required checking for library containing dlopen... none required checking for library containing shl_load... no configure: **************************************** library functions checking for snprintf... yes checking for vsnprintf... yes checking for openpty... yes checking for _getpty... no checking for daemon... yes checking for waitpid... yes checking for wait4... yes checking for setsid... yes checking for setgroups... yes checking for chroot... yes checking for realpath... yes checking for sysconf... yes checking for getrlimit... yes checking for pthread_sigmask... yes checking for localtime_r... yes checking for getcontext... yes checking for __makecontext_v2... no checking for poll... yes checking for gethostbyname2... yes checking for endhostent... yes checking for getnameinfo... yes checking for getaddrinfo... yes checking for broken poll() implementation... no checking for pipe2... yes checking for accept4... yes configure: **************************************** optional features checking whether to enable IPv6 support... yes checking whether to enable FIPS support... yes checking whether to enable systemd socket activation support... autodetecting checking for library containing sd_listen_fds... no configure: systemd library not found checking whether to enable TCP wrappers support... no configure: **************************************** TLS checking for TLS directory... /usr checking for FIPS_mode_set... no checking for OSSL_PROVIDER_available... yes checking whether DH parameters need to be updated... no configure: **************************************** write the results checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating tools/Makefile config.status: creating tests/Makefile config.status: creating tests/certs/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: **************************************** success + make V=1 'LDADD=-pie -Wl,-z,defs,-z,relro,-z,now' Making all in src make[1]: Entering directory '/builddir/build/BUILD/stunnel-5.62/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/stunnel-5.62/src' gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-tls.o `test -f 'tls.c' || echo './'`tls.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-str.o `test -f 'str.c' || echo './'`str.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-file.o `test -f 'file.c' || echo './'`file.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-client.o `test -f 'client.c' || echo './'`client.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-log.o `test -f 'log.c' || echo './'`log.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-options.o `test -f 'options.c' || echo './'`options.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-protocol.o `test -f 'protocol.c' || echo './'`protocol.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-network.o `test -f 'network.c' || echo './'`network.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-resolver.o `test -f 'resolver.c' || echo './'`resolver.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-ssl.o `test -f 'ssl.c' || echo './'`ssl.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-ctx.o `test -f 'ctx.c' || echo './'`ctx.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-verify.o `test -f 'verify.c' || echo './'`verify.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-sthreads.o `test -f 'sthreads.c' || echo './'`sthreads.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-fd.o `test -f 'fd.c' || echo './'`fd.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-dhparam.o `test -f 'dhparam.c' || echo './'`dhparam.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-cron.o `test -f 'cron.c' || echo './'`cron.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-stunnel.o `test -f 'stunnel.c' || echo './'`stunnel.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-pty.o `test -f 'pty.c' || echo './'`pty.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-libwrap.o `test -f 'libwrap.c' || echo './'`libwrap.c gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/stunnel"' -DCONFDIR='"/etc/stunnel"' -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o stunnel-ui_unix.o `test -f 'ui_unix.c' || echo './'`ui_unix.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -L/usr/lib64 -L/usr/lib -lssl -lcrypto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fPIE -pie -Wl,-z,noexecstack -o stunnel stunnel-tls.o stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-fd.o stunnel-dhparam.o stunnel-cron.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o stunnel-ui_unix.o -pie -Wl,-z,defs,-z,relro,-z,now libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fPIE -pie -Wl,-z -Wl,noexecstack -o stunnel stunnel-tls.o stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-fd.o stunnel-dhparam.o stunnel-cron.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o stunnel-ui_unix.o -pie -Wl,-z -Wl,defs -Wl,-z -Wl,relro -Wl,-z -Wl,now -L/usr/lib64 -L/usr/lib -lssl -lcrypto -pthread /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -UPIDFILE -DPIDFILE='"/var/run/stunnel.pid"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -c -o env.lo env.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -UPIDFILE -DPIDFILE=\"/var/run/stunnel.pid\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2 -c env.c -fPIC -DPIC -o .libs/env.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -D_FORTIFY_SOURCE=2 -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fPIE -pie -Wl,-z,noexecstack -o libstunnel.la -rpath /usr/lib/stunnel env.lo libtool: link: gcc -shared -fPIC -DPIC .libs/env.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -pthread -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,noexecstack -pthread -Wl,-soname -Wl,libstunnel.so -o .libs/libstunnel.so libtool: link: ( cd ".libs" && rm -f "libstunnel.la" && ln -s "../libstunnel.la" "libstunnel.la" ) sed -e 's|@bindir[@]|/usr/bin|g' './stunnel3.in' >stunnel3 make[2]: Leaving directory '/builddir/build/BUILD/stunnel-5.62/src' make[1]: Leaving directory '/builddir/build/BUILD/stunnel-5.62/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/stunnel-5.62/doc' pod2man -u -n stunnel -s 8 -r 5.62 \ -c "stunnel TLS Proxy" -d `date +%Y.%m.%d` stunnel.pod.in stunnel.8.in sed -e 's|@bindir[@]|/usr/bin|g' -e 's|@sysconfdir[@]|/etc|g' -e 's|\\f(CI@sysconfdir\\fI@|/etc|g' -e '\|^>>>> Applying 'Existing certificate' <<<<< WARNING: 2023-05-10 18:38:06,600: WARNING: 2023-05-10 18:38:06,600: [test_stunnel] ***** Start '011. Test "cert" option' ***** INFO: 2023-05-10 18:38:06,600: [start_listener] Awaiting the HTTPS server started... INFO: 2023-05-10 18:38:06,600: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:06,600: [start_socket_server] Creating a SSL context INFO: 2023-05-10 18:38:06,601: [start_socket_server] Load server certificate INFO: 2023-05-10 18:38:06,601: [start_socket_server] Set verify mode: cert required INFO: 2023-05-10 18:38:06,601: [start_socket_server] Load Certificate Authority file INFO: 2023-05-10 18:38:06,601: [start_socket_server] Start HTTPS server INFO: 2023-05-10 18:38:06,626: [start_listener] HTTPS server is listening on [127.0.0.1]:41979 INFO: 2023-05-10 18:38:06,626: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:06,626: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:06,626: [start_stunnel] INFO: 2023-05-10 18:38:06,626: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:06,626: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:06,626: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:06,626: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:06,626: [start_stunnel] INFO: 2023-05-10 18:38:06,626: [start_stunnel] [client] INFO: 2023-05-10 18:38:06,626: [start_stunnel] client = yes INFO: 2023-05-10 18:38:06,626: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:06,626: [start_stunnel] connect = 127.0.0.1:41979 INFO: 2023-05-10 18:38:06,626: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:06,626: [start_stunnel] DEBUG: 2023-05-10 18:38:06,627: [run_stunnel] Launching the stunnel 'client' - got pid 2007385 DEBUG: 2023-05-10 18:38:06,627: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:06,813: [client] Read '2023.05.10 18:38:06 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:38769' DEBUG: 2023-05-10 18:38:06,814: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:38769 INFO: 2023-05-10 18:38:06,814: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:06,816: [check_listening_port] 'client' is listening on port 38769 DEBUG: 2023-05-10 18:38:06,816: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:06,816: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:06,816: [test_connect [127.0.0.1]:38769 #0] Trying port 38769 encrypted False INFO: 2023-05-10 18:38:06,816: [establish_connection [127.0.0.1]:38769 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:06,816: [test_connect [127.0.0.1]:38769 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:06,833: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:06,833: [client] Read '2023.05.10 18:38:06 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:06,833: [client] Read '2023.05.10 18:38:06 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:06,833: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:46396' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG5[0]: Service [client] accepted connection from 127.0.0.1:46396' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG6[0]: s_connect: connecting 127.0.0.1:41979' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:41979: waiting 10 seconds' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG5[0]: s_connect: connected 127.0.0.1:41979' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG5[0]: Service [client] connected remote server from 127.0.0.1:57326' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:06,834: [client] Read '2023.05.10 18:38:06 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:06,835: [client] Read '2023.05.10 18:38:06 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:06,835: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:06,835: [client] Read '2023.05.10 18:38:06 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:06,843: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:06,848: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:06,848: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:06,848: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:06,849: [client] Read '2023.05.10 18:38:06 LOG6[0]: No client CA list' INFO: 2023-05-10 18:38:06,849: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:06,860: [client_connected_cb [127.0.0.1]:57326] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:06,860: [client_connected_cb [127.0.0.1]:57326] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:06,860: [client_connected_cb [127.0.0.1]:57326] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:06,860: [client_connected_cb [127.0.0.1]:57326] Closing down the server writer socket INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:06,860: [client] Read '2023.05.10 18:38:06 LOG7[0]: Compression: null, expansion: null' DEBUG: 2023-05-10 18:38:06,872: [test_connect [127.0.0.1]:38769 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:06,873: [test_connect [127.0.0.1]:38769 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: Peer certificate was cached (2681 bytes)' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG6[0]: Session id: B29206C4B9B920CE81721F214E68BDB7543783214E579551AF58868D805986B8' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG6[0]: Session id: 53ED7F5DC5306810BBD73366F12F890A82650B0D74A5736197BF373808516AB8' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:06,873: [client] Read '2023.05.10 18:38:06 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:06,874: [test_connect [127.0.0.1]:38769 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:06,874: [test_connect [127.0.0.1]:38769 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:06,874: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:06,874: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:06,874: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:06,874: [cleanup_stunnels] Waiting for the 'client' PID 2007385 to exit... INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[0]: Service [client] finished (0 left)' DEBUG: 2023-05-10 18:38:06,875: [client_connected_cb [127.0.0.1]:57326] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:06,875: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:06,876: [client] Read '2023.05.10 18:38:06 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:06,876: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Leak detection table utilization: 153/997, 15.35%' INFO: 2023-05-10 18:38:06,876: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:06,876: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:06,876: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:06,889: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:06,889: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:06,889: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:06,889: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:06,889: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:06,889: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:06,889: [stunnel_output] Done with task 'client output' DEBUG: 2023-05-10 18:38:06,890: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:06,890: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:06,890: [set_result] The test result has been set WARNING: 2023-05-10 18:38:06,890: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:06,892: WARNING: 2023-05-10 18:38:06,892: [test_stunnel] ***** Start '012. Test no "cert" option' ***** INFO: 2023-05-10 18:38:06,892: [start_listener] Awaiting the HTTPS server started... INFO: 2023-05-10 18:38:06,892: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:06,892: [start_socket_server] Creating a SSL context INFO: 2023-05-10 18:38:06,892: [start_socket_server] Load server certificate INFO: 2023-05-10 18:38:06,892: [start_socket_server] Set verify mode: cert required INFO: 2023-05-10 18:38:06,892: [start_socket_server] Load Certificate Authority file INFO: 2023-05-10 18:38:06,892: [start_socket_server] Start HTTPS server INFO: 2023-05-10 18:38:06,957: [start_listener] HTTPS server is listening on [127.0.0.1]:45833 INFO: 2023-05-10 18:38:06,957: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:06,957: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:06,957: [start_stunnel] INFO: 2023-05-10 18:38:06,957: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:06,957: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:06,957: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:06,957: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:06,957: [start_stunnel] INFO: 2023-05-10 18:38:06,957: [start_stunnel] [client] INFO: 2023-05-10 18:38:06,957: [start_stunnel] client = yes INFO: 2023-05-10 18:38:06,957: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:06,957: [start_stunnel] connect = 127.0.0.1:45833 INFO: 2023-05-10 18:38:06,957: [start_stunnel] ;client does not present any certificate INFO: 2023-05-10 18:38:06,957: [start_stunnel] ;cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:06,957: [start_stunnel] DEBUG: 2023-05-10 18:38:06,958: [run_stunnel] Launching the stunnel 'client' - got pid 2007540 DEBUG: 2023-05-10 18:38:06,958: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:07,115: [client] Read '2023.05.10 18:38:06 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,115: [client] Read '2023.05.10 18:38:06 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:07,115: [client] Read '2023.05.10 18:38:06 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:07,115: [client] Read '2023.05.10 18:38:06 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:40249' DEBUG: 2023-05-10 18:38:07,116: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:40249 INFO: 2023-05-10 18:38:07,116: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:07,117: [check_listening_port] 'client' is listening on port 40249 DEBUG: 2023-05-10 18:38:07,117: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:07,117: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:07,118: [test_connect [127.0.0.1]:40249 #0] Trying port 40249 encrypted False INFO: 2023-05-10 18:38:07,118: [establish_connection [127.0.0.1]:40249 #0] Opening an unencrypted connection INFO: 2023-05-10 18:38:07,118: [client] Read '2023.05.10 18:38:07 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:07,118: [client] Read '2023.05.10 18:38:07 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:07,118: [client] Read '2023.05.10 18:38:07 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:07,118: [client] Read '2023.05.10 18:38:07 LOG7[cron]: Waiting 86400 seconds' DEBUG: 2023-05-10 18:38:07,118: [test_connect [127.0.0.1]:40249 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:07,118: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,119: [client] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,119: [client] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,119: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:59302' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG5[0]: Service [client] accepted connection from 127.0.0.1:59302' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG6[0]: s_connect: connecting 127.0.0.1:45833' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:45833: waiting 10 seconds' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG5[0]: s_connect: connected 127.0.0.1:45833' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG5[0]: Service [client] connected remote server from 127.0.0.1:49594' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:07,128: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:07,129: [client] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,129: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG6[0]: No client CA list' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:07,140: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:07,141: [client] Read '2023.05.10 18:38:07 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (write): fatal: decode error' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG5[0]: Connection reset: 8 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:07,142: [client] Read '2023.05.10 18:38:07 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:07,142: [test_connect [127.0.0.1]:40249 #0] [Errno 104] Connection reset by peer INFO: 2023-05-10 18:38:07,142: [test_connect [127.0.0.1]:40249 #0] Test connection #0 has been completed WARNING: 2023-05-10 18:38:07,142: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:07,142: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:07,143: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:07,143: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:07,143: [cleanup_stunnels] Waiting for the 'client' PID 2007540 to exit... INFO: 2023-05-10 18:38:07,145: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,145: [client] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Leak detection table utilization: 146/997, 14.64%' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:07,146: [client] Read '2023.05.10 18:38:07 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:07,146: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:07,157: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:07,157: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:07,157: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:07,157: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:07,157: [set_result] The test result has been set WARNING: 2023-05-10 18:38:07,157: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:07,158: INFO: 2023-05-10 18:38:07,158: [plugins] >>>>> Applying 'Require certificate' <<<<< WARNING: 2023-05-10 18:38:07,158: WARNING: 2023-05-10 18:38:07,158: [test_stunnel] ***** Start '021. Test "requireCert" option' ***** INFO: 2023-05-10 18:38:07,158: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:07,158: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:07,158: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:07,164: [start_listener] HTTP server is listening on [127.0.0.1]:42201 INFO: 2023-05-10 18:38:07,164: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:07,164: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:07,164: [start_stunnel] INFO: 2023-05-10 18:38:07,164: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:07,164: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:07,164: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:07,164: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:07,164: [start_stunnel] requireCert = yes INFO: 2023-05-10 18:38:07,165: [start_stunnel] INFO: 2023-05-10 18:38:07,165: [start_stunnel] [server] INFO: 2023-05-10 18:38:07,165: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:07,165: [start_stunnel] connect = 127.0.0.1:42201 INFO: 2023-05-10 18:38:07,165: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:07,165: [start_stunnel] DEBUG: 2023-05-10 18:38:07,165: [run_stunnel] Launching the stunnel 'server' - got pid 2007620 DEBUG: 2023-05-10 18:38:07,165: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:07,290: [server] Read '2023.05.10 18:38:07 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:39751' DEBUG: 2023-05-10 18:38:07,291: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:39751 INFO: 2023-05-10 18:38:07,291: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,292: [check_listening_port] 'server' is listening on port 39751 DEBUG: 2023-05-10 18:38:07,292: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:07,292: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:07,296: [test_connect [127.0.0.1]:39751 #0] Trying port 39751 encrypted True INFO: 2023-05-10 18:38:07,296: [establish_connection [127.0.0.1]:39751 #0] Creating a SSL context INFO: 2023-05-10 18:38:07,296: [establish_connection [127.0.0.1]:39751 #0] Load the wrong certificate INFO: 2023-05-10 18:38:07,296: [establish_connection [127.0.0.1]:39751 #0] Opening a SSL connection INFO: 2023-05-10 18:38:07,296: [server] Read '2023.05.10 18:38:07 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:07,296: [server] Read '2023.05.10 18:38:07 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:07,296: [server] Read '2023.05.10 18:38:07 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:07,299: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,299: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,299: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,299: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:51580' INFO: 2023-05-10 18:38:07,299: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:07,299: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] accepted connection from 127.0.0.1:51580' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:07,300: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:07,315: [test_connect [127.0.0.1]:39751 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:07,315: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:07,315: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:07,315: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,315: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:07,316: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: Peer certificate was cached (1537 bytes)' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG6[0]: Session id: B06C12680C246E515A5A33C2164D5E022D8FEBFB5628123FB2894CBCC36B0B19' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:07,317: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG6[0]: Session id: 355D8B711E921E32D6D932476201869F26E2528A62AAFEFFC2E46F1CEFB31E6F' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:07,318: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG6[0]: s_connect: connecting 127.0.0.1:42201' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:42201: waiting 10 seconds' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG5[0]: s_connect: connected 127.0.0.1:42201' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG6[0]: persistence: 127.0.0.1:42201 cached' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] connected remote server from 127.0.0.1:49158' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:07,319: [server] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:07,319: [client_connected_cb [127.0.0.1]:49158] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:07,319: [client_connected_cb [127.0.0.1]:49158] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:07,320: [client_connected_cb [127.0.0.1]:49158] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:07,320: [client_connected_cb [127.0.0.1]:49158] Closing down the server writer socket DEBUG: 2023-05-10 18:38:07,320: [client_connected_cb [127.0.0.1]:49158] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:07,320: [test_connect [127.0.0.1]:39751 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:07,320: [test_connect [127.0.0.1]:39751 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:07,320: [server] Read '2023.05.10 18:38:07 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:07,320: [server] Read '2023.05.10 18:38:07 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:07,320: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:07,320: [server] Read '2023.05.10 18:38:07 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:07,320: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:07,320: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLS closed (SSL_read)' DEBUG: 2023-05-10 18:38:07,321: [test_connect [127.0.0.1]:39751 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:07,321: [test_connect [127.0.0.1]:39751 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:07,321: [server] Read '2023.05.10 18:38:07 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:07,321: [server] Read '2023.05.10 18:38:07 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:07,321: [server] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:07,321: [server] Read '2023.05.10 18:38:07 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:07,321: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:07,321: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:07,321: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:07,321: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:07,321: [cleanup_stunnels] Waiting for the 'server' PID 2007620 to exit... INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Leak detection table utilization: 158/997, 15.85%' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:07,322: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:07,323: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:07,323: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:07,323: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:07,323: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:07,323: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:07,323: [set_result] The test result has been set WARNING: 2023-05-10 18:38:07,324: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:07,324: WARNING: 2023-05-10 18:38:07,324: [test_stunnel] ***** Start '022. Failure test "requireCert" option' ***** INFO: 2023-05-10 18:38:07,324: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:07,324: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:07,324: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:07,333: [start_listener] HTTP server is listening on [127.0.0.1]:43831 INFO: 2023-05-10 18:38:07,333: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:07,333: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:07,333: [start_stunnel] INFO: 2023-05-10 18:38:07,333: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:07,333: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:07,334: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:07,334: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:07,334: [start_stunnel] requireCert = yes INFO: 2023-05-10 18:38:07,334: [start_stunnel] INFO: 2023-05-10 18:38:07,334: [start_stunnel] [server] INFO: 2023-05-10 18:38:07,334: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:07,334: [start_stunnel] connect = 127.0.0.1:43831 INFO: 2023-05-10 18:38:07,334: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:07,334: [start_stunnel] DEBUG: 2023-05-10 18:38:07,334: [run_stunnel] Launching the stunnel 'server' - got pid 2007765 DEBUG: 2023-05-10 18:38:07,334: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:07,443: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:07,444: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:07,445: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:07,445: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:34965' DEBUG: 2023-05-10 18:38:07,445: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:34965 INFO: 2023-05-10 18:38:07,445: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,445: [check_listening_port] 'server' is listening on port 34965 DEBUG: 2023-05-10 18:38:07,445: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:07,445: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:07,445: [server] Read '2023.05.10 18:38:07 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:07,445: [server] Read '2023.05.10 18:38:07 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:07,445: [server] Read '2023.05.10 18:38:07 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:07,446: [test_connect [127.0.0.1]:34965 #0] Trying port 34965 encrypted True INFO: 2023-05-10 18:38:07,446: [establish_connection [127.0.0.1]:34965 #0] Creating a SSL context INFO: 2023-05-10 18:38:07,446: [establish_connection [127.0.0.1]:34965 #0] Opening a SSL connection INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:48364' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] accepted connection from 127.0.0.1:48364' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:07,447: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:07,448: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:07,457: [test_connect [127.0.0.1]:34965 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:07,457: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:07,457: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:07,457: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (write): fatal: unknown' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG3[0]: SSL_accept: ssl/statem/statem_srvr.c:3510: error:0A0000C7:SSL routines::peer did not return a certificate' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:07,458: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:07,459: [test_connect [127.0.0.1]:34965 #0] [SSL: TLSV13_ALERT_CERTIFICATE_REQUIRED] tlsv13 alert certificate required (_ssl.c:2633) INFO: 2023-05-10 18:38:07,459: [test_connect [127.0.0.1]:34965 #0] Test connection #0 has been completed WARNING: 2023-05-10 18:38:07,459: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:07,459: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:07,459: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:07,459: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:07,459: [cleanup_stunnels] Waiting for the 'server' PID 2007765 to exit... INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:07,459: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Leak detection table utilization: 117/997, 11.74%' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:07,460: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:07,465: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:07,465: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:07,465: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:07,466: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:07,466: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:07,466: [set_result] The test result has been set WARNING: 2023-05-10 18:38:07,466: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:07,466: INFO: 2023-05-10 18:38:07,466: [plugins] >>>>> Applying 'Verify peer' <<<<< WARNING: 2023-05-10 18:38:07,466: WARNING: 2023-05-10 18:38:07,466: [test_stunnel] ***** Start '031. Test "verifyPeer" option' ***** INFO: 2023-05-10 18:38:07,466: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:07,466: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:07,466: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:07,469: [start_listener] HTTP server is listening on [127.0.0.1]:45053 INFO: 2023-05-10 18:38:07,469: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:07,469: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:07,469: [start_stunnel] INFO: 2023-05-10 18:38:07,469: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:07,469: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:07,469: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:07,470: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:07,470: [start_stunnel] INFO: 2023-05-10 18:38:07,470: [start_stunnel] [server] INFO: 2023-05-10 18:38:07,470: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:07,470: [start_stunnel] connect = 127.0.0.1:45053 INFO: 2023-05-10 18:38:07,470: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:07,470: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:07,470: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:07,470: [start_stunnel] DEBUG: 2023-05-10 18:38:07,470: [run_stunnel] Launching the stunnel 'server' - got pid 2007980 DEBUG: 2023-05-10 18:38:07,470: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:07,593: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:37201' DEBUG: 2023-05-10 18:38:07,594: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:37201 INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:07,594: [server] Read '2023.05.10 18:38:07 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:07,595: [check_listening_port] 'server' is listening on port 37201 DEBUG: 2023-05-10 18:38:07,595: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:07,595: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:07,598: [test_connect [127.0.0.1]:37201 #0] Trying port 37201 encrypted True INFO: 2023-05-10 18:38:07,598: [establish_connection [127.0.0.1]:37201 #0] Creating a SSL context INFO: 2023-05-10 18:38:07,598: [establish_connection [127.0.0.1]:37201 #0] Load the correct certificate INFO: 2023-05-10 18:38:07,598: [establish_connection [127.0.0.1]:37201 #0] Opening a SSL connection INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:57594' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] accepted connection from 127.0.0.1:57594' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:07,599: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:07,600: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:07,600: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:07,600: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:07,600: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:07,600: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:07,614: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:07,615: [test_connect [127.0.0.1]:37201 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:07,615: [server] Read '2023.05.10 18:38:07 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:07,616: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG6[0]: Session id: BEE0309164518AA1F103FFE8059AA5ED822225BFDC270B4E4E38EC57BEDE6B82' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:07,617: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG6[0]: Session id: 2D29BAA651CE49D9789325B87E6082AF7579F921858E9363DF857350AE1BAE5A' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:07,618: [server] Read '2023.05.10 18:38:07 LOG6[0]: s_connect: connecting 127.0.0.1:45053' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:45053: waiting 10 seconds' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG5[0]: s_connect: connected 127.0.0.1:45053' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG6[0]: persistence: 127.0.0.1:45053 cached' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] connected remote server from 127.0.0.1:57558' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:07,619: [server] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:07,619: [client_connected_cb [127.0.0.1]:57558] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:07,620: [client_connected_cb [127.0.0.1]:57558] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:07,620: [client_connected_cb [127.0.0.1]:57558] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:07,620: [client_connected_cb [127.0.0.1]:57558] Closing down the server writer socket DEBUG: 2023-05-10 18:38:07,620: [client_connected_cb [127.0.0.1]:57558] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:07,620: [test_connect [127.0.0.1]:37201 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:07,620: [test_connect [127.0.0.1]:37201 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:07,620: [server] Read '2023.05.10 18:38:07 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:07,620: [server] Read '2023.05.10 18:38:07 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:07,620: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:07,621: [test_connect [127.0.0.1]:37201 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:07,621: [test_connect [127.0.0.1]:37201 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:07,621: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:07,621: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:07,621: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:07,621: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:07,621: [cleanup_stunnels] Waiting for the 'server' PID 2007980 to exit... INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Leak detection table utilization: 159/997, 15.95%' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:07,623: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:07,624: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:07,624: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:07,624: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:07,624: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:07,625: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:07,625: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:07,625: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:07,625: [set_result] The test result has been set WARNING: 2023-05-10 18:38:07,625: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:07,625: WARNING: 2023-05-10 18:38:07,625: [test_stunnel] ***** Start '032. Failure test "verifyPeer" option' ***** INFO: 2023-05-10 18:38:07,625: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:07,625: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:07,625: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:07,627: [start_listener] HTTP server is listening on [127.0.0.1]:39363 INFO: 2023-05-10 18:38:07,628: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:07,628: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:07,628: [start_stunnel] INFO: 2023-05-10 18:38:07,628: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:07,628: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:07,628: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:07,628: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:07,628: [start_stunnel] INFO: 2023-05-10 18:38:07,628: [start_stunnel] [server] INFO: 2023-05-10 18:38:07,628: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:07,628: [start_stunnel] connect = 127.0.0.1:39363 INFO: 2023-05-10 18:38:07,628: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:07,628: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:07,628: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:07,628: [start_stunnel] DEBUG: 2023-05-10 18:38:07,628: [run_stunnel] Launching the stunnel 'server' - got pid 2008174 DEBUG: 2023-05-10 18:38:07,628: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:07,739: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:07,740: [server] Read '2023.05.10 18:38:07 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:07,741: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:34849' DEBUG: 2023-05-10 18:38:07,741: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:34849 INFO: 2023-05-10 18:38:07,742: [check_listening_port] 'server' is listening on port 34849 DEBUG: 2023-05-10 18:38:07,742: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:07,742: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:07,742: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,742: [server] Read '2023.05.10 18:38:07 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:07,742: [server] Read '2023.05.10 18:38:07 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:07,742: [server] Read '2023.05.10 18:38:07 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:07,744: [test_connect [127.0.0.1]:34849 #0] Trying port 34849 encrypted True INFO: 2023-05-10 18:38:07,744: [establish_connection [127.0.0.1]:34849 #0] Creating a SSL context INFO: 2023-05-10 18:38:07,744: [establish_connection [127.0.0.1]:34849 #0] Load the wrong certificate INFO: 2023-05-10 18:38:07,744: [establish_connection [127.0.0.1]:34849 #0] Opening a SSL connection INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:49988' INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:07,745: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] accepted connection from 127.0.0.1:49988' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:07,746: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:07,761: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:07,761: [test_connect [127.0.0.1]:34849 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:07,761: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:07,761: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,761: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,762: [server] Read '2023.05.10 18:38:07 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:07,762: [server] Read '2023.05.10 18:38:07 LOG4[0]: CERT: Pre-verification error: self-signed certificate' INFO: 2023-05-10 18:38:07,762: [server] Read '2023.05.10 18:38:07 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:07,762: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (write): fatal: unknown CA' INFO: 2023-05-10 18:38:07,762: [server] Read '2023.05.10 18:38:07 LOG3[0]: SSL_accept: ssl/statem/statem_srvr.c:3523: error:0A000086:SSL routines::certificate verify failed' INFO: 2023-05-10 18:38:07,762: [server] Read '2023.05.10 18:38:07 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:07,763: [test_connect [127.0.0.1]:34849 #0] [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:2633) INFO: 2023-05-10 18:38:07,763: [test_connect [127.0.0.1]:34849 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:07,763: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,763: [server] Read '2023.05.10 18:38:07 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:07,763: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] finished (0 left)' WARNING: 2023-05-10 18:38:07,763: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:07,763: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:07,763: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:07,763: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:07,763: [cleanup_stunnels] Waiting for the 'server' PID 2008174 to exit... INFO: 2023-05-10 18:38:07,763: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Leak detection table utilization: 146/997, 14.64%' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:07,764: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:07,765: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:07,765: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:07,765: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:07,765: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:07,765: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:07,765: [set_result] The test result has been set WARNING: 2023-05-10 18:38:07,765: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:07,766: INFO: 2023-05-10 18:38:07,766: [plugins] >>>>> Applying 'Verify chain' <<<<< WARNING: 2023-05-10 18:38:07,766: WARNING: 2023-05-10 18:38:07,766: [test_stunnel] ***** Start '041. Test "verifyChain" option' ***** INFO: 2023-05-10 18:38:07,766: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:07,766: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:07,766: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:07,768: [start_listener] HTTP server is listening on [127.0.0.1]:46377 INFO: 2023-05-10 18:38:07,768: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:07,768: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:07,768: [start_stunnel] INFO: 2023-05-10 18:38:07,768: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:07,768: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:07,768: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:07,768: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:07,768: [start_stunnel] INFO: 2023-05-10 18:38:07,768: [start_stunnel] [server] INFO: 2023-05-10 18:38:07,768: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:07,768: [start_stunnel] connect = 127.0.0.1:46377 INFO: 2023-05-10 18:38:07,768: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:07,768: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:07,768: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:07,768: [start_stunnel] DEBUG: 2023-05-10 18:38:07,769: [run_stunnel] Launching the stunnel 'server' - got pid 2008381 DEBUG: 2023-05-10 18:38:07,769: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:07,879: [server] Read '2023.05.10 18:38:07 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:07,880: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:44509' DEBUG: 2023-05-10 18:38:07,881: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:44509 INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:07,881: [server] Read '2023.05.10 18:38:07 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:07,882: [check_listening_port] 'server' is listening on port 44509 DEBUG: 2023-05-10 18:38:07,882: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:07,882: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:07,884: [test_connect [127.0.0.1]:44509 #0] Trying port 44509 encrypted True INFO: 2023-05-10 18:38:07,884: [establish_connection [127.0.0.1]:44509 #0] Creating a SSL context INFO: 2023-05-10 18:38:07,884: [establish_connection [127.0.0.1]:44509 #0] Load the correct certificate INFO: 2023-05-10 18:38:07,884: [establish_connection [127.0.0.1]:44509 #0] Opening a SSL connection INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:44128' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] accepted connection from 127.0.0.1:44128' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:07,885: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:07,886: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:07,886: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:07,886: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:07,886: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:07,886: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:07,893: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:07,901: [test_connect [127.0.0.1]:44509 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:07,901: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:07,901: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,901: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: Verification started at depth=1: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG6[0]: Certificate accepted at depth=1: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:07,902: [server] Read '2023.05.10 18:38:07 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG6[0]: Session id: 9F03A59D27DF11995CDD58AF868A76376A12F53C867D0EE7EDFB9880F3AF51E9' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:07,903: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG6[0]: Session id: BDD2E7898BF0F1352DB630AB00AD8BD0D293CB4F3745D7F47632AC86064D8DFB' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:07,904: [server] Read '2023.05.10 18:38:07 LOG6[0]: s_connect: connecting 127.0.0.1:46377' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:46377: waiting 10 seconds' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG5[0]: s_connect: connected 127.0.0.1:46377' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG6[0]: persistence: 127.0.0.1:46377 cached' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG5[0]: Service [server] connected remote server from 127.0.0.1:50362' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:07,905: [server] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:07,905: [client_connected_cb [127.0.0.1]:50362] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:07,905: [client_connected_cb [127.0.0.1]:50362] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:07,906: [client_connected_cb [127.0.0.1]:50362] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:07,906: [client_connected_cb [127.0.0.1]:50362] Closing down the server writer socket DEBUG: 2023-05-10 18:38:07,906: [client_connected_cb [127.0.0.1]:50362] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:07,906: [test_connect [127.0.0.1]:44509 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:07,906: [test_connect [127.0.0.1]:44509 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:07,906: [server] Read '2023.05.10 18:38:07 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:07,906: [server] Read '2023.05.10 18:38:07 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:07,906: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:07,906: [server] Read '2023.05.10 18:38:07 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:07,906: [server] Read '2023.05.10 18:38:07 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:07,906: [server] Read '2023.05.10 18:38:07 LOG6[0]: TLS closed (SSL_read)' DEBUG: 2023-05-10 18:38:07,906: [test_connect [127.0.0.1]:44509 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:07,906: [test_connect [127.0.0.1]:44509 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:07,907: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:07,907: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:07,907: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:07,907: [cleanup_stunnels] Waiting for the 'server' PID 2008381 to exit... INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:07,907: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Leak detection table utilization: 161/997, 16.15%' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:07,908: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:07,909: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:07,909: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:07,909: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:07,909: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:07,909: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:07,909: [set_result] The test result has been set WARNING: 2023-05-10 18:38:07,909: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:07,910: WARNING: 2023-05-10 18:38:07,910: [test_stunnel] ***** Start '042. Failure test "verifyChain" option' ***** INFO: 2023-05-10 18:38:07,910: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:07,910: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:07,910: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:07,912: [start_listener] HTTP server is listening on [127.0.0.1]:42213 INFO: 2023-05-10 18:38:07,912: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:07,912: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:07,912: [start_stunnel] INFO: 2023-05-10 18:38:07,912: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:07,912: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:07,912: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:07,912: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:07,912: [start_stunnel] INFO: 2023-05-10 18:38:07,912: [start_stunnel] [server] INFO: 2023-05-10 18:38:07,912: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:07,912: [start_stunnel] connect = 127.0.0.1:42213 INFO: 2023-05-10 18:38:07,912: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:07,912: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:07,912: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:07,912: [start_stunnel] DEBUG: 2023-05-10 18:38:07,913: [run_stunnel] Launching the stunnel 'server' - got pid 2008410 DEBUG: 2023-05-10 18:38:07,913: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:07 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:07 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:07 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:07 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,026: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,027: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:41897' DEBUG: 2023-05-10 18:38:08,028: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:41897 INFO: 2023-05-10 18:38:08,028: [check_listening_port] 'server' is listening on port 41897 DEBUG: 2023-05-10 18:38:08,028: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:08,028: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,028: [server] Read '2023.05.10 18:38:08 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:08,031: [test_connect [127.0.0.1]:41897 #0] Trying port 41897 encrypted True INFO: 2023-05-10 18:38:08,031: [establish_connection [127.0.0.1]:41897 #0] Creating a SSL context INFO: 2023-05-10 18:38:08,031: [establish_connection [127.0.0.1]:41897 #0] Load the wrong certificate INFO: 2023-05-10 18:38:08,031: [establish_connection [127.0.0.1]:41897 #0] Opening a SSL connection INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:37326' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] accepted connection from 127.0.0.1:37326' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:08,032: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:08,033: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:08,033: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:08,033: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:08,033: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:08,049: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:08,049: [test_connect [127.0.0.1]:41897 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:08,049: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:08,049: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,049: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,049: [server] Read '2023.05.10 18:38:08 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG4[0]: CERT: Pre-verification error: self-signed certificate' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:08,050: [test_connect [127.0.0.1]:41897 #0] [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:2633) INFO: 2023-05-10 18:38:08,050: [test_connect [127.0.0.1]:41897 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (write): fatal: unknown CA' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG3[0]: SSL_accept: ssl/statem/statem_srvr.c:3523: error:0A000086:SSL routines::certificate verify failed' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,050: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] finished (0 left)' WARNING: 2023-05-10 18:38:08,050: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:08,050: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:08,050: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:08,051: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:08,051: [cleanup_stunnels] Waiting for the 'server' PID 2008410 to exit... INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 149/997, 14.94%' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:08,051: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:08,052: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:08,052: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:08,052: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:08,052: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:08,053: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:08,053: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:08,053: [set_result] The test result has been set WARNING: 2023-05-10 18:38:08,053: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:08,053: INFO: 2023-05-10 18:38:08,053: [plugins] >>>>> Applying 'Verify CRL file' <<<<< WARNING: 2023-05-10 18:38:08,053: WARNING: 2023-05-10 18:38:08,053: [test_stunnel] ***** Start '051. CRL file with valid certificate' ***** INFO: 2023-05-10 18:38:08,053: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:08,053: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:08,053: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:08,055: [start_listener] HTTP server is listening on [127.0.0.1]:35531 INFO: 2023-05-10 18:38:08,056: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:08,056: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:08,056: [start_stunnel] INFO: 2023-05-10 18:38:08,056: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:08,056: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,056: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,056: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,056: [start_stunnel] INFO: 2023-05-10 18:38:08,056: [start_stunnel] [server] INFO: 2023-05-10 18:38:08,056: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,056: [start_stunnel] connect = 127.0.0.1:35531 INFO: 2023-05-10 18:38:08,056: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:08,056: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:08,056: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:08,056: [start_stunnel] CRLfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACertCRL.pem INFO: 2023-05-10 18:38:08,056: [start_stunnel] DEBUG: 2023-05-10 18:38:08,056: [run_stunnel] Launching the stunnel 'server' - got pid 2008432 DEBUG: 2023-05-10 18:38:08,056: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:08,168: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Loaded /builddir/build/BUILD/stunnel-5.62/tests/certs/CACertCRL.pem revocation lookup file' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,169: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:43707' DEBUG: 2023-05-10 18:38:08,170: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:43707 INFO: 2023-05-10 18:38:08,170: [check_listening_port] 'server' is listening on port 43707 DEBUG: 2023-05-10 18:38:08,170: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:08,170: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,170: [server] Read '2023.05.10 18:38:08 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:08,173: [test_connect [127.0.0.1]:43707 #0] Trying port 43707 encrypted True INFO: 2023-05-10 18:38:08,173: [establish_connection [127.0.0.1]:43707 #0] Creating a SSL context INFO: 2023-05-10 18:38:08,173: [establish_connection [127.0.0.1]:43707 #0] Load the correct certificate INFO: 2023-05-10 18:38:08,173: [establish_connection [127.0.0.1]:43707 #0] Opening a SSL connection INFO: 2023-05-10 18:38:08,173: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,173: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:35196' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] accepted connection from 127.0.0.1:35196' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:08,174: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:08,175: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:08,190: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:08,190: [test_connect [127.0.0.1]:43707 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:08,190: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:08,190: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,190: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG7[0]: Verification started at depth=1: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG6[0]: Certificate accepted at depth=1: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:08,191: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:08,192: [server] Read '2023.05.10 18:38:08 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG6[0]: Session id: E2F0EC7175EBA1E526DE8C922B1E6A628481C7189A89125F0F284CC1BE7ED44E' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,193: [server] Read '2023.05.10 18:38:08 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG6[0]: Session id: 0B94FDB9B1F19A909265808BABB16D71EC6818B7625273F265F45507630E1950' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG6[0]: s_connect: connecting 127.0.0.1:35531' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:35531: waiting 10 seconds' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG5[0]: s_connect: connected 127.0.0.1:35531' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG6[0]: persistence: 127.0.0.1:35531 cached' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] connected remote server from 127.0.0.1:38814' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:08,194: [server] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:08,195: [client_connected_cb [127.0.0.1]:38814] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:08,195: [client_connected_cb [127.0.0.1]:38814] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:08,195: [client_connected_cb [127.0.0.1]:38814] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:08,195: [client_connected_cb [127.0.0.1]:38814] Closing down the server writer socket DEBUG: 2023-05-10 18:38:08,195: [client_connected_cb [127.0.0.1]:38814] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:08,195: [test_connect [127.0.0.1]:43707 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:08,195: [test_connect [127.0.0.1]:43707 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' DEBUG: 2023-05-10 18:38:08,196: [test_connect [127.0.0.1]:43707 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:08,196: [test_connect [127.0.0.1]:43707 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,196: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:08,196: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:08,196: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:08,197: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:08,197: [cleanup_stunnels] Waiting for the 'server' PID 2008432 to exit... INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 161/997, 16.15%' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,197: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,198: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,198: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:08,198: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:08,198: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:08,198: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:08,198: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:08,198: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:08,199: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:08,199: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:08,199: [set_result] The test result has been set WARNING: 2023-05-10 18:38:08,199: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:08,199: WARNING: 2023-05-10 18:38:08,199: [test_stunnel] ***** Start '052. CRL file with revoked certificate' ***** INFO: 2023-05-10 18:38:08,199: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:08,199: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:08,199: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:08,201: [start_listener] HTTP server is listening on [127.0.0.1]:36021 INFO: 2023-05-10 18:38:08,201: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:08,202: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:08,202: [start_stunnel] INFO: 2023-05-10 18:38:08,202: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:08,202: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,202: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,202: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,202: [start_stunnel] INFO: 2023-05-10 18:38:08,202: [start_stunnel] [server] INFO: 2023-05-10 18:38:08,202: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,202: [start_stunnel] connect = 127.0.0.1:36021 INFO: 2023-05-10 18:38:08,202: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:08,202: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:08,202: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:08,202: [start_stunnel] CRLfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACertCRL.pem INFO: 2023-05-10 18:38:08,202: [start_stunnel] DEBUG: 2023-05-10 18:38:08,202: [run_stunnel] Launching the stunnel 'server' - got pid 2008489 DEBUG: 2023-05-10 18:38:08,202: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,313: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Loaded /builddir/build/BUILD/stunnel-5.62/tests/certs/CACertCRL.pem revocation lookup file' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:08,314: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,315: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,315: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,315: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:39037' DEBUG: 2023-05-10 18:38:08,315: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:39037 INFO: 2023-05-10 18:38:08,315: [check_listening_port] 'server' is listening on port 39037 DEBUG: 2023-05-10 18:38:08,316: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:08,316: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:08,316: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,316: [server] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,316: [server] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,316: [server] Read '2023.05.10 18:38:08 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:08,319: [test_connect [127.0.0.1]:39037 #0] Trying port 39037 encrypted True INFO: 2023-05-10 18:38:08,319: [establish_connection [127.0.0.1]:39037 #0] Creating a SSL context INFO: 2023-05-10 18:38:08,319: [establish_connection [127.0.0.1]:39037 #0] Load the revoked certificate INFO: 2023-05-10 18:38:08,319: [establish_connection [127.0.0.1]:39037 #0] Opening a SSL connection INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:33560' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] accepted connection from 127.0.0.1:33560' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:08,320: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:08,321: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:08,337: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:08,337: [test_connect [127.0.0.1]:39037 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:08,337: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:08,337: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,337: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=revoked, CN=revoked, emailAddress=revoked@example.com' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG4[0]: CERT: Pre-verification error: certificate revoked' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG4[0]: Rejected by CERT at depth=0: C=PL, O=Stunnel Developers, OU=revoked, CN=revoked, emailAddress=revoked@example.com' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (write): fatal: certificate revoked' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG3[0]: SSL_accept: ssl/statem/statem_srvr.c:3523: error:0A000086:SSL routines::certificate verify failed' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:08,338: [test_connect [127.0.0.1]:39037 #0] [SSL: SSLV3_ALERT_CERTIFICATE_REVOKED] sslv3 alert certificate revoked (_ssl.c:2633) INFO: 2023-05-10 18:38:08,338: [test_connect [127.0.0.1]:39037 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,338: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] finished (0 left)' WARNING: 2023-05-10 18:38:08,338: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:08,339: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:08,339: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:08,339: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:08,339: [cleanup_stunnels] Waiting for the 'server' PID 2008489 to exit... INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 149/997, 14.94%' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,339: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,340: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,340: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,340: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:08,340: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:08,340: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:08,340: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:08,341: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:08,341: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:08,341: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:08,341: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:08,341: [set_result] The test result has been set WARNING: 2023-05-10 18:38:08,341: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:08,341: INFO: 2023-05-10 18:38:08,341: [plugins] >>>>> Applying 'PSK authentication' <<<<< WARNING: 2023-05-10 18:38:08,341: WARNING: 2023-05-10 18:38:08,341: [test_stunnel] ***** Start '061. Test "PSKsecrets" option' ***** INFO: 2023-05-10 18:38:08,341: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:08,341: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:08,341: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:08,344: [start_listener] HTTP server is listening on [127.0.0.1]:42747 INFO: 2023-05-10 18:38:08,344: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:08,344: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:08,344: [start_stunnel] INFO: 2023-05-10 18:38:08,344: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:08,344: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,344: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,344: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,344: [start_stunnel] requireCert = yes INFO: 2023-05-10 18:38:08,344: [start_stunnel] INFO: 2023-05-10 18:38:08,344: [start_stunnel] [server] INFO: 2023-05-10 18:38:08,344: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,344: [start_stunnel] connect = 127.0.0.1:42747 INFO: 2023-05-10 18:38:08,344: [start_stunnel] PSKsecrets = /builddir/build/BUILD/stunnel-5.62/tests/certs/secrets.txt INFO: 2023-05-10 18:38:08,344: [start_stunnel] DEBUG: 2023-05-10 18:38:08,344: [run_stunnel] Launching the stunnel 'server' - got pid 2008534 DEBUG: 2023-05-10 18:38:08,344: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/secrets.txt' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: PSKsecrets line 1: 50-byte ASCII key configured for identity "test1"' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: PSKsecrets line 2: 50-byte ASCII key configured for identity "test2"' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: PSK identities: 2 retrieved' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,454: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No certificate available to load DH parameters' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,455: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:42987' DEBUG: 2023-05-10 18:38:08,455: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:42987 INFO: 2023-05-10 18:38:08,458: [check_listening_port] 'server' is listening on port 42987 INFO: 2023-05-10 18:38:08,458: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:08,458: [start_stunnel] INFO: 2023-05-10 18:38:08,458: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:08,458: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,458: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,458: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,458: [start_stunnel] INFO: 2023-05-10 18:38:08,458: [start_stunnel] [client] INFO: 2023-05-10 18:38:08,458: [start_stunnel] client = yes INFO: 2023-05-10 18:38:08,458: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,458: [start_stunnel] connect = 127.0.0.1:42987 INFO: 2023-05-10 18:38:08,458: [start_stunnel] PSKsecrets = /builddir/build/BUILD/stunnel-5.62/tests/certs/psk1.txt INFO: 2023-05-10 18:38:08,458: [start_stunnel] INFO: 2023-05-10 18:38:08,458: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,458: [server] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,458: [server] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,458: [server] Read '2023.05.10 18:38:08 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:08,459: [run_stunnel] Launching the stunnel 'client' - got pid 2008567 DEBUG: 2023-05-10 18:38:08,459: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/psk1.txt' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: PSKsecrets line 1: 50-byte ASCII key configured for identity "test1"' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: PSK identities: 1 retrieved' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,567: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,568: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,568: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:08,568: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,568: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,568: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,568: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:39365' DEBUG: 2023-05-10 18:38:08,568: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:39365 INFO: 2023-05-10 18:38:08,568: [check_listening_port] 'client' is listening on port 39365 DEBUG: 2023-05-10 18:38:08,568: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:08,568: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:08,569: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:08,569: [client] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,569: [client] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,569: [client] Read '2023.05.10 18:38:08 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:08,569: [client] Read '2023.05.10 18:38:08 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:08,569: [test_connect [127.0.0.1]:39365 #0] Trying port 39365 encrypted False INFO: 2023-05-10 18:38:08,569: [establish_connection [127.0.0.1]:39365 #0] Opening an unencrypted connection INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:42588' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG5[0]: Service [client] accepted connection from 127.0.0.1:42588' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG6[0]: s_connect: connecting 127.0.0.1:42987' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:42987: waiting 10 seconds' INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[0]: FD=6 events=0x2001 revents=0x0' DEBUG: 2023-05-10 18:38:08,570: [test_connect [127.0.0.1]:39365 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:08,570: [client] Read '2023.05.10 18:38:08 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG5[0]: s_connect: connected 127.0.0.1:42987' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG5[0]: Service [client] connected remote server from 127.0.0.1:34470' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:08,571: [client] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:34470' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] accepted connection from 127.0.0.1:34470' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:08,571: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,572: [client] Read '2023.05.10 18:38:08 LOG6[0]: PSK client configured for identity "test1"' INFO: 2023-05-10 18:38:08,572: [client] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,572: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG5[0]: Key configured for PSK identity "test1"' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:08,572: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: 1 session reuse(s)' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG6[0]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:08,573: [client] Read '2023.05.10 18:38:08 LOG6[0]: Session id: ' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 session reuse(s)' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,574: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: Session id: 3A1D30C948A080C07B2B6862117D311FDAA1AF84DB9F3B535BDB88EDDE24AB59' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: Session id: 3A1D30C948A080C07B2B6862117D311FDAA1AF84DB9F3B535BDB88EDDE24AB59' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: s_connect: connecting 127.0.0.1:42747' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:42747: waiting 10 seconds' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG5[0]: s_connect: connected 127.0.0.1:42747' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG6[0]: persistence: 127.0.0.1:42747 cached' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] connected remote server from 127.0.0.1:35016' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:08,575: [server] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG6[0]: Session id: 040F606F78E9E4F22E657562449374EC7A6E49219B209097C36C89825E68BD40' INFO: 2023-05-10 18:38:08,576: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:08,576: [client_connected_cb [127.0.0.1]:35016] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:08,576: [client_connected_cb [127.0.0.1]:35016] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:08,577: [client_connected_cb [127.0.0.1]:35016] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:08,577: [client_connected_cb [127.0.0.1]:35016] Closing down the server writer socket DEBUG: 2023-05-10 18:38:08,577: [client_connected_cb [127.0.0.1]:35016] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:08,577: [test_connect [127.0.0.1]:39365 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:08,577: [test_connect [127.0.0.1]:39365 #0] Closing down the client writer socket DEBUG: 2023-05-10 18:38:08,577: [test_connect [127.0.0.1]:39365 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:08,577: [test_connect [127.0.0.1]:39365 #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:08,577: [server] Read '2023.05.10 18:38:08 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:08,577: [server] Read '2023.05.10 18:38:08 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:08,577: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:08,577: [server] Read '2023.05.10 18:38:08 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:08,577: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG7[0]: Sending close_notify alert' DEBUG: 2023-05-10 18:38:08,578: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:08,578: [remove_connection] Testing connections done INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,578: [client] Read '2023.05.10 18:38:08 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:08,578: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:08,578: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:08,578: [server] Read '2023.05.10 18:38:08 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:08,578: [server] Read '2023.05.10 18:38:08 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:08,578: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,579: [server] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:08,579: [server] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,579: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:08,579: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:08,579: [cleanup_stunnels] Waiting for the 'server' PID 2008534 to exit... DEBUG: 2023-05-10 18:38:08,579: [cleanup_stunnels] Waiting for the 'client' PID 2008567 to exit... INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,579: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 102/997, 10.23%' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:08,580: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 119/997, 11.94%' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:08,580: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:08,581: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:08,581: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:08,581: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:08,581: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:08,581: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:08,582: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:08,582: [set_result] The test result has been set WARNING: 2023-05-10 18:38:08,582: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:08,582: WARNING: 2023-05-10 18:38:08,582: [test_stunnel] ***** Start '062. Failure test "PSKsecrets" option' ***** INFO: 2023-05-10 18:38:08,582: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:08,582: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:08,582: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:08,584: [start_listener] HTTP server is listening on [127.0.0.1]:44631 INFO: 2023-05-10 18:38:08,584: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:08,585: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:08,585: [start_stunnel] INFO: 2023-05-10 18:38:08,585: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:08,585: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,585: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,585: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,585: [start_stunnel] requireCert = yes INFO: 2023-05-10 18:38:08,585: [start_stunnel] INFO: 2023-05-10 18:38:08,585: [start_stunnel] [server] INFO: 2023-05-10 18:38:08,585: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,585: [start_stunnel] connect = 127.0.0.1:44631 INFO: 2023-05-10 18:38:08,585: [start_stunnel] PSKsecrets = /builddir/build/BUILD/stunnel-5.62/tests/certs/secrets.txt INFO: 2023-05-10 18:38:08,585: [start_stunnel] DEBUG: 2023-05-10 18:38:08,585: [run_stunnel] Launching the stunnel 'server' - got pid 2008612 DEBUG: 2023-05-10 18:38:08,585: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/secrets.txt' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: PSKsecrets line 1: 50-byte ASCII key configured for identity "test1"' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: PSKsecrets line 2: 50-byte ASCII key configured for identity "test2"' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: PSK identities: 2 retrieved' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,706: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No certificate available to load DH parameters' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,707: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:43349' DEBUG: 2023-05-10 18:38:08,707: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:43349 INFO: 2023-05-10 18:38:08,710: [check_listening_port] 'server' is listening on port 43349 INFO: 2023-05-10 18:38:08,710: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:08,710: [start_stunnel] INFO: 2023-05-10 18:38:08,710: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:08,710: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,710: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,710: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,710: [start_stunnel] INFO: 2023-05-10 18:38:08,710: [start_stunnel] [client] INFO: 2023-05-10 18:38:08,710: [start_stunnel] client = yes INFO: 2023-05-10 18:38:08,710: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,710: [start_stunnel] connect = 127.0.0.1:43349 INFO: 2023-05-10 18:38:08,710: [start_stunnel] PSKsecrets = /builddir/build/BUILD/stunnel-5.62/tests/certs/psk2.txt INFO: 2023-05-10 18:38:08,710: [start_stunnel] INFO: 2023-05-10 18:38:08,710: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,711: [server] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,711: [server] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,711: [server] Read '2023.05.10 18:38:08 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:08,711: [run_stunnel] Launching the stunnel 'client' - got pid 2008653 DEBUG: 2023-05-10 18:38:08,711: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/psk2.txt' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: PSKsecrets line 1: 50-byte ASCII key configured for identity "test2"' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: PSK identities: 1 retrieved' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,819: [client] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,820: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:33849' DEBUG: 2023-05-10 18:38:08,820: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:33849 INFO: 2023-05-10 18:38:08,821: [check_listening_port] 'client' is listening on port 33849 DEBUG: 2023-05-10 18:38:08,821: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:08,821: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:08,821: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:08,821: [client] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,821: [client] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,821: [client] Read '2023.05.10 18:38:08 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:08,821: [client] Read '2023.05.10 18:38:08 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:08,821: [test_connect [127.0.0.1]:33849 #0] Trying port 33849 encrypted False INFO: 2023-05-10 18:38:08,821: [establish_connection [127.0.0.1]:33849 #0] Opening an unencrypted connection INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:56544' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG5[0]: Service [client] accepted connection from 127.0.0.1:56544' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG6[0]: s_connect: connecting 127.0.0.1:43349' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:43349: waiting 10 seconds' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,822: [client] Read '2023.05.10 18:38:08 LOG7[0]: FD=9 events=0x2005 revents=0x0' DEBUG: 2023-05-10 18:38:08,823: [test_connect [127.0.0.1]:33849 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG5[0]: s_connect: connected 127.0.0.1:43349' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG5[0]: Service [client] connected remote server from 127.0.0.1:55076' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:08,823: [client] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:55076' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] accepted connection from 127.0.0.1:55076' INFO: 2023-05-10 18:38:08,823: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:08,824: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG6[0]: PSK client configured for identity "test2"' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (read): fatal: illegal parameter' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG3[0]: SSL_connect: ssl/record/rec_layer_s3.c:1600: error:0A000417:SSL routines::sslv3 alert illegal parameter' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,824: [client] Read '2023.05.10 18:38:08 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:08,824: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,824: [server] Read '2023.05.10 18:38:08 LOG5[0]: Key configured for PSK identity "test2"' INFO: 2023-05-10 18:38:08,824: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS alert (write): fatal: illegal parameter' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG3[0]: SSL_accept: ssl/statem/extensions.c:1626: error:0A0000FD:SSL routines::binder does not verify' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:08,825: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:08,825: [test_connect [127.0.0.1]:33849 #0] [Errno 104] Connection reset by peer INFO: 2023-05-10 18:38:08,825: [test_connect [127.0.0.1]:33849 #0] Test connection #0 has been completed WARNING: 2023-05-10 18:38:08,825: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:08,825: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:08,825: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:08,825: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:08,825: [cleanup_stunnels] Waiting for the 'server' PID 2008612 to exit... DEBUG: 2023-05-10 18:38:08,825: [cleanup_stunnels] Waiting for the 'client' PID 2008653 to exit... INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 103/997, 10.33%' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,826: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Leak detection table utilization: 98/997, 9.83%' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:08,826: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:08,827: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:08,827: [client] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,827: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:08,827: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:08,827: [client] Read '2023.05.10 18:38:08 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:08,827: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:08,827: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:08,827: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:08,827: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:08,827: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:08,828: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:08,829: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:08,829: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:08,829: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:08,829: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:08,829: [set_result] The test result has been set WARNING: 2023-05-10 18:38:08,829: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:08,829: INFO: 2023-05-10 18:38:08,829: [plugins] >>>>> Applying 'Existing PKCS#12 certificate' <<<<< WARNING: 2023-05-10 18:38:08,829: WARNING: 2023-05-10 18:38:08,829: [test_stunnel] ***** Start '071. Test PKCS#12 certificate' ***** INFO: 2023-05-10 18:38:08,829: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:08,829: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:08,830: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:08,832: [start_listener] HTTP server is listening on [127.0.0.1]:37547 INFO: 2023-05-10 18:38:08,832: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:08,832: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:08,832: [start_stunnel] INFO: 2023-05-10 18:38:08,832: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:08,832: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:08,832: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:08,832: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:08,832: [start_stunnel] INFO: 2023-05-10 18:38:08,832: [start_stunnel] [server] INFO: 2023-05-10 18:38:08,832: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:08,832: [start_stunnel] connect = 127.0.0.1:37547 INFO: 2023-05-10 18:38:08,832: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.p12 INFO: 2023-05-10 18:38:08,832: [start_stunnel] DEBUG: 2023-05-10 18:38:08,832: [run_stunnel] Launching the stunnel 'server' - got pid 2008826 DEBUG: 2023-05-10 18:38:08,832: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:08,969: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,969: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:08,969: [server] Read '2023.05.10 18:38:08 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Loading certificate and private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.p12' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Certificate and private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.p12' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.p12' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:08,970: [server] Read '2023.05.10 18:38:08 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:43331' DEBUG: 2023-05-10 18:38:08,971: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:43331 INFO: 2023-05-10 18:38:08,971: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:08,971: [check_listening_port] 'server' is listening on port 43331 DEBUG: 2023-05-10 18:38:08,971: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:08,971: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:08,972: [test_connect [127.0.0.1]:43331 #0] Trying port 43331 encrypted True INFO: 2023-05-10 18:38:08,972: [establish_connection [127.0.0.1]:43331 #0] Creating a SSL context INFO: 2023-05-10 18:38:08,972: [establish_connection [127.0.0.1]:43331 #0] Opening a SSL connection INFO: 2023-05-10 18:38:08,972: [server] Read '2023.05.10 18:38:08 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:08,973: [server] Read '2023.05.10 18:38:08 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:08,973: [server] Read '2023.05.10 18:38:08 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:08,973: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:08,974: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,974: [server] Read '2023.05.10 18:38:08 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:08,974: [server] Read '2023.05.10 18:38:08 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:35816' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] accepted connection from 127.0.0.1:35816' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:08,989: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:08,990: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:08,990: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:08,992: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:08,994: [test_connect [127.0.0.1]:43331 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:08,994: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:08,994: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,995: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:08,995: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:08,995: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:08,995: [server] Read '2023.05.10 18:38:08 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:08,995: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:08,995: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:08,996: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,997: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,997: [server] Read '2023.05.10 18:38:08 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:08,997: [server] Read '2023.05.10 18:38:08 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG6[0]: Session id: 9651C5D32706FE51C4BCFBCC7388BC36775E8251435DEFC9DF6500B1AE860F29' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG6[0]: Session id: 8AACCA2C0283B32B10CD01D036B676BE00F59AC45205577BF13100A82B68BA03' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:08,998: [server] Read '2023.05.10 18:38:08 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG6[0]: s_connect: connecting 127.0.0.1:37547' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:37547: waiting 10 seconds' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG5[0]: s_connect: connected 127.0.0.1:37547' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG6[0]: persistence: 127.0.0.1:37547 cached' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG5[0]: Service [server] connected remote server from 127.0.0.1:55078' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:08,999: [server] Read '2023.05.10 18:38:08 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:08,999: [client_connected_cb [127.0.0.1]:55078] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:08,999: [client_connected_cb [127.0.0.1]:55078] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:09,000: [client_connected_cb [127.0.0.1]:55078] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:09,000: [client_connected_cb [127.0.0.1]:55078] Closing down the server writer socket DEBUG: 2023-05-10 18:38:09,000: [client_connected_cb [127.0.0.1]:55078] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:09,011: [test_connect [127.0.0.1]:43331 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:09,011: [test_connect [127.0.0.1]:43331 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:09,011: [server] Read '2023.05.10 18:38:09 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:09,011: [server] Read '2023.05.10 18:38:09 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:09,011: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:09,011: [server] Read '2023.05.10 18:38:09 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:09,012: [test_connect [127.0.0.1]:43331 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:09,012: [test_connect [127.0.0.1]:43331 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:09,012: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:09,012: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:09,012: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:09,012: [cleanup_stunnels] Waiting for the 'server' PID 2008826 to exit... INFO: 2023-05-10 18:38:09,012: [server] Read '2023.05.10 18:38:09 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:09,012: [server] Read '2023.05.10 18:38:09 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:09,012: [server] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:09,013: [server] Read '2023.05.10 18:38:09 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:09,013: [server] Read '2023.05.10 18:38:09 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Leak detection table utilization: 127/997, 12.74%' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:09,021: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:09,032: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:09,032: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:09,032: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:09,032: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:09,033: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:09,041: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:09,041: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:09,041: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:09,041: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:09,041: [set_result] The test result has been set WARNING: 2023-05-10 18:38:09,041: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:09,042: INFO: 2023-05-10 18:38:09,042: [plugins] >>>>> Applying 'IPv6 support' <<<<< WARNING: 2023-05-10 18:38:09,042: WARNING: 2023-05-10 18:38:09,042: [test_stunnel] ***** Start '081. Test IPv6 support' ***** INFO: 2023-05-10 18:38:09,042: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:09,042: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:09,042: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:09,093: [start_listener] HTTP server is listening on [127.0.0.1]:43033 INFO: 2023-05-10 18:38:09,093: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:09,093: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:09,093: [start_stunnel] INFO: 2023-05-10 18:38:09,093: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:09,093: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:09,093: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:09,093: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:09,093: [start_stunnel] INFO: 2023-05-10 18:38:09,093: [start_stunnel] [server] INFO: 2023-05-10 18:38:09,093: [start_stunnel] accept = ::1:0 INFO: 2023-05-10 18:38:09,093: [start_stunnel] connect = 127.0.0.1:43033 INFO: 2023-05-10 18:38:09,093: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:09,093: [start_stunnel] DEBUG: 2023-05-10 18:38:09,094: [run_stunnel] Launching the stunnel 'server' - got pid 2008981 DEBUG: 2023-05-10 18:38:09,094: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:09,274: [server] Read '2023.05.10 18:38:09 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Service [server] (FD=8) bound to ::1:44285' DEBUG: 2023-05-10 18:38:09,275: [stunnel_output] Service [server] (FD=8) bound to ::1:44285 INFO: 2023-05-10 18:38:09,275: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:09,302: [check_listening_port] 'server' is listening on port 44285 INFO: 2023-05-10 18:38:09,302: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:09,302: [start_stunnel] INFO: 2023-05-10 18:38:09,302: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:09,302: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:09,302: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:09,302: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:09,302: [start_stunnel] INFO: 2023-05-10 18:38:09,302: [start_stunnel] [client] INFO: 2023-05-10 18:38:09,302: [start_stunnel] client = yes INFO: 2023-05-10 18:38:09,302: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:09,302: [start_stunnel] connect = ::1:44285 INFO: 2023-05-10 18:38:09,302: [start_stunnel] DEBUG: 2023-05-10 18:38:09,303: [run_stunnel] Launching the stunnel 'client' - got pid 2009012 DEBUG: 2023-05-10 18:38:09,303: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:09,313: [server] Read '2023.05.10 18:38:09 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:09,313: [server] Read '2023.05.10 18:38:09 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:09,313: [server] Read '2023.05.10 18:38:09 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:09,522: [client] Read '2023.05.10 18:38:09 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:46559' DEBUG: 2023-05-10 18:38:09,523: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:46559 INFO: 2023-05-10 18:38:09,523: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:09,524: [check_listening_port] 'client' is listening on port 46559 DEBUG: 2023-05-10 18:38:09,524: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:09,524: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:09,524: [test_connect [127.0.0.1]:46559 #0] Trying port 46559 encrypted False INFO: 2023-05-10 18:38:09,524: [establish_connection [127.0.0.1]:46559 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:09,525: [test_connect [127.0.0.1]:46559 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:09,562: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:41012' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG5[0]: Service [client] accepted connection from 127.0.0.1:41012' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG6[0]: s_connect: connecting ::1:44285' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: s_connect: s_poll_wait ::1:44285: waiting 10 seconds' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG5[0]: s_connect: connected ::1:44285' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG5[0]: Service [client] connected remote server from ::1:41724' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG6[0]: SNI: sending servername: ::1' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,563: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:09,575: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,575: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,575: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,575: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] accepted (FD=3) from ::1:41724' INFO: 2023-05-10 18:38:09,587: [server] Read '2023.05.10 18:38:09 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG5[0]: Service [server] accepted connection from ::1:41724' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:09,588: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:09,599: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:09,599: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:09,599: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:09,599: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:09,599: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:09,599: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:09,600: [client] Read '2023.05.10 18:38:09 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:09,600: [client] Read '2023.05.10 18:38:09 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:09,600: [client] Read '2023.05.10 18:38:09 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:09,601: [client] Read '2023.05.10 18:38:09 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:09,612: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: Session id: 157DBC2789404728433288C35F47BA1A7E0303AFBAEA5C5EFA1BF0CC8C978773' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: Session id: B3543DB8BEB97FB4A5B8A6040DE8CEA3176664C8236937CC55F8B0A9BE5C7F53' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:09,613: [server] Read '2023.05.10 18:38:09 LOG6[0]: s_connect: connecting 127.0.0.1:43033' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:43033: waiting 10 seconds' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG5[0]: s_connect: connected 127.0.0.1:43033' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG6[0]: persistence: 127.0.0.1:43033 cached' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG5[0]: Service [server] connected remote server from 127.0.0.1:32906' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:09,614: [server] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:09,614: [client_connected_cb [127.0.0.1]:32906] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:09,615: [client_connected_cb [127.0.0.1]:32906] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:09,615: [client_connected_cb [127.0.0.1]:32906] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:09,615: [client_connected_cb [127.0.0.1]:32906] Closing down the server writer socket DEBUG: 2023-05-10 18:38:09,615: [client_connected_cb [127.0.0.1]:32906] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:09,615: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG6[0]: Session id: B2C2720CC3FDB9BCEFD2F169A9181CA6DC28EB217DEAA18BCEB0AB9F85F67714' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG6[0]: Session id: 34BE6D3A91E3A2B99029BCD23C10AA40834DDA2547CCD73E299367E41D4D4054' INFO: 2023-05-10 18:38:09,616: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:09,616: [server] Read '2023.05.10 18:38:09 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:09,616: [server] Read '2023.05.10 18:38:09 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:09,616: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:09,616: [server] Read '2023.05.10 18:38:09 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:09,617: [test_connect [127.0.0.1]:46559 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:09,617: [test_connect [127.0.0.1]:46559 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:09,617: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:09,617: [client] Read '2023.05.10 18:38:09 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:09,617: [client] Read '2023.05.10 18:38:09 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:09,617: [test_connect [127.0.0.1]:46559 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:09,617: [test_connect [127.0.0.1]:46559 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:09,617: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:09,617: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:09,618: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:09,618: [cleanup_stunnels] Waiting for the 'server' PID 2008981 to exit... DEBUG: 2023-05-10 18:38:09,618: [cleanup_stunnels] Waiting for the 'client' PID 2009012 to exit... INFO: 2023-05-10 18:38:09,618: [client] Read '2023.05.10 18:38:09 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:09,618: [client] Read '2023.05.10 18:38:09 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:09,618: [client] Read '2023.05.10 18:38:09 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:09,618: [client] Read '2023.05.10 18:38:09 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:09,618: [client] Read '2023.05.10 18:38:09 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:09,618: [client] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:09,619: [client] Read '2023.05.10 18:38:09 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:09,619: [client] Read '2023.05.10 18:38:09 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:09,619: [server] Read '2023.05.10 18:38:09 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Leak detection table utilization: 149/997, 14.94%' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:09,630: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:09,630: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,630: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,630: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,630: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:09,630: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:09,631: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:09,631: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Leak detection table utilization: 131/997, 13.14%' INFO: 2023-05-10 18:38:09,631: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:09,631: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:09,631: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:09,636: [client] Read '2023.05.10 18:38:09 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:09,636: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:09,636: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:09,636: [client] Read '2023.05.10 18:38:09 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:09,647: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:09,647: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:09,647: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:09,647: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:09,647: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:09,647: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:09,649: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:09,649: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:09,649: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:09,649: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:09,649: [set_result] The test result has been set WARNING: 2023-05-10 18:38:09,649: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:09,650: INFO: 2023-05-10 18:38:09,650: [plugins] >>>>> Applying 'Binding service' <<<<< WARNING: 2023-05-10 18:38:09,650: WARNING: 2023-05-10 18:38:09,650: [test_stunnel] ***** Start '091. Binding server' ***** INFO: 2023-05-10 18:38:09,650: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:09,650: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:09,650: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:09,714: [start_listener] HTTP server is listening on [127.0.0.1]:32877 INFO: 2023-05-10 18:38:09,714: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:09,714: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:09,714: [start_stunnel] INFO: 2023-05-10 18:38:09,714: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:09,714: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:09,714: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:09,714: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:09,714: [start_stunnel] INFO: 2023-05-10 18:38:09,714: [start_stunnel] [server] INFO: 2023-05-10 18:38:09,714: [start_stunnel] accept = 127.0.0.1:32877 INFO: 2023-05-10 18:38:09,714: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:09,714: [start_stunnel] accept = 127.0.0.1:32877 INFO: 2023-05-10 18:38:09,714: [start_stunnel] connect = 127.0.0.1:32877 INFO: 2023-05-10 18:38:09,714: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:09,714: [start_stunnel] DEBUG: 2023-05-10 18:38:09,715: [run_stunnel] Launching the stunnel 'server' - got pid 2009065 DEBUG: 2023-05-10 18:38:09,715: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:09,903: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Binding service [server] to 127.0.0.1:32877: Address already in use (98)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:43811' DEBUG: 2023-05-10 18:38:09,904: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:43811 INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Listening file descriptor created (FD=9)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Setting accept socket options (FD=9)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Binding service [server] to 127.0.0.1:32877: Address already in use (98)' INFO: 2023-05-10 18:38:09,904: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:09,905: [check_listening_port] 'server' is listening on port 43811 DEBUG: 2023-05-10 18:38:09,905: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:09,905: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:09,906: [test_connect [127.0.0.1]:43811 #0] Trying port 43811 encrypted True INFO: 2023-05-10 18:38:09,906: [establish_connection [127.0.0.1]:43811 #0] Creating a SSL context INFO: 2023-05-10 18:38:09,906: [establish_connection [127.0.0.1]:43811 #0] Opening a SSL connection INFO: 2023-05-10 18:38:09,907: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,907: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,907: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,907: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:35044' INFO: 2023-05-10 18:38:09,913: [server] Read '2023.05.10 18:38:09 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:09,913: [server] Read '2023.05.10 18:38:09 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:09,913: [server] Read '2023.05.10 18:38:09 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG5[0]: Service [server] accepted connection from 127.0.0.1:35044' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:09,924: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:09,937: [test_connect [127.0.0.1]:43811 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:09,937: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:09,937: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:09,937: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG6[0]: Session id: 26FEF66EA1131C1D126EDEA57BC816E8C3B2D68F36A63DFCD1E11200777D5DF8' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG6[0]: Session id: 3D62D5F335534C1C4A70F4BD857A04F034055C9E4CE653E0E442183A21203A12' INFO: 2023-05-10 18:38:09,949: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG6[0]: s_connect: connecting 127.0.0.1:32877' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:32877: waiting 10 seconds' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG5[0]: s_connect: connected 127.0.0.1:32877' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG6[0]: persistence: 127.0.0.1:32877 cached' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG5[0]: Service [server] connected remote server from 127.0.0.1:57556' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:09,950: [server] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:09,951: [client_connected_cb [127.0.0.1]:57556] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:09,951: [client_connected_cb [127.0.0.1]:57556] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:09,951: [client_connected_cb [127.0.0.1]:57556] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:09,951: [client_connected_cb [127.0.0.1]:57556] Closing down the server writer socket DEBUG: 2023-05-10 18:38:09,951: [client_connected_cb [127.0.0.1]:57556] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:09,962: [test_connect [127.0.0.1]:43811 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:09,962: [test_connect [127.0.0.1]:43811 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:09,962: [server] Read '2023.05.10 18:38:09 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:09,962: [server] Read '2023.05.10 18:38:09 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:09,962: [server] Read '2023.05.10 18:38:09 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:09,962: [server] Read '2023.05.10 18:38:09 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:09,962: [test_connect [127.0.0.1]:43811 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:09,963: [test_connect [127.0.0.1]:43811 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:09,963: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:09,963: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:09,963: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:09,963: [cleanup_stunnels] Waiting for the 'server' PID 2009065 to exit... INFO: 2023-05-10 18:38:09,963: [server] Read '2023.05.10 18:38:09 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:09,963: [server] Read '2023.05.10 18:38:09 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:09,963: [server] Read '2023.05.10 18:38:09 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:09,963: [server] Read '2023.05.10 18:38:09 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:09,963: [server] Read '2023.05.10 18:38:09 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Leak detection table utilization: 128/997, 12.84%' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:09,974: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:09,978: [server] Read '2023.05.10 18:38:09 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:09,979: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:09,979: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:09,979: [server] Read '2023.05.10 18:38:09 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:09,979: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:09,990: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:09,990: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:09,990: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:09,990: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:09,990: [set_result] The test result has been set WARNING: 2023-05-10 18:38:09,990: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:09,991: INFO: 2023-05-10 18:38:09,991: [plugins] >>>>> Applying 'FIPS mode' <<<<< WARNING: 2023-05-10 18:38:09,991: WARNING: 2023-05-10 18:38:09,991: [test_stunnel] ***** Start '101. Test FIPS mode' ***** INFO: 2023-05-10 18:38:09,991: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:09,991: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:09,991: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:10,051: [start_listener] HTTP server is listening on [127.0.0.1]:40669 INFO: 2023-05-10 18:38:10,051: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:10,051: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:10,051: [start_stunnel] INFO: 2023-05-10 18:38:10,051: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:10,051: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:10,051: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:10,051: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:10,051: [start_stunnel] INFO: 2023-05-10 18:38:10,051: [start_stunnel] fips = yes INFO: 2023-05-10 18:38:10,051: [start_stunnel] INFO: 2023-05-10 18:38:10,051: [start_stunnel] [server] INFO: 2023-05-10 18:38:10,051: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:10,051: [start_stunnel] connect = 127.0.0.1:40669 INFO: 2023-05-10 18:38:10,051: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:10,051: [start_stunnel] DEBUG: 2023-05-10 18:38:10,052: [run_stunnel] Launching the stunnel 'server' - got pid 2009126 DEBUG: 2023-05-10 18:38:10,052: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: FIPS provider enabled' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG5[ui]: FIPS mode enabled' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Ciphers: FIPS' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:10,287: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: ECDH initialized with curves P-256:P-521:P-384' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:10,288: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:10,289: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:43031' DEBUG: 2023-05-10 18:38:10,289: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:43031 INFO: 2023-05-10 18:38:10,289: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:10,349: [check_listening_port] 'server' is listening on port 43031 INFO: 2023-05-10 18:38:10,349: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:10,349: [start_stunnel] INFO: 2023-05-10 18:38:10,349: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:10,349: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:10,349: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:10,349: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:10,349: [start_stunnel] INFO: 2023-05-10 18:38:10,349: [start_stunnel] fips = yes INFO: 2023-05-10 18:38:10,349: [start_stunnel] INFO: 2023-05-10 18:38:10,349: [start_stunnel] [client] INFO: 2023-05-10 18:38:10,349: [start_stunnel] client = yes INFO: 2023-05-10 18:38:10,349: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:10,349: [start_stunnel] connect = 127.0.0.1:43031 INFO: 2023-05-10 18:38:10,349: [start_stunnel] INFO: 2023-05-10 18:38:10,350: [server] Read '2023.05.10 18:38:10 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:10,350: [server] Read '2023.05.10 18:38:10 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:10,350: [server] Read '2023.05.10 18:38:10 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:10,350: [run_stunnel] Launching the stunnel 'client' - got pid 2009242 DEBUG: 2023-05-10 18:38:10,350: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:10,561: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG5[ui]: FIPS provider enabled' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG5[ui]: FIPS mode enabled' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Ciphers: FIPS' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: ECDH initialized with curves P-256:P-521:P-384' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:35255' DEBUG: 2023-05-10 18:38:10,562: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:35255 INFO: 2023-05-10 18:38:10,562: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:10,563: [check_listening_port] 'client' is listening on port 35255 DEBUG: 2023-05-10 18:38:10,563: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:10,563: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:10,564: [test_connect [127.0.0.1]:35255 #0] Trying port 35255 encrypted False INFO: 2023-05-10 18:38:10,564: [establish_connection [127.0.0.1]:35255 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:10,564: [test_connect [127.0.0.1]:35255 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:60934' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:10,575: [client] Read '2023.05.10 18:38:10 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG5[0]: Service [client] accepted connection from 127.0.0.1:60934' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG6[0]: s_connect: connecting 127.0.0.1:43031' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:43031: waiting 10 seconds' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG5[0]: s_connect: connected 127.0.0.1:43031' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG5[0]: Service [client] connected remote server from 127.0.0.1:60036' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:10,599: [client] Read '2023.05.10 18:38:10 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:10,600: [client] Read '2023.05.10 18:38:10 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:10,600: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:10,600: [client] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,600: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:10,600: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:10,600: [server] Read '2023.05.10 18:38:10 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:10,600: [server] Read '2023.05.10 18:38:10 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:10,600: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:60036' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG5[0]: Service [server] accepted connection from 127.0.0.1:60036' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:10,611: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:10,612: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:10,612: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:10,612: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:10,623: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:10,623: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:10,623: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:10,636: [client] Read '2023.05.10 18:38:10 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:10,637: [client] Read '2023.05.10 18:38:10 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:10,637: [client] Read '2023.05.10 18:38:10 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:10,637: [client] Read '2023.05.10 18:38:10 LOG6[0]: Peer temporary key: ECDH, P-256, 256 bits' INFO: 2023-05-10 18:38:10,637: [client] Read '2023.05.10 18:38:10 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG6[0]: Session id: 6B395AB6C577D03FEC2BF26B6D0FBD29B53C3F2E94BB93DA6CAE8DF6C33BE38E' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:10,649: [server] Read '2023.05.10 18:38:10 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG6[0]: Session id: CE95F9054A3897B3600D9F341D2D0ADEB21E7EF5D156E0F1AB830C55F5C966E2' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG6[0]: Peer temporary key: ECDH, P-256, 256 bits' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG6[0]: s_connect: connecting 127.0.0.1:40669' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:40669: waiting 10 seconds' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG5[0]: s_connect: connected 127.0.0.1:40669' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG6[0]: persistence: 127.0.0.1:40669 cached' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG5[0]: Service [server] connected remote server from 127.0.0.1:57298' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:10,650: [server] Read '2023.05.10 18:38:10 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG6[0]: Session id: 4BEFA18740F4F6673C8E5D29C4D6E6FE96672DB6A9B78C2FFDCC14C63DFCFFF1' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG6[0]: Session id: 4024ACB2850FE9D772D1F4407D272EB76416F3448BCCFF742A785C6635F3F185' INFO: 2023-05-10 18:38:10,650: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:10,651: [client_connected_cb [127.0.0.1]:57298] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:10,652: [client_connected_cb [127.0.0.1]:57298] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:10,652: [client_connected_cb [127.0.0.1]:57298] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:10,652: [client_connected_cb [127.0.0.1]:57298] Closing down the server writer socket DEBUG: 2023-05-10 18:38:10,652: [client_connected_cb [127.0.0.1]:57298] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:10,653: [test_connect [127.0.0.1]:35255 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:10,653: [test_connect [127.0.0.1]:35255 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:10,653: [server] Read '2023.05.10 18:38:10 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:10,653: [server] Read '2023.05.10 18:38:10 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:10,653: [server] Read '2023.05.10 18:38:10 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:10,653: [server] Read '2023.05.10 18:38:10 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:10,653: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:10,654: [client] Read '2023.05.10 18:38:10 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:10,654: [client] Read '2023.05.10 18:38:10 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:10,654: [test_connect [127.0.0.1]:35255 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:10,654: [test_connect [127.0.0.1]:35255 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:10,654: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:10,654: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:10,654: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:10,654: [cleanup_stunnels] Waiting for the 'server' PID 2009126 to exit... DEBUG: 2023-05-10 18:38:10,654: [cleanup_stunnels] Waiting for the 'client' PID 2009242 to exit... INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Leak detection table utilization: 189/997, 18.96%' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:10,655: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Leak detection table utilization: 205/997, 20.56%' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:10,665: [client] Read '2023.05.10 18:38:10 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:10,666: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:10,676: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:10,676: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:10,676: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:10,676: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:10,676: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:10,678: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:10,678: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:10,678: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:10,678: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:10,678: [set_result] The test result has been set WARNING: 2023-05-10 18:38:10,679: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:10,679: INFO: 2023-05-10 18:38:10,679: [plugins] >>>>> Applying 'FIPS mode cipher' <<<<< WARNING: 2023-05-10 18:38:10,679: WARNING: 2023-05-10 18:38:10,679: [test_stunnel] ***** Start '111. Failure FIPS mode with unavailable cipher' ***** INFO: 2023-05-10 18:38:10,679: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:10,679: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:10,679: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:10,729: [start_listener] HTTP server is listening on [127.0.0.1]:36249 INFO: 2023-05-10 18:38:10,729: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:10,729: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:10,729: [start_stunnel] INFO: 2023-05-10 18:38:10,729: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:10,729: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:10,729: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:10,729: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:10,729: [start_stunnel] INFO: 2023-05-10 18:38:10,729: [start_stunnel] fips = yes INFO: 2023-05-10 18:38:10,729: [start_stunnel] ciphers = CAMELLIA256-SHA INFO: 2023-05-10 18:38:10,729: [start_stunnel] INFO: 2023-05-10 18:38:10,729: [start_stunnel] [server] INFO: 2023-05-10 18:38:10,729: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:10,729: [start_stunnel] connect = 127.0.0.1:36249 INFO: 2023-05-10 18:38:10,729: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:10,729: [start_stunnel] DEBUG: 2023-05-10 18:38:10,730: [run_stunnel] Launching the stunnel 'server' - got pid 2009570 DEBUG: 2023-05-10 18:38:10,730: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:10,926: [server] Read '[ ] Initializing inetd mode configuration' INFO: 2023-05-10 18:38:10,926: [server] Read '[ ] Clients allowed=500' INFO: 2023-05-10 18:38:10,926: [server] Read '[.] stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:10,926: [server] Read '[.] Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:10,926: [server] Read '[.] Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:10,926: [server] Read '[ ] errno: (*__errno_location ())' INFO: 2023-05-10 18:38:10,926: [server] Read '[ ] Initializing inetd mode configuration' INFO: 2023-05-10 18:38:10,926: [server] Read '[.] Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:10,926: [server] Read '[.] UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:10,926: [server] Read '[.] FIPS provider enabled' INFO: 2023-05-10 18:38:10,927: [server] Read '[.] FIPS mode enabled' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Compression enabled: 0 methods' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] No PRNG seeding was required' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Initializing service [server]' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Ciphers: CAMELLIA256-SHA' INFO: 2023-05-10 18:38:10,927: [server] Read '[!] SSL_CTX_set_cipher_list: ssl/ssl_lib.c:2760: error:0A0000B9:SSL routines::no cipher match' INFO: 2023-05-10 18:38:10,927: [server] Read '[!] Service [server]: Failed to initialize TLS context' INFO: 2023-05-10 18:38:10,927: [server] Read '[!] Configuration failed' WARNING: 2023-05-10 18:38:10,927: [stunnel_output] Stunnel 'server' configuration failed INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Deallocating temporary section defaults' INFO: 2023-05-10 18:38:10,927: [server] Read '[ ] Deallocating section [server]' DEBUG: 2023-05-10 18:38:10,928: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:10,928: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:10,928: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:10,929: [test_connect [127.0.0.1]:0 #0] Trying port 0 encrypted True INFO: 2023-05-10 18:38:10,929: [establish_connection [127.0.0.1]:0 #0] Creating a SSL context INFO: 2023-05-10 18:38:10,929: [establish_connection [127.0.0.1]:0 #0] Opening a SSL connection WARNING: 2023-05-10 18:38:10,929: [establish_connection [127.0.0.1]:0 #0] Failed to connect to 127.0.0.1:0: [Errno 111] Connect call failed ('127.0.0.1', 0) INFO: 2023-05-10 18:38:10,929: [test_connect [127.0.0.1]:0 #0] Establish connection failed INFO: 2023-05-10 18:38:10,929: [test_connect [127.0.0.1]:0 #0] Test connection #0 has been completed WARNING: 2023-05-10 18:38:10,929: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:10,929: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:10,929: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:10,929: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:10,929: [cleanup_stunnels] Waiting for the 'server' PID 2009570 to exit... INFO: 2023-05-10 18:38:10,930: [cleanup_stunnels] Got stunnel processes' exit status: [255] DEBUG: 2023-05-10 18:38:10,930: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:10,930: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:10,930: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:10,930: [set_result] The test result has been set WARNING: 2023-05-10 18:38:10,931: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:10,931: WARNING: 2023-05-10 18:38:10,931: [test_stunnel] ***** Start '112. Failure FIPS mode with unavailable ciphersuite' ***** INFO: 2023-05-10 18:38:10,931: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:10,931: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:10,931: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:10,949: [start_listener] HTTP server is listening on [127.0.0.1]:44399 INFO: 2023-05-10 18:38:10,949: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:10,949: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:10,949: [start_stunnel] INFO: 2023-05-10 18:38:10,949: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:10,949: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:10,949: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:10,949: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:10,949: [start_stunnel] INFO: 2023-05-10 18:38:10,949: [start_stunnel] fips = yes INFO: 2023-05-10 18:38:10,949: [start_stunnel] ciphersuites = TLS_CHACHA20_POLY1305_SHA256 INFO: 2023-05-10 18:38:10,949: [start_stunnel] INFO: 2023-05-10 18:38:10,949: [start_stunnel] [server] INFO: 2023-05-10 18:38:10,949: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:10,949: [start_stunnel] connect = 127.0.0.1:44399 INFO: 2023-05-10 18:38:10,949: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:10,949: [start_stunnel] DEBUG: 2023-05-10 18:38:10,950: [run_stunnel] Launching the stunnel 'server' - got pid 2009678 DEBUG: 2023-05-10 18:38:10,950: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:11,161: [server] Read '2023.05.10 18:38:10 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:10 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:10 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:10 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:11 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:11 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,162: [server] Read '2023.05.10 18:38:11 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:11,163: [server] Read '2023.05.10 18:38:11 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:11,163: [server] Read '2023.05.10 18:38:11 LOG5[ui]: FIPS provider enabled' INFO: 2023-05-10 18:38:11,163: [server] Read '2023.05.10 18:38:11 LOG5[ui]: FIPS mode enabled' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Ciphers: FIPS' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: TLSv1.3 ciphersuites: TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialized with curves P-256:P-521:P-384' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:35107' DEBUG: 2023-05-10 18:38:11,164: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:35107 INFO: 2023-05-10 18:38:11,164: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' DEBUG: 2023-05-10 18:38:11,165: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:11,165: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:11,166: [test_connect [127.0.0.1]:35107 #0] Trying port 35107 encrypted True INFO: 2023-05-10 18:38:11,166: [establish_connection [127.0.0.1]:35107 #0] Creating a SSL context INFO: 2023-05-10 18:38:11,166: [establish_connection [127.0.0.1]:35107 #0] Opening a SSL connection INFO: 2023-05-10 18:38:11,167: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:11,167: [server] Read '2023.05.10 18:38:11 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:11,167: [server] Read '2023.05.10 18:38:11 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:11,167: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:40832' INFO: 2023-05-10 18:38:11,174: [server] Read '2023.05.10 18:38:11 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:11,174: [server] Read '2023.05.10 18:38:11 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:11,174: [server] Read '2023.05.10 18:38:11 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG5[0]: Service [server] accepted connection from 127.0.0.1:40832' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG7[0]: TLS alert (write): fatal: handshake failure' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG3[0]: SSL_accept: ssl/statem/statem_lib.c:170: error:0A0000B5:SSL routines::no ciphers available' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG5[0]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:11,185: [server] Read '2023.05.10 18:38:11 LOG7[0]: Service [server] finished (0 left)' WARNING: 2023-05-10 18:38:11,185: [establish_connection [127.0.0.1]:35107 #0] Failed to connect to 127.0.0.1:35107: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1129) INFO: 2023-05-10 18:38:11,186: [test_connect [127.0.0.1]:35107 #0] Establish connection failed INFO: 2023-05-10 18:38:11,186: [test_connect [127.0.0.1]:35107 #0] Test connection #0 has been completed WARNING: 2023-05-10 18:38:11,186: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:11,186: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:11,186: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:11,186: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:11,186: [cleanup_stunnels] Waiting for the 'server' PID 2009678 to exit... INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Leak detection table utilization: 63/997, 6.32%' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:11,197: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:11,206: [server] Read '2023.05.10 18:38:11 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:11,206: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:11,206: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:11,206: [server] Read '2023.05.10 18:38:11 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:11,206: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:11,217: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:11,217: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:11,217: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:11,217: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:11,217: [set_result] The test result has been set WARNING: 2023-05-10 18:38:11,217: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:11,218: WARNING: 2023-05-10 18:38:11,218: [test_stunnel] ***** Start '113. Failure FIPS mode with unavailable elliptic curve' ***** INFO: 2023-05-10 18:38:11,218: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:11,218: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:11,218: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:11,270: [start_listener] HTTP server is listening on [127.0.0.1]:43337 INFO: 2023-05-10 18:38:11,270: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:11,270: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:11,270: [start_stunnel] INFO: 2023-05-10 18:38:11,270: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:11,270: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:11,270: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:11,270: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:11,270: [start_stunnel] INFO: 2023-05-10 18:38:11,270: [start_stunnel] fips = yes INFO: 2023-05-10 18:38:11,270: [start_stunnel] curves = sect163r1 INFO: 2023-05-10 18:38:11,270: [start_stunnel] INFO: 2023-05-10 18:38:11,270: [start_stunnel] [server] INFO: 2023-05-10 18:38:11,270: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:11,270: [start_stunnel] connect = 127.0.0.1:43337 INFO: 2023-05-10 18:38:11,270: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:11,270: [start_stunnel] DEBUG: 2023-05-10 18:38:11,271: [run_stunnel] Launching the stunnel 'server' - got pid 2009720 DEBUG: 2023-05-10 18:38:11,271: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:11,459: [server] Read '[ ] Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] Clients allowed=500' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] errno: (*__errno_location ())' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] FIPS provider enabled' INFO: 2023-05-10 18:38:11,460: [server] Read '[.] FIPS mode enabled' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] Compression enabled: 0 methods' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] No PRNG seeding was required' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] Initializing service [server]' INFO: 2023-05-10 18:38:11,460: [server] Read '[ ] Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Ciphers: FIPS' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Session resumption enabled' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,461: [server] Read '[:] Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Private key check succeeded' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] DH initialization' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Using dynamic DH parameters' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] ECDH initialization' INFO: 2023-05-10 18:38:11,461: [server] Read "[!] Invalid groups list in 'curves'" INFO: 2023-05-10 18:38:11,461: [server] Read '[!] Service [server]: Failed to initialize TLS context' INFO: 2023-05-10 18:38:11,461: [server] Read '[!] Configuration failed' WARNING: 2023-05-10 18:38:11,461: [stunnel_output] Stunnel 'server' configuration failed INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Deallocating temporary section defaults' INFO: 2023-05-10 18:38:11,461: [server] Read '[ ] Deallocating section [server]' DEBUG: 2023-05-10 18:38:11,462: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:11,462: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:11,462: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:11,463: [test_connect [127.0.0.1]:0 #0] Trying port 0 encrypted True INFO: 2023-05-10 18:38:11,463: [establish_connection [127.0.0.1]:0 #0] Creating a SSL context INFO: 2023-05-10 18:38:11,463: [establish_connection [127.0.0.1]:0 #0] Opening a SSL connection WARNING: 2023-05-10 18:38:11,463: [establish_connection [127.0.0.1]:0 #0] Failed to connect to 127.0.0.1:0: [Errno 111] Connect call failed ('127.0.0.1', 0) INFO: 2023-05-10 18:38:11,464: [test_connect [127.0.0.1]:0 #0] Establish connection failed INFO: 2023-05-10 18:38:11,464: [test_connect [127.0.0.1]:0 #0] Test connection #0 has been completed WARNING: 2023-05-10 18:38:11,464: [remove_connection] Warning: Connection #0 done too early DEBUG: 2023-05-10 18:38:11,464: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:11,464: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:11,464: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:11,464: [cleanup_stunnels] Waiting for the 'server' PID 2009720 to exit... INFO: 2023-05-10 18:38:11,464: [cleanup_stunnels] Got stunnel processes' exit status: [1] DEBUG: 2023-05-10 18:38:11,464: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:11,464: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:11,464: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:11,465: [set_result] The test result has been set WARNING: 2023-05-10 18:38:11,465: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:11,465: INFO: 2023-05-10 18:38:11,465: [plugins] >>>>> Applying 'Server Name Indication' <<<<< WARNING: 2023-05-10 18:38:11,465: WARNING: 2023-05-10 18:38:11,465: [test_stunnel] ***** Start '121. Test "sni" option' ***** INFO: 2023-05-10 18:38:11,465: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:11,465: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:11,465: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:11,504: [start_listener] HTTP server is listening on [127.0.0.1]:41503 INFO: 2023-05-10 18:38:11,504: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:11,504: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:11,504: [start_stunnel] INFO: 2023-05-10 18:38:11,504: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server_virtual.pid INFO: 2023-05-10 18:38:11,504: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:11,504: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:11,504: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:11,504: [start_stunnel] INFO: 2023-05-10 18:38:11,504: [start_stunnel] [server_virtual] INFO: 2023-05-10 18:38:11,504: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:11,504: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:11,504: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:11,504: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:11,504: [start_stunnel] INFO: 2023-05-10 18:38:11,504: [start_stunnel] [sni] INFO: 2023-05-10 18:38:11,504: [start_stunnel] connect = 127.0.0.1:41503 INFO: 2023-05-10 18:38:11,504: [start_stunnel] sni = server_virtual:*.mydomain.com INFO: 2023-05-10 18:38:11,504: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:11,504: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:11,504: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:11,504: [start_stunnel] DEBUG: 2023-05-10 18:38:11,505: [run_stunnel] Launching the stunnel 'server_virtual' - got pid 2009755 DEBUG: 2023-05-10 18:38:11,505: [start_stunnel] Waiting for the stunnel 'server_virtual' to start up INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:11,722: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing service [server_virtual]' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing service [sni]' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: TLS options: 0x2110000 (+0x10000, -0x0)' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,723: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Binding service [server_virtual]' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG6[ui]: Service [server_virtual] (FD=8) bound to 127.0.0.1:41473' DEBUG: 2023-05-10 18:38:11,724: [stunnel_output] Service [server_virtual] (FD=8) bound to 127.0.0.1:41473 INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Skipped SNI slave service [sni]' INFO: 2023-05-10 18:38:11,724: [server_virtual] Read '2023.05.10 18:38:11 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server_virtual.pid' INFO: 2023-05-10 18:38:11,751: [check_listening_port] 'server_virtual' is listening on port 41473 INFO: 2023-05-10 18:38:11,751: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:11,751: [start_stunnel] INFO: 2023-05-10 18:38:11,751: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:11,751: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:11,751: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:11,751: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:11,751: [start_stunnel] INFO: 2023-05-10 18:38:11,751: [start_stunnel] [client] INFO: 2023-05-10 18:38:11,751: [start_stunnel] client = yes INFO: 2023-05-10 18:38:11,751: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:11,751: [start_stunnel] connect = 127.0.0.1:41473 INFO: 2023-05-10 18:38:11,752: [start_stunnel] sni = sni.mydomain.com INFO: 2023-05-10 18:38:11,752: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:11,752: [start_stunnel] INFO: 2023-05-10 18:38:11,752: [server_virtual] Read '2023.05.10 18:38:11 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:11,752: [server_virtual] Read '2023.05.10 18:38:11 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:11,752: [server_virtual] Read '2023.05.10 18:38:11 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:11,752: [run_stunnel] Launching the stunnel 'client' - got pid 2009808 DEBUG: 2023-05-10 18:38:11,752: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:11,994: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:38003' DEBUG: 2023-05-10 18:38:11,995: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:38003 INFO: 2023-05-10 18:38:11,995: [client] Read '2023.05.10 18:38:11 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:11,996: [check_listening_port] 'client' is listening on port 38003 DEBUG: 2023-05-10 18:38:11,996: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:11,996: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:11,996: [test_connect [127.0.0.1]:38003 #0] Trying port 38003 encrypted False INFO: 2023-05-10 18:38:11,997: [establish_connection [127.0.0.1]:38003 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:11,997: [test_connect [127.0.0.1]:38003 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:12,008: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,008: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,008: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,008: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:47190' INFO: 2023-05-10 18:38:12,012: [client] Read '2023.05.10 18:38:12 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:12,012: [client] Read '2023.05.10 18:38:12 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:12,012: [client] Read '2023.05.10 18:38:12 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:12,012: [client] Read '2023.05.10 18:38:12 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG5[0]: Service [client] accepted connection from 127.0.0.1:47190' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG6[0]: s_connect: connecting 127.0.0.1:41473' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:41473: waiting 10 seconds' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG5[0]: s_connect: connected 127.0.0.1:41473' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG5[0]: Service [client] connected remote server from 127.0.0.1:58364' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG6[0]: SNI: sending servername: sni.mydomain.com' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,050: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:12,050: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,050: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,050: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,051: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [server_virtual] accepted (FD=3) from 127.0.0.1:58364' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Service [server_virtual] started' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Service [server_virtual] accepted connection from 127.0.0.1:58364' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: SNI: requested servername: sni.mydomain.com' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: SNI: matched pattern: *.mydomain.com' INFO: 2023-05-10 18:38:12,081: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: SNI: switched to service [sni]' INFO: 2023-05-10 18:38:12,082: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:12,082: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:12,082: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:12,082: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:12,082: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:12,082: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:12,088: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:12,089: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:12,089: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:12,089: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:12,089: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:12,089: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:12,090: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:12,091: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:12,091: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:12,097: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:12,098: [client] Read '2023.05.10 18:38:12 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:12,121: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Session id: 876BAF70F77F9BA4B462B39A1E491A39D4D25437E26D7FBC57ED5D90B0B865A1' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Session id: 70103D1608C730803D380FB275DEE358885D8D32ECCA17193B0B6524B3B5E56C' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: s_connect: connecting 127.0.0.1:41503' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:41503: waiting 10 seconds' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: s_connect: connected 127.0.0.1:41503' INFO: 2023-05-10 18:38:12,122: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: persistence: 127.0.0.1:41503 cached' INFO: 2023-05-10 18:38:12,123: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Service [sni] connected remote server from 127.0.0.1:47432' INFO: 2023-05-10 18:38:12,123: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:12,123: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:12,123: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG6[0]: Session id: A1DDD4E543FF8EC1917F8D44976A5BE8501CBFC95EA32C319046E13600EB6E8E' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG6[0]: Session id: 45F9085621C553255A97D0114B86FBAABB72F52587E0D985B230E3107C905F28' INFO: 2023-05-10 18:38:12,123: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:12,124: [client_connected_cb [127.0.0.1]:47432] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:12,124: [client_connected_cb [127.0.0.1]:47432] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:12,124: [client_connected_cb [127.0.0.1]:47432] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:12,124: [client_connected_cb [127.0.0.1]:47432] Closing down the server writer socket DEBUG: 2023-05-10 18:38:12,125: [client_connected_cb [127.0.0.1]:47432] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:12,148: [test_connect [127.0.0.1]:38003 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:12,148: [test_connect [127.0.0.1]:38003 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:12,148: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:12,148: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:12,148: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:12,148: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:12,148: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:12,148: [client] Read '2023.05.10 18:38:12 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:12,149: [test_connect [127.0.0.1]:38003 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:12,149: [test_connect [127.0.0.1]:38003 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:12,149: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:12,149: [remove_connection] Testing connections done INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:12,149: [client] Read '2023.05.10 18:38:12 LOG7[0]: Service [client] finished (0 left)' DEBUG: 2023-05-10 18:38:12,149: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:12,149: [cleanup_stunnels] Waiting for the 'server_virtual' PID 2009755 to exit... DEBUG: 2023-05-10 18:38:12,149: [cleanup_stunnels] Waiting for the 'client' PID 2009808 to exit... INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Leak detection table utilization: 154/997, 15.45%' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:12,150: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:12,152: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:12,152: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:12,152: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:12,152: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:12,152: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Leak detection table utilization: 163/997, 16.35%' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server_virtual.pid' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating a thread for [sni]' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:12,158: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:12,159: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:12,159: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Unbinding service [server_virtual]' INFO: 2023-05-10 18:38:12,159: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [server_virtual] closed (FD=8)' INFO: 2023-05-10 18:38:12,159: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [server_virtual] closed' INFO: 2023-05-10 18:38:12,159: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Unbinding service [sni]' INFO: 2023-05-10 18:38:12,159: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [sni] closed' INFO: 2023-05-10 18:38:12,170: [stunnel_output] Done with task 'server_virtual output' INFO: 2023-05-10 18:38:12,170: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:12,170: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:12,170: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:12,170: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:12,170: [set_result] The test result has been set WARNING: 2023-05-10 18:38:12,170: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:12,171: WARNING: 2023-05-10 18:38:12,171: [test_stunnel] ***** Start '122. Failure test "sni" option' ***** INFO: 2023-05-10 18:38:12,171: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:12,171: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:12,171: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:12,206: [start_listener] HTTP server is listening on [127.0.0.1]:34257 INFO: 2023-05-10 18:38:12,206: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:12,206: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:12,206: [start_stunnel] INFO: 2023-05-10 18:38:12,206: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server_virtual.pid INFO: 2023-05-10 18:38:12,206: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:12,206: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:12,206: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:12,206: [start_stunnel] INFO: 2023-05-10 18:38:12,206: [start_stunnel] [server_virtual] INFO: 2023-05-10 18:38:12,206: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:12,206: [start_stunnel] connect = 127.0.0.1:34257 INFO: 2023-05-10 18:38:12,206: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:12,206: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:12,206: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:12,206: [start_stunnel] INFO: 2023-05-10 18:38:12,206: [start_stunnel] [sni] INFO: 2023-05-10 18:38:12,206: [start_stunnel] sni = server_virtual:*.mydomain.com INFO: 2023-05-10 18:38:12,206: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:12,206: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:12,206: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:12,206: [start_stunnel] DEBUG: 2023-05-10 18:38:12,207: [run_stunnel] Launching the stunnel 'server_virtual' - got pid 2009881 DEBUG: 2023-05-10 18:38:12,207: [start_stunnel] Waiting for the stunnel 'server_virtual' to start up INFO: 2023-05-10 18:38:12,477: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing service [server_virtual]' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:12,478: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing service [sni]' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: TLS options: 0x2110000 (+0x10000, -0x0)' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Binding service [server_virtual]' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Service [server_virtual] (FD=8) bound to 127.0.0.1:39969' DEBUG: 2023-05-10 18:38:12,479: [stunnel_output] Service [server_virtual] (FD=8) bound to 127.0.0.1:39969 INFO: 2023-05-10 18:38:12,479: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Skipped SNI slave service [sni]' INFO: 2023-05-10 18:38:12,480: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server_virtual.pid' INFO: 2023-05-10 18:38:12,540: [check_listening_port] 'server_virtual' is listening on port 39969 INFO: 2023-05-10 18:38:12,540: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:12,540: [start_stunnel] INFO: 2023-05-10 18:38:12,540: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:12,540: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:12,540: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:12,540: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:12,540: [start_stunnel] INFO: 2023-05-10 18:38:12,540: [start_stunnel] [client] INFO: 2023-05-10 18:38:12,540: [start_stunnel] client = yes INFO: 2023-05-10 18:38:12,540: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:12,540: [start_stunnel] connect = 127.0.0.1:39969 INFO: 2023-05-10 18:38:12,540: [start_stunnel] ;the client doesn't present any sni pattern INFO: 2023-05-10 18:38:12,540: [start_stunnel] ;sni = sni.mydomain.com INFO: 2023-05-10 18:38:12,540: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:12,540: [start_stunnel] INFO: 2023-05-10 18:38:12,541: [server_virtual] Read '2023.05.10 18:38:12 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:12,541: [server_virtual] Read '2023.05.10 18:38:12 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:12,541: [server_virtual] Read '2023.05.10 18:38:12 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:12,541: [run_stunnel] Launching the stunnel 'client' - got pid 2009933 DEBUG: 2023-05-10 18:38:12,541: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:12,777: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:43981' DEBUG: 2023-05-10 18:38:12,778: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:43981 INFO: 2023-05-10 18:38:12,778: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:12,779: [check_listening_port] 'client' is listening on port 43981 DEBUG: 2023-05-10 18:38:12,779: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:12,779: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:12,779: [test_connect [127.0.0.1]:43981 #0] Trying port 43981 encrypted False INFO: 2023-05-10 18:38:12,779: [establish_connection [127.0.0.1]:43981 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:12,779: [test_connect [127.0.0.1]:43981 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:12,787: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,788: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,788: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,788: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:49602' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG5[0]: Service [client] accepted connection from 127.0.0.1:49602' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG6[0]: s_connect: connecting 127.0.0.1:39969' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:39969: waiting 10 seconds' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG5[0]: s_connect: connected 127.0.0.1:39969' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG5[0]: Service [client] connected remote server from 127.0.0.1:42632' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,789: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:12,789: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,789: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,789: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,790: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [server_virtual] accepted (FD=3) from 127.0.0.1:42632' INFO: 2023-05-10 18:38:12,806: [client] Read '2023.05.10 18:38:12 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:12,806: [client] Read '2023.05.10 18:38:12 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:12,806: [client] Read '2023.05.10 18:38:12 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:12,806: [client] Read '2023.05.10 18:38:12 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Service [server_virtual] started' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Service [server_virtual] accepted connection from 127.0.0.1:42632' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: SNI: requested servername: 127.0.0.1' INFO: 2023-05-10 18:38:12,811: [server_virtual] Read '2023.05.10 18:38:12 LOG3[0]: SNI: no pattern matched servername: 127.0.0.1' INFO: 2023-05-10 18:38:12,812: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:12,812: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:12,812: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:12,812: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:12,812: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:12,812: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:12,819: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:12,819: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:12,819: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:12,819: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:12,819: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:12,819: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:12,819: [client] Read '2023.05.10 18:38:12 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,819: [client] Read '2023.05.10 18:38:12 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:12,819: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:12,820: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:12,821: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:12,827: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:12,828: [client] Read '2023.05.10 18:38:12 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:12,843: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Session id: 6008330E1A26319D1BA20CC750119ABC31F81F96A214FFAFBEC4FE152BCFEA11' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Session id: 892AE69659F4662C63A7D34AFB294C6ED457D650948E970D3DC7AA091EAD8260' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: s_connect: connecting 127.0.0.1:34257' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:34257: waiting 10 seconds' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: s_connect: connected 127.0.0.1:34257' INFO: 2023-05-10 18:38:12,844: [server_virtual] Read '2023.05.10 18:38:12 LOG6[0]: persistence: 127.0.0.1:34257 cached' INFO: 2023-05-10 18:38:12,845: [server_virtual] Read '2023.05.10 18:38:12 LOG5[0]: Service [server_virtual] connected remote server from 127.0.0.1:59990' INFO: 2023-05-10 18:38:12,845: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:12,845: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:12,845: [server_virtual] Read '2023.05.10 18:38:12 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG6[0]: Session id: 1D92873FCB6ECD371FAB4D1866A504D395A19238F9206D4EDFD7C6A27AFFFB66' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG6[0]: Session id: B4A157B06D4FAC05D633ED48FCF21EB222CB629C345BCBA632BD6AC6155BCCEE' INFO: 2023-05-10 18:38:12,845: [client] Read '2023.05.10 18:38:12 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:12,846: [client_connected_cb [127.0.0.1]:59990] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:12,846: [client_connected_cb [127.0.0.1]:59990] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:12,846: [client_connected_cb [127.0.0.1]:59990] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:12,846: [client_connected_cb [127.0.0.1]:59990] Closing down the server writer socket DEBUG: 2023-05-10 18:38:12,847: [client_connected_cb [127.0.0.1]:59990] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:12,847: [test_connect [127.0.0.1]:43981 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:12,847: [test_connect [127.0.0.1]:43981 #0] Closing down the client writer socket DEBUG: 2023-05-10 18:38:12,847: [test_connect [127.0.0.1]:43981 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:12,847: [test_connect [127.0.0.1]:43981 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:12,847: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:12,847: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:12,847: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:12,847: [cleanup_stunnels] Waiting for the 'server_virtual' PID 2009881 to exit... DEBUG: 2023-05-10 18:38:12,847: [cleanup_stunnels] Waiting for the 'client' PID 2009933 to exit... INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Leak detection table utilization: 154/997, 15.45%' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:12,848: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:12,848: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Leak detection table utilization: 163/997, 16.35%' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server_virtual.pid' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating a thread for [server_virtual]' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:12,849: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:12,857: [client] Read '2023.05.10 18:38:12 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:12,857: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:12,857: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:12,857: [client] Read '2023.05.10 18:38:12 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:12,857: [server_virtual] Read '2023.05.10 18:38:12 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:12,857: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Unbinding service [server_virtual]' INFO: 2023-05-10 18:38:12,857: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [server_virtual] closed (FD=8)' INFO: 2023-05-10 18:38:12,857: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [server_virtual] closed' INFO: 2023-05-10 18:38:12,858: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Unbinding service [sni]' INFO: 2023-05-10 18:38:12,858: [server_virtual] Read '2023.05.10 18:38:12 LOG7[ui]: Service [sni] closed' INFO: 2023-05-10 18:38:12,866: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:12,866: [stunnel_output] Done with task 'server_virtual output' INFO: 2023-05-10 18:38:12,877: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:12,877: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:12,877: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:12,877: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:12,877: [set_result] The test result has been set WARNING: 2023-05-10 18:38:12,877: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:12,878: INFO: 2023-05-10 18:38:12,878: [plugins] >>>>> Applying 'Resume session' <<<<< WARNING: 2023-05-10 18:38:12,878: WARNING: 2023-05-10 18:38:12,878: [test_stunnel] ***** Start '131. Resume session with PSK authentication' ***** INFO: 2023-05-10 18:38:12,878: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:12,878: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:12,878: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:12,920: [start_listener] HTTP server is listening on [127.0.0.1]:40119 INFO: 2023-05-10 18:38:12,920: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:12,920: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:12,920: [start_stunnel] INFO: 2023-05-10 18:38:12,920: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:12,920: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:12,920: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:12,920: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:12,920: [start_stunnel] INFO: 2023-05-10 18:38:12,920: [start_stunnel] [server] INFO: 2023-05-10 18:38:12,920: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:12,920: [start_stunnel] connect = 127.0.0.1:40119 INFO: 2023-05-10 18:38:12,920: [start_stunnel] PSKsecrets = /builddir/build/BUILD/stunnel-5.62/tests/certs/secrets.txt INFO: 2023-05-10 18:38:12,920: [start_stunnel] DEBUG: 2023-05-10 18:38:12,921: [run_stunnel] Launching the stunnel 'server' - got pid 2010000 DEBUG: 2023-05-10 18:38:12,921: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:13,173: [server] Read '2023.05.10 18:38:12 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:12 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:12 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:12 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/secrets.txt' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: PSKsecrets line 1: 50-byte ASCII key configured for identity "test1"' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: PSKsecrets line 2: 50-byte ASCII key configured for identity "test2"' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: PSK identities: 2 retrieved' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: No certificate available to load DH parameters' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:13,174: [server] Read '2023.05.10 18:38:13 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:13,175: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:13,176: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:36691' DEBUG: 2023-05-10 18:38:13,176: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:36691 INFO: 2023-05-10 18:38:13,236: [check_listening_port] 'server' is listening on port 36691 INFO: 2023-05-10 18:38:13,236: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:13,236: [start_stunnel] INFO: 2023-05-10 18:38:13,236: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:13,236: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:13,236: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:13,236: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:13,236: [start_stunnel] INFO: 2023-05-10 18:38:13,236: [start_stunnel] [client] INFO: 2023-05-10 18:38:13,236: [start_stunnel] client = yes INFO: 2023-05-10 18:38:13,236: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:13,236: [start_stunnel] connect = 127.0.0.1:36691 INFO: 2023-05-10 18:38:13,236: [start_stunnel] PSKsecrets = /builddir/build/BUILD/stunnel-5.62/tests/certs/psk1.txt INFO: 2023-05-10 18:38:13,236: [start_stunnel] INFO: 2023-05-10 18:38:13,236: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:13,237: [server] Read '2023.05.10 18:38:13 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:13,237: [server] Read '2023.05.10 18:38:13 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:13,237: [server] Read '2023.05.10 18:38:13 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:13,237: [run_stunnel] Launching the stunnel 'client' - got pid 2010055 DEBUG: 2023-05-10 18:38:13,237: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:13,458: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:13,459: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:13,459: [client] Read '2023.05.10 18:38:13 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:13,459: [client] Read '2023.05.10 18:38:13 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:13,459: [client] Read '2023.05.10 18:38:13 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:13,459: [client] Read '2023.05.10 18:38:13 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:13,459: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/psk1.txt' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: PSKsecrets line 1: 50-byte ASCII key configured for identity "test1"' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: PSK identities: 1 retrieved' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:41331' DEBUG: 2023-05-10 18:38:13,460: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:41331 INFO: 2023-05-10 18:38:13,460: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:13,461: [check_listening_port] 'client' is listening on port 41331 DEBUG: 2023-05-10 18:38:13,461: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:13,461: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:13,462: [test_connect [127.0.0.1]:41331 #0] Trying port 41331 encrypted False INFO: 2023-05-10 18:38:13,462: [establish_connection [127.0.0.1]:41331 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:13,462: [test_connect [127.0.0.1]:41331 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:13,462: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,462: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,462: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,462: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:47002' INFO: 2023-05-10 18:38:13,463: [client] Read '2023.05.10 18:38:13 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:13,463: [client] Read '2023.05.10 18:38:13 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:13,463: [client] Read '2023.05.10 18:38:13 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:13,463: [client] Read '2023.05.10 18:38:13 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG5[0]: Service [client] accepted connection from 127.0.0.1:47002' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG6[0]: s_connect: connecting 127.0.0.1:36691' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:36691: waiting 10 seconds' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG5[0]: s_connect: connected 127.0.0.1:36691' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG5[0]: Service [client] connected remote server from 127.0.0.1:49714' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:13,474: [client] Read '2023.05.10 18:38:13 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:13,475: [client] Read '2023.05.10 18:38:13 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:13,475: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:13,475: [client] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,475: [client] Read '2023.05.10 18:38:13 LOG6[0]: PSK client configured for identity "test1"' INFO: 2023-05-10 18:38:13,475: [client] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,475: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:13,475: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,475: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,475: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,476: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:49714' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG5[0]: Service [server] accepted connection from 127.0.0.1:49714' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:13,495: [server] Read '2023.05.10 18:38:13 LOG5[0]: Key configured for PSK identity "test1"' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:13,496: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:13,497: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: 1 session reuse(s)' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG6[0]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:13,498: [client] Read '2023.05.10 18:38:13 LOG6[0]: Session id: ' INFO: 2023-05-10 18:38:13,499: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:13,499: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 1 session reuse(s)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: Session id: 05C7FC426B4F700C6A0CAA52BDFDD01C155E318C02765AF9D6CF44931B295D3B' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: Session id: 05C7FC426B4F700C6A0CAA52BDFDD01C155E318C02765AF9D6CF44931B295D3B' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: s_connect: connecting 127.0.0.1:40119' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:40119: waiting 10 seconds' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG5[0]: s_connect: connected 127.0.0.1:40119' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG6[0]: persistence: 127.0.0.1:40119 cached' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG5[0]: Service [server] connected remote server from 127.0.0.1:60968' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:13,500: [server] Read '2023.05.10 18:38:13 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:13,501: [server] Read '2023.05.10 18:38:13 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:13,501: [client_connected_cb [127.0.0.1]:60968] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:13,501: [client_connected_cb [127.0.0.1]:60968] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:13,501: [client_connected_cb [127.0.0.1]:60968] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:13,501: [client_connected_cb [127.0.0.1]:60968] Closing down the server writer socket DEBUG: 2023-05-10 18:38:13,501: [client_connected_cb [127.0.0.1]:60968] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG6[0]: Session id: 0EC2E3E2321808E6B4C836C9703BF4C99DB8A6AC8B906D38C00C0135EB888B3C' INFO: 2023-05-10 18:38:13,502: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:13,503: [test_connect [127.0.0.1]:41331 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:13,503: [test_connect [127.0.0.1]:41331 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:13,503: [server] Read '2023.05.10 18:38:13 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:13,503: [server] Read '2023.05.10 18:38:13 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:13,503: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:13,503: [server] Read '2023.05.10 18:38:13 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:13,503: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:13,503: [client] Read '2023.05.10 18:38:13 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:13,503: [client] Read '2023.05.10 18:38:13 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:13,503: [test_connect [127.0.0.1]:41331 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:13,503: [test_connect [127.0.0.1]:41331 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:13,504: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:13,504: [test_connect [127.0.0.1]:41331 #1] Trying port 41331 encrypted False INFO: 2023-05-10 18:38:13,504: [establish_connection [127.0.0.1]:41331 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:13,504: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:13,504: [test_connect [127.0.0.1]:41331 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:13,505: [client] Read '2023.05.10 18:38:13 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:13,505: [server] Read '2023.05.10 18:38:13 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:13,505: [server] Read '2023.05.10 18:38:13 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:13,505: [server] Read '2023.05.10 18:38:13 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:13,505: [server] Read '2023.05.10 18:38:13 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:13,505: [server] Read '2023.05.10 18:38:13 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,506: [server] Read '2023.05.10 18:38:13 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:13,506: [server] Read '2023.05.10 18:38:13 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:13,506: [server] Read '2023.05.10 18:38:13 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:13,506: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,506: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,506: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,506: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:47008' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG5[1]: Service [client] accepted connection from 127.0.0.1:47008' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG6[1]: s_connect: connecting 127.0.0.1:36691' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:36691: waiting 10 seconds' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG5[1]: s_connect: connected 127.0.0.1:36691' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG5[1]: Service [client] connected remote server from 127.0.0.1:49724' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:13,531: [client] Read '2023.05.10 18:38:13 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG6[1]: PSK client configured for identity "test1"' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,532: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:13,532: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,532: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,532: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,532: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:49724' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG5[1]: Service [server] accepted connection from 127.0.0.1:49724' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG6[1]: PSK identity not found (session resumption?)' INFO: 2023-05-10 18:38:13,551: [server] Read '2023.05.10 18:38:13 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:13,552: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:13,561: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG7[1]: Remove session callback' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG7[1]: 2 session reuse(s)' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG6[1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:13,562: [client] Read '2023.05.10 18:38:13 LOG6[1]: Session id: 0EC2E3E2321808E6B4C836C9703BF4C99DB8A6AC8B906D38C00C0135EB888B3C' INFO: 2023-05-10 18:38:13,562: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:13,562: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:13,562: [server] Read '2023.05.10 18:38:13 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:13,562: [server] Read '2023.05.10 18:38:13 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 2 session reuse(s)' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG6[1]: No peer certificate received' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG6[1]: Session id: E1DE138CCC48FF4E4268F3613804E9EB135B293A5BA01415805EC9034CBA27F2' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:13,563: [server] Read '2023.05.10 18:38:13 LOG6[1]: Session id: E1DE138CCC48FF4E4268F3613804E9EB135B293A5BA01415805EC9034CBA27F2' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG6[1]: s_connect: connecting 127.0.0.1:40119' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:40119: waiting 10 seconds' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG5[1]: s_connect: connected 127.0.0.1:40119' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG6[1]: persistence: 127.0.0.1:40119 cached' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG5[1]: Service [server] connected remote server from 127.0.0.1:60984' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:13,564: [server] Read '2023.05.10 18:38:13 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:13,565: [client_connected_cb [127.0.0.1]:60984] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:13,565: [client_connected_cb [127.0.0.1]:60984] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:13,565: [client_connected_cb [127.0.0.1]:60984] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:13,565: [client_connected_cb [127.0.0.1]:60984] Closing down the server writer socket INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG6[1]: No peer certificate received' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG6[1]: Session id: 1631DB0DC7F763477CE4D5E108B722BCA63CBF68C33C93A33D1FEB540849E8A5' INFO: 2023-05-10 18:38:13,565: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:13,565: [client_connected_cb [127.0.0.1]:60984] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:13,572: [server] Read '2023.05.10 18:38:13 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:13,572: [server] Read '2023.05.10 18:38:13 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:13,572: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:13,572: [server] Read '2023.05.10 18:38:13 LOG6[1]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:13,572: [test_connect [127.0.0.1]:41331 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:13,573: [test_connect [127.0.0.1]:41331 #1] Closing down the client writer socket INFO: 2023-05-10 18:38:13,573: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:13,573: [client] Read '2023.05.10 18:38:13 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:13,573: [client] Read '2023.05.10 18:38:13 LOG7[1]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:13,573: [test_connect [127.0.0.1]:41331 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:13,573: [test_connect [127.0.0.1]:41331 #1] Test connection #1 has been completed DEBUG: 2023-05-10 18:38:13,573: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:13,573: [test_connect [127.0.0.1]:41331 #2] Trying port 41331 encrypted False INFO: 2023-05-10 18:38:13,573: [establish_connection [127.0.0.1]:41331 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:13,573: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:13,574: [test_connect [127.0.0.1]:41331 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:13,574: [client] Read '2023.05.10 18:38:13 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:13,575: [server] Read '2023.05.10 18:38:13 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:13,586: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,586: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,586: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,586: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:47016' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG5[2]: Service [client] accepted connection from 127.0.0.1:47016' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG6[2]: s_connect: connecting 127.0.0.1:36691' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:36691: waiting 10 seconds' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG5[2]: s_connect: connected 127.0.0.1:36691' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG5[2]: Service [client] connected remote server from 127.0.0.1:49738' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG6[2]: PSK client configured for identity "test1"' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,605: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:13,606: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,606: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,606: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,606: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:49738' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG5[2]: Service [server] accepted connection from 127.0.0.1:49738' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG6[2]: PSK identity not found (session resumption?)' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:13,638: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:13,639: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:13,639: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:13,639: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: Remove session callback' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG7[2]: 3 session reuse(s)' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG6[2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:13,640: [client] Read '2023.05.10 18:38:13 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:13,641: [client] Read '2023.05.10 18:38:13 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:13,641: [client] Read '2023.05.10 18:38:13 LOG6[2]: Session id: 1631DB0DC7F763477CE4D5E108B722BCA63CBF68C33C93A33D1FEB540849E8A5' INFO: 2023-05-10 18:38:13,642: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:13,642: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:13,642: [server] Read '2023.05.10 18:38:13 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:13,642: [server] Read '2023.05.10 18:38:13 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:13,642: [server] Read '2023.05.10 18:38:13 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: 3 session reuse(s)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: No peer certificate received' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: Session id: DCD428F28B9F167E66C3F32040BFFF12DBA88F1131AA769BEB0136E8E34664D4' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_128_GCM_SHA256 (128-bit encryption)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: Session id: DCD428F28B9F167E66C3F32040BFFF12DBA88F1131AA769BEB0136E8E34664D4' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: s_connect: connecting 127.0.0.1:40119' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:40119: waiting 10 seconds' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG5[2]: s_connect: connected 127.0.0.1:40119' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG6[2]: persistence: 127.0.0.1:40119 cached' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG5[2]: Service [server] connected remote server from 127.0.0.1:60992' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:13,643: [server] Read '2023.05.10 18:38:13 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:13,643: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:13,643: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:13,643: [client] Read '2023.05.10 18:38:13 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:13,644: [client] Read '2023.05.10 18:38:13 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:13,644: [client] Read '2023.05.10 18:38:13 LOG6[2]: No peer certificate received' INFO: 2023-05-10 18:38:13,644: [client] Read '2023.05.10 18:38:13 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:13,644: [client] Read '2023.05.10 18:38:13 LOG6[2]: Session id: 46718D28A38CE88AA79A60C166C921A357AAFA23CB971E357D296C2E7F87F2E8' INFO: 2023-05-10 18:38:13,644: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:13,644: [client_connected_cb [127.0.0.1]:60992] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:13,645: [client_connected_cb [127.0.0.1]:60992] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:13,645: [client_connected_cb [127.0.0.1]:60992] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:13,645: [client_connected_cb [127.0.0.1]:60992] Closing down the server writer socket DEBUG: 2023-05-10 18:38:13,645: [client_connected_cb [127.0.0.1]:60992] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:13,645: [test_connect [127.0.0.1]:41331 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:13,645: [test_connect [127.0.0.1]:41331 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:13,645: [server] Read '2023.05.10 18:38:13 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:13,645: [server] Read '2023.05.10 18:38:13 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:13,645: [server] Read '2023.05.10 18:38:13 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:13,645: [server] Read '2023.05.10 18:38:13 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:13,646: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:13,646: [client] Read '2023.05.10 18:38:13 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:13,646: [client] Read '2023.05.10 18:38:13 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:13,646: [test_connect [127.0.0.1]:41331 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:13,646: [test_connect [127.0.0.1]:41331 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:13,646: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:13,646: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:13,646: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:13,646: [cleanup_stunnels] Waiting for the 'server' PID 2010000 to exit... DEBUG: 2023-05-10 18:38:13,646: [cleanup_stunnels] Waiting for the 'client' PID 2010055 to exit... INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Leak detection table utilization: 121/997, 12.14%' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:13,647: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG6[2]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG5[2]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG7[2]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG7[2]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:13,647: [client] Read '2023.05.10 18:38:13 LOG7[2]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:13,663: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:13,663: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:13,663: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:13,663: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:13,663: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:13,663: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:13,663: [client] Read '2023.05.10 18:38:13 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:13,663: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Leak detection table utilization: 102/997, 10.23%' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:13,664: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:13,664: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:13,664: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:13,664: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:13,664: [stunnel_output] Done with task 'client output' DEBUG: 2023-05-10 18:38:13,665: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:13,665: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:13,665: [set_result] The test result has been set WARNING: 2023-05-10 18:38:13,665: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:13,665: WARNING: 2023-05-10 18:38:13,665: [test_stunnel] ***** Start '132. Cache session resumption with TLSv1.2' ***** INFO: 2023-05-10 18:38:13,665: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:13,665: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:13,665: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:13,720: [start_listener] HTTP server is listening on [127.0.0.1]:38185 INFO: 2023-05-10 18:38:13,721: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:13,721: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:13,721: [start_stunnel] INFO: 2023-05-10 18:38:13,721: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:13,721: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:13,721: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:13,721: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:13,721: [start_stunnel] INFO: 2023-05-10 18:38:13,721: [start_stunnel] sslVersionMax = TLSv1.2 INFO: 2023-05-10 18:38:13,721: [start_stunnel] options = NO_TICKET INFO: 2023-05-10 18:38:13,721: [start_stunnel] INFO: 2023-05-10 18:38:13,721: [start_stunnel] [server] INFO: 2023-05-10 18:38:13,721: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:13,721: [start_stunnel] connect = 127.0.0.1:38185 INFO: 2023-05-10 18:38:13,721: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:13,721: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:13,721: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:13,721: [start_stunnel] DEBUG: 2023-05-10 18:38:13,721: [run_stunnel] Launching the stunnel 'server' - got pid 2010154 DEBUG: 2023-05-10 18:38:13,722: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:13,852: [server] Read '2023.05.10 18:38:13 LOG7[ui]: TLS options: 0x2104000 (+0x4000, -0x0)' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:42627' DEBUG: 2023-05-10 18:38:13,853: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:42627 INFO: 2023-05-10 18:38:13,853: [server] Read '2023.05.10 18:38:13 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:13,895: [check_listening_port] 'server' is listening on port 42627 INFO: 2023-05-10 18:38:13,895: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:13,895: [start_stunnel] INFO: 2023-05-10 18:38:13,895: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:13,895: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:13,895: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:13,895: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:13,895: [start_stunnel] INFO: 2023-05-10 18:38:13,895: [start_stunnel] [client] INFO: 2023-05-10 18:38:13,895: [start_stunnel] client = yes INFO: 2023-05-10 18:38:13,895: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:13,895: [start_stunnel] connect = 127.0.0.1:42627 INFO: 2023-05-10 18:38:13,895: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:13,895: [start_stunnel] INFO: 2023-05-10 18:38:13,896: [server] Read '2023.05.10 18:38:13 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:13,896: [server] Read '2023.05.10 18:38:13 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:13,896: [server] Read '2023.05.10 18:38:13 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:13,896: [run_stunnel] Launching the stunnel 'client' - got pid 2010220 DEBUG: 2023-05-10 18:38:13,896: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:13 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:13 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:13 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:13 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:14,091: [client] Read '2023.05.10 18:38:14 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:36765' DEBUG: 2023-05-10 18:38:14,092: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:36765 INFO: 2023-05-10 18:38:14,092: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:14,093: [check_listening_port] 'client' is listening on port 36765 DEBUG: 2023-05-10 18:38:14,093: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:14,093: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:14,093: [test_connect [127.0.0.1]:36765 #0] Trying port 36765 encrypted False INFO: 2023-05-10 18:38:14,093: [establish_connection [127.0.0.1]:36765 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:14,093: [test_connect [127.0.0.1]:36765 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:14,094: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,094: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,094: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,094: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:46212' INFO: 2023-05-10 18:38:14,097: [client] Read '2023.05.10 18:38:14 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:14,097: [client] Read '2023.05.10 18:38:14 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:14,097: [client] Read '2023.05.10 18:38:14 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:14,097: [client] Read '2023.05.10 18:38:14 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG5[0]: Service [client] accepted connection from 127.0.0.1:46212' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG6[0]: s_connect: connecting 127.0.0.1:42627' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:42627: waiting 10 seconds' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG5[0]: s_connect: connected 127.0.0.1:42627' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG5[0]: Service [client] connected remote server from 127.0.0.1:48434' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,106: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,118: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,118: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,118: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,118: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:48434' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG5[0]: Service [server] accepted connection from 127.0.0.1:48434' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: Get session callback' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:14,141: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:14,153: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write key exchange' INFO: 2023-05-10 18:38:14,153: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:14,153: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write server done' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server key exchange' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:14,162: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:14,163: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server done' INFO: 2023-05-10 18:38:14,163: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:14,163: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client key exchange' INFO: 2023-05-10 18:38:14,163: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:14,163: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,163: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write server done' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read client key exchange' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,175: [server] Read '2023.05.10 18:38:14 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG6[0]: Session id: E24BA86C63B2026114B6BBC82C784300A31AB2082C608BE47B7BF83EAD81CA45' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 1 internal session cache miss(es)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG6[0]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG3[0]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG6[0]: s_connect: connecting 127.0.0.1:38185' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:38185: waiting 10 seconds' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG5[0]: s_connect: connected 127.0.0.1:38185' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG6[0]: persistence: 127.0.0.1:38185 cached' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG5[0]: Service [server] connected remote server from 127.0.0.1:53550' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,176: [server] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG6[0]: Session id: E24BA86C63B2026114B6BBC82C784300A31AB2082C608BE47B7BF83EAD81CA45' INFO: 2023-05-10 18:38:14,176: [client] Read '2023.05.10 18:38:14 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG6[0]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:14,177: [client] Read '2023.05.10 18:38:14 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,178: [client_connected_cb [127.0.0.1]:53550] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:14,178: [client_connected_cb [127.0.0.1]:53550] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:14,178: [client_connected_cb [127.0.0.1]:53550] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:14,178: [client_connected_cb [127.0.0.1]:53550] Closing down the server writer socket DEBUG: 2023-05-10 18:38:14,178: [client_connected_cb [127.0.0.1]:53550] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:14,189: [test_connect [127.0.0.1]:36765 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:14,189: [test_connect [127.0.0.1]:36765 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:14,189: [server] Read '2023.05.10 18:38:14 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:14,189: [server] Read '2023.05.10 18:38:14 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,189: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,189: [server] Read '2023.05.10 18:38:14 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:14,189: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,190: [client] Read '2023.05.10 18:38:14 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,190: [client] Read '2023.05.10 18:38:14 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:14,190: [test_connect [127.0.0.1]:36765 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:14,190: [test_connect [127.0.0.1]:36765 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:14,190: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:14,190: [test_connect [127.0.0.1]:36765 #1] Trying port 36765 encrypted False INFO: 2023-05-10 18:38:14,190: [establish_connection [127.0.0.1]:36765 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:14,190: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:14,190: [test_connect [127.0.0.1]:36765 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:14,191: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,191: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,191: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,191: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] accepted (FD=10) from 127.0.0.1:46216' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:14,200: [client] Read '2023.05.10 18:38:14 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:14,200: [server] Read '2023.05.10 18:38:14 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: Setting local socket options (FD=10)' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG5[1]: Service [client] accepted connection from 127.0.0.1:46216' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG6[1]: s_connect: connecting 127.0.0.1:42627' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:42627: waiting 10 seconds' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG5[1]: s_connect: connected 127.0.0.1:42627' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG5[1]: Service [client] connected remote server from 127.0.0.1:48446' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,234: [client] Read '2023.05.10 18:38:14 LOG7[1]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:14,235: [client] Read '2023.05.10 18:38:14 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:14,235: [client] Read '2023.05.10 18:38:14 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:14,235: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:14,235: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,235: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,235: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,235: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,235: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:48446' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG5[1]: Service [server] accepted connection from 127.0.0.1:48446' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:14,268: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,269: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG6[1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG6[1]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG3[1]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,269: [client] Read '2023.05.10 18:38:14 LOG6[1]: Session id: E24BA86C63B2026114B6BBC82C784300A31AB2082C608BE47B7BF83EAD81CA45' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 1 internal session cache miss(es)' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG6[1]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG3[1]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG6[1]: Session id: E24BA86C63B2026114B6BBC82C784300A31AB2082C608BE47B7BF83EAD81CA45' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG6[1]: s_connect: connecting 127.0.0.1:38185' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:38185: waiting 10 seconds' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG5[1]: s_connect: connected 127.0.0.1:38185' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG6[1]: persistence: 127.0.0.1:38185 cached' INFO: 2023-05-10 18:38:14,275: [server] Read '2023.05.10 18:38:14 LOG5[1]: Service [server] connected remote server from 127.0.0.1:53566' INFO: 2023-05-10 18:38:14,276: [server] Read '2023.05.10 18:38:14 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,276: [server] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,276: [server] Read '2023.05.10 18:38:14 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,276: [client_connected_cb [127.0.0.1]:53566] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:14,276: [client_connected_cb [127.0.0.1]:53566] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:14,276: [client_connected_cb [127.0.0.1]:53566] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:14,276: [client_connected_cb [127.0.0.1]:53566] Closing down the server writer socket DEBUG: 2023-05-10 18:38:14,276: [client_connected_cb [127.0.0.1]:53566] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:14,277: [server] Read '2023.05.10 18:38:14 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:14,277: [server] Read '2023.05.10 18:38:14 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,277: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,277: [server] Read '2023.05.10 18:38:14 LOG6[1]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:14,278: [test_connect [127.0.0.1]:36765 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:14,278: [test_connect [127.0.0.1]:36765 #1] Closing down the client writer socket INFO: 2023-05-10 18:38:14,278: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,278: [client] Read '2023.05.10 18:38:14 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,278: [client] Read '2023.05.10 18:38:14 LOG7[1]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:14,278: [test_connect [127.0.0.1]:36765 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:14,278: [test_connect [127.0.0.1]:36765 #1] Test connection #1 has been completed DEBUG: 2023-05-10 18:38:14,279: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:14,279: [test_connect [127.0.0.1]:36765 #2] Trying port 36765 encrypted False INFO: 2023-05-10 18:38:14,279: [establish_connection [127.0.0.1]:36765 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:14,279: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:14,279: [test_connect [127.0.0.1]:36765 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] accepted (FD=9) from 127.0.0.1:46228' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[1]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[1]: Local descriptor (FD=10) closed' INFO: 2023-05-10 18:38:14,280: [client] Read '2023.05.10 18:38:14 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:14,291: [server] Read '2023.05.10 18:38:14 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG7[2]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG5[2]: Service [client] accepted connection from 127.0.0.1:46228' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG6[2]: s_connect: connecting 127.0.0.1:42627' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:42627: waiting 10 seconds' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG7[2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG5[2]: s_connect: connected 127.0.0.1:42627' INFO: 2023-05-10 18:38:14,292: [client] Read '2023.05.10 18:38:14 LOG5[2]: Service [client] connected remote server from 127.0.0.1:48450' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG7[2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG7[2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:14,293: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,293: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,293: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,293: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,293: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:48450' INFO: 2023-05-10 18:38:14,305: [server] Read '2023.05.10 18:38:14 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:14,305: [server] Read '2023.05.10 18:38:14 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,305: [server] Read '2023.05.10 18:38:14 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG5[2]: Service [server] accepted connection from 127.0.0.1:48450' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,306: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:14,307: [client] Read '2023.05.10 18:38:14 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG6[2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG6[2]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG3[2]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,308: [client] Read '2023.05.10 18:38:14 LOG6[2]: Session id: E24BA86C63B2026114B6BBC82C784300A31AB2082C608BE47B7BF83EAD81CA45' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 1 internal session cache miss(es)' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG6[2]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,309: [server] Read '2023.05.10 18:38:14 LOG3[2]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG6[2]: Session id: E24BA86C63B2026114B6BBC82C784300A31AB2082C608BE47B7BF83EAD81CA45' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG6[2]: s_connect: connecting 127.0.0.1:38185' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:38185: waiting 10 seconds' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG5[2]: s_connect: connected 127.0.0.1:38185' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG6[2]: persistence: 127.0.0.1:38185 cached' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG5[2]: Service [server] connected remote server from 127.0.0.1:53572' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,310: [server] Read '2023.05.10 18:38:14 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,310: [client_connected_cb [127.0.0.1]:53572] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:14,311: [client_connected_cb [127.0.0.1]:53572] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:14,311: [client_connected_cb [127.0.0.1]:53572] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:14,311: [client_connected_cb [127.0.0.1]:53572] Closing down the server writer socket DEBUG: 2023-05-10 18:38:14,311: [client_connected_cb [127.0.0.1]:53572] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:14,311: [test_connect [127.0.0.1]:36765 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:14,311: [test_connect [127.0.0.1]:36765 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:14,311: [server] Read '2023.05.10 18:38:14 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:14,311: [server] Read '2023.05.10 18:38:14 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,311: [server] Read '2023.05.10 18:38:14 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,311: [server] Read '2023.05.10 18:38:14 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:14,312: [client] Read '2023.05.10 18:38:14 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,312: [client] Read '2023.05.10 18:38:14 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,312: [client] Read '2023.05.10 18:38:14 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:14,312: [test_connect [127.0.0.1]:36765 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:14,312: [test_connect [127.0.0.1]:36765 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:14,312: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:14,312: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:14,312: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:14,312: [cleanup_stunnels] Waiting for the 'server' PID 2010154 to exit... DEBUG: 2023-05-10 18:38:14,312: [cleanup_stunnels] Waiting for the 'client' PID 2010220 to exit... INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Leak detection table utilization: 157/997, 15.75%' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:14,313: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Leak detection table utilization: 154/997, 15.45%' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:14,313: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:14,314: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:14,326: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:14,326: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:14,326: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:14,326: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:14,327: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:14,327: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:14,327: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:14,327: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:14,327: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:14,327: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:14,330: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:14,330: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:14,330: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:14,330: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:14,330: [set_result] The test result has been set WARNING: 2023-05-10 18:38:14,330: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:14,331: WARNING: 2023-05-10 18:38:14,331: [test_stunnel] ***** Start '133. Test enabled "sessionResume" option' ***** INFO: 2023-05-10 18:38:14,331: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:14,331: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:14,331: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:14,405: [start_listener] HTTP server is listening on [127.0.0.1]:44579 INFO: 2023-05-10 18:38:14,405: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:14,405: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:14,405: [start_stunnel] INFO: 2023-05-10 18:38:14,405: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:14,405: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:14,405: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:14,405: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:14,405: [start_stunnel] INFO: 2023-05-10 18:38:14,405: [start_stunnel] sessionResume = yes INFO: 2023-05-10 18:38:14,405: [start_stunnel] INFO: 2023-05-10 18:38:14,405: [start_stunnel] [server] INFO: 2023-05-10 18:38:14,405: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:14,405: [start_stunnel] connect = 127.0.0.1:44579 INFO: 2023-05-10 18:38:14,405: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:14,405: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:14,405: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:14,405: [start_stunnel] DEBUG: 2023-05-10 18:38:14,406: [run_stunnel] Launching the stunnel 'server' - got pid 2010349 DEBUG: 2023-05-10 18:38:14,406: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:14,590: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:41463' DEBUG: 2023-05-10 18:38:14,591: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:41463 INFO: 2023-05-10 18:38:14,591: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:14,659: [check_listening_port] 'server' is listening on port 41463 INFO: 2023-05-10 18:38:14,659: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:14,659: [start_stunnel] INFO: 2023-05-10 18:38:14,659: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:14,659: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:14,659: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:14,659: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:14,659: [start_stunnel] INFO: 2023-05-10 18:38:14,659: [start_stunnel] [client] INFO: 2023-05-10 18:38:14,659: [start_stunnel] client = yes INFO: 2023-05-10 18:38:14,659: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:14,659: [start_stunnel] connect = 127.0.0.1:41463 INFO: 2023-05-10 18:38:14,659: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:14,659: [start_stunnel] INFO: 2023-05-10 18:38:14,660: [server] Read '2023.05.10 18:38:14 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:14,660: [server] Read '2023.05.10 18:38:14 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:14,660: [server] Read '2023.05.10 18:38:14 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:14,660: [run_stunnel] Launching the stunnel 'client' - got pid 2010435 DEBUG: 2023-05-10 18:38:14,660: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:14,908: [client] Read '2023.05.10 18:38:14 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:35939' DEBUG: 2023-05-10 18:38:14,909: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:35939 INFO: 2023-05-10 18:38:14,909: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:14,910: [check_listening_port] 'client' is listening on port 35939 DEBUG: 2023-05-10 18:38:14,910: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:14,910: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:14,911: [test_connect [127.0.0.1]:35939 #0] Trying port 35939 encrypted False INFO: 2023-05-10 18:38:14,911: [establish_connection [127.0.0.1]:35939 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:14,911: [test_connect [127.0.0.1]:35939 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:14,911: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,911: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,911: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,911: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:52934' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG5[0]: Service [client] accepted connection from 127.0.0.1:52934' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG6[0]: s_connect: connecting 127.0.0.1:41463' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:41463: waiting 10 seconds' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG5[0]: s_connect: connected 127.0.0.1:41463' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG5[0]: Service [client] connected remote server from 127.0.0.1:32782' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,921: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,924: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,924: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,924: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,924: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:32782' INFO: 2023-05-10 18:38:14,935: [client] Read '2023.05.10 18:38:14 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:14,935: [client] Read '2023.05.10 18:38:14 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:14,935: [client] Read '2023.05.10 18:38:14 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:14,935: [client] Read '2023.05.10 18:38:14 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG5[0]: Service [server] accepted connection from 127.0.0.1:32782' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,942: [server] Read '2023.05.10 18:38:14 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:14,943: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:14,943: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:14,943: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,943: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:14,943: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:14,943: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:14,950: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:14,950: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,950: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:14,963: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:14,964: [client] Read '2023.05.10 18:38:14 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,964: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:14,965: [server] Read '2023.05.10 18:38:14 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG6[0]: Session id: 57934810CB7105B52C28403DA181D757B77868507EE6E0E2453B7E30565E5010' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:14,966: [server] Read '2023.05.10 18:38:14 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:14,967: [server] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,967: [server] Read '2023.05.10 18:38:14 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:14,967: [server] Read '2023.05.10 18:38:14 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:14,967: [server] Read '2023.05.10 18:38:14 LOG6[0]: Session id: 72F4C3F39887513A80883A031BE96C1F165414CDA91209FFA1F370CD7FACBD6D' INFO: 2023-05-10 18:38:14,967: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG6[0]: s_connect: connecting 127.0.0.1:44579' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:44579: waiting 10 seconds' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG5[0]: s_connect: connected 127.0.0.1:44579' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG6[0]: persistence: 127.0.0.1:44579 cached' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG5[0]: Service [server] connected remote server from 127.0.0.1:52386' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,968: [server] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG6[0]: Session id: 0B136B3E9617DD96B164C99DF0244B27B6EE612A0861DD6865F97144B106F78B' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG6[0]: Session id: DB3497B34E3FDD9730C35DA2121CBD52F336913BF10AF3A813BF9AE50F264865' INFO: 2023-05-10 18:38:14,968: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:14,969: [client_connected_cb [127.0.0.1]:52386] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:14,969: [client_connected_cb [127.0.0.1]:52386] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:14,969: [client_connected_cb [127.0.0.1]:52386] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:14,969: [client_connected_cb [127.0.0.1]:52386] Closing down the server writer socket DEBUG: 2023-05-10 18:38:14,969: [client_connected_cb [127.0.0.1]:52386] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:14,974: [server] Read '2023.05.10 18:38:14 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:14,974: [server] Read '2023.05.10 18:38:14 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,974: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,974: [server] Read '2023.05.10 18:38:14 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:14,976: [test_connect [127.0.0.1]:35939 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:14,976: [test_connect [127.0.0.1]:35939 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:14,976: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,976: [client] Read '2023.05.10 18:38:14 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,976: [client] Read '2023.05.10 18:38:14 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:14,976: [test_connect [127.0.0.1]:35939 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:14,976: [test_connect [127.0.0.1]:35939 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:14,977: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:14,977: [test_connect [127.0.0.1]:35939 #1] Trying port 35939 encrypted False INFO: 2023-05-10 18:38:14,977: [establish_connection [127.0.0.1]:35939 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:14,977: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:14,977: [test_connect [127.0.0.1]:35939 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,978: [client] Read '2023.05.10 18:38:14 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:52940' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:14,986: [server] Read '2023.05.10 18:38:14 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG5[1]: Service [client] accepted connection from 127.0.0.1:52940' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG6[1]: s_connect: connecting 127.0.0.1:41463' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:41463: waiting 10 seconds' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG7[1]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:14,989: [client] Read '2023.05.10 18:38:14 LOG5[1]: s_connect: connected 127.0.0.1:41463' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG5[1]: Service [client] connected remote server from 127.0.0.1:32794' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:14,990: [client] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:14,990: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:14,990: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:14,990: [server] Read '2023.05.10 18:38:14 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:14,990: [server] Read '2023.05.10 18:38:14 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:32794' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG5[1]: Service [server] accepted connection from 127.0.0.1:32794' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:14,994: [server] Read '2023.05.10 18:38:14 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: Remove session callback' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG6[1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,002: [client] Read '2023.05.10 18:38:15 LOG6[1]: Session id: DB3497B34E3FDD9730C35DA2121CBD52F336913BF10AF3A813BF9AE50F264865' INFO: 2023-05-10 18:38:15,004: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: Session id: F4DB27F40FFBB8EB9E67AF20F3BC4C22549629D6A91AC404120C37EFBAAB128B' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: Session id: F4DB27F40FFBB8EB9E67AF20F3BC4C22549629D6A91AC404120C37EFBAAB128B' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: s_connect: connecting 127.0.0.1:44579' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:44579: waiting 10 seconds' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG5[1]: s_connect: connected 127.0.0.1:44579' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG6[1]: persistence: 127.0.0.1:44579 cached' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG5[1]: Service [server] connected remote server from 127.0.0.1:52400' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,005: [server] Read '2023.05.10 18:38:15 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,006: [server] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,006: [client_connected_cb [127.0.0.1]:52400] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:15,006: [client_connected_cb [127.0.0.1]:52400] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:15,006: [client_connected_cb [127.0.0.1]:52400] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:15,006: [client_connected_cb [127.0.0.1]:52400] Closing down the server writer socket DEBUG: 2023-05-10 18:38:15,006: [client_connected_cb [127.0.0.1]:52400] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG6[1]: Session id: ADE7E8019F0AB2A9B8E966497374C4BB84DD1A8FFF3EFDB679D436BEB4F1F507' INFO: 2023-05-10 18:38:15,007: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:15,007: [server] Read '2023.05.10 18:38:15 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:15,008: [server] Read '2023.05.10 18:38:15 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,008: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,008: [server] Read '2023.05.10 18:38:15 LOG6[1]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:15,008: [test_connect [127.0.0.1]:35939 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:15,008: [test_connect [127.0.0.1]:35939 #1] Closing down the client writer socket INFO: 2023-05-10 18:38:15,008: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,008: [client] Read '2023.05.10 18:38:15 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,008: [client] Read '2023.05.10 18:38:15 LOG7[1]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:15,008: [test_connect [127.0.0.1]:35939 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:15,008: [test_connect [127.0.0.1]:35939 #1] Test connection #1 has been completed DEBUG: 2023-05-10 18:38:15,009: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:15,009: [test_connect [127.0.0.1]:35939 #2] Trying port 35939 encrypted False INFO: 2023-05-10 18:38:15,009: [establish_connection [127.0.0.1]:35939 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:15,009: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:15,009: [test_connect [127.0.0.1]:35939 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:15,009: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,009: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,009: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,009: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] accepted (FD=10) from 127.0.0.1:52944' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,010: [client] Read '2023.05.10 18:38:15 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,011: [server] Read '2023.05.10 18:38:15 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: Setting local socket options (FD=10)' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG5[2]: Service [client] accepted connection from 127.0.0.1:52944' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG6[2]: s_connect: connecting 127.0.0.1:41463' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:41463: waiting 10 seconds' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG5[2]: s_connect: connected 127.0.0.1:41463' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG5[2]: Service [client] connected remote server from 127.0.0.1:32802' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,044: [client] Read '2023.05.10 18:38:15 LOG7[2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:15,045: [client] Read '2023.05.10 18:38:15 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:15,045: [client] Read '2023.05.10 18:38:15 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:15,045: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:15,045: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,045: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,045: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,045: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,045: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:32802' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG5[2]: Service [server] accepted connection from 127.0.0.1:32802' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,066: [server] Read '2023.05.10 18:38:15 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,067: [server] Read '2023.05.10 18:38:15 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:15,067: [server] Read '2023.05.10 18:38:15 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:15,067: [server] Read '2023.05.10 18:38:15 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:15,067: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:15,078: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:15,078: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,078: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:15,078: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,078: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,078: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,078: [client] Read '2023.05.10 18:38:15 LOG7[2]: Remove session callback' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG6[2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,079: [client] Read '2023.05.10 18:38:15 LOG6[2]: Session id: ADE7E8019F0AB2A9B8E966497374C4BB84DD1A8FFF3EFDB679D436BEB4F1F507' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG6[2]: Session id: 4626FD1AF1574CE8E00E427E35DECA85BD0A8A75A0AE49B1432168AC8B0EB0F6' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG6[2]: Session id: 4626FD1AF1574CE8E00E427E35DECA85BD0A8A75A0AE49B1432168AC8B0EB0F6' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG6[2]: s_connect: connecting 127.0.0.1:44579' INFO: 2023-05-10 18:38:15,080: [server] Read '2023.05.10 18:38:15 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:44579: waiting 10 seconds' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG5[2]: s_connect: connected 127.0.0.1:44579' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG6[2]: persistence: 127.0.0.1:44579 cached' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG5[2]: Service [server] connected remote server from 127.0.0.1:52410' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,081: [server] Read '2023.05.10 18:38:15 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,081: [client_connected_cb [127.0.0.1]:52410] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:15,082: [client_connected_cb [127.0.0.1]:52410] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:15,082: [client_connected_cb [127.0.0.1]:52410] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:15,082: [client_connected_cb [127.0.0.1]:52410] Closing down the server writer socket DEBUG: 2023-05-10 18:38:15,082: [client_connected_cb [127.0.0.1]:52410] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:15,094: [test_connect [127.0.0.1]:35939 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:15,094: [test_connect [127.0.0.1]:35939 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:15,094: [server] Read '2023.05.10 18:38:15 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:15,094: [server] Read '2023.05.10 18:38:15 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,094: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,094: [server] Read '2023.05.10 18:38:15 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG6[2]: Session id: 4CECF7D0B092101D2605DD1CDE3DC98688A602B1195B416A5C0BDEA403C6D90D' INFO: 2023-05-10 18:38:15,094: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:15,095: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,095: [client] Read '2023.05.10 18:38:15 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,095: [client] Read '2023.05.10 18:38:15 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:15,095: [test_connect [127.0.0.1]:35939 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:15,095: [test_connect [127.0.0.1]:35939 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:15,095: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:15,095: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:15,095: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:15,095: [cleanup_stunnels] Waiting for the 'server' PID 2010349 to exit... DEBUG: 2023-05-10 18:38:15,095: [cleanup_stunnels] Waiting for the 'client' PID 2010435 to exit... INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Leak detection table utilization: 172/997, 17.25%' INFO: 2023-05-10 18:38:15,096: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:15,097: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:15,097: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:15,097: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Leak detection table utilization: 162/997, 16.25%' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:15,097: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:15,108: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:15,108: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:15,108: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:15,108: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:15,108: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:15,124: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:15,124: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:15,124: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:15,124: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:15,124: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:15,124: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:15,124: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:15,124: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:15,125: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:15,125: [set_result] The test result has been set WARNING: 2023-05-10 18:38:15,125: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:15,125: WARNING: 2023-05-10 18:38:15,125: [test_stunnel] ***** Start '134. Test disabled "sessionResume" option' ***** INFO: 2023-05-10 18:38:15,125: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:15,125: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:15,125: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:15,159: [start_listener] HTTP server is listening on [127.0.0.1]:46173 INFO: 2023-05-10 18:38:15,159: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:15,159: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:15,159: [start_stunnel] INFO: 2023-05-10 18:38:15,159: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:15,159: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:15,159: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:15,159: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:15,159: [start_stunnel] INFO: 2023-05-10 18:38:15,159: [start_stunnel] sessionResume = no INFO: 2023-05-10 18:38:15,159: [start_stunnel] INFO: 2023-05-10 18:38:15,159: [start_stunnel] [server] INFO: 2023-05-10 18:38:15,160: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:15,160: [start_stunnel] connect = 127.0.0.1:46173 INFO: 2023-05-10 18:38:15,160: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:15,160: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:15,160: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:15,160: [start_stunnel] DEBUG: 2023-05-10 18:38:15,160: [run_stunnel] Launching the stunnel 'server' - got pid 2010525 DEBUG: 2023-05-10 18:38:15,160: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:15,346: [server] Read '2023.05.10 18:38:15 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: TLS options: 0x2104000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Session resumption disabled' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:15,347: [server] Read '2023.05.10 18:38:15 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:15,348: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:44863' DEBUG: 2023-05-10 18:38:15,348: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:44863 INFO: 2023-05-10 18:38:15,357: [check_listening_port] 'server' is listening on port 44863 INFO: 2023-05-10 18:38:15,357: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:15,357: [start_stunnel] INFO: 2023-05-10 18:38:15,357: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:15,357: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:15,357: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:15,357: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:15,357: [start_stunnel] INFO: 2023-05-10 18:38:15,357: [start_stunnel] [client] INFO: 2023-05-10 18:38:15,357: [start_stunnel] client = yes INFO: 2023-05-10 18:38:15,357: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:15,358: [start_stunnel] connect = 127.0.0.1:44863 INFO: 2023-05-10 18:38:15,358: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:15,358: [start_stunnel] INFO: 2023-05-10 18:38:15,358: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:15,358: [server] Read '2023.05.10 18:38:15 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:15,358: [server] Read '2023.05.10 18:38:15 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:15,358: [server] Read '2023.05.10 18:38:15 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:15,358: [run_stunnel] Launching the stunnel 'client' - got pid 2010570 DEBUG: 2023-05-10 18:38:15,358: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:15,575: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:15,576: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:34949' DEBUG: 2023-05-10 18:38:15,576: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:34949 INFO: 2023-05-10 18:38:15,577: [check_listening_port] 'client' is listening on port 34949 DEBUG: 2023-05-10 18:38:15,577: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:15,577: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:15,577: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:15,577: [test_connect [127.0.0.1]:34949 #0] Trying port 34949 encrypted False INFO: 2023-05-10 18:38:15,577: [establish_connection [127.0.0.1]:34949 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:15,578: [test_connect [127.0.0.1]:34949 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:15,587: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,587: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,587: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,587: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:39640' INFO: 2023-05-10 18:38:15,596: [client] Read '2023.05.10 18:38:15 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:15,596: [client] Read '2023.05.10 18:38:15 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:15,596: [client] Read '2023.05.10 18:38:15 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:15,596: [client] Read '2023.05.10 18:38:15 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG5[0]: Service [client] accepted connection from 127.0.0.1:39640' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG6[0]: s_connect: connecting 127.0.0.1:44863' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:44863: waiting 10 seconds' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:15,601: [client] Read '2023.05.10 18:38:15 LOG5[0]: s_connect: connected 127.0.0.1:44863' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG5[0]: Service [client] connected remote server from 127.0.0.1:56408' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,602: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:56408' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG5[0]: Service [server] accepted connection from 127.0.0.1:56408' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:15,613: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:15,614: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,614: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:15,614: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:15,614: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:15,626: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:15,626: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,626: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,626: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,626: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:15,626: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:15,626: [client] Read '2023.05.10 18:38:15 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,626: [client] Read '2023.05.10 18:38:15 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:15,626: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,627: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,638: [client] Read '2023.05.10 18:38:15 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:15,647: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: s_connect: connecting 127.0.0.1:46173' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:46173: waiting 10 seconds' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG5[0]: s_connect: connected 127.0.0.1:46173' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG6[0]: persistence: 127.0.0.1:46173 cached' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG5[0]: Service [server] connected remote server from 127.0.0.1:34740' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,648: [server] Read '2023.05.10 18:38:15 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,649: [client_connected_cb [127.0.0.1]:34740] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:15,649: [client_connected_cb [127.0.0.1]:34740] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:15,649: [client_connected_cb [127.0.0.1]:34740] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:15,649: [client_connected_cb [127.0.0.1]:34740] Closing down the server writer socket DEBUG: 2023-05-10 18:38:15,650: [client_connected_cb [127.0.0.1]:34740] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:15,659: [test_connect [127.0.0.1]:34949 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:15,659: [test_connect [127.0.0.1]:34949 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:15,659: [server] Read '2023.05.10 18:38:15 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:15,659: [server] Read '2023.05.10 18:38:15 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,659: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,659: [server] Read '2023.05.10 18:38:15 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,659: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,659: [client] Read '2023.05.10 18:38:15 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,659: [client] Read '2023.05.10 18:38:15 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:15,659: [test_connect [127.0.0.1]:34949 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:15,660: [test_connect [127.0.0.1]:34949 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:15,660: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:15,660: [test_connect [127.0.0.1]:34949 #1] Trying port 34949 encrypted False INFO: 2023-05-10 18:38:15,660: [establish_connection [127.0.0.1]:34949 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:15,660: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:15,660: [test_connect [127.0.0.1]:34949 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,668: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:39648' INFO: 2023-05-10 18:38:15,668: [server] Read '2023.05.10 18:38:15 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,669: [server] Read '2023.05.10 18:38:15 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,669: [server] Read '2023.05.10 18:38:15 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:15,669: [server] Read '2023.05.10 18:38:15 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,669: [server] Read '2023.05.10 18:38:15 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,669: [server] Read '2023.05.10 18:38:15 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,669: [server] Read '2023.05.10 18:38:15 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG5[1]: Service [client] accepted connection from 127.0.0.1:39648' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG6[1]: s_connect: connecting 127.0.0.1:44863' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:44863: waiting 10 seconds' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG7[1]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:15,688: [client] Read '2023.05.10 18:38:15 LOG5[1]: s_connect: connected 127.0.0.1:44863' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG5[1]: Service [client] connected remote server from 127.0.0.1:56420' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,689: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,689: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,689: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,689: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,689: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:56420' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG5[1]: Service [server] accepted connection from 127.0.0.1:56420' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,697: [server] Read '2023.05.10 18:38:15 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:15,698: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:15,711: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:15,711: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,711: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG6[1]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG6[1]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG6[1]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG6[1]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG6[1]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:15,711: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,712: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,712: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: 0 session reuse(s)' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG6[1]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,724: [client] Read '2023.05.10 18:38:15 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG5[1]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG5[1]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG6[1]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG5[1]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:15,724: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 session reuse(s)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG6[1]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG6[1]: s_connect: connecting 127.0.0.1:46173' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:46173: waiting 10 seconds' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG5[1]: s_connect: connected 127.0.0.1:46173' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG6[1]: persistence: 127.0.0.1:46173 cached' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG5[1]: Service [server] connected remote server from 127.0.0.1:34752' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,725: [server] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,726: [client_connected_cb [127.0.0.1]:34752] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:15,726: [client_connected_cb [127.0.0.1]:34752] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:15,726: [client_connected_cb [127.0.0.1]:34752] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:15,726: [client_connected_cb [127.0.0.1]:34752] Closing down the server writer socket DEBUG: 2023-05-10 18:38:15,726: [client_connected_cb [127.0.0.1]:34752] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:15,740: [test_connect [127.0.0.1]:34949 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:15,740: [test_connect [127.0.0.1]:34949 #1] Closing down the client writer socket INFO: 2023-05-10 18:38:15,740: [server] Read '2023.05.10 18:38:15 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:15,740: [server] Read '2023.05.10 18:38:15 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,740: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,740: [server] Read '2023.05.10 18:38:15 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,740: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,740: [client] Read '2023.05.10 18:38:15 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,740: [client] Read '2023.05.10 18:38:15 LOG7[1]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:15,740: [test_connect [127.0.0.1]:34949 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:15,740: [test_connect [127.0.0.1]:34949 #1] Test connection #1 has been completed DEBUG: 2023-05-10 18:38:15,741: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:15,741: [test_connect [127.0.0.1]:34949 #2] Trying port 34949 encrypted False INFO: 2023-05-10 18:38:15,741: [establish_connection [127.0.0.1]:34949 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:15,741: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:15,741: [test_connect [127.0.0.1]:34949 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,752: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:39650' INFO: 2023-05-10 18:38:15,752: [server] Read '2023.05.10 18:38:15 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,753: [server] Read '2023.05.10 18:38:15 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,753: [server] Read '2023.05.10 18:38:15 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:15,753: [server] Read '2023.05.10 18:38:15 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,753: [server] Read '2023.05.10 18:38:15 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,753: [server] Read '2023.05.10 18:38:15 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,753: [server] Read '2023.05.10 18:38:15 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG5[2]: Service [client] accepted connection from 127.0.0.1:39650' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG6[2]: s_connect: connecting 127.0.0.1:44863' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:44863: waiting 10 seconds' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG5[2]: s_connect: connected 127.0.0.1:44863' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG5[2]: Service [client] connected remote server from 127.0.0.1:56432' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,762: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,762: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,762: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,762: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,762: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:56432' INFO: 2023-05-10 18:38:15,767: [server] Read '2023.05.10 18:38:15 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG5[2]: Service [server] accepted connection from 127.0.0.1:56432' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:15,768: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:15,769: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:15,779: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:15,779: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,779: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG6[2]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG6[2]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG6[2]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG6[2]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG6[2]: Certificate verification disabled' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:15,779: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,780: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:15,780: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: 0 session reuse(s)' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG6[2]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,792: [client] Read '2023.05.10 18:38:15 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG5[2]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG5[2]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG6[2]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG5[2]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:15,792: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 session reuse(s)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG6[2]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG6[2]: s_connect: connecting 127.0.0.1:46173' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:46173: waiting 10 seconds' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG5[2]: s_connect: connected 127.0.0.1:46173' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG6[2]: persistence: 127.0.0.1:46173 cached' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG5[2]: Service [server] connected remote server from 127.0.0.1:34766' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:15,793: [server] Read '2023.05.10 18:38:15 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:15,794: [client_connected_cb [127.0.0.1]:34766] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:15,794: [client_connected_cb [127.0.0.1]:34766] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:15,794: [client_connected_cb [127.0.0.1]:34766] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:15,794: [client_connected_cb [127.0.0.1]:34766] Closing down the server writer socket DEBUG: 2023-05-10 18:38:15,795: [client_connected_cb [127.0.0.1]:34766] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:15,804: [test_connect [127.0.0.1]:34949 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:15,804: [test_connect [127.0.0.1]:34949 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:15,804: [server] Read '2023.05.10 18:38:15 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:15,804: [server] Read '2023.05.10 18:38:15 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,804: [server] Read '2023.05.10 18:38:15 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,804: [server] Read '2023.05.10 18:38:15 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,804: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:15,804: [client] Read '2023.05.10 18:38:15 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:15,804: [client] Read '2023.05.10 18:38:15 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:15,804: [test_connect [127.0.0.1]:34949 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:15,804: [test_connect [127.0.0.1]:34949 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:15,804: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:15,804: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:15,805: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:15,805: [cleanup_stunnels] Waiting for the 'server' PID 2010525 to exit... DEBUG: 2023-05-10 18:38:15,805: [cleanup_stunnels] Waiting for the 'client' PID 2010570 to exit... INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Leak detection table utilization: 151/997, 15.15%' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:15,805: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:15,812: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:15,812: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:15,812: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:15,812: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:15,812: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG6[2]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG5[2]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[2]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[2]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[2]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Leak detection table utilization: 147/997, 14.74%' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:15,821: [client] Read '2023.05.10 18:38:15 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:15,822: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:15,822: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:15,822: [stunnel_output] Done with task 'client output' DEBUG: 2023-05-10 18:38:15,822: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:15,822: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:15,822: [set_result] The test result has been set WARNING: 2023-05-10 18:38:15,822: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:15,823: INFO: 2023-05-10 18:38:15,823: [plugins] >>>>> Applying 'Resume session' <<<<< WARNING: 2023-05-10 18:38:15,823: WARNING: 2023-05-10 18:38:15,823: [test_stunnel] ***** Start '141. Stateless session ticket resumption with TLSv1.2' ***** INFO: 2023-05-10 18:38:15,823: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:15,823: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:15,823: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:15,823: [start_listener] HTTP server is listening on [127.0.0.1]:40263 INFO: 2023-05-10 18:38:15,823: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:15,823: [start_socket_connections] Awaiting the 'unix server' with /tmp/stunnel_tests.2s30r142/unix.sock started... INFO: 2023-05-10 18:38:15,853: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:15,854: [start_stunnel] INFO: 2023-05-10 18:38:15,854: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:15,854: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:15,854: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:15,854: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:15,854: [start_stunnel] INFO: 2023-05-10 18:38:15,854: [start_stunnel] sslVersionMax = TLSv1.2 INFO: 2023-05-10 18:38:15,854: [start_stunnel] sessionCacheSize = 1 INFO: 2023-05-10 18:38:15,854: [start_stunnel] options = -NO_TICKET INFO: 2023-05-10 18:38:15,854: [start_stunnel] INFO: 2023-05-10 18:38:15,854: [start_stunnel] [server] INFO: 2023-05-10 18:38:15,854: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:15,854: [start_stunnel] connect = 127.0.0.1:40263 INFO: 2023-05-10 18:38:15,854: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:15,854: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:15,854: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:15,854: [start_stunnel] DEBUG: 2023-05-10 18:38:15,854: [run_stunnel] Launching the stunnel 'server' - got pid 2010628 DEBUG: 2023-05-10 18:38:15,854: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:15 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:15 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:15 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:15 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x4000)' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:16,084: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:37549' DEBUG: 2023-05-10 18:38:16,085: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:37549 INFO: 2023-05-10 18:38:16,085: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:16,125: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:16,125: [start_stunnel] INFO: 2023-05-10 18:38:16,125: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:16,125: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:16,125: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:16,125: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:16,125: [start_stunnel] INFO: 2023-05-10 18:38:16,125: [start_stunnel] retry = yes INFO: 2023-05-10 18:38:16,125: [start_stunnel] INFO: 2023-05-10 18:38:16,125: [start_stunnel] [client] INFO: 2023-05-10 18:38:16,125: [start_stunnel] client = yes INFO: 2023-05-10 18:38:16,125: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:16,125: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/reader.py /tmp/stunnel_tests.2s30r142/unix.sock INFO: 2023-05-10 18:38:16,125: [start_stunnel] connect = 127.0.0.1:37549 INFO: 2023-05-10 18:38:16,125: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:16,125: [start_stunnel] INFO: 2023-05-10 18:38:16,126: [server] Read '2023.05.10 18:38:16 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:16,126: [server] Read '2023.05.10 18:38:16 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:16,126: [server] Read '2023.05.10 18:38:16 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:16,126: [run_stunnel] Launching the stunnel 'client' - got pid 2010647 DEBUG: 2023-05-10 18:38:16,126: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:16,333: [client] Read '2023.05.10 18:38:16 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Skipped exec+connect service [client]' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:16,334: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Starting exec+connect service [client]' DEBUG: 2023-05-10 18:38:16,334: [stunnel_output] Starting exec+connect mode INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Local mode child started (PID=2010669)' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG5[0_0]: Service [client] accepted connection from 127.0.0.1:57767' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: s_connect: connecting 127.0.0.1:37549' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: s_connect: s_poll_wait 127.0.0.1:37549: waiting 10 seconds' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG5[0_0]: s_connect: connected 127.0.0.1:37549' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG5[0_0]: Service [client] connected remote server from 127.0.0.1:53576' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:16,349: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Peer certificate not required' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:16,350: [client] Read '2023.05.10 18:38:16 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:16,357: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:16,357: [server] Read '2023.05.10 18:38:16 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:16,357: [server] Read '2023.05.10 18:38:16 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:16,357: [server] Read '2023.05.10 18:38:16 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:53576' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG5[0]: Service [server] accepted connection from 127.0.0.1:53576' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:16,371: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: Get session callback' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:16,372: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:16,375: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write key exchange' INFO: 2023-05-10 18:38:16,375: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:16,375: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write server done' INFO: 2023-05-10 18:38:16,376: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:16,376: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server key exchange' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server done' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client key exchange' INFO: 2023-05-10 18:38:16,388: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:16,389: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:16,389: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write server done' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS read client key exchange' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:16,389: [server] Read '2023.05.10 18:38:16 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: 1 internal session cache miss(es)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG6[0]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG3[0]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG6[0]: s_connect: connecting 127.0.0.1:40263' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:40263: waiting 10 seconds' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG5[0]: s_connect: connected 127.0.0.1:40263' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG6[0]: persistence: 127.0.0.1:40263 cached' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG5[0]: Service [server] connected remote server from 127.0.0.1:48586' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:16,390: [server] Read '2023.05.10 18:38:16 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:16,391: [client_connected_cb [127.0.0.1]:48586] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: New session callback' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Session id: DFE4806CA9A35FCB34083D30D248F35271189E286AC5D184632A6B6AD76690DC' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:16,402: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Compression: null, expansion: null' DEBUG: 2023-05-10 18:38:16,514: [socket_connected_cb #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:16,531: [client_connected_cb [127.0.0.1]:48586] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:16,531: [client_connected_cb [127.0.0.1]:48586] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:16,531: [client_connected_cb [127.0.0.1]:48586] Closing down the server writer socket DEBUG: 2023-05-10 18:38:16,531: [client_connected_cb [127.0.0.1]:48586] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:16,532: [server] Read '2023.05.10 18:38:16 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:16,532: [server] Read '2023.05.10 18:38:16 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:16,532: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:16,532: [server] Read '2023.05.10 18:38:16 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:16,532: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:16,532: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:16,532: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:16,537: [socket_connected_cb #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:16,537: [socket_connected_cb #0] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:16,537: [socket_connected_cb #0] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:16,537: [socket_connected_cb #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Sending close_notify alert' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG5[0_0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG7[0_0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:16,546: [client] Read '2023.05.10 18:38:16 LOG6[0_0]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:16,547: [server] Read '2023.05.10 18:38:16 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:16,558: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:16,558: [client] Read '2023.05.10 18:38:16 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:16,558: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:16,558: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:16,558: [client] Read '2023.05.10 18:38:16 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:16,558: [client] Read '2023.05.10 18:38:16 LOG6[ui]: Child process 2010669 finished with code 0' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: Local mode child started (PID=2010764)' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG5[0_1]: Service [client] accepted connection from 127.0.0.1:44915' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: s_connect: connecting 127.0.0.1:37549' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: s_connect: s_poll_wait 127.0.0.1:37549: waiting 10 seconds' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG5[0_1]: s_connect: connected 127.0.0.1:37549' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG5[0_1]: Service [client] connected remote server from 127.0.0.1:53590' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: Peer certificate not required' INFO: 2023-05-10 18:38:17,548: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:17,549: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:17,549: [server] Read '2023.05.10 18:38:17 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:17,549: [server] Read '2023.05.10 18:38:17 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:17,549: [server] Read '2023.05.10 18:38:17 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:17,549: [server] Read '2023.05.10 18:38:17 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:53590' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG5[1]: Service [server] accepted connection from 127.0.0.1:53590' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:17,560: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:17,561: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:17,561: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:17,561: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:17,561: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:17,561: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG3[0_1]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:17,562: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: Session id: DFE4806CA9A35FCB34083D30D248F35271189E286AC5D184632A6B6AD76690DC' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 1 internal session cache miss(es)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG6[1]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG3[1]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG6[1]: Session id: DFE4806CA9A35FCB34083D30D248F35271189E286AC5D184632A6B6AD76690DC' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG6[1]: s_connect: connecting 127.0.0.1:40263' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:40263: waiting 10 seconds' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG5[1]: s_connect: connected 127.0.0.1:40263' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG6[1]: persistence: 127.0.0.1:40263 cached' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG5[1]: Service [server] connected remote server from 127.0.0.1:48600' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:17,576: [server] Read '2023.05.10 18:38:17 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:17,577: [server] Read '2023.05.10 18:38:17 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:17,577: [client_connected_cb [127.0.0.1]:48600] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:17,621: [socket_connected_cb #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:17,632: [client_connected_cb [127.0.0.1]:48600] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:17,632: [client_connected_cb [127.0.0.1]:48600] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:17,632: [client_connected_cb [127.0.0.1]:48600] Closing down the server writer socket DEBUG: 2023-05-10 18:38:17,632: [client_connected_cb [127.0.0.1]:48600] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:17,633: [server] Read '2023.05.10 18:38:17 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:17,633: [server] Read '2023.05.10 18:38:17 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:17,633: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:17,633: [server] Read '2023.05.10 18:38:17 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:17,633: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:17,633: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:17,633: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:17,643: [socket_connected_cb #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:17,643: [socket_connected_cb #1] Closing down the 'unix server' writer socket INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Sending close_notify alert' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG5[0_1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG7[0_1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:17,643: [client] Read '2023.05.10 18:38:17 LOG6[0_1]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:17,643: [server] Read '2023.05.10 18:38:17 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:17,643: [server] Read '2023.05.10 18:38:17 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:17,643: [server] Read '2023.05.10 18:38:17 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:17,644: [server] Read '2023.05.10 18:38:17 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:17,644: [server] Read '2023.05.10 18:38:17 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:17,644: [server] Read '2023.05.10 18:38:17 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:17,644: [server] Read '2023.05.10 18:38:17 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:17,644: [server] Read '2023.05.10 18:38:17 LOG7[1]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:17,644: [socket_connected_cb #1] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:17,644: [socket_connected_cb #1] Test connection #1 has been completed INFO: 2023-05-10 18:38:17,644: [client] Read '2023.05.10 18:38:17 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:17,644: [client] Read '2023.05.10 18:38:17 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:17,644: [client] Read '2023.05.10 18:38:17 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:17,644: [client] Read '2023.05.10 18:38:17 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:17,644: [client] Read '2023.05.10 18:38:17 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:17,644: [client] Read '2023.05.10 18:38:17 LOG6[ui]: Child process 2010764 finished with code 0' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: Local mode child started (PID=2010913)' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG5[0_2]: Service [client] accepted connection from 127.0.0.1:54585' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: s_connect: connecting 127.0.0.1:37549' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: s_connect: s_poll_wait 127.0.0.1:37549: waiting 10 seconds' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG5[0_2]: s_connect: connected 127.0.0.1:37549' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG5[0_2]: Service [client] connected remote server from 127.0.0.1:53596' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:18,648: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:18,649: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: Peer certificate not required' INFO: 2023-05-10 18:38:18,649: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:18,649: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:18,660: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:18,660: [server] Read '2023.05.10 18:38:18 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:18,660: [server] Read '2023.05.10 18:38:18 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:18,660: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:53596' INFO: 2023-05-10 18:38:18,686: [server] Read '2023.05.10 18:38:18 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:18,686: [server] Read '2023.05.10 18:38:18 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:18,686: [server] Read '2023.05.10 18:38:18 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG5[2]: Service [server] accepted connection from 127.0.0.1:53596' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 1 internal session cache miss(es)' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG6[2]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG3[2]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG6[2]: Session id: DFE4806CA9A35FCB34083D30D248F35271189E286AC5D184632A6B6AD76690DC' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG6[2]: s_connect: connecting 127.0.0.1:40263' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:40263: waiting 10 seconds' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:18,687: [server] Read '2023.05.10 18:38:18 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:18,688: [server] Read '2023.05.10 18:38:18 LOG5[2]: s_connect: connected 127.0.0.1:40263' INFO: 2023-05-10 18:38:18,688: [server] Read '2023.05.10 18:38:18 LOG6[2]: persistence: 127.0.0.1:40263 cached' INFO: 2023-05-10 18:38:18,688: [server] Read '2023.05.10 18:38:18 LOG5[2]: Service [server] connected remote server from 127.0.0.1:48614' INFO: 2023-05-10 18:38:18,688: [server] Read '2023.05.10 18:38:18 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:18,688: [server] Read '2023.05.10 18:38:18 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:18,688: [server] Read '2023.05.10 18:38:18 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS read change cipher spec' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: TLSv1.2 ciphersuite: ECDHE-RSA-AES256-GCM-SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG3[0_2]: SSL_get_peer_tmp_key: Peer suddenly disconnected' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:18,688: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: Session id: DFE4806CA9A35FCB34083D30D248F35271189E286AC5D184632A6B6AD76690DC' INFO: 2023-05-10 18:38:18,689: [client_connected_cb [127.0.0.1]:48614] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:18,831: [socket_connected_cb #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:18,849: [client_connected_cb [127.0.0.1]:48614] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:18,849: [client_connected_cb [127.0.0.1]:48614] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:18,849: [client_connected_cb [127.0.0.1]:48614] Closing down the server writer socket DEBUG: 2023-05-10 18:38:18,849: [client_connected_cb [127.0.0.1]:48614] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:18,851: [server] Read '2023.05.10 18:38:18 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:18,851: [server] Read '2023.05.10 18:38:18 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:18,851: [server] Read '2023.05.10 18:38:18 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:18,851: [server] Read '2023.05.10 18:38:18 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:18,851: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:18,851: [client] Read '2023.05.10 18:38:18 LOG6[0_2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:18,851: [client] Read '2023.05.10 18:38:18 LOG7[0_2]: Sent socket write shutdown' INFO: 2023-05-10 18:38:18,859: [socket_connected_cb #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:18,859: [socket_connected_cb #2] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:18,860: [socket_connected_cb #2] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:18,860: [socket_connected_cb #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:18,860: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:18,860: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:18,860: [cleanup_stunnels] Waiting for the 'server' PID 2010628 to exit... DEBUG: 2023-05-10 18:38:18,860: [cleanup_stunnels] Waiting for the 'client' PID 2010647 to exit... INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Leak detection table utilization: 159/997, 15.95%' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:18,864: [server] Read '2023.05.10 18:38:18 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:18,866: [server] Read '2023.05.10 18:38:18 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:18,866: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:18,866: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:18,866: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:18,866: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Leak detection table utilization: 158/997, 15.85%' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:18,878: [client] Read '2023.05.10 18:38:18 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:18,886: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:18,886: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:18,886: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:18,886: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:18,886: [cleanup_tasks] Waiting for the 'unix server' task to hopefully finish DEBUG: 2023-05-10 18:38:18,887: [cleanup_tasks] Done with the 'unix server' task DEBUG: 2023-05-10 18:38:18,887: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:18,887: [set_result] The test result has been set WARNING: 2023-05-10 18:38:18,887: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:18,887: WARNING: 2023-05-10 18:38:18,887: [test_stunnel] ***** Start '142. Stateless session ticket resumption with TLSv1.3' ***** INFO: 2023-05-10 18:38:18,887: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:18,887: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:18,887: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:18,888: [start_listener] HTTP server is listening on [127.0.0.1]:40439 INFO: 2023-05-10 18:38:18,888: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:18,888: [start_socket_connections] Awaiting the 'unix server' with /tmp/stunnel_tests.2s30r142/unix.sock started... INFO: 2023-05-10 18:38:18,944: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:18,945: [start_stunnel] INFO: 2023-05-10 18:38:18,945: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:18,945: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:18,945: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:18,945: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:18,945: [start_stunnel] INFO: 2023-05-10 18:38:18,945: [start_stunnel] sslVersion = TLSv1.3 INFO: 2023-05-10 18:38:18,945: [start_stunnel] sessionCacheSize = 1 INFO: 2023-05-10 18:38:18,945: [start_stunnel] options = -NO_TICKET INFO: 2023-05-10 18:38:18,945: [start_stunnel] INFO: 2023-05-10 18:38:18,945: [start_stunnel] [server] INFO: 2023-05-10 18:38:18,945: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:18,945: [start_stunnel] connect = 127.0.0.1:40439 INFO: 2023-05-10 18:38:18,945: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:18,945: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:18,945: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:18,945: [start_stunnel] DEBUG: 2023-05-10 18:38:18,945: [run_stunnel] Launching the stunnel 'server' - got pid 2010956 DEBUG: 2023-05-10 18:38:18,946: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:19,152: [server] Read '2023.05.10 18:38:18 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:19,152: [server] Read '2023.05.10 18:38:18 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:19,152: [server] Read '2023.05.10 18:38:18 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:19,152: [server] Read '2023.05.10 18:38:18 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:19,152: [server] Read '2023.05.10 18:38:19 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:19,152: [server] Read '2023.05.10 18:38:19 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x4000)' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:19,153: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:19,154: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:19,154: [server] Read '2023.05.10 18:38:19 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:34189' DEBUG: 2023-05-10 18:38:19,154: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:34189 INFO: 2023-05-10 18:38:19,154: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:19,191: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:19,191: [start_stunnel] INFO: 2023-05-10 18:38:19,191: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:19,191: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:19,191: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:19,191: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:19,191: [start_stunnel] INFO: 2023-05-10 18:38:19,191: [start_stunnel] retry = yes INFO: 2023-05-10 18:38:19,191: [start_stunnel] INFO: 2023-05-10 18:38:19,191: [start_stunnel] [client] INFO: 2023-05-10 18:38:19,191: [start_stunnel] client = yes INFO: 2023-05-10 18:38:19,191: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:19,191: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/reader.py /tmp/stunnel_tests.2s30r142/unix.sock INFO: 2023-05-10 18:38:19,191: [start_stunnel] connect = 127.0.0.1:34189 INFO: 2023-05-10 18:38:19,191: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:19,191: [start_stunnel] INFO: 2023-05-10 18:38:19,192: [server] Read '2023.05.10 18:38:19 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:19,192: [server] Read '2023.05.10 18:38:19 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:19,192: [server] Read '2023.05.10 18:38:19 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:19,192: [run_stunnel] Launching the stunnel 'client' - got pid 2010995 DEBUG: 2023-05-10 18:38:19,192: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:19,402: [client] Read '2023.05.10 18:38:19 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Skipped exec+connect service [client]' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:19,403: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Starting exec+connect service [client]' DEBUG: 2023-05-10 18:38:19,403: [stunnel_output] Starting exec+connect mode INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Local mode child started (PID=2011054)' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG5[0_0]: Service [client] accepted connection from 127.0.0.1:51683' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: s_connect: connecting 127.0.0.1:34189' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: s_connect: s_poll_wait 127.0.0.1:34189: waiting 10 seconds' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG5[0_0]: s_connect: connected 127.0.0.1:34189' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG5[0_0]: Service [client] connected remote server from 127.0.0.1:45424' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:19,415: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:19,416: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Peer certificate not required' INFO: 2023-05-10 18:38:19,416: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:19,416: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,416: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:19,416: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:19,416: [server] Read '2023.05.10 18:38:19 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:19,416: [server] Read '2023.05.10 18:38:19 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:19,416: [server] Read '2023.05.10 18:38:19 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:45424' INFO: 2023-05-10 18:38:19,427: [client] Read '2023.05.10 18:38:19 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:19,427: [client] Read '2023.05.10 18:38:19 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:19,427: [client] Read '2023.05.10 18:38:19 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:19,427: [client] Read '2023.05.10 18:38:19 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG5[0]: Service [server] accepted connection from 127.0.0.1:45424' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:19,438: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:19,439: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:19,439: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:19,439: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:19,446: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:19,447: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:19,447: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:19,447: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:19,447: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:19,452: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:19,452: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:19,453: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:19,454: [server] Read '2023.05.10 18:38:19 LOG6[0]: Session id: F0459D8D033354207572BFE54B597D72DC77A76869146CEDBA74D3D0BAF617F9' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG6[0]: Session id: 1F098F8CE3AC4695771160BECE135CD73CFA8A9184520DCCB921358FABA2E672' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:19,455: [server] Read '2023.05.10 18:38:19 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG6[0]: s_connect: connecting 127.0.0.1:40439' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:40439: waiting 10 seconds' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG5[0]: s_connect: connected 127.0.0.1:40439' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG6[0]: persistence: 127.0.0.1:40439 cached' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG5[0]: Service [server] connected remote server from 127.0.0.1:38862' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:19,456: [server] Read '2023.05.10 18:38:19 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:19,456: [client_connected_cb [127.0.0.1]:38862] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: New session callback' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Session id: 8CA6B59BA9CED2E8C6FD3BFF637A1B61245F721315D540E6296EDD4E2376596A' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: New session callback' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Session id: 0436266393C0AA883A20B288DDAC795A7DD91D0776FC3DA97D55E47212795CAD' INFO: 2023-05-10 18:38:19,457: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:19,556: [socket_connected_cb #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:19,577: [client_connected_cb [127.0.0.1]:38862] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:19,577: [client_connected_cb [127.0.0.1]:38862] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:19,577: [client_connected_cb [127.0.0.1]:38862] Closing down the server writer socket DEBUG: 2023-05-10 18:38:19,578: [client_connected_cb [127.0.0.1]:38862] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:19,578: [server] Read '2023.05.10 18:38:19 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:19,578: [server] Read '2023.05.10 18:38:19 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:19,578: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:19,578: [server] Read '2023.05.10 18:38:19 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:19,578: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:19,578: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:19,578: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:19,578: [socket_connected_cb #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:19,578: [socket_connected_cb #0] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:19,579: [socket_connected_cb #0] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:19,579: [socket_connected_cb #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Sending close_notify alert' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG5[0_0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG6[ui]: Child process 2011054 finished with code 0' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG7[0_0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:19,588: [client] Read '2023.05.10 18:38:19 LOG6[0_0]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:19,589: [server] Read '2023.05.10 18:38:19 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:19,590: [server] Read '2023.05.10 18:38:19 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:19,590: [server] Read '2023.05.10 18:38:19 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:19,590: [server] Read '2023.05.10 18:38:19 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:19,590: [server] Read '2023.05.10 18:38:19 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:19,590: [server] Read '2023.05.10 18:38:19 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:19,590: [server] Read '2023.05.10 18:38:19 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Local mode child started (PID=2011662)' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG5[0_1]: Service [client] accepted connection from 127.0.0.1:52745' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: s_connect: connecting 127.0.0.1:34189' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: s_connect: s_poll_wait 127.0.0.1:34189: waiting 10 seconds' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG5[0_1]: s_connect: connected 127.0.0.1:34189' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG5[0_1]: Service [client] connected remote server from 127.0.0.1:45436' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Peer certificate not required' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:20,594: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:20,595: [server] Read '2023.05.10 18:38:20 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:20,595: [server] Read '2023.05.10 18:38:20 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:20,595: [server] Read '2023.05.10 18:38:20 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:20,595: [server] Read '2023.05.10 18:38:20 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:45436' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG5[1]: Service [server] accepted connection from 127.0.0.1:45436' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:20,625: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Remove session callback' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:20,627: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Session id: 0436266393C0AA883A20B288DDAC795A7DD91D0776FC3DA97D55E47212795CAD' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG6[1]: Session id: 85E8473FF7112BB70234D01349C991005FD106704B9245618B4EDA7EDF796FAC' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:20,630: [server] Read '2023.05.10 18:38:20 LOG6[1]: Session id: 85E8473FF7112BB70234D01349C991005FD106704B9245618B4EDA7EDF796FAC' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG6[1]: s_connect: connecting 127.0.0.1:40439' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:40439: waiting 10 seconds' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG5[1]: s_connect: connected 127.0.0.1:40439' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG6[1]: persistence: 127.0.0.1:40439 cached' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG5[1]: Service [server] connected remote server from 127.0.0.1:38868' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:20,631: [server] Read '2023.05.10 18:38:20 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: New session callback' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Session id: 1C6A0E8F081C1D9D3B4A99D0F8A1859D3802E213AD39B49AF77E01E0D31098E9' INFO: 2023-05-10 18:38:20,631: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:20,632: [client_connected_cb [127.0.0.1]:38868] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:20,748: [socket_connected_cb #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:20,754: [client_connected_cb [127.0.0.1]:38868] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:20,754: [client_connected_cb [127.0.0.1]:38868] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:20,754: [client_connected_cb [127.0.0.1]:38868] Closing down the server writer socket DEBUG: 2023-05-10 18:38:20,754: [client_connected_cb [127.0.0.1]:38868] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:20,761: [server] Read '2023.05.10 18:38:20 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:20,761: [server] Read '2023.05.10 18:38:20 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:20,761: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:20,761: [server] Read '2023.05.10 18:38:20 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:20,781: [socket_connected_cb #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:20,781: [socket_connected_cb #1] Closing down the 'unix server' writer socket INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG6[ui]: Child process 2011662 finished with code 0' INFO: 2023-05-10 18:38:20,781: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Sending close_notify alert' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG5[0_1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG7[0_1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:20,782: [client] Read '2023.05.10 18:38:20 LOG6[0_1]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:20,782: [server] Read '2023.05.10 18:38:20 LOG7[1]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:20,782: [socket_connected_cb #1] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:20,782: [socket_connected_cb #1] Test connection #1 has been completed INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: Local mode child started (PID=2011810)' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG5[0_2]: Service [client] accepted connection from 127.0.0.1:49873' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: s_connect: connecting 127.0.0.1:34189' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: s_connect: s_poll_wait 127.0.0.1:34189: waiting 10 seconds' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG5[0_2]: s_connect: connected 127.0.0.1:34189' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG5[0_2]: Service [client] connected remote server from 127.0.0.1:38074' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: Peer certificate not required' INFO: 2023-05-10 18:38:21,777: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:21,778: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:21,778: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:21,778: [server] Read '2023.05.10 18:38:21 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:21,778: [server] Read '2023.05.10 18:38:21 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:21,778: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:38074' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG5[2]: Service [server] accepted connection from 127.0.0.1:38074' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:21,800: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:21,800: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Remove session callback' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:21,801: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: Session id: 1C6A0E8F081C1D9D3B4A99D0F8A1859D3802E213AD39B49AF77E01E0D31098E9' INFO: 2023-05-10 18:38:21,801: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:21,802: [server] Read '2023.05.10 18:38:21 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: Session id: 1625F4E74BB5495A9DE781567D5DBB1864D75E3EC3A49E985758909CB6D11FA4' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: Session id: 1625F4E74BB5495A9DE781567D5DBB1864D75E3EC3A49E985758909CB6D11FA4' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: s_connect: connecting 127.0.0.1:40439' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:40439: waiting 10 seconds' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG5[2]: s_connect: connected 127.0.0.1:40439' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG6[2]: persistence: 127.0.0.1:40439 cached' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG5[2]: Service [server] connected remote server from 127.0.0.1:45398' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:21,803: [server] Read '2023.05.10 18:38:21 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: New session callback' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: Session id: B5BE8B71B9E90A4413FC7C5714BDBF10DDBC627EE0AA73460A6F15C898F3E369' INFO: 2023-05-10 18:38:21,804: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:21,804: [client_connected_cb [127.0.0.1]:45398] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:21,951: [socket_connected_cb #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:21,962: [client_connected_cb [127.0.0.1]:45398] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:21,962: [client_connected_cb [127.0.0.1]:45398] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:21,962: [client_connected_cb [127.0.0.1]:45398] Closing down the server writer socket DEBUG: 2023-05-10 18:38:21,962: [client_connected_cb [127.0.0.1]:45398] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:21,963: [server] Read '2023.05.10 18:38:21 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:21,963: [server] Read '2023.05.10 18:38:21 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:21,963: [server] Read '2023.05.10 18:38:21 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:21,963: [server] Read '2023.05.10 18:38:21 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:21,963: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:21,963: [client] Read '2023.05.10 18:38:21 LOG6[0_2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:21,963: [client] Read '2023.05.10 18:38:21 LOG7[0_2]: Sent socket write shutdown' INFO: 2023-05-10 18:38:21,974: [socket_connected_cb #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:21,974: [socket_connected_cb #2] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:21,974: [socket_connected_cb #2] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:21,974: [socket_connected_cb #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:21,974: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:21,974: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:21,974: [cleanup_stunnels] Waiting for the 'server' PID 2010956 to exit... DEBUG: 2023-05-10 18:38:21,974: [cleanup_stunnels] Waiting for the 'client' PID 2010995 to exit... INFO: 2023-05-10 18:38:21,975: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:21,975: [server] Read '2023.05.10 18:38:21 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:21,975: [server] Read '2023.05.10 18:38:21 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:21,975: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:21,975: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Leak detection table utilization: 172/997, 17.25%' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Leak detection table utilization: 165/997, 16.55%' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:21,976: [client] Read '2023.05.10 18:38:21 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:21,976: [server] Read '2023.05.10 18:38:21 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:21,977: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:21,989: [client] Read '2023.05.10 18:38:21 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:21,989: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:21,989: [client] Read '2023.05.10 18:38:21 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:21,990: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:22,001: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:22,001: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:22,001: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:22,001: [cleanup_tasks] Waiting for the 'unix server' task to hopefully finish DEBUG: 2023-05-10 18:38:22,001: [cleanup_tasks] Done with the 'unix server' task DEBUG: 2023-05-10 18:38:22,001: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:22,001: [set_result] The test result has been set WARNING: 2023-05-10 18:38:22,002: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:22,002: INFO: 2023-05-10 18:38:22,002: [plugins] >>>>> Applying 'Resume session' <<<<< WARNING: 2023-05-10 18:38:22,002: WARNING: 2023-05-10 18:38:22,002: [test_stunnel] ***** Start '151. Session resumption with secret keys' ***** INFO: 2023-05-10 18:38:22,002: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:22,002: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:22,002: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:22,002: [start_listener] HTTP server is listening on [127.0.0.1]:37333 INFO: 2023-05-10 18:38:22,002: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:22,002: [start_socket_connections] Awaiting the 'unix server' with /tmp/stunnel_tests.2s30r142/unix.sock started... INFO: 2023-05-10 18:38:22,041: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:22,041: [start_stunnel] INFO: 2023-05-10 18:38:22,041: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:22,041: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:22,041: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:22,041: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:22,041: [start_stunnel] INFO: 2023-05-10 18:38:22,041: [start_stunnel] options = -NO_TICKET INFO: 2023-05-10 18:38:22,041: [start_stunnel] ticketKeySecret = 6c:42:72:46:57:23:3a:3d:4b:54:2d:7b:55:4b:6e:8f:32:5c:21:6a:2e:6e:47:31:57:20:2f:75:26:7b:4d:25 INFO: 2023-05-10 18:38:22,041: [start_stunnel] ticketMacSecret = 3f:3c:77:53:32:48:79:76:75:7a:50:33:70:65:47:27:32:79:73:7e:73:2c:21:6c:3a:6f:30:28:4c:5c:27:1f INFO: 2023-05-10 18:38:22,041: [start_stunnel] INFO: 2023-05-10 18:38:22,041: [start_stunnel] [server] INFO: 2023-05-10 18:38:22,041: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:22,041: [start_stunnel] connect = 127.0.0.1:37333 INFO: 2023-05-10 18:38:22,041: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:22,041: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:22,041: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:22,041: [start_stunnel] DEBUG: 2023-05-10 18:38:22,042: [run_stunnel] Launching the stunnel 'server' - got pid 2011832 DEBUG: 2023-05-10 18:38:22,042: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:22,229: [server] Read '2023.05.10 18:38:22 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: ticketKeySecret configured' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: ticketMacSecret configured' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x4000)' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:22,230: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:22,231: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:22,231: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:22,231: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:22,231: [server] Read '2023.05.10 18:38:22 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:46799' DEBUG: 2023-05-10 18:38:22,231: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:46799 INFO: 2023-05-10 18:38:22,231: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:22,269: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:22,269: [start_stunnel] INFO: 2023-05-10 18:38:22,269: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:22,269: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:22,269: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:22,269: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:22,269: [start_stunnel] INFO: 2023-05-10 18:38:22,269: [start_stunnel] retry = yes INFO: 2023-05-10 18:38:22,269: [start_stunnel] INFO: 2023-05-10 18:38:22,269: [start_stunnel] [client] INFO: 2023-05-10 18:38:22,269: [start_stunnel] client = yes INFO: 2023-05-10 18:38:22,269: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:22,269: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/reader.py /tmp/stunnel_tests.2s30r142/unix.sock INFO: 2023-05-10 18:38:22,269: [start_stunnel] connect = 127.0.0.1:46799 INFO: 2023-05-10 18:38:22,269: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:22,269: [start_stunnel] INFO: 2023-05-10 18:38:22,270: [server] Read '2023.05.10 18:38:22 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:22,270: [server] Read '2023.05.10 18:38:22 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:22,270: [server] Read '2023.05.10 18:38:22 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:22,270: [run_stunnel] Launching the stunnel 'client' - got pid 2011859 DEBUG: 2023-05-10 18:38:22,270: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:22,478: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Skipped exec+connect service [client]' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:22,479: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Starting exec+connect service [client]' DEBUG: 2023-05-10 18:38:22,479: [stunnel_output] Starting exec+connect mode INFO: 2023-05-10 18:38:22,494: [client] Read '2023.05.10 18:38:22 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:22,494: [client] Read '2023.05.10 18:38:22 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:22,494: [client] Read '2023.05.10 18:38:22 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:22,494: [client] Read '2023.05.10 18:38:22 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Local mode child started (PID=2011880)' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG5[0_0]: Service [client] accepted connection from 127.0.0.1:56133' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: s_connect: connecting 127.0.0.1:46799' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: s_connect: s_poll_wait 127.0.0.1:46799: waiting 10 seconds' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG5[0_0]: s_connect: connected 127.0.0.1:46799' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG5[0_0]: Service [client] connected remote server from 127.0.0.1:46950' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:22,507: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:22,508: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:22,508: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:22,508: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Peer certificate not required' INFO: 2023-05-10 18:38:22,508: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:22,508: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,508: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:22,508: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:22,508: [server] Read '2023.05.10 18:38:22 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:22,508: [server] Read '2023.05.10 18:38:22 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:22,508: [server] Read '2023.05.10 18:38:22 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:46950' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG5[0]: Service [server] accepted connection from 127.0.0.1:46950' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:22,519: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:22,520: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:22,520: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:22,520: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Certificate verification disabled' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:22,531: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:22,532: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,543: [server] Read '2023.05.10 18:38:22 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Session ticket processing callback' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG6[0]: Session id: 0737252C85483A6E0210BDD4E6BBCFD33E2D37C06CF40930CF121832A4C76A42' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,544: [server] Read '2023.05.10 18:38:22 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:22,545: [server] Read '2023.05.10 18:38:22 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Session ticket processing callback' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG6[0]: Session id: B430E6F6BEFDD3CEFDAEC3D73C5315D907396F491E6736B8C6F1C8534524F673' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG6[0]: s_connect: connecting 127.0.0.1:37333' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:37333: waiting 10 seconds' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG5[0]: s_connect: connected 127.0.0.1:37333' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG6[0]: persistence: 127.0.0.1:37333 cached' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG5[0]: Service [server] connected remote server from 127.0.0.1:49460' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:22,546: [server] Read '2023.05.10 18:38:22 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: New session callback' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Session id: FEB659A12F6CCD00C1398FE0B34DDFF24410A27C7E3E467CC589CF38C69AB3C5' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: New session callback' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Session id: 6C1A1DB39837EEBC45EFAB162B9338A9615FF3826F623785CB0129FCD53AD552' INFO: 2023-05-10 18:38:22,547: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:22,547: [client_connected_cb [127.0.0.1]:49460] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:22,594: [socket_connected_cb #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:22,606: [client_connected_cb [127.0.0.1]:49460] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:22,606: [client_connected_cb [127.0.0.1]:49460] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:22,606: [client_connected_cb [127.0.0.1]:49460] Closing down the server writer socket DEBUG: 2023-05-10 18:38:22,606: [client_connected_cb [127.0.0.1]:49460] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:22,616: [server] Read '2023.05.10 18:38:22 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:22,616: [server] Read '2023.05.10 18:38:22 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:22,616: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:22,616: [server] Read '2023.05.10 18:38:22 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:22,616: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:22,617: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:22,617: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:22,617: [socket_connected_cb #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:22,617: [socket_connected_cb #0] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:22,617: [socket_connected_cb #0] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:22,617: [socket_connected_cb #0] Test connection #0 has been completed INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG6[ui]: Child process 2011880 finished with code 0' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Sending close_notify alert' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:22,628: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:22,629: [client] Read '2023.05.10 18:38:22 LOG5[0_0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:22,629: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:22,629: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:22,629: [client] Read '2023.05.10 18:38:22 LOG7[0_0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:22,629: [client] Read '2023.05.10 18:38:22 LOG6[0_0]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:22,629: [server] Read '2023.05.10 18:38:22 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:22,629: [server] Read '2023.05.10 18:38:22 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:22,629: [server] Read '2023.05.10 18:38:22 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:22,630: [server] Read '2023.05.10 18:38:22 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:22,630: [server] Read '2023.05.10 18:38:22 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:22,630: [server] Read '2023.05.10 18:38:22 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:22,630: [server] Read '2023.05.10 18:38:22 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Local mode child started (PID=2011957)' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG5[0_1]: Service [client] accepted connection from 127.0.0.1:50943' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: s_connect: connecting 127.0.0.1:46799' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: s_connect: s_poll_wait 127.0.0.1:46799: waiting 10 seconds' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG5[0_1]: s_connect: connected 127.0.0.1:46799' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG5[0_1]: Service [client] connected remote server from 127.0.0.1:46954' INFO: 2023-05-10 18:38:23,630: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:23,631: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:23,631: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:23,631: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:23,631: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Peer certificate not required' INFO: 2023-05-10 18:38:23,631: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:23,631: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:23,631: [server] Read '2023.05.10 18:38:23 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:23,631: [server] Read '2023.05.10 18:38:23 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:23,631: [server] Read '2023.05.10 18:38:23 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:23,631: [server] Read '2023.05.10 18:38:23 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:46954' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG5[1]: Service [server] accepted connection from 127.0.0.1:46954' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: Session ticket processing callback' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:23,642: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:23,643: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:23,643: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:23,643: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Remove session callback' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:23,643: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:23,644: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:23,644: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:23,644: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:23,644: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:23,644: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Session id: 6C1A1DB39837EEBC45EFAB162B9338A9615FF3826F623785CB0129FCD53AD552' INFO: 2023-05-10 18:38:23,665: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:23,666: [server] Read '2023.05.10 18:38:23 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Session ticket processing callback' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: Session id: AAE2D11DCF44EF5FA3D1C4603E2760899801B30FB0627CF6440E666C90D1B0A3' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: Session id: AAE2D11DCF44EF5FA3D1C4603E2760899801B30FB0627CF6440E666C90D1B0A3' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: s_connect: connecting 127.0.0.1:37333' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:37333: waiting 10 seconds' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG5[1]: s_connect: connected 127.0.0.1:37333' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG6[1]: persistence: 127.0.0.1:37333 cached' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG5[1]: Service [server] connected remote server from 127.0.0.1:49464' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:23,667: [server] Read '2023.05.10 18:38:23 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:23,668: [client_connected_cb [127.0.0.1]:49464] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: New session callback' INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Session id: 82DD5E3E0E4CA5551735892068593C1020EE04A4F10AA3311D57716A6E4AF7BA' INFO: 2023-05-10 18:38:23,668: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:23,805: [socket_connected_cb #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:23,817: [client_connected_cb [127.0.0.1]:49464] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:23,817: [client_connected_cb [127.0.0.1]:49464] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:23,817: [client_connected_cb [127.0.0.1]:49464] Closing down the server writer socket DEBUG: 2023-05-10 18:38:23,817: [client_connected_cb [127.0.0.1]:49464] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:23,818: [server] Read '2023.05.10 18:38:23 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:23,818: [server] Read '2023.05.10 18:38:23 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:23,818: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:23,818: [server] Read '2023.05.10 18:38:23 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:23,818: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:23,818: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:23,818: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:23,832: [socket_connected_cb #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:23,832: [socket_connected_cb #1] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:23,832: [socket_connected_cb #1] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:23,832: [socket_connected_cb #1] Test connection #1 has been completed INFO: 2023-05-10 18:38:23,841: [client] Read '2023.05.10 18:38:23 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG6[ui]: Child process 2011957 finished with code 0' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Sending close_notify alert' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG5[0_1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG7[0_1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:23,842: [client] Read '2023.05.10 18:38:23 LOG6[0_1]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:23,843: [server] Read '2023.05.10 18:38:23 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Local mode child started (PID=2011988)' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG5[0_2]: Service [client] accepted connection from 127.0.0.1:47235' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: s_connect: connecting 127.0.0.1:46799' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: s_connect: s_poll_wait 127.0.0.1:46799: waiting 10 seconds' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG5[0_2]: s_connect: connected 127.0.0.1:46799' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG5[0_2]: Service [client] connected remote server from 127.0.0.1:46960' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Peer certificate not required' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:24,845: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:24,846: [server] Read '2023.05.10 18:38:24 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:24,846: [server] Read '2023.05.10 18:38:24 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:24,846: [server] Read '2023.05.10 18:38:24 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:24,846: [server] Read '2023.05.10 18:38:24 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:46960' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG5[2]: Service [server] accepted connection from 127.0.0.1:46960' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: Session ticket processing callback' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:24,854: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Remove session callback' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:24,854: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:24,855: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Session id: 82DD5E3E0E4CA5551735892068593C1020EE04A4F10AA3311D57716A6E4AF7BA' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: Session ticket processing callback' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG6[2]: Session id: 47E3B41D627FF38DD998964621EDE58462DFB0EC26E179D4AC81D7923955F9A5' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:24,870: [server] Read '2023.05.10 18:38:24 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG6[2]: Session id: 47E3B41D627FF38DD998964621EDE58462DFB0EC26E179D4AC81D7923955F9A5' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG6[2]: s_connect: connecting 127.0.0.1:37333' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:37333: waiting 10 seconds' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG5[2]: s_connect: connected 127.0.0.1:37333' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG6[2]: persistence: 127.0.0.1:37333 cached' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG5[2]: Service [server] connected remote server from 127.0.0.1:49474' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:24,871: [server] Read '2023.05.10 18:38:24 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: New session callback' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Session id: 4547507A31058B5FA4944BB5FFFBFAB909F3A995125AE2577A6355471B1D3881' INFO: 2023-05-10 18:38:24,871: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:24,872: [client_connected_cb [127.0.0.1]:49474] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:24,935: [socket_connected_cb #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:24,939: [client_connected_cb [127.0.0.1]:49474] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:24,939: [client_connected_cb [127.0.0.1]:49474] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:24,939: [client_connected_cb [127.0.0.1]:49474] Closing down the server writer socket DEBUG: 2023-05-10 18:38:24,939: [client_connected_cb [127.0.0.1]:49474] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:24,940: [server] Read '2023.05.10 18:38:24 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:24,940: [server] Read '2023.05.10 18:38:24 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:24,940: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:24,940: [server] Read '2023.05.10 18:38:24 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:24,940: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:24,940: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:24,940: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Sent socket write shutdown' INFO: 2023-05-10 18:38:24,951: [socket_connected_cb #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:24,951: [socket_connected_cb #2] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:24,951: [socket_connected_cb #2] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:24,951: [socket_connected_cb #2] Test connection #2 has been completed INFO: 2023-05-10 18:38:24,956: [client] Read '2023.05.10 18:38:24 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:24,956: [client] Read '2023.05.10 18:38:24 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:24,956: [client] Read '2023.05.10 18:38:24 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:24,956: [client] Read '2023.05.10 18:38:24 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:24,956: [client] Read '2023.05.10 18:38:24 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:24,956: [client] Read '2023.05.10 18:38:24 LOG6[ui]: Child process 2011988 finished with code 0' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Sending close_notify alert' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG5[0_2]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Local descriptor (FD=9) closed' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG7[0_2]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:24,968: [client] Read '2023.05.10 18:38:24 LOG6[0_2]: Retrying an exec+connect section' INFO: 2023-05-10 18:38:24,968: [server] Read '2023.05.10 18:38:24 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:24,968: [server] Read '2023.05.10 18:38:24 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:24,968: [server] Read '2023.05.10 18:38:24 LOG7[2]: Sent socket write shutdown' INFO: 2023-05-10 18:38:24,968: [server] Read '2023.05.10 18:38:24 LOG5[2]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:24,968: [server] Read '2023.05.10 18:38:24 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:24,968: [server] Read '2023.05.10 18:38:24 LOG7[2]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:24,969: [server] Read '2023.05.10 18:38:24 LOG7[2]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:24,969: [server] Read '2023.05.10 18:38:24 LOG7[2]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: Local mode child started (PID=2012032)' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG5[0_3]: Service [client] accepted connection from 127.0.0.1:41049' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: s_connect: connecting 127.0.0.1:46799' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: s_connect: s_poll_wait 127.0.0.1:46799: waiting 10 seconds' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG5[0_3]: s_connect: connected 127.0.0.1:46799' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG5[0_3]: Service [client] connected remote server from 127.0.0.1:46962' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:25,965: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:25,966: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: Peer certificate not required' INFO: 2023-05-10 18:38:25,966: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:25,966: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:25,966: [server] Read '2023.05.10 18:38:25 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:25,966: [server] Read '2023.05.10 18:38:25 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:25,966: [server] Read '2023.05.10 18:38:25 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:25,966: [server] Read '2023.05.10 18:38:25 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:46962' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: Service [server] started' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG5[3]: Service [server] accepted connection from 127.0.0.1:46962' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG6[3]: Peer certificate required' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: Session ticket processing callback' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG6[3]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:25,977: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:25,978: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:25,978: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:25,978: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Remove session callback' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: 4 client connect(s) requested' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: 4 client connect(s) succeeded' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: 3 session reuse(s)' INFO: 2023-05-10 18:38:25,978: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:25,979: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:25,979: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:25,979: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:25,979: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: Session id: 4547507A31058B5FA4944BB5FFFBFAB909F3A995125AE2577A6355471B1D3881' INFO: 2023-05-10 18:38:26,000: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:26,000: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:26,000: [server] Read '2023.05.10 18:38:25 LOG7[3]: 4 server accept(s) requested' INFO: 2023-05-10 18:38:26,000: [server] Read '2023.05.10 18:38:25 LOG7[3]: 4 server accept(s) succeeded' INFO: 2023-05-10 18:38:26,000: [server] Read '2023.05.10 18:38:25 LOG7[3]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:26,000: [server] Read '2023.05.10 18:38:25 LOG7[3]: 3 session reuse(s)' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Generate session ticket callback' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Session ticket processing callback' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: New session callback' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG6[3]: Session id: 0DEC4971F0890B9A26811723C87792B6D95A99B50D6976F6CF3EFE82D256AF65' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG6[3]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG6[3]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG6[3]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG7[3]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG6[3]: Session id: 0DEC4971F0890B9A26811723C87792B6D95A99B50D6976F6CF3EFE82D256AF65' INFO: 2023-05-10 18:38:26,001: [server] Read '2023.05.10 18:38:25 LOG6[3]: s_connect: connecting 127.0.0.1:37333' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG7[3]: s_connect: s_poll_wait 127.0.0.1:37333: waiting 10 seconds' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG7[3]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG7[3]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG5[3]: s_connect: connected 127.0.0.1:37333' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG6[3]: persistence: 127.0.0.1:37333 cached' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG5[3]: Service [server] connected remote server from 127.0.0.1:49478' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG7[3]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG7[3]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:26,002: [server] Read '2023.05.10 18:38:25 LOG7[3]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:26,002: [client_connected_cb [127.0.0.1]:49478] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:26,002: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:26,002: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:26,002: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,002: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: New session callback' INFO: 2023-05-10 18:38:26,002: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,002: [client] Read '2023.05.10 18:38:25 LOG6[0_3]: Session id: 8E452F1E86D6ACE2455910BC8510BDBA45DCC9878EAF477894C316C6042DDDD5' INFO: 2023-05-10 18:38:26,003: [client] Read '2023.05.10 18:38:25 LOG7[0_3]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:26,111: [socket_connected_cb #3] Sending 'Hello 3' to the server INFO: 2023-05-10 18:38:26,132: [client_connected_cb [127.0.0.1]:49478] The client #3 sent data to the server: b'Hello 3\n' INFO: 2023-05-10 18:38:26,132: [client_connected_cb [127.0.0.1]:49478] The server sent data to the client #3: b'There!\n' DEBUG: 2023-05-10 18:38:26,132: [client_connected_cb [127.0.0.1]:49478] Closing down the server writer socket DEBUG: 2023-05-10 18:38:26,132: [client_connected_cb [127.0.0.1]:49478] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:26,133: [server] Read '2023.05.10 18:38:26 LOG6[3]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:26,133: [server] Read '2023.05.10 18:38:26 LOG7[3]: Sending close_notify alert' INFO: 2023-05-10 18:38:26,133: [server] Read '2023.05.10 18:38:26 LOG7[3]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:26,133: [server] Read '2023.05.10 18:38:26 LOG6[3]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:26,133: [client] Read '2023.05.10 18:38:26 LOG7[0_3]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:26,133: [client] Read '2023.05.10 18:38:26 LOG6[0_3]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:26,133: [client] Read '2023.05.10 18:38:26 LOG7[0_3]: Sent socket write shutdown' INFO: 2023-05-10 18:38:26,143: [socket_connected_cb #3] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:26,144: [socket_connected_cb #3] Closing down the 'unix server' writer socket DEBUG: 2023-05-10 18:38:26,144: [socket_connected_cb #3] Waiting for an EOF on the 'unix server' reader socket INFO: 2023-05-10 18:38:26,144: [socket_connected_cb #3] Test connection #3 has been completed DEBUG: 2023-05-10 18:38:26,144: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:26,144: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:26,144: [cleanup_stunnels] Waiting for the 'server' PID 2011832 to exit... DEBUG: 2023-05-10 18:38:26,144: [cleanup_stunnels] Waiting for the 'client' PID 2011859 to exit... INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Leak detection table utilization: 172/997, 17.25%' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:26,145: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:26,147: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:26,147: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:26,147: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:26,147: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:26,148: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Processing SIGCHLD' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Retrieving pid statuses with waitpid()' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG6[ui]: Child process 2012032 finished with code 0' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:26,159: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Leak detection table utilization: 165/997, 16.55%' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:26,160: [client] Read '2023.05.10 18:38:26 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:26,160: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:26,168: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:26,168: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:26,168: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:26,168: [cleanup_tasks] Waiting for the 'unix server' task to hopefully finish DEBUG: 2023-05-10 18:38:26,168: [cleanup_tasks] Done with the 'unix server' task DEBUG: 2023-05-10 18:38:26,168: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:26,168: [set_result] The test result has been set WARNING: 2023-05-10 18:38:26,169: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:26,169: INFO: 2023-05-10 18:38:26,169: [plugins] >>>>> Applying 'Redirect connection' <<<<< WARNING: 2023-05-10 18:38:26,169: WARNING: 2023-05-10 18:38:26,169: [test_stunnel] ***** Start '161. Redirect connection (wrong peer certificate)' ***** INFO: 2023-05-10 18:38:26,169: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:26,169: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:26,169: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:26,206: [start_listener] HTTP server is listening on [127.0.0.1]:45171 INFO: 2023-05-10 18:38:26,206: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:26,206: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:26,206: [start_stunnel] INFO: 2023-05-10 18:38:26,206: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:26,206: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:26,206: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:26,206: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:26,206: [start_stunnel] INFO: 2023-05-10 18:38:26,206: [start_stunnel] [server] INFO: 2023-05-10 18:38:26,206: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:26,206: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:26,206: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:26,206: [start_stunnel] redirect = 127.0.0.1:45171 INFO: 2023-05-10 18:38:26,206: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:26,206: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:26,206: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:26,206: [start_stunnel] DEBUG: 2023-05-10 18:38:26,207: [run_stunnel] Launching the stunnel 'server' - got pid 2012049 DEBUG: 2023-05-10 18:38:26,207: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:26,431: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:26,431: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:26,431: [server] Read '2023.05.10 18:38:26 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:26,431: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:26,431: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:26,432: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:26,433: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:26,433: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:26,433: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:26,433: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:26,433: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:46709' DEBUG: 2023-05-10 18:38:26,433: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:46709 INFO: 2023-05-10 18:38:26,433: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:26,433: [check_listening_port] 'server' is listening on port 46709 DEBUG: 2023-05-10 18:38:26,433: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:26,434: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:26,436: [test_connect [127.0.0.1]:46709 #0] Trying port 46709 encrypted True INFO: 2023-05-10 18:38:26,436: [establish_connection [127.0.0.1]:46709 #0] Creating a SSL context INFO: 2023-05-10 18:38:26,436: [establish_connection [127.0.0.1]:46709 #0] Load the wrong certificate INFO: 2023-05-10 18:38:26,436: [establish_connection [127.0.0.1]:46709 #0] Opening a SSL connection INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,437: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:34990' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG5[0]: Service [server] accepted connection from 127.0.0.1:34990' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:26,449: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:26,450: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:26,450: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:26,450: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:26,469: [test_connect [127.0.0.1]:46709 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:26,469: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:26,469: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:26,469: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG4[0]: CERT: Pre-verification error: self-signed certificate' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG4[0]: CERT: Certificate not found in local repository' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:26,481: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Peer certificate was cached (1537 bytes)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: Session id: EE898E35D74B5869AE3486F9FEEDE68F7D0FC75A09C022C2E4698B5BB6F7714A' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: Session id: 864636E635C9D00FDAF53EBBC78A9F270A3C25EC5D77135CE1C4B8B931EFD873' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: s_connect: connecting 127.0.0.1:45171' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:45171: waiting 10 seconds' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG5[0]: s_connect: connected 127.0.0.1:45171' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG6[0]: persistence: 127.0.0.1:45171 cached' INFO: 2023-05-10 18:38:26,482: [server] Read '2023.05.10 18:38:26 LOG5[0]: Service [server] connected remote server from 127.0.0.1:52556' INFO: 2023-05-10 18:38:26,483: [server] Read '2023.05.10 18:38:26 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:26,483: [server] Read '2023.05.10 18:38:26 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:26,483: [server] Read '2023.05.10 18:38:26 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:26,483: [client_connected_cb [127.0.0.1]:52556] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:26,484: [client_connected_cb [127.0.0.1]:52556] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:26,484: [client_connected_cb [127.0.0.1]:52556] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:26,484: [client_connected_cb [127.0.0.1]:52556] Closing down the server writer socket DEBUG: 2023-05-10 18:38:26,484: [client_connected_cb [127.0.0.1]:52556] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:26,484: [test_connect [127.0.0.1]:46709 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:26,484: [test_connect [127.0.0.1]:46709 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:26,495: [server] Read '2023.05.10 18:38:26 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:26,496: [test_connect [127.0.0.1]:46709 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:26,496: [test_connect [127.0.0.1]:46709 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:26,496: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:26,496: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:26,496: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:26,496: [cleanup_stunnels] Waiting for the 'server' PID 2012049 to exit... INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Leak detection table utilization: 159/997, 15.95%' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:26,518: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:26,519: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:26,519: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:26,519: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:26,519: [stunnel_output] Done with task 'server output' DEBUG: 2023-05-10 18:38:26,519: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:26,519: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:26,519: [set_result] The test result has been set WARNING: 2023-05-10 18:38:26,519: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:26,520: WARNING: 2023-05-10 18:38:26,520: [test_stunnel] ***** Start '162. Redirect connection (no peer certificate)' ***** INFO: 2023-05-10 18:38:26,520: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:26,520: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:26,520: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:26,555: [start_listener] HTTP server is listening on [127.0.0.1]:38921 INFO: 2023-05-10 18:38:26,555: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:26,555: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:26,555: [start_stunnel] INFO: 2023-05-10 18:38:26,555: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:26,555: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:26,555: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:26,555: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:26,555: [start_stunnel] INFO: 2023-05-10 18:38:26,555: [start_stunnel] [server] INFO: 2023-05-10 18:38:26,555: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:26,555: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:26,555: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:26,555: [start_stunnel] redirect = 127.0.0.1:38921 INFO: 2023-05-10 18:38:26,555: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:26,555: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:26,555: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:26,555: [start_stunnel] DEBUG: 2023-05-10 18:38:26,556: [run_stunnel] Launching the stunnel 'server' - got pid 2012073 DEBUG: 2023-05-10 18:38:26,556: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,776: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:42845' DEBUG: 2023-05-10 18:38:26,777: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:42845 INFO: 2023-05-10 18:38:26,777: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:26,778: [check_listening_port] 'server' is listening on port 42845 DEBUG: 2023-05-10 18:38:26,778: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:26,778: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:26,779: [test_connect [127.0.0.1]:42845 #0] Trying port 42845 encrypted True INFO: 2023-05-10 18:38:26,779: [establish_connection [127.0.0.1]:42845 #0] Creating a SSL context INFO: 2023-05-10 18:38:26,779: [establish_connection [127.0.0.1]:42845 #0] Opening a SSL connection INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:36360' INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:26,797: [server] Read '2023.05.10 18:38:26 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG5[0]: Service [server] accepted connection from 127.0.0.1:36360' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:26,798: [server] Read '2023.05.10 18:38:26 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:26,815: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:26,815: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:26,815: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:26,827: [test_connect [127.0.0.1]:42845 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:26,827: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:26,827: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:26,827: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:26,840: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:26,840: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:26,840: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:26,840: [server] Read '2023.05.10 18:38:26 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:26,840: [server] Read '2023.05.10 18:38:26 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:26,840: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: Session id: 11A316FA142B16EAFA403809AF805C8C00C9A16601EB2C174CDC56AC93B63924' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: Session id: 00FC8B9815EB6BAD3B1990461B10609651B21672676D72F789ACADC1B878FC7C' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: s_connect: connecting 127.0.0.1:38921' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:38921: waiting 10 seconds' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG5[0]: s_connect: connected 127.0.0.1:38921' INFO: 2023-05-10 18:38:26,841: [server] Read '2023.05.10 18:38:26 LOG6[0]: persistence: 127.0.0.1:38921 cached' INFO: 2023-05-10 18:38:26,842: [server] Read '2023.05.10 18:38:26 LOG5[0]: Service [server] connected remote server from 127.0.0.1:56972' INFO: 2023-05-10 18:38:26,842: [server] Read '2023.05.10 18:38:26 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:26,842: [server] Read '2023.05.10 18:38:26 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:26,842: [server] Read '2023.05.10 18:38:26 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:26,842: [client_connected_cb [127.0.0.1]:56972] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:26,842: [client_connected_cb [127.0.0.1]:56972] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:26,843: [client_connected_cb [127.0.0.1]:56972] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:26,843: [client_connected_cb [127.0.0.1]:56972] Closing down the server writer socket DEBUG: 2023-05-10 18:38:26,843: [client_connected_cb [127.0.0.1]:56972] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:26,843: [test_connect [127.0.0.1]:42845 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:26,843: [test_connect [127.0.0.1]:42845 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:26,856: [server] Read '2023.05.10 18:38:26 LOG7[0]: Service [server] finished (0 left)' DEBUG: 2023-05-10 18:38:26,857: [test_connect [127.0.0.1]:42845 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:26,857: [test_connect [127.0.0.1]:42845 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:26,857: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:26,857: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:26,857: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:26,857: [cleanup_stunnels] Waiting for the 'server' PID 2012073 to exit... INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Leak detection table utilization: 127/997, 12.74%' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:26,868: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:26,870: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:26,870: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:26,870: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:26,870: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:26,870: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:26,871: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:26,871: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:26,871: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:26,871: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:26,871: [set_result] The test result has been set WARNING: 2023-05-10 18:38:26,871: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:26,872: WARNING: 2023-05-10 18:38:26,872: [test_stunnel] ***** Start '163. Not redirected connection (valid peer certificate)' ***** INFO: 2023-05-10 18:38:26,872: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:26,872: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:26,872: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:26,907: [start_listener] HTTP server is listening on [127.0.0.1]:37819 INFO: 2023-05-10 18:38:26,907: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:26,907: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:26,907: [start_stunnel] INFO: 2023-05-10 18:38:26,907: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:26,907: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:26,907: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:26,907: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:26,907: [start_stunnel] INFO: 2023-05-10 18:38:26,907: [start_stunnel] [server] INFO: 2023-05-10 18:38:26,907: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:26,907: [start_stunnel] connect = 127.0.0.1:37819 INFO: 2023-05-10 18:38:26,907: [start_stunnel] redirect = 127.0.0.1:0 INFO: 2023-05-10 18:38:26,907: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:26,907: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:26,907: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:26,907: [start_stunnel] DEBUG: 2023-05-10 18:38:26,908: [run_stunnel] Launching the stunnel 'server' - got pid 2012094 DEBUG: 2023-05-10 18:38:26,908: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:27,054: [server] Read '2023.05.10 18:38:26 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:27,054: [server] Read '2023.05.10 18:38:26 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:27,054: [server] Read '2023.05.10 18:38:26 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:27,054: [server] Read '2023.05.10 18:38:26 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:27,054: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:27,055: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:27,056: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:27,056: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:27,056: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:27,056: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:35551' DEBUG: 2023-05-10 18:38:27,056: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:35551 INFO: 2023-05-10 18:38:27,056: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:27,056: [check_listening_port] 'server' is listening on port 35551 DEBUG: 2023-05-10 18:38:27,056: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:27,057: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:27,059: [test_connect [127.0.0.1]:35551 #0] Trying port 35551 encrypted True INFO: 2023-05-10 18:38:27,059: [establish_connection [127.0.0.1]:35551 #0] Creating a SSL context INFO: 2023-05-10 18:38:27,059: [establish_connection [127.0.0.1]:35551 #0] Load the correct certificate INFO: 2023-05-10 18:38:27,059: [establish_connection [127.0.0.1]:35551 #0] Opening a SSL connection INFO: 2023-05-10 18:38:27,060: [server] Read '2023.05.10 18:38:27 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:27,060: [server] Read '2023.05.10 18:38:27 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:27,060: [server] Read '2023.05.10 18:38:27 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:27,073: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:27,073: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,074: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:27,074: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:33088' DEBUG: 2023-05-10 18:38:27,093: [test_connect [127.0.0.1]:35551 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG5[0]: Service [server] accepted connection from 127.0.0.1:33088' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:27,093: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:27,094: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:27,094: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:27,094: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:27,094: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:27,102: [server] Read '2023.05.10 18:38:27 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG6[0]: Session id: 58F088DD7B8FFE2052B763B19D689757F584437C8703DDA4C52D48FA1171A3E8' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG6[0]: Session id: 452A51168B06CEFBD32F24B0EFC1161B7A8087242B3F78FD7B403CE4CE24D93D' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:27,103: [server] Read '2023.05.10 18:38:27 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG6[0]: s_connect: connecting 127.0.0.1:37819' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:37819: waiting 10 seconds' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG5[0]: s_connect: connected 127.0.0.1:37819' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG6[0]: persistence: 127.0.0.1:37819 cached' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG5[0]: Service [server] connected remote server from 127.0.0.1:46506' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:27,104: [server] Read '2023.05.10 18:38:27 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:27,105: [client_connected_cb [127.0.0.1]:46506] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:27,105: [client_connected_cb [127.0.0.1]:46506] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:27,105: [client_connected_cb [127.0.0.1]:46506] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:27,105: [client_connected_cb [127.0.0.1]:46506] Closing down the server writer socket DEBUG: 2023-05-10 18:38:27,105: [client_connected_cb [127.0.0.1]:46506] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:27,116: [test_connect [127.0.0.1]:35551 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:27,116: [test_connect [127.0.0.1]:35551 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:27,116: [server] Read '2023.05.10 18:38:27 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:27,116: [server] Read '2023.05.10 18:38:27 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:27,116: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:27,116: [server] Read '2023.05.10 18:38:27 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:27,116: [test_connect [127.0.0.1]:35551 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:27,117: [test_connect [127.0.0.1]:35551 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:27,117: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:27,117: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:27,117: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:27,117: [cleanup_stunnels] Waiting for the 'server' PID 2012094 to exit... INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:27,122: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Leak detection table utilization: 160/997, 16.05%' INFO: 2023-05-10 18:38:27,145: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:27,145: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:27,145: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:27,156: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:27,156: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:27,156: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:27,156: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:27,156: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:27,156: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:27,156: [stunnel_output] Done with task 'server output' DEBUG: 2023-05-10 18:38:27,157: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:27,157: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:27,157: [set_result] The test result has been set WARNING: 2023-05-10 18:38:27,157: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:27,157: WARNING: 2023-05-10 18:38:27,157: [test_stunnel] ***** Start '164. Redirect connection (wrong chain)' ***** INFO: 2023-05-10 18:38:27,157: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:27,157: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:27,157: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:27,192: [start_listener] HTTP server is listening on [127.0.0.1]:37641 INFO: 2023-05-10 18:38:27,192: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:27,192: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:27,192: [start_stunnel] INFO: 2023-05-10 18:38:27,192: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:27,192: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:27,192: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:27,192: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:27,192: [start_stunnel] INFO: 2023-05-10 18:38:27,192: [start_stunnel] [server] INFO: 2023-05-10 18:38:27,192: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:27,192: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:27,192: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:27,192: [start_stunnel] redirect = 127.0.0.1:37641 INFO: 2023-05-10 18:38:27,192: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:27,192: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:27,192: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:27,192: [start_stunnel] DEBUG: 2023-05-10 18:38:27,193: [run_stunnel] Launching the stunnel 'server' - got pid 2012121 DEBUG: 2023-05-10 18:38:27,193: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,397: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:35287' DEBUG: 2023-05-10 18:38:27,398: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:35287 INFO: 2023-05-10 18:38:27,398: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:27,399: [check_listening_port] 'server' is listening on port 35287 DEBUG: 2023-05-10 18:38:27,399: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:27,399: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:27,400: [test_connect [127.0.0.1]:35287 #0] Trying port 35287 encrypted True INFO: 2023-05-10 18:38:27,400: [establish_connection [127.0.0.1]:35287 #0] Creating a SSL context INFO: 2023-05-10 18:38:27,400: [establish_connection [127.0.0.1]:35287 #0] Opening a SSL connection INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:27,412: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:46028' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG5[0]: Service [server] accepted connection from 127.0.0.1:46028' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,420: [server] Read '2023.05.10 18:38:27 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:27,421: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:27,421: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:27,421: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:27,421: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:27,421: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:27,421: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:27,429: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:27,430: [test_connect [127.0.0.1]:35287 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:27,430: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:27,430: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:27,441: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:27,441: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG6[0]: Session id: 7FFB2EDDD712E058E11D4BD844CCFC8115E3823FEC9493F7D7CFEF0A85302A10' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:27,442: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG6[0]: Session id: F72EA90898EEB58CCEAB605D2C3138E39FB2253BAA7D2375C99455781F3CFEC9' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:27,443: [server] Read '2023.05.10 18:38:27 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG6[0]: s_connect: connecting 127.0.0.1:37641' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:37641: waiting 10 seconds' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG5[0]: s_connect: connected 127.0.0.1:37641' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG6[0]: persistence: 127.0.0.1:37641 cached' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG5[0]: Service [server] connected remote server from 127.0.0.1:35810' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:27,444: [server] Read '2023.05.10 18:38:27 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:27,444: [client_connected_cb [127.0.0.1]:35810] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:27,444: [client_connected_cb [127.0.0.1]:35810] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:27,444: [client_connected_cb [127.0.0.1]:35810] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:27,444: [client_connected_cb [127.0.0.1]:35810] Closing down the server writer socket DEBUG: 2023-05-10 18:38:27,444: [client_connected_cb [127.0.0.1]:35810] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:27,458: [test_connect [127.0.0.1]:35287 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:27,458: [test_connect [127.0.0.1]:35287 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:27,458: [server] Read '2023.05.10 18:38:27 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:27,458: [server] Read '2023.05.10 18:38:27 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:27,458: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:27,458: [server] Read '2023.05.10 18:38:27 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:27,458: [test_connect [127.0.0.1]:35287 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:27,459: [test_connect [127.0.0.1]:35287 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:27,459: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:27,459: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:27,459: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:27,459: [cleanup_stunnels] Waiting for the 'server' PID 2012121 to exit... INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Leak detection table utilization: 134/997, 13.44%' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:27,470: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:27,482: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:27,482: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:27,482: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:27,482: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:27,482: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:27,491: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:27,491: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:27,491: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:27,491: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:27,491: [set_result] The test result has been set WARNING: 2023-05-10 18:38:27,491: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:27,492: WARNING: 2023-05-10 18:38:27,492: [test_stunnel] ***** Start '165. Redirect connection (no chain)' ***** INFO: 2023-05-10 18:38:27,492: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:27,492: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:27,492: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:27,527: [start_listener] HTTP server is listening on [127.0.0.1]:33949 INFO: 2023-05-10 18:38:27,527: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:27,527: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:27,527: [start_stunnel] INFO: 2023-05-10 18:38:27,527: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:27,527: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:27,527: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:27,527: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:27,527: [start_stunnel] INFO: 2023-05-10 18:38:27,527: [start_stunnel] [server] INFO: 2023-05-10 18:38:27,527: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:27,527: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:27,527: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:27,527: [start_stunnel] redirect = 127.0.0.1:33949 INFO: 2023-05-10 18:38:27,527: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:27,527: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:27,527: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:27,527: [start_stunnel] DEBUG: 2023-05-10 18:38:27,528: [run_stunnel] Launching the stunnel 'server' - got pid 2012142 DEBUG: 2023-05-10 18:38:27,528: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,733: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:27,734: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:44949' DEBUG: 2023-05-10 18:38:27,734: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:44949 INFO: 2023-05-10 18:38:27,735: [check_listening_port] 'server' is listening on port 44949 DEBUG: 2023-05-10 18:38:27,735: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:27,735: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:27,736: [test_connect [127.0.0.1]:44949 #0] Trying port 44949 encrypted True INFO: 2023-05-10 18:38:27,736: [establish_connection [127.0.0.1]:44949 #0] Creating a SSL context INFO: 2023-05-10 18:38:27,736: [establish_connection [127.0.0.1]:44949 #0] Opening a SSL connection INFO: 2023-05-10 18:38:27,743: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:27,744: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:27,744: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,744: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:27,744: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:49996' INFO: 2023-05-10 18:38:27,754: [server] Read '2023.05.10 18:38:27 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:27,754: [server] Read '2023.05.10 18:38:27 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:27,754: [server] Read '2023.05.10 18:38:27 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:27,754: [server] Read '2023.05.10 18:38:27 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG5[0]: Service [server] accepted connection from 127.0.0.1:49996' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:27,767: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:27,768: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:27,776: [test_connect [127.0.0.1]:44949 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:27,776: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:27,776: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:27,776: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:27,786: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: Session id: 9055D6E53D6C369F1FC79B1E3583E74E1864B5D2C6B7CAB720EA59705122A4A7' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: Session id: BA74F9D45CA9E7BBE7B15EEE08E618491B785DB15036CA0BEDE44BF4382B7CAA' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:27,787: [server] Read '2023.05.10 18:38:27 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG6[0]: s_connect: connecting 127.0.0.1:33949' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:33949: waiting 10 seconds' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG5[0]: s_connect: connected 127.0.0.1:33949' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG6[0]: persistence: 127.0.0.1:33949 cached' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG5[0]: Service [server] connected remote server from 127.0.0.1:51628' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:27,788: [server] Read '2023.05.10 18:38:27 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:27,789: [client_connected_cb [127.0.0.1]:51628] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:27,789: [client_connected_cb [127.0.0.1]:51628] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:27,789: [client_connected_cb [127.0.0.1]:51628] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:27,789: [client_connected_cb [127.0.0.1]:51628] Closing down the server writer socket DEBUG: 2023-05-10 18:38:27,789: [client_connected_cb [127.0.0.1]:51628] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:27,797: [test_connect [127.0.0.1]:44949 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:27,797: [test_connect [127.0.0.1]:44949 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:27,797: [server] Read '2023.05.10 18:38:27 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:27,797: [server] Read '2023.05.10 18:38:27 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:27,797: [server] Read '2023.05.10 18:38:27 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:27,797: [server] Read '2023.05.10 18:38:27 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:27,797: [test_connect [127.0.0.1]:44949 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:27,797: [test_connect [127.0.0.1]:44949 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:27,798: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:27,798: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:27,798: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:27,798: [cleanup_stunnels] Waiting for the 'server' PID 2012142 to exit... INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Leak detection table utilization: 133/997, 13.34%' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:27,815: [server] Read '2023.05.10 18:38:27 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:27,824: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:27,824: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:27,824: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:27,839: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:27,839: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:27,839: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:27,839: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:27,839: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:27,839: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:27,839: [stunnel_output] Done with task 'server output' DEBUG: 2023-05-10 18:38:27,840: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:27,840: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:27,840: [set_result] The test result has been set WARNING: 2023-05-10 18:38:27,840: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:27,840: WARNING: 2023-05-10 18:38:27,840: [test_stunnel] ***** Start '166. Not redirected connection (valid chain)' ***** INFO: 2023-05-10 18:38:27,840: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:27,840: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:27,840: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:27,877: [start_listener] HTTP server is listening on [127.0.0.1]:37125 INFO: 2023-05-10 18:38:27,877: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:27,877: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:27,877: [start_stunnel] INFO: 2023-05-10 18:38:27,877: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:27,877: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:27,877: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:27,877: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:27,877: [start_stunnel] INFO: 2023-05-10 18:38:27,877: [start_stunnel] [server] INFO: 2023-05-10 18:38:27,877: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:27,877: [start_stunnel] connect = 127.0.0.1:37125 INFO: 2023-05-10 18:38:27,877: [start_stunnel] redirect = 127.0.0.1:0 INFO: 2023-05-10 18:38:27,877: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:27,877: [start_stunnel] verifyChain = yes INFO: 2023-05-10 18:38:27,877: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem INFO: 2023-05-10 18:38:27,877: [start_stunnel] DEBUG: 2023-05-10 18:38:27,878: [run_stunnel] Launching the stunnel 'server' - got pid 2012150 DEBUG: 2023-05-10 18:38:27,878: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:28,003: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:28,005: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:27 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/CACert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:28,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:28,007: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:40447' DEBUG: 2023-05-10 18:38:28,007: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:40447 INFO: 2023-05-10 18:38:28,007: [check_listening_port] 'server' is listening on port 40447 DEBUG: 2023-05-10 18:38:28,008: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:28,008: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:28,010: [test_connect [127.0.0.1]:40447 #0] Trying port 40447 encrypted True INFO: 2023-05-10 18:38:28,010: [establish_connection [127.0.0.1]:40447 #0] Creating a SSL context INFO: 2023-05-10 18:38:28,010: [establish_connection [127.0.0.1]:40447 #0] Load the correct certificate INFO: 2023-05-10 18:38:28,010: [establish_connection [127.0.0.1]:40447 #0] Opening a SSL connection INFO: 2023-05-10 18:38:28,012: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:28,012: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:28,012: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,012: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:28,012: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:59570' INFO: 2023-05-10 18:38:28,032: [server] Read '2023.05.10 18:38:28 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:28,032: [server] Read '2023.05.10 18:38:28 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:28,032: [server] Read '2023.05.10 18:38:28 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:28,038: [server] Read '2023.05.10 18:38:28 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG5[0]: Service [server] accepted connection from 127.0.0.1:59570' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:28,039: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:28,051: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' DEBUG: 2023-05-10 18:38:28,051: [test_connect [127.0.0.1]:40447 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:28,051: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:28,052: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: Verification started at depth=1: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG6[0]: Certificate accepted at depth=1: C=PL, O=Stunnel Developers, OU=Root CA, CN=CA, emailAddress=CA@example.com' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:28,065: [server] Read '2023.05.10 18:38:28 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: Session id: 8D591A5CCA09DDE2BC80507C9DF6BBC851B34D900AEF09AEDBBF83DC961D0897' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: Session id: A56025D57D0472346E0125AAB273398922BBA0C24F6D9A1F89D3D1B9D9F32967' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: s_connect: connecting 127.0.0.1:37125' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:37125: waiting 10 seconds' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG5[0]: s_connect: connected 127.0.0.1:37125' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG6[0]: persistence: 127.0.0.1:37125 cached' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG5[0]: Service [server] connected remote server from 127.0.0.1:49302' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:28,066: [server] Read '2023.05.10 18:38:28 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:28,067: [client_connected_cb [127.0.0.1]:49302] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:28,067: [client_connected_cb [127.0.0.1]:49302] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:28,067: [client_connected_cb [127.0.0.1]:49302] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:28,067: [client_connected_cb [127.0.0.1]:49302] Closing down the server writer socket DEBUG: 2023-05-10 18:38:28,067: [client_connected_cb [127.0.0.1]:49302] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:28,078: [test_connect [127.0.0.1]:40447 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:28,078: [test_connect [127.0.0.1]:40447 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:28,078: [server] Read '2023.05.10 18:38:28 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:28,078: [server] Read '2023.05.10 18:38:28 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:28,078: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:28,078: [server] Read '2023.05.10 18:38:28 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:28,079: [test_connect [127.0.0.1]:40447 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:28,079: [test_connect [127.0.0.1]:40447 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:28,079: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:28,079: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:28,079: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:28,079: [cleanup_stunnels] Waiting for the 'server' PID 2012150 to exit... INFO: 2023-05-10 18:38:28,079: [server] Read '2023.05.10 18:38:28 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:28,079: [server] Read '2023.05.10 18:38:28 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:28,079: [server] Read '2023.05.10 18:38:28 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:28,079: [server] Read '2023.05.10 18:38:28 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:28,079: [server] Read '2023.05.10 18:38:28 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Leak detection table utilization: 162/997, 16.25%' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:28,080: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:28,091: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:28,091: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:28,091: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:28,091: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:28,091: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:28,091: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish INFO: 2023-05-10 18:38:28,091: [stunnel_output] Done with task 'server output' DEBUG: 2023-05-10 18:38:28,092: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:28,092: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:28,092: [set_result] The test result has been set WARNING: 2023-05-10 18:38:28,092: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:28,092: INFO: 2023-05-10 18:38:28,092: [plugins] >>>>> Applying 'Redirect PROXY connection' <<<<< WARNING: 2023-05-10 18:38:28,092: WARNING: 2023-05-10 18:38:28,092: [test_stunnel] ***** Start '171. Redirect proxy connection (wrong peer certificate)' ***** INFO: 2023-05-10 18:38:28,092: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:28,092: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:28,092: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:28,132: [start_listener] HTTP server is listening on [127.0.0.1]:35573 INFO: 2023-05-10 18:38:28,132: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:28,132: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:28,132: [start_stunnel] INFO: 2023-05-10 18:38:28,132: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:28,132: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:28,132: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:28,132: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:28,132: [start_stunnel] INFO: 2023-05-10 18:38:28,132: [start_stunnel] protocol = proxy INFO: 2023-05-10 18:38:28,133: [start_stunnel] INFO: 2023-05-10 18:38:28,133: [start_stunnel] [server] INFO: 2023-05-10 18:38:28,133: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:28,133: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:28,133: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:28,133: [start_stunnel] redirect = 127.0.0.1:35573 INFO: 2023-05-10 18:38:28,133: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:28,133: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:28,133: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:28,133: [start_stunnel] DEBUG: 2023-05-10 18:38:28,133: [run_stunnel] Launching the stunnel 'server' - got pid 2012163 DEBUG: 2023-05-10 18:38:28,133: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:28,357: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:28,357: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:28,357: [server] Read '2023.05.10 18:38:28 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:28,357: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:28,357: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:28,358: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:40471' DEBUG: 2023-05-10 18:38:28,359: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:40471 INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:28,359: [server] Read '2023.05.10 18:38:28 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:28,360: [check_listening_port] 'server' is listening on port 40471 DEBUG: 2023-05-10 18:38:28,360: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:28,360: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:28,362: [test_connect [127.0.0.1]:40471 #0] Trying port 40471 encrypted True INFO: 2023-05-10 18:38:28,362: [establish_connection [127.0.0.1]:40471 #0] Creating a SSL context INFO: 2023-05-10 18:38:28,362: [establish_connection [127.0.0.1]:40471 #0] Load the wrong certificate INFO: 2023-05-10 18:38:28,362: [establish_connection [127.0.0.1]:40471 #0] Opening a SSL connection INFO: 2023-05-10 18:38:28,363: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:28,363: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,363: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:28,363: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:42788' DEBUG: 2023-05-10 18:38:28,389: [test_connect [127.0.0.1]:40471 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG5[0]: Service [server] accepted connection from 127.0.0.1:42788' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:28,389: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:28,390: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:28,390: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG4[0]: CERT: Pre-verification error: self-signed certificate' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG4[0]: CERT: Certificate not found in local repository' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:28,407: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Peer certificate was cached (1537 bytes)' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: Session id: 9D4A6D5C8D92BC3936107920D58D4FF90968E6C85B228AC71C94561CC90CC865' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: Session id: 51344542AD5ED67A332821C41C1EDBA4CD61B706FF345447E217E80CF9389772' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: s_connect: connecting 127.0.0.1:35573' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:35573: waiting 10 seconds' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG5[0]: s_connect: connected 127.0.0.1:35573' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG6[0]: persistence: 127.0.0.1:35573 cached' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG5[0]: Service [server] connected remote server from 127.0.0.1:45538' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:28,408: [server] Read '2023.05.10 18:38:28 LOG7[0]: -> PROXY TCP4 127.0.0.1 127.0.0.1 42788 40471' INFO: 2023-05-10 18:38:28,409: [client_connected_cb [127.0.0.1]:45538] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:28,410: [client_connected_cb [127.0.0.1]:45538] The listener get the original client IP address with HAProxy PROXY protocol INFO: 2023-05-10 18:38:28,410: [client_connected_cb [127.0.0.1]:45538] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:28,410: [client_connected_cb [127.0.0.1]:45538] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:28,410: [client_connected_cb [127.0.0.1]:45538] Closing down the server writer socket DEBUG: 2023-05-10 18:38:28,410: [client_connected_cb [127.0.0.1]:45538] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:28,410: [test_connect [127.0.0.1]:40471 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:28,410: [test_connect [127.0.0.1]:40471 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:28,410: [server] Read '2023.05.10 18:38:28 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:28,410: [server] Read '2023.05.10 18:38:28 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:28,410: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:28,410: [server] Read '2023.05.10 18:38:28 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:28,411: [test_connect [127.0.0.1]:40471 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:28,411: [test_connect [127.0.0.1]:40471 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:28,411: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:28,411: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:28,411: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:28,411: [cleanup_stunnels] Waiting for the 'server' PID 2012163 to exit... INFO: 2023-05-10 18:38:28,411: [server] Read '2023.05.10 18:38:28 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:28,412: [server] Read '2023.05.10 18:38:28 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:28,412: [server] Read '2023.05.10 18:38:28 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:28,412: [server] Read '2023.05.10 18:38:28 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:28,412: [server] Read '2023.05.10 18:38:28 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:28,423: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Leak detection table utilization: 160/997, 16.05%' INFO: 2023-05-10 18:38:28,432: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:28,432: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:28,433: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:28,444: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:28,444: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:28,444: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:28,444: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:28,444: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:28,445: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:28,445: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:28,445: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:28,445: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:28,445: [set_result] The test result has been set WARNING: 2023-05-10 18:38:28,445: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:28,445: WARNING: 2023-05-10 18:38:28,445: [test_stunnel] ***** Start '172. Redirect proxy connection (no peer certificate)' ***** INFO: 2023-05-10 18:38:28,445: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:28,445: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:28,446: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:28,483: [start_listener] HTTP server is listening on [127.0.0.1]:44391 INFO: 2023-05-10 18:38:28,483: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:28,483: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:28,483: [start_stunnel] INFO: 2023-05-10 18:38:28,483: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:28,483: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:28,483: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:28,483: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:28,483: [start_stunnel] INFO: 2023-05-10 18:38:28,483: [start_stunnel] protocol = proxy INFO: 2023-05-10 18:38:28,483: [start_stunnel] INFO: 2023-05-10 18:38:28,483: [start_stunnel] [server] INFO: 2023-05-10 18:38:28,483: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:28,483: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:28,483: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:28,483: [start_stunnel] redirect = 127.0.0.1:44391 INFO: 2023-05-10 18:38:28,483: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:28,483: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:28,483: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:28,483: [start_stunnel] DEBUG: 2023-05-10 18:38:28,484: [run_stunnel] Launching the stunnel 'server' - got pid 2012187 DEBUG: 2023-05-10 18:38:28,484: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:28,667: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:28,667: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:28,667: [server] Read '2023.05.10 18:38:28 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:28,667: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:28,668: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:28,669: [server] Read '2023.05.10 18:38:28 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,670: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:28,671: [server] Read '2023.05.10 18:38:28 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:28,672: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:42287' DEBUG: 2023-05-10 18:38:28,673: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:42287 INFO: 2023-05-10 18:38:28,673: [check_listening_port] 'server' is listening on port 42287 DEBUG: 2023-05-10 18:38:28,673: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:28,673: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:28,674: [test_connect [127.0.0.1]:42287 #0] Trying port 42287 encrypted True INFO: 2023-05-10 18:38:28,674: [establish_connection [127.0.0.1]:42287 #0] Creating a SSL context INFO: 2023-05-10 18:38:28,674: [establish_connection [127.0.0.1]:42287 #0] Opening a SSL connection INFO: 2023-05-10 18:38:28,685: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:28,685: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:28,685: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,685: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:28,685: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:47326' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG5[0]: Service [server] accepted connection from 127.0.0.1:47326' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:28,697: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:28,698: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:28,698: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:28,698: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' DEBUG: 2023-05-10 18:38:28,710: [test_connect [127.0.0.1]:42287 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:28,710: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:28,710: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:28,710: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG5[cron]: Updating DH parameters' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG6[0]: Session id: FFA57E8D514744C695834E1BDEF60D495830F0FD61E676A112B29130BC0BD4C6' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:28,723: [server] Read '2023.05.10 18:38:28 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: Session id: 01CF0A8024C0E667F78E54B8E448D9E3FA55F4208FE745173E5B1307975D05CC' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: s_connect: connecting 127.0.0.1:44391' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:44391: waiting 10 seconds' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG5[0]: s_connect: connected 127.0.0.1:44391' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG6[0]: persistence: 127.0.0.1:44391 cached' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG5[0]: Service [server] connected remote server from 127.0.0.1:56028' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:28,724: [server] Read '2023.05.10 18:38:28 LOG7[0]: -> PROXY TCP4 127.0.0.1 127.0.0.1 47326 42287' INFO: 2023-05-10 18:38:28,725: [client_connected_cb [127.0.0.1]:56028] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:28,725: [client_connected_cb [127.0.0.1]:56028] The listener get the original client IP address with HAProxy PROXY protocol INFO: 2023-05-10 18:38:28,725: [client_connected_cb [127.0.0.1]:56028] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:28,725: [client_connected_cb [127.0.0.1]:56028] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:28,725: [client_connected_cb [127.0.0.1]:56028] Closing down the server writer socket DEBUG: 2023-05-10 18:38:28,725: [client_connected_cb [127.0.0.1]:56028] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:28,735: [test_connect [127.0.0.1]:42287 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:28,735: [test_connect [127.0.0.1]:42287 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:28,735: [server] Read '2023.05.10 18:38:28 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:28,735: [server] Read '2023.05.10 18:38:28 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:28,735: [server] Read '2023.05.10 18:38:28 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:28,735: [server] Read '2023.05.10 18:38:28 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:28,736: [test_connect [127.0.0.1]:42287 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:28,736: [test_connect [127.0.0.1]:42287 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:28,736: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:28,736: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:28,736: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:28,736: [cleanup_stunnels] Waiting for the 'server' PID 2012187 to exit... INFO: 2023-05-10 18:38:28,736: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Leak detection table utilization: 127/997, 12.74%' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:28,737: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:28,744: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:28,744: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:28,744: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:28,744: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:28,744: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:28,756: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:28,756: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:28,756: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:28,756: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:28,756: [set_result] The test result has been set WARNING: 2023-05-10 18:38:28,756: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:28,757: WARNING: 2023-05-10 18:38:28,757: [test_stunnel] ***** Start '173. Not redirected proxy connection (valid peer certificate)' ***** INFO: 2023-05-10 18:38:28,757: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:28,757: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:28,757: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:28,802: [start_listener] HTTP server is listening on [127.0.0.1]:43953 INFO: 2023-05-10 18:38:28,802: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:28,802: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:28,802: [start_stunnel] INFO: 2023-05-10 18:38:28,802: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:28,802: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:28,802: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:28,802: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:28,802: [start_stunnel] INFO: 2023-05-10 18:38:28,802: [start_stunnel] protocol = proxy INFO: 2023-05-10 18:38:28,802: [start_stunnel] INFO: 2023-05-10 18:38:28,802: [start_stunnel] [server] INFO: 2023-05-10 18:38:28,802: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:28,802: [start_stunnel] connect = 127.0.0.1:43953 INFO: 2023-05-10 18:38:28,802: [start_stunnel] redirect = 127.0.0.1:0 INFO: 2023-05-10 18:38:28,802: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:28,802: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:28,802: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:28,802: [start_stunnel] DEBUG: 2023-05-10 18:38:28,803: [run_stunnel] Launching the stunnel 'server' - got pid 2012204 DEBUG: 2023-05-10 18:38:28,803: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:29,006: [server] Read '2023.05.10 18:38:28 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:28 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:29,007: [server] Read '2023.05.10 18:38:29 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:29,008: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:44901' DEBUG: 2023-05-10 18:38:29,008: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:44901 INFO: 2023-05-10 18:38:29,008: [check_listening_port] 'server' is listening on port 44901 DEBUG: 2023-05-10 18:38:29,008: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:29,008: [start_connections] Create task encr-0 INFO: 2023-05-10 18:38:29,009: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:29,011: [test_connect [127.0.0.1]:44901 #0] Trying port 44901 encrypted True INFO: 2023-05-10 18:38:29,011: [establish_connection [127.0.0.1]:44901 #0] Creating a SSL context INFO: 2023-05-10 18:38:29,011: [establish_connection [127.0.0.1]:44901 #0] Load the correct certificate INFO: 2023-05-10 18:38:29,011: [establish_connection [127.0.0.1]:44901 #0] Opening a SSL connection INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:39014' INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:29,023: [server] Read '2023.05.10 18:38:29 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:29,053: [test_connect [127.0.0.1]:44901 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:29,053: [server] Read '2023.05.10 18:38:29 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:29,053: [server] Read '2023.05.10 18:38:29 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG5[0]: Service [server] accepted connection from 127.0.0.1:39014' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:29,054: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:29,065: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: Session id: 8CDBFAE8BC933C2437E510BE2C7FCECE5EABDAAFCBE248C54C79993A87C8AC97' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: Session id: F4234ABC705ADF5C4DBC5068231FE1F0F15EE34DDB3049693FCB168E1D319367' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: s_connect: connecting 127.0.0.1:43953' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:43953: waiting 10 seconds' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG5[0]: s_connect: connected 127.0.0.1:43953' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG6[0]: persistence: 127.0.0.1:43953 cached' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG5[0]: Service [server] connected remote server from 127.0.0.1:47550' INFO: 2023-05-10 18:38:29,066: [server] Read '2023.05.10 18:38:29 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:29,067: [server] Read '2023.05.10 18:38:29 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:29,067: [server] Read '2023.05.10 18:38:29 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:29,067: [server] Read '2023.05.10 18:38:29 LOG7[0]: -> PROXY TCP4 127.0.0.1 127.0.0.1 39014 44901' INFO: 2023-05-10 18:38:29,068: [client_connected_cb [127.0.0.1]:47550] The 'listener' task accepted a connection from a client DEBUG: 2023-05-10 18:38:29,068: [client_connected_cb [127.0.0.1]:47550] The listener get the original client IP address with HAProxy PROXY protocol INFO: 2023-05-10 18:38:29,068: [client_connected_cb [127.0.0.1]:47550] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:29,068: [client_connected_cb [127.0.0.1]:47550] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:29,068: [client_connected_cb [127.0.0.1]:47550] Closing down the server writer socket DEBUG: 2023-05-10 18:38:29,068: [client_connected_cb [127.0.0.1]:47550] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:29,078: [test_connect [127.0.0.1]:44901 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:29,078: [test_connect [127.0.0.1]:44901 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:29,078: [server] Read '2023.05.10 18:38:29 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:29,078: [server] Read '2023.05.10 18:38:29 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:29,078: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:29,078: [server] Read '2023.05.10 18:38:29 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:29,078: [test_connect [127.0.0.1]:44901 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:29,078: [test_connect [127.0.0.1]:44901 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:29,078: [remove_connection] Done with task 'encr-0' DEBUG: 2023-05-10 18:38:29,078: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:29,078: [cleanup_stunnels] About to kill and wait for 1 stunnel process(es) DEBUG: 2023-05-10 18:38:29,079: [cleanup_stunnels] Waiting for the 'server' PID 2012204 to exit... INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG3[0]: SSL_read: ssl/record/rec_layer_s3.c:320: error:0A000126:SSL routines::unexpected eof while reading' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG5[0]: Connection reset: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:29,085: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Leak detection table utilization: 160/997, 16.05%' INFO: 2023-05-10 18:38:29,095: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:29,095: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:29,095: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:29,106: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:29,106: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:29,106: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:29,106: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:29,113: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:29,113: [cleanup_stunnels] Got stunnel processes' exit status: [0] DEBUG: 2023-05-10 18:38:29,113: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:29,113: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:29,113: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:29,113: [set_result] The test result has been set WARNING: 2023-05-10 18:38:29,113: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:29,114: INFO: 2023-05-10 18:38:29,114: [plugins] >>>>> Applying 'Resume redirected connection' <<<<< WARNING: 2023-05-10 18:38:29,114: WARNING: 2023-05-10 18:38:29,114: [test_stunnel] ***** Start '181. Session resumption and redirect (wrong certificate)' ***** INFO: 2023-05-10 18:38:29,114: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:29,114: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:29,114: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:29,154: [start_listener] HTTP server is listening on [127.0.0.1]:39925 INFO: 2023-05-10 18:38:29,154: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:29,154: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:29,154: [start_stunnel] INFO: 2023-05-10 18:38:29,154: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:29,154: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:29,154: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:29,154: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:29,154: [start_stunnel] INFO: 2023-05-10 18:38:29,154: [start_stunnel] [server] INFO: 2023-05-10 18:38:29,154: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:29,154: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:29,154: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:29,154: [start_stunnel] redirect = 127.0.0.1:39925 INFO: 2023-05-10 18:38:29,154: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:29,154: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:29,154: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:29,154: [start_stunnel] DEBUG: 2023-05-10 18:38:29,155: [run_stunnel] Launching the stunnel 'server' - got pid 2012240 DEBUG: 2023-05-10 18:38:29,155: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:29,481: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:29,481: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:29,481: [server] Read '2023.05.10 18:38:29 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:29,481: [server] Read '2023.05.10 18:38:29 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:29,482: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:29,483: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:29,483: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:29,483: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:29,483: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:29,483: [server] Read '2023.05.10 18:38:29 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:34599' DEBUG: 2023-05-10 18:38:29,483: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:34599 INFO: 2023-05-10 18:38:29,483: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:29,570: [check_listening_port] 'server' is listening on port 34599 INFO: 2023-05-10 18:38:29,570: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:29,570: [start_stunnel] INFO: 2023-05-10 18:38:29,570: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:29,570: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:29,570: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:29,570: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:29,570: [start_stunnel] INFO: 2023-05-10 18:38:29,570: [start_stunnel] [client] INFO: 2023-05-10 18:38:29,570: [start_stunnel] client = yes INFO: 2023-05-10 18:38:29,570: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:29,570: [start_stunnel] connect = 127.0.0.1:34599 INFO: 2023-05-10 18:38:29,570: [start_stunnel] ;cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:29,570: [start_stunnel] ;wrong certificate INFO: 2023-05-10 18:38:29,570: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/stunnel.pem INFO: 2023-05-10 18:38:29,570: [start_stunnel] INFO: 2023-05-10 18:38:29,571: [server] Read '2023.05.10 18:38:29 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:29,571: [server] Read '2023.05.10 18:38:29 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:29,571: [server] Read '2023.05.10 18:38:29 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:29,571: [run_stunnel] Launching the stunnel 'client' - got pid 2012293 DEBUG: 2023-05-10 18:38:29,571: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:29,796: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:29,796: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:29,796: [client] Read '2023.05.10 18:38:29 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:29,796: [client] Read '2023.05.10 18:38:29 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:29,796: [client] Read '2023.05.10 18:38:29 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:29,797: [client] Read '2023.05.10 18:38:29 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:29,798: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/stunnel.pem' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/stunnel.pem' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/stunnel.pem' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/stunnel.pem' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:29,799: [client] Read '2023.05.10 18:38:29 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:29,800: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:29,801: [client] Read '2023.05.10 18:38:29 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:39863' DEBUG: 2023-05-10 18:38:29,801: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:39863 INFO: 2023-05-10 18:38:29,801: [check_listening_port] 'client' is listening on port 39863 DEBUG: 2023-05-10 18:38:29,801: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:29,801: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:29,801: [test_connect [127.0.0.1]:39863 #0] Trying port 39863 encrypted False INFO: 2023-05-10 18:38:29,801: [establish_connection [127.0.0.1]:39863 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:29,801: [test_connect [127.0.0.1]:39863 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:29,802: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:29,802: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,802: [client] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,802: [client] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,802: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:58104' INFO: 2023-05-10 18:38:29,815: [client] Read '2023.05.10 18:38:29 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:29,815: [client] Read '2023.05.10 18:38:29 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:29,815: [client] Read '2023.05.10 18:38:29 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:29,815: [client] Read '2023.05.10 18:38:29 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:29,835: [client] Read '2023.05.10 18:38:29 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:29,835: [client] Read '2023.05.10 18:38:29 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG5[0]: Service [client] accepted connection from 127.0.0.1:58104' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG6[0]: s_connect: connecting 127.0.0.1:34599' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:34599: waiting 10 seconds' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG5[0]: s_connect: connected 127.0.0.1:34599' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG5[0]: Service [client] connected remote server from 127.0.0.1:52708' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,836: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:29,843: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,843: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,843: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,843: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:52708' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG5[0]: Service [server] accepted connection from 127.0.0.1:52708' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:29,855: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:29,856: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:29,863: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:29,863: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:29,863: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:29,869: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:29,870: [client] Read '2023.05.10 18:38:29 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:29,871: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:29,871: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:29,871: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:29,871: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:29,871: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:29,878: [client] Read '2023.05.10 18:38:29 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:29,891: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG4[0]: CERT: Pre-verification error: self-signed certificate' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Verification started at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG4[0]: CERT: Certificate not found in local repository' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG4[0]: Rejected by CERT at depth=0: C=PL, ST=Mazovia Province, L=Warsaw, O=Stunnel Developers, OU=Provisional CA, CN=localhost, emailAddress=stunnel@example.com' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Peer certificate was cached (1537 bytes)' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG6[0]: Session id: A158538B9FFC29BABA7DC47D40F98FB81EC49EA860428E18FB7B8FC962C68A64' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,892: [server] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG6[0]: Session id: EB91BEA55ECAA997D7B7EDF7B3997CC42BCF37FC850AF55481B6EC301F596DD7' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG6[0]: s_connect: connecting 127.0.0.1:39925' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:39925: waiting 10 seconds' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG5[0]: s_connect: connected 127.0.0.1:39925' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG6[0]: persistence: 127.0.0.1:39925 cached' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG5[0]: Service [server] connected remote server from 127.0.0.1:47594' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:29,893: [server] Read '2023.05.10 18:38:29 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:29,894: [client_connected_cb [127.0.0.1]:47594] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:29,894: [client_connected_cb [127.0.0.1]:47594] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:29,894: [client_connected_cb [127.0.0.1]:47594] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:29,894: [client_connected_cb [127.0.0.1]:47594] Closing down the server writer socket DEBUG: 2023-05-10 18:38:29,894: [client_connected_cb [127.0.0.1]:47594] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:29,895: [server] Read '2023.05.10 18:38:29 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:29,895: [server] Read '2023.05.10 18:38:29 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:29,895: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:29,895: [server] Read '2023.05.10 18:38:29 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:29,899: [test_connect [127.0.0.1]:39863 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:29,899: [test_connect [127.0.0.1]:39863 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG6[0]: Session id: 5CE094C6E175F1D88C260BCF39202DA8602ACCDE53DD9C453E5E675ACD1C1DAB' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG6[0]: Session id: 48E6653D36DBAC383FEC160F5F5F3204B8873A6FC0D8B9370EE30A9AADA7C94E' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:29,900: [client] Read '2023.05.10 18:38:29 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:29,900: [test_connect [127.0.0.1]:39863 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:29,901: [test_connect [127.0.0.1]:39863 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:29,901: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:29,901: [test_connect [127.0.0.1]:39863 #1] Trying port 39863 encrypted False INFO: 2023-05-10 18:38:29,901: [establish_connection [127.0.0.1]:39863 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:29,901: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:29,901: [test_connect [127.0.0.1]:39863 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,902: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:58110' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:29,903: [server] Read '2023.05.10 18:38:29 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG5[1]: Service [client] accepted connection from 127.0.0.1:58110' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG6[1]: s_connect: connecting 127.0.0.1:34599' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:34599: waiting 10 seconds' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG5[1]: s_connect: connected 127.0.0.1:34599' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG5[1]: Service [client] connected remote server from 127.0.0.1:52720' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:29,926: [client] Read '2023.05.10 18:38:29 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:29,927: [client] Read '2023.05.10 18:38:29 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:29,927: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:29,927: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:29,927: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,927: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,927: [server] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,927: [server] Read '2023.05.10 18:38:29 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:52720' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG5[1]: Service [server] accepted connection from 127.0.0.1:52720' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:29,957: [server] Read '2023.05.10 18:38:29 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG6[1]: Decrypted ticket for an authenticated session: no' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:29,958: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:29,960: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:29,960: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:29,960: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:29,960: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:29,960: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:29,960: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG7[1]: Remove session callback' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG6[1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:29,961: [client] Read '2023.05.10 18:38:29 LOG6[1]: Session id: 48E6653D36DBAC383FEC160F5F5F3204B8873A6FC0D8B9370EE30A9AADA7C94E' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:29,969: [server] Read '2023.05.10 18:38:29 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG6[1]: Session id: 2566B2943BBBEA10BA9AFEA3C5DBAD2FF712599BB66E5769B58CFBF3C7577CE1' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:29,970: [server] Read '2023.05.10 18:38:29 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG6[1]: Session id: 2566B2943BBBEA10BA9AFEA3C5DBAD2FF712599BB66E5769B58CFBF3C7577CE1' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG5[1]: Redirecting connection' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG6[1]: s_connect: connecting 127.0.0.1:39925' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:39925: waiting 10 seconds' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG5[1]: s_connect: connected 127.0.0.1:39925' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG6[1]: persistence: 127.0.0.1:39925 cached' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG5[1]: Service [server] connected remote server from 127.0.0.1:47610' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:29,971: [server] Read '2023.05.10 18:38:29 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:29,971: [client_connected_cb [127.0.0.1]:47610] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:29,972: [client_connected_cb [127.0.0.1]:47610] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:29,972: [client_connected_cb [127.0.0.1]:47610] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:29,972: [client_connected_cb [127.0.0.1]:47610] Closing down the server writer socket INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG6[1]: Session id: C7B807E6F3C4CC0E57EADAB9E571D072DF4418C2D9ACD2F628C436EA9325A7A6' INFO: 2023-05-10 18:38:29,972: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:29,972: [client_connected_cb [127.0.0.1]:47610] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:29,981: [server] Read '2023.05.10 18:38:29 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:29,981: [server] Read '2023.05.10 18:38:29 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:29,981: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:29,981: [server] Read '2023.05.10 18:38:29 LOG6[1]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:29,981: [test_connect [127.0.0.1]:39863 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:29,981: [test_connect [127.0.0.1]:39863 #1] Closing down the client writer socket DEBUG: 2023-05-10 18:38:29,982: [test_connect [127.0.0.1]:39863 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:29,982: [test_connect [127.0.0.1]:39863 #1] Test connection #1 has been completed INFO: 2023-05-10 18:38:29,982: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:29,982: [client] Read '2023.05.10 18:38:29 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:29,982: [client] Read '2023.05.10 18:38:29 LOG7[1]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:29,982: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:29,982: [test_connect [127.0.0.1]:39863 #2] Trying port 39863 encrypted False INFO: 2023-05-10 18:38:29,982: [establish_connection [127.0.0.1]:39863 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:29,982: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:29,982: [test_connect [127.0.0.1]:39863 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:29,983: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:29,984: [client] Read '2023.05.10 18:38:29 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:29,984: [client] Read '2023.05.10 18:38:29 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:29,984: [client] Read '2023.05.10 18:38:29 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:58122' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:29,995: [server] Read '2023.05.10 18:38:29 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG5[2]: Service [client] accepted connection from 127.0.0.1:58122' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG6[2]: s_connect: connecting 127.0.0.1:34599' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:34599: waiting 10 seconds' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG5[2]: s_connect: connected 127.0.0.1:34599' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG5[2]: Service [client] connected remote server from 127.0.0.1:52736' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:30,017: [client] Read '2023.05.10 18:38:30 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:30,018: [client] Read '2023.05.10 18:38:30 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:30,018: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:30,018: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:30,018: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:30,018: [server] Read '2023.05.10 18:38:30 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:30,018: [server] Read '2023.05.10 18:38:30 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:30,018: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:52736' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG5[2]: Service [server] accepted connection from 127.0.0.1:52736' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:30,053: [server] Read '2023.05.10 18:38:30 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG6[2]: Decrypted ticket for an authenticated session: no' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:30,054: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: Remove session callback' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG6[2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:30,054: [client] Read '2023.05.10 18:38:30 LOG6[2]: Session id: C7B807E6F3C4CC0E57EADAB9E571D072DF4418C2D9ACD2F628C436EA9325A7A6' INFO: 2023-05-10 18:38:30,066: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: Session id: 6087DCCD9A22A27A14C140B50F16A90E2C84974DA8DE0E7B2EEF0EB7B8887B9E' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: Session id: 6087DCCD9A22A27A14C140B50F16A90E2C84974DA8DE0E7B2EEF0EB7B8887B9E' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG5[2]: Redirecting connection' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: s_connect: connecting 127.0.0.1:39925' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:39925: waiting 10 seconds' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG5[2]: s_connect: connected 127.0.0.1:39925' INFO: 2023-05-10 18:38:30,067: [server] Read '2023.05.10 18:38:30 LOG6[2]: persistence: 127.0.0.1:39925 cached' INFO: 2023-05-10 18:38:30,068: [server] Read '2023.05.10 18:38:30 LOG5[2]: Service [server] connected remote server from 127.0.0.1:47616' INFO: 2023-05-10 18:38:30,068: [server] Read '2023.05.10 18:38:30 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:30,068: [server] Read '2023.05.10 18:38:30 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:30,068: [server] Read '2023.05.10 18:38:30 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG6[2]: Session id: ED980D0C614607831EA3CB4D6C663FBABAF921D59D8F2BAEF6C21527D4EDC1F6' INFO: 2023-05-10 18:38:30,068: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:30,069: [client_connected_cb [127.0.0.1]:47616] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:30,069: [client_connected_cb [127.0.0.1]:47616] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:30,069: [client_connected_cb [127.0.0.1]:47616] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:30,069: [client_connected_cb [127.0.0.1]:47616] Closing down the server writer socket DEBUG: 2023-05-10 18:38:30,069: [client_connected_cb [127.0.0.1]:47616] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:30,080: [test_connect [127.0.0.1]:39863 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:30,080: [test_connect [127.0.0.1]:39863 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:30,080: [server] Read '2023.05.10 18:38:30 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:30,080: [server] Read '2023.05.10 18:38:30 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:30,080: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:30,080: [server] Read '2023.05.10 18:38:30 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:30,080: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:30,080: [client] Read '2023.05.10 18:38:30 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:30,081: [test_connect [127.0.0.1]:39863 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:30,081: [test_connect [127.0.0.1]:39863 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:30,081: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:30,081: [remove_connection] Testing connections done INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG6[2]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG5[2]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG7[2]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG7[2]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:30,081: [client] Read '2023.05.10 18:38:30 LOG7[2]: Service [client] finished (0 left)' DEBUG: 2023-05-10 18:38:30,081: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:30,081: [cleanup_stunnels] Waiting for the 'server' PID 2012240 to exit... DEBUG: 2023-05-10 18:38:30,081: [cleanup_stunnels] Waiting for the 'client' PID 2012293 to exit... INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[2]: Sent socket write shutdown' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG5[2]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[2]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[2]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[2]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:30,082: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Leak detection table utilization: 172/997, 17.25%' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:30,083: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Leak detection table utilization: 162/997, 16.25%' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG6[ui]: Terminating 1 service thread(s)' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:30,088: [client] Read '2023.05.10 18:38:30 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:30,088: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:30,088: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:30,088: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:30,088: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:30,089: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:30,089: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:30,102: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:30,102: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:30,102: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:30,102: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:30,102: [set_result] The test result has been set WARNING: 2023-05-10 18:38:30,102: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:30,103: WARNING: 2023-05-10 18:38:30,103: [test_stunnel] ***** Start '182. Session resumption and redirect (no certificate)' ***** INFO: 2023-05-10 18:38:30,103: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:30,103: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:30,103: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:30,156: [start_listener] HTTP server is listening on [127.0.0.1]:46485 INFO: 2023-05-10 18:38:30,156: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:30,156: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:30,156: [start_stunnel] INFO: 2023-05-10 18:38:30,156: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:30,156: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:30,156: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:30,156: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:30,156: [start_stunnel] INFO: 2023-05-10 18:38:30,156: [start_stunnel] [server] INFO: 2023-05-10 18:38:30,156: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:30,157: [start_stunnel] exec = /usr/bin/python3.9 INFO: 2023-05-10 18:38:30,157: [start_stunnel] execArgs = python3 /builddir/build/BUILD/stunnel-5.62/tests/error.py INFO: 2023-05-10 18:38:30,157: [start_stunnel] redirect = 127.0.0.1:46485 INFO: 2023-05-10 18:38:30,157: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:30,157: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:30,157: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:30,157: [start_stunnel] DEBUG: 2023-05-10 18:38:30,157: [run_stunnel] Launching the stunnel 'server' - got pid 2012339 DEBUG: 2023-05-10 18:38:30,157: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:30,422: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:30,422: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:30,422: [server] Read '2023.05.10 18:38:30 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:30,422: [server] Read '2023.05.10 18:38:30 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:30,422: [server] Read '2023.05.10 18:38:30 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:30,423: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:30,424: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:30,424: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:30,424: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:30,424: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:30,424: [server] Read '2023.05.10 18:38:30 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:38227' DEBUG: 2023-05-10 18:38:30,424: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:38227 INFO: 2023-05-10 18:38:30,424: [server] Read '2023.05.10 18:38:30 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:31,026: [check_listening_port] 'server' is listening on port 38227 INFO: 2023-05-10 18:38:31,026: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:31,026: [start_stunnel] INFO: 2023-05-10 18:38:31,026: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:31,026: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:31,026: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:31,026: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:31,026: [start_stunnel] INFO: 2023-05-10 18:38:31,026: [start_stunnel] [client] INFO: 2023-05-10 18:38:31,026: [start_stunnel] client = yes INFO: 2023-05-10 18:38:31,026: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:31,026: [start_stunnel] connect = 127.0.0.1:38227 INFO: 2023-05-10 18:38:31,026: [start_stunnel] ;no certificate INFO: 2023-05-10 18:38:31,026: [start_stunnel] INFO: 2023-05-10 18:38:31,027: [server] Read '2023.05.10 18:38:30 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:31,027: [server] Read '2023.05.10 18:38:30 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:31,027: [server] Read '2023.05.10 18:38:30 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:31,027: [run_stunnel] Launching the stunnel 'client' - got pid 2012372 DEBUG: 2023-05-10 18:38:31,027: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:31,253: [client] Read '2023.05.10 18:38:31 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:42903' DEBUG: 2023-05-10 18:38:31,254: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:42903 INFO: 2023-05-10 18:38:31,254: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:31,255: [check_listening_port] 'client' is listening on port 42903 DEBUG: 2023-05-10 18:38:31,255: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:31,255: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:31,255: [test_connect [127.0.0.1]:42903 #0] Trying port 42903 encrypted False INFO: 2023-05-10 18:38:31,256: [establish_connection [127.0.0.1]:42903 #0] Opening an unencrypted connection INFO: 2023-05-10 18:38:31,256: [client] Read '2023.05.10 18:38:31 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:31,256: [client] Read '2023.05.10 18:38:31 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:31,256: [client] Read '2023.05.10 18:38:31 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:31,256: [client] Read '2023.05.10 18:38:31 LOG7[cron]: Waiting 86400 seconds' DEBUG: 2023-05-10 18:38:31,256: [test_connect [127.0.0.1]:42903 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:31,262: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,262: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,262: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,262: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:56374' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG5[0]: Service [client] accepted connection from 127.0.0.1:56374' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG6[0]: s_connect: connecting 127.0.0.1:38227' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:38227: waiting 10 seconds' INFO: 2023-05-10 18:38:31,279: [client] Read '2023.05.10 18:38:31 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG5[0]: s_connect: connected 127.0.0.1:38227' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG5[0]: Service [client] connected remote server from 127.0.0.1:54028' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,280: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:31,280: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,280: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,280: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,280: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:54028' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG5[0]: Service [server] accepted connection from 127.0.0.1:54028' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:31,317: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:31,318: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:31,329: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:31,329: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:31,329: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:31,329: [client] Read '2023.05.10 18:38:31 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:31,330: [client] Read '2023.05.10 18:38:31 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG6[0]: Session id: CC7CA14674E896643D796ECAD9B0028E72B495D2597D32C1BD9682E2DF57AED8' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:31,342: [server] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: No peer certificate received' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: Session id: 8E488D39E69517D99AA0F7D40A7DBC00A69192A4EF8046D0B1385A2D7A3AF50D' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG5[0]: Redirecting connection' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: s_connect: connecting 127.0.0.1:46485' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:46485: waiting 10 seconds' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG5[0]: s_connect: connected 127.0.0.1:46485' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG6[0]: persistence: 127.0.0.1:46485 cached' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG5[0]: Service [server] connected remote server from 127.0.0.1:32902' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:31,343: [server] Read '2023.05.10 18:38:31 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG6[0]: Session id: 93E43D915F8FDF87804B3FA0EFF8F4F3020ABE5060DB9F12C20F35C1FAB2E00A' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:31,343: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,344: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,344: [client] Read '2023.05.10 18:38:31 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,344: [client] Read '2023.05.10 18:38:31 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:31,344: [client] Read '2023.05.10 18:38:31 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,344: [client] Read '2023.05.10 18:38:31 LOG6[0]: Session id: 9350BB397A842C11309674ECFFAB36C8E60EEB23C239E61DAA7E604EBEFF1816' INFO: 2023-05-10 18:38:31,344: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:31,345: [client_connected_cb [127.0.0.1]:32902] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:31,345: [client_connected_cb [127.0.0.1]:32902] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:31,345: [client_connected_cb [127.0.0.1]:32902] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:31,345: [client_connected_cb [127.0.0.1]:32902] Closing down the server writer socket DEBUG: 2023-05-10 18:38:31,345: [client_connected_cb [127.0.0.1]:32902] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:31,356: [test_connect [127.0.0.1]:42903 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:31,356: [test_connect [127.0.0.1]:42903 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:31,356: [server] Read '2023.05.10 18:38:31 LOG6[0]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:31,356: [server] Read '2023.05.10 18:38:31 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:31,356: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:31,356: [server] Read '2023.05.10 18:38:31 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:31,356: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:31,356: [client] Read '2023.05.10 18:38:31 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:31,357: [client] Read '2023.05.10 18:38:31 LOG7[0]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:31,357: [test_connect [127.0.0.1]:42903 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:31,357: [test_connect [127.0.0.1]:42903 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:31,357: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:31,357: [test_connect [127.0.0.1]:42903 #1] Trying port 42903 encrypted False INFO: 2023-05-10 18:38:31,357: [establish_connection [127.0.0.1]:42903 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:31,357: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:31,357: [test_connect [127.0.0.1]:42903 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:31,358: [client] Read '2023.05.10 18:38:31 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:31,359: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,359: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,359: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,359: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:56380' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:31,359: [server] Read '2023.05.10 18:38:31 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG5[1]: Service [client] accepted connection from 127.0.0.1:56380' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG6[1]: s_connect: connecting 127.0.0.1:38227' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:38227: waiting 10 seconds' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG5[1]: s_connect: connected 127.0.0.1:38227' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG5[1]: Service [client] connected remote server from 127.0.0.1:54036' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:31,360: [client] Read '2023.05.10 18:38:31 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:31,361: [client] Read '2023.05.10 18:38:31 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:31,361: [client] Read '2023.05.10 18:38:31 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:31,361: [client] Read '2023.05.10 18:38:31 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:31,361: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:31,361: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:31,361: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,361: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,361: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,361: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:54036' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG5[1]: Service [server] accepted connection from 127.0.0.1:54036' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:31,389: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:31,390: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:31,390: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: Remove session callback' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG6[1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:31,391: [client] Read '2023.05.10 18:38:31 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:31,392: [client] Read '2023.05.10 18:38:31 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:31,392: [client] Read '2023.05.10 18:38:31 LOG6[1]: Session id: 9350BB397A842C11309674ECFFAB36C8E60EEB23C239E61DAA7E604EBEFF1816' INFO: 2023-05-10 18:38:31,427: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: No peer certificate received' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: Session id: B814DD52FEC1C63E07068A42A412E1E60D12F8CC7EA50B53A35D962E551389CE' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: Session id: B814DD52FEC1C63E07068A42A412E1E60D12F8CC7EA50B53A35D962E551389CE' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG5[1]: Redirecting connection' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG6[1]: s_connect: connecting 127.0.0.1:46485' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:46485: waiting 10 seconds' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:31,428: [server] Read '2023.05.10 18:38:31 LOG5[1]: s_connect: connected 127.0.0.1:46485' INFO: 2023-05-10 18:38:31,429: [server] Read '2023.05.10 18:38:31 LOG6[1]: persistence: 127.0.0.1:46485 cached' INFO: 2023-05-10 18:38:31,429: [server] Read '2023.05.10 18:38:31 LOG5[1]: Service [server] connected remote server from 127.0.0.1:32916' INFO: 2023-05-10 18:38:31,429: [server] Read '2023.05.10 18:38:31 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:31,429: [server] Read '2023.05.10 18:38:31 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:31,429: [server] Read '2023.05.10 18:38:31 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:31,429: [client_connected_cb [127.0.0.1]:32916] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:31,430: [client_connected_cb [127.0.0.1]:32916] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:31,430: [client_connected_cb [127.0.0.1]:32916] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:31,430: [client_connected_cb [127.0.0.1]:32916] Closing down the server writer socket DEBUG: 2023-05-10 18:38:31,430: [client_connected_cb [127.0.0.1]:32916] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:31,430: [test_connect [127.0.0.1]:42903 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:31,430: [test_connect [127.0.0.1]:42903 #1] Closing down the client writer socket INFO: 2023-05-10 18:38:31,430: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,430: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,430: [client] Read '2023.05.10 18:38:31 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,430: [client] Read '2023.05.10 18:38:31 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:31,430: [client] Read '2023.05.10 18:38:31 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,431: [client] Read '2023.05.10 18:38:31 LOG6[1]: Session id: 3CDFF56FF8CE8DDF379E3AEA73F97480F6CA952D18191B52BADE4A2F18658E47' INFO: 2023-05-10 18:38:31,431: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:31,431: [test_connect [127.0.0.1]:42903 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:31,431: [test_connect [127.0.0.1]:42903 #1] Test connection #1 has been completed DEBUG: 2023-05-10 18:38:31,431: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:31,431: [test_connect [127.0.0.1]:42903 #2] Trying port 42903 encrypted False INFO: 2023-05-10 18:38:31,431: [establish_connection [127.0.0.1]:42903 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:31,431: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:31,432: [test_connect [127.0.0.1]:42903 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Service [client] accepted (FD=10) from 127.0.0.1:56382' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:31,432: [client] Read '2023.05.10 18:38:31 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:31,441: [server] Read '2023.05.10 18:38:31 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:31,442: [server] Read '2023.05.10 18:38:31 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,442: [server] Read '2023.05.10 18:38:31 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:31,442: [server] Read '2023.05.10 18:38:31 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:31,442: [server] Read '2023.05.10 18:38:31 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:31,442: [client] Read '2023.05.10 18:38:31 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: Setting local socket options (FD=10)' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG5[2]: Service [client] accepted connection from 127.0.0.1:56382' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG6[2]: s_connect: connecting 127.0.0.1:38227' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:38227: waiting 10 seconds' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG5[2]: s_connect: connected 127.0.0.1:38227' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG5[2]: Service [client] connected remote server from 127.0.0.1:54048' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:31,461: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:31,461: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,461: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,461: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,461: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:54048' INFO: 2023-05-10 18:38:31,463: [server] Read '2023.05.10 18:38:31 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:31,463: [server] Read '2023.05.10 18:38:31 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:31,463: [server] Read '2023.05.10 18:38:31 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:31,463: [server] Read '2023.05.10 18:38:31 LOG5[2]: Service [server] accepted connection from 127.0.0.1:54048' INFO: 2023-05-10 18:38:31,463: [server] Read '2023.05.10 18:38:31 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:31,463: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:31,464: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:31,465: [client] Read '2023.05.10 18:38:31 LOG7[2]: Remove session callback' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG6[2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:31,466: [client] Read '2023.05.10 18:38:31 LOG6[2]: Session id: 3CDFF56FF8CE8DDF379E3AEA73F97480F6CA952D18191B52BADE4A2F18658E47' INFO: 2023-05-10 18:38:31,467: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:31,467: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:31,467: [server] Read '2023.05.10 18:38:31 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:31,467: [server] Read '2023.05.10 18:38:31 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:31,467: [server] Read '2023.05.10 18:38:31 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: No peer certificate received' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: Session id: 239A19607A122B61DD11B1E6318303BA4072BA6FAC0E71042CECB43AE5C16770' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: Session id: 239A19607A122B61DD11B1E6318303BA4072BA6FAC0E71042CECB43AE5C16770' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG5[2]: Redirecting connection' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: s_connect: connecting 127.0.0.1:46485' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:46485: waiting 10 seconds' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG5[2]: s_connect: connected 127.0.0.1:46485' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG6[2]: persistence: 127.0.0.1:46485 cached' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG5[2]: Service [server] connected remote server from 127.0.0.1:32932' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:31,468: [server] Read '2023.05.10 18:38:31 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:31,469: [client_connected_cb [127.0.0.1]:32932] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:31,469: [client_connected_cb [127.0.0.1]:32932] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:31,469: [client_connected_cb [127.0.0.1]:32932] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:31,469: [client_connected_cb [127.0.0.1]:32932] Closing down the server writer socket DEBUG: 2023-05-10 18:38:31,470: [client_connected_cb [127.0.0.1]:32932] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG6[2]: Session id: FF95CBCA8C75DFAD77C0B51A69258DA9BE612424AC7C4214FF15063667020EFF' INFO: 2023-05-10 18:38:31,470: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS state (connect): SSLv3/TLS read server session ticket' DEBUG: 2023-05-10 18:38:31,471: [test_connect [127.0.0.1]:42903 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:31,471: [test_connect [127.0.0.1]:42903 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:31,471: [server] Read '2023.05.10 18:38:31 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:31,471: [server] Read '2023.05.10 18:38:31 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:31,471: [server] Read '2023.05.10 18:38:31 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:31,471: [server] Read '2023.05.10 18:38:31 LOG6[2]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:31,471: [client] Read '2023.05.10 18:38:31 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:31,471: [client] Read '2023.05.10 18:38:31 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:31,471: [client] Read '2023.05.10 18:38:31 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:31,471: [test_connect [127.0.0.1]:42903 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:31,471: [test_connect [127.0.0.1]:42903 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:31,471: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:31,471: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:31,472: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:31,472: [cleanup_stunnels] Waiting for the 'server' PID 2012339 to exit... DEBUG: 2023-05-10 18:38:31,472: [cleanup_stunnels] Waiting for the 'client' PID 2012372 to exit... INFO: 2023-05-10 18:38:31,472: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Leak detection table utilization: 140/997, 14.04%' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:31,473: [server] Read '2023.05.10 18:38:31 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Leak detection table utilization: 160/997, 16.05%' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:31,473: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:31,474: [client] Read '2023.05.10 18:38:31 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:31,474: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:31,474: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:31,474: [client] Read '2023.05.10 18:38:31 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:31,474: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:31,476: [server] Read '2023.05.10 18:38:31 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:31,476: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:31,476: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:31,476: [server] Read '2023.05.10 18:38:31 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:31,476: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:31,487: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:31,487: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:31,487: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:31,487: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:31,487: [set_result] The test result has been set WARNING: 2023-05-10 18:38:31,487: [test_stunnel] Test succeeded WARNING: 2023-05-10 18:38:31,488: WARNING: 2023-05-10 18:38:31,488: [test_stunnel] ***** Start '183. Session resumption and no redirect (valid certificate)' ***** INFO: 2023-05-10 18:38:31,488: [start_listener] Awaiting the HTTP server started... INFO: 2023-05-10 18:38:31,488: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:31,488: [start_socket_server] Start HTTP server INFO: 2023-05-10 18:38:31,994: [start_listener] HTTP server is listening on [127.0.0.1]:35529 INFO: 2023-05-10 18:38:31,994: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:31,994: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_server.conf INFO: 2023-05-10 18:38:31,994: [start_stunnel] INFO: 2023-05-10 18:38:31,994: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_server.pid INFO: 2023-05-10 18:38:31,994: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:31,994: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:31,994: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:31,994: [start_stunnel] INFO: 2023-05-10 18:38:31,994: [start_stunnel] [server] INFO: 2023-05-10 18:38:31,994: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:31,994: [start_stunnel] connect = 127.0.0.1:35529 INFO: 2023-05-10 18:38:31,994: [start_stunnel] redirect = 127.0.0.1:0 INFO: 2023-05-10 18:38:31,994: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem INFO: 2023-05-10 18:38:31,994: [start_stunnel] verifyPeer = yes INFO: 2023-05-10 18:38:31,995: [start_stunnel] CAfile = /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem INFO: 2023-05-10 18:38:31,995: [start_stunnel] DEBUG: 2023-05-10 18:38:31,995: [run_stunnel] Launching the stunnel 'server' - got pid 2012408 DEBUG: 2023-05-10 18:38:31,995: [start_stunnel] Waiting for the stunnel 'server' to start up INFO: 2023-05-10 18:38:32,296: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:32,296: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:32,296: [server] Read '2023.05.10 18:38:32 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:32,296: [server] Read '2023.05.10 18:38:32 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:32,296: [server] Read '2023.05.10 18:38:32 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:32,296: [server] Read '2023.05.10 18:38:32 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_server.conf' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:32,297: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Initializing service [server]' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:32,298: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Client CA list: /builddir/build/BUILD/stunnel-5.62/tests/certs/PeerCerts.pem' INFO: 2023-05-10 18:38:32,299: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG6[ui]: DH initialization needed for DHE-RSA-AES256-GCM-SHA384' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG7[ui]: DH initialization' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Could not load DH parameters from /builddir/build/BUILD/stunnel-5.62/tests/certs/server_cert.pem' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Using dynamic DH parameters' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:32,300: [server] Read '2023.05.10 18:38:32 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:32,301: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:32,301: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Binding service [server]' INFO: 2023-05-10 18:38:32,301: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:32,301: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:32,301: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:32,301: [server] Read '2023.05.10 18:38:32 LOG6[ui]: Service [server] (FD=8) bound to 127.0.0.1:45703' DEBUG: 2023-05-10 18:38:32,301: [stunnel_output] Service [server] (FD=8) bound to 127.0.0.1:45703 INFO: 2023-05-10 18:38:33,004: [check_listening_port] 'server' is listening on port 45703 INFO: 2023-05-10 18:38:33,004: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:33,004: [start_stunnel] INFO: 2023-05-10 18:38:33,004: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:33,004: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:33,004: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:33,004: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:33,004: [start_stunnel] INFO: 2023-05-10 18:38:33,004: [start_stunnel] [client] INFO: 2023-05-10 18:38:33,004: [start_stunnel] client = yes INFO: 2023-05-10 18:38:33,004: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:33,004: [start_stunnel] connect = 127.0.0.1:45703 INFO: 2023-05-10 18:38:33,004: [start_stunnel] ;correct certificate INFO: 2023-05-10 18:38:33,004: [start_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:33,004: [start_stunnel] INFO: 2023-05-10 18:38:33,005: [server] Read '2023.05.10 18:38:32 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:33,005: [server] Read '2023.05.10 18:38:32 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:33,005: [server] Read '2023.05.10 18:38:32 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:33,005: [server] Read '2023.05.10 18:38:32 LOG5[cron]: Updating DH parameters' DEBUG: 2023-05-10 18:38:33,005: [run_stunnel] Launching the stunnel 'client' - got pid 2012453 DEBUG: 2023-05-10 18:38:33,005: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:33,204: [client] Read '2023.05.10 18:38:32 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:32 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:32 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:32 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Loading certificate from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Certificate loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Loading private key from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG4[ui]: Insecure file permissions on /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Private key loaded from file: /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Private key check succeeded' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:33,205: [client] Read '2023.05.10 18:38:33 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:37727' DEBUG: 2023-05-10 18:38:33,206: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:37727 INFO: 2023-05-10 18:38:33,206: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Created pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:33,207: [check_listening_port] 'client' is listening on port 37727 DEBUG: 2023-05-10 18:38:33,207: [start_connections] Testing connections... DEBUG: 2023-05-10 18:38:33,207: [start_connections] Create task plain-0 INFO: 2023-05-10 18:38:33,207: [test_connect [127.0.0.1]:37727 #0] Trying port 37727 encrypted False INFO: 2023-05-10 18:38:33,207: [establish_connection [127.0.0.1]:37727 #0] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:33,207: [test_connect [127.0.0.1]:37727 #0] Sending 'Hello 0' to the server INFO: 2023-05-10 18:38:33,208: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,208: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,208: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,208: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Service [client] accepted (FD=3) from 127.0.0.1:51310' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: Service [client] started' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG5[0]: Service [client] accepted connection from 127.0.0.1:51310' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG6[0]: s_connect: connecting 127.0.0.1:45703' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:45703: waiting 10 seconds' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: FD=9 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG5[0]: s_connect: connected 127.0.0.1:45703' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG5[0]: Service [client] connected remote server from 127.0.0.1:47810' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG6[0]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG6[0]: Peer certificate not required' INFO: 2023-05-10 18:38:33,209: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:33,210: [client] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,210: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:33,210: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,210: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,210: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,210: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:47810' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: Service [server] started' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG5[0]: Service [server] accepted connection from 127.0.0.1:47810' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG6[0]: Peer certificate required' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,228: [server] Read '2023.05.10 18:38:33 LOG7[0]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate request' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write certificate' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): TLSv1.3 write server certificate verify' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:33,229: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:33,229: [client] Read '2023.05.10 18:38:33 LOG7[cron]: Cron thread initialized' INFO: 2023-05-10 18:38:33,229: [client] Read '2023.05.10 18:38:33 LOG6[cron]: Executing cron jobs' INFO: 2023-05-10 18:38:33,229: [client] Read '2023.05.10 18:38:33 LOG6[cron]: Cron jobs completed in 0 seconds' INFO: 2023-05-10 18:38:33,229: [client] Read '2023.05.10 18:38:33 LOG7[cron]: Waiting 86400 seconds' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG6[0]: Client CA: C=PL, O=Stunnel Developers, OU=server, CN=server, emailAddress=server@example.com' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate request' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG6[0]: Certificate verification disabled' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS read server certificate' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): TLSv1.3 read server certificate verify' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:33,238: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS write client certificate' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS write certificate verify' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: 1 client connect(s) requested' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: 1 client connect(s) succeeded' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG6[0]: TLS connected: new session negotiated' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:33,241: [client] Read '2023.05.10 18:38:33 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:33,250: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: Pre-verification error ignored: unable to get local issuer certificate' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: Pre-verification error ignored: unable to verify the first certificate' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: Verification started at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: CERT: Pre-verification succeeded' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: No subject checks configured' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG6[0]: CERT: Locally installed certificate matched' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG5[0]: Certificate accepted at depth=0: C=PL, O=Stunnel Developers, OU=client, CN=client, emailAddress=client@example.com' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS read client certificate' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS read certificate verify' INFO: 2023-05-10 18:38:33,254: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 1 server accept(s) requested' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 1 server accept(s) succeeded' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 session reuse(s)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 internal session cache item(s)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG6[0]: Session id: 5986BFC835A58F659EAFD6C4BFECFE049F726C776CAECF05DEC10B9D97DC79DA' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Generate session ticket callback' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG6[0]: Session id: C7C59EA92688335ACF14FCDED2AE045424400B275DC99A20839A269FFDA7D929' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG6[0]: TLS accepted: new session negotiated' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG6[0]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG6[0]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG6[0]: s_connect: connecting 127.0.0.1:35529' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: s_connect: s_poll_wait 127.0.0.1:35529: waiting 10 seconds' INFO: 2023-05-10 18:38:33,255: [server] Read '2023.05.10 18:38:33 LOG7[0]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG7[0]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG5[0]: s_connect: connected 127.0.0.1:35529' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG6[0]: persistence: 127.0.0.1:35529 cached' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG5[0]: Service [server] connected remote server from 127.0.0.1:40600' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG7[0]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG7[0]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:33,256: [server] Read '2023.05.10 18:38:33 LOG7[0]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:33,257: [client_connected_cb [127.0.0.1]:40600] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:33,257: [client_connected_cb [127.0.0.1]:40600] The client #0 sent data to the server: b'Hello 0\n' INFO: 2023-05-10 18:38:33,257: [client_connected_cb [127.0.0.1]:40600] The server sent data to the client #0: b'There!\n' DEBUG: 2023-05-10 18:38:33,257: [client_connected_cb [127.0.0.1]:40600] Closing down the server writer socket DEBUG: 2023-05-10 18:38:33,257: [client_connected_cb [127.0.0.1]:40600] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:33,262: [test_connect [127.0.0.1]:37727 #0] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:33,262: [test_connect [127.0.0.1]:37727 #0] Closing down the client writer socket INFO: 2023-05-10 18:38:33,262: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,262: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,262: [client] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,262: [client] Read '2023.05.10 18:38:33 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: Peer certificate was cached (1318 bytes)' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG6[0]: Session id: F22D99BF3181D11399A31A55695506A44A534B1BA2A8DDB1AA213BF3C4BF75C8' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: New session callback' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG6[0]: Session id: 6F5A3173F2F4BDAA68CCBECC7D2C6EE80F34A20BA28F3B50DC50A7FB303F031A' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:33,263: [client] Read '2023.05.10 18:38:33 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:33,263: [server] Read '2023.05.10 18:38:33 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:33,263: [server] Read '2023.05.10 18:38:33 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:33,264: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:33,264: [server] Read '2023.05.10 18:38:33 LOG6[0]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:33,264: [test_connect [127.0.0.1]:37727 #0] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:33,264: [test_connect [127.0.0.1]:37727 #0] Test connection #0 has been completed DEBUG: 2023-05-10 18:38:33,264: [start_connections] Create task plain-1 INFO: 2023-05-10 18:38:33,264: [test_connect [127.0.0.1]:37727 #1] Trying port 37727 encrypted False INFO: 2023-05-10 18:38:33,264: [establish_connection [127.0.0.1]:37727 #1] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:33,264: [remove_connection] Done with task 'plain-0' DEBUG: 2023-05-10 18:38:33,264: [test_connect [127.0.0.1]:37727 #1] Sending 'Hello 1' to the server INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Service [client] accepted (FD=10) from 127.0.0.1:51314' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG6[0]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[0]: Sending close_notify alert' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[0]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG6[0]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG5[0]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:33,265: [client] Read '2023.05.10 18:38:33 LOG7[0]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG7[0]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG6[0]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG7[0]: Sent socket write shutdown' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG5[0]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG7[0]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG7[0]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:33,274: [server] Read '2023.05.10 18:38:33 LOG7[0]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:33,277: [client] Read '2023.05.10 18:38:33 LOG7[1]: Service [client] started' INFO: 2023-05-10 18:38:33,277: [client] Read '2023.05.10 18:38:33 LOG7[1]: Setting local socket options (FD=10)' INFO: 2023-05-10 18:38:33,277: [client] Read '2023.05.10 18:38:33 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:33,277: [client] Read '2023.05.10 18:38:33 LOG5[1]: Service [client] accepted connection from 127.0.0.1:51314' INFO: 2023-05-10 18:38:33,277: [client] Read '2023.05.10 18:38:33 LOG6[1]: s_connect: connecting 127.0.0.1:45703' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:45703: waiting 10 seconds' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG5[1]: s_connect: connected 127.0.0.1:45703' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG5[1]: Service [client] connected remote server from 127.0.0.1:47826' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG6[1]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG6[1]: Peer certificate not required' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:33,278: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:33,284: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,284: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,284: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,284: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:47826' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: Service [server] started' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG5[1]: Service [server] accepted connection from 127.0.0.1:47826' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG6[1]: Peer certificate required' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG6[1]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:33,305: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:33,306: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:33,306: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:33,306: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:33,306: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:33,306: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:33,307: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:33,307: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:33,307: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:33,307: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:33,307: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: Remove session callback' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: 2 client connect(s) requested' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: 2 client connect(s) succeeded' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG6[1]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:33,308: [client] Read '2023.05.10 18:38:33 LOG6[1]: Session id: 6F5A3173F2F4BDAA68CCBECC7D2C6EE80F34A20BA28F3B50DC50A7FB303F031A' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: 2 server accept(s) requested' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: 2 server accept(s) succeeded' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: 1 session reuse(s)' INFO: 2023-05-10 18:38:33,308: [server] Read '2023.05.10 18:38:33 LOG7[1]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: Generate session ticket callback' INFO: 2023-05-10 18:38:33,309: [server] Read '2023.05.10 18:38:33 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: Session id: 825E078D11040853C338AABBD8BF2FF18FF0B5495E0E8F79B721C8874E975CA4' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: Session id: 825E078D11040853C338AABBD8BF2FF18FF0B5495E0E8F79B721C8874E975CA4' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: s_connect: connecting 127.0.0.1:35529' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: s_connect: s_poll_wait 127.0.0.1:35529: waiting 10 seconds' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG5[1]: s_connect: connected 127.0.0.1:35529' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG6[1]: persistence: 127.0.0.1:35529 cached' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG5[1]: Service [server] connected remote server from 127.0.0.1:40614' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:33,310: [server] Read '2023.05.10 18:38:33 LOG7[1]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG7[1]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG7[1]: New session callback' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG6[1]: Session id: F98C86954C5DFE738E53800791D2E4473A6929525E1B59BE15209929C7AE3E39' INFO: 2023-05-10 18:38:33,311: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:33,311: [client_connected_cb [127.0.0.1]:40614] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:33,311: [client_connected_cb [127.0.0.1]:40614] The client #1 sent data to the server: b'Hello 1\n' INFO: 2023-05-10 18:38:33,311: [client_connected_cb [127.0.0.1]:40614] The server sent data to the client #1: b'There!\n' DEBUG: 2023-05-10 18:38:33,311: [client_connected_cb [127.0.0.1]:40614] Closing down the server writer socket DEBUG: 2023-05-10 18:38:33,311: [client_connected_cb [127.0.0.1]:40614] The 'listener' task closed a connection to the client DEBUG: 2023-05-10 18:38:33,312: [test_connect [127.0.0.1]:37727 #1] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:33,312: [test_connect [127.0.0.1]:37727 #1] Closing down the client writer socket INFO: 2023-05-10 18:38:33,312: [server] Read '2023.05.10 18:38:33 LOG6[1]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:33,312: [server] Read '2023.05.10 18:38:33 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:33,312: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:33,312: [server] Read '2023.05.10 18:38:33 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:33,312: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:33,312: [client] Read '2023.05.10 18:38:33 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:33,312: [client] Read '2023.05.10 18:38:33 LOG7[1]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:33,312: [test_connect [127.0.0.1]:37727 #1] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:33,312: [test_connect [127.0.0.1]:37727 #1] Test connection #1 has been completed DEBUG: 2023-05-10 18:38:33,313: [start_connections] Create task plain-2 INFO: 2023-05-10 18:38:33,313: [test_connect [127.0.0.1]:37727 #2] Trying port 37727 encrypted False INFO: 2023-05-10 18:38:33,313: [establish_connection [127.0.0.1]:37727 #2] Opening an unencrypted connection DEBUG: 2023-05-10 18:38:33,313: [remove_connection] Done with task 'plain-1' DEBUG: 2023-05-10 18:38:33,313: [test_connect [127.0.0.1]:37727 #2] Sending 'Hello 2' to the server INFO: 2023-05-10 18:38:33,314: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,314: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Service [client] accepted (FD=9) from 127.0.0.1:51322' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG6[1]: Read socket closed (readsocket)' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[1]: Sending close_notify alert' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[1]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG6[1]: SSL_shutdown successfully sent close_notify alert' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG5[1]: Connection closed: 8 byte(s) sent to TLS, 7 byte(s) sent to socket' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[1]: Remote descriptor (FD=3) closed' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[1]: Local descriptor (FD=10) closed' INFO: 2023-05-10 18:38:33,315: [client] Read '2023.05.10 18:38:33 LOG7[1]: Service [client] finished (0 left)' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG7[1]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG6[1]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG7[1]: Sent socket write shutdown' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG5[1]: Connection closed: 7 byte(s) sent to TLS, 8 byte(s) sent to socket' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG7[1]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG7[1]: Remote descriptor (FD=9) closed' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG7[1]: Local descriptor (FD=3) closed' INFO: 2023-05-10 18:38:33,315: [server] Read '2023.05.10 18:38:33 LOG7[1]: Service [server] finished (0 left)' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: Service [client] started' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: Setting local socket options (FD=9)' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG5[2]: Service [client] accepted connection from 127.0.0.1:51322' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG6[2]: s_connect: connecting 127.0.0.1:45703' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:45703: waiting 10 seconds' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: FD=3 events=0x2005 revents=0x0' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG5[2]: s_connect: connected 127.0.0.1:45703' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG5[2]: Service [client] connected remote server from 127.0.0.1:47838' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: Setting remote socket options (FD=3)' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: Remote descriptor (FD=3) initialized' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG6[2]: SNI: sending servername: 127.0.0.1' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG6[2]: Peer certificate not required' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): before SSL initialization' INFO: 2023-05-10 18:38:33,335: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:33,335: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,335: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,335: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,335: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Service [server] accepted (FD=3) from 127.0.0.1:47838' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG7[2]: Service [server] started' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG7[2]: Setting local socket options (FD=3)' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG7[2]: Option TCP_NODELAY set on local socket' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG5[2]: Service [server] accepted connection from 127.0.0.1:47838' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG6[2]: Peer certificate required' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:33,345: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): before SSL initialization' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: Decrypt session ticket callback' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG6[2]: Decrypted ticket for an authenticated session: yes' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: SNI: no virtual services defined' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): SSLv3/TLS read client hello' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): SSLv3/TLS write server hello' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): TLSv1.3 write encrypted extensions' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:33,346: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS write client hello' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS read server hello' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): TLSv1.3 read encrypted extensions' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS write change cipher spec' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS write finished' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: Remove session callback' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: 3 client connect(s) requested' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: 3 client connect(s) succeeded' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: 0 client renegotiation(s) requested' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG6[2]: TLS connected: previous session reused' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:33,350: [client] Read '2023.05.10 18:38:33 LOG6[2]: Session id: F98C86954C5DFE738E53800791D2E4473A6929525E1B59BE15209929C7AE3E39' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): TLSv1.3 early data' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): SSLv3/TLS read finished' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 3 server accept(s) requested' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 3 server accept(s) succeeded' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 0 server renegotiation(s) requested' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 2 session reuse(s)' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 1 internal session cache item(s)' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 0 internal session cache fill-up(s)' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 0 internal session cache miss(es)' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 0 external session cache hit(s)' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: 0 expired session(s) retrieved' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: Generate session ticket callback' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG6[2]: Session id: D6B2293ED82CE2CEE9357287A60AA0CFF4A75355D19DFE9F1DFBC7B93A78A9EC' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (accept): SSLv3/TLS write session ticket' INFO: 2023-05-10 18:38:33,362: [server] Read '2023.05.10 18:38:33 LOG6[2]: TLS accepted: previous session reused' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG6[2]: TLSv1.3 ciphersuite: TLS_AES_256_GCM_SHA384 (256-bit encryption)' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG6[2]: Peer temporary key: X25519, 253 bits' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: Compression: null, expansion: null' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG6[2]: Session id: D6B2293ED82CE2CEE9357287A60AA0CFF4A75355D19DFE9F1DFBC7B93A78A9EC' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG6[2]: s_connect: connecting 127.0.0.1:35529' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: s_connect: s_poll_wait 127.0.0.1:35529: waiting 10 seconds' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: FD=6 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: FD=9 events=0x2005 revents=0x1' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG5[2]: s_connect: connected 127.0.0.1:35529' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG6[2]: persistence: 127.0.0.1:35529 cached' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG5[2]: Service [server] connected remote server from 127.0.0.1:40620' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: Setting remote socket options (FD=9)' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: Option TCP_NODELAY set on remote socket' INFO: 2023-05-10 18:38:33,363: [server] Read '2023.05.10 18:38:33 LOG7[2]: Remote descriptor (FD=9) initialized' INFO: 2023-05-10 18:38:33,364: [client_connected_cb [127.0.0.1]:40620] The 'listener' task accepted a connection from a client INFO: 2023-05-10 18:38:33,364: [client_connected_cb [127.0.0.1]:40620] The client #2 sent data to the server: b'Hello 2\n' INFO: 2023-05-10 18:38:33,364: [client_connected_cb [127.0.0.1]:40620] The server sent data to the client #2: b'There!\n' DEBUG: 2023-05-10 18:38:33,364: [client_connected_cb [127.0.0.1]:40620] Closing down the server writer socket DEBUG: 2023-05-10 18:38:33,364: [client_connected_cb [127.0.0.1]:40620] The 'listener' task closed a connection to the client INFO: 2023-05-10 18:38:33,369: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,370: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSL negotiation finished successfully' INFO: 2023-05-10 18:38:33,370: [client] Read '2023.05.10 18:38:33 LOG7[2]: Initializing application specific data for session authenticated' INFO: 2023-05-10 18:38:33,370: [client] Read '2023.05.10 18:38:33 LOG7[2]: New session callback' INFO: 2023-05-10 18:38:33,370: [client] Read '2023.05.10 18:38:33 LOG7[2]: Deallocating application specific data for session connect address' INFO: 2023-05-10 18:38:33,370: [client] Read '2023.05.10 18:38:33 LOG6[2]: Session id: F87DCAECB945034A587C33F1488889BF0245F63980260E1B4B830E2BA0FA47EE' INFO: 2023-05-10 18:38:33,370: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS state (connect): SSLv3/TLS read server session ticket' INFO: 2023-05-10 18:38:33,373: [server] Read '2023.05.10 18:38:33 LOG6[2]: Read socket closed (read hangup)' INFO: 2023-05-10 18:38:33,373: [server] Read '2023.05.10 18:38:33 LOG7[2]: Sending close_notify alert' INFO: 2023-05-10 18:38:33,373: [server] Read '2023.05.10 18:38:33 LOG7[2]: TLS alert (write): warning: close notify' INFO: 2023-05-10 18:38:33,373: [server] Read '2023.05.10 18:38:33 LOG6[2]: SSL_shutdown successfully sent close_notify alert' DEBUG: 2023-05-10 18:38:33,381: [test_connect [127.0.0.1]:37727 #2] Client received 'b'There!\n'' from the server DEBUG: 2023-05-10 18:38:33,381: [test_connect [127.0.0.1]:37727 #2] Closing down the client writer socket INFO: 2023-05-10 18:38:33,381: [client] Read '2023.05.10 18:38:33 LOG7[2]: TLS alert (read): warning: close notify' INFO: 2023-05-10 18:38:33,381: [client] Read '2023.05.10 18:38:33 LOG6[2]: TLS closed (SSL_read)' INFO: 2023-05-10 18:38:33,381: [client] Read '2023.05.10 18:38:33 LOG7[2]: Sent socket write shutdown' DEBUG: 2023-05-10 18:38:33,381: [test_connect [127.0.0.1]:37727 #2] Waiting for an EOF on the client reader socket INFO: 2023-05-10 18:38:33,381: [test_connect [127.0.0.1]:37727 #2] Test connection #2 has been completed DEBUG: 2023-05-10 18:38:33,381: [remove_connection] Done with task 'plain-2' DEBUG: 2023-05-10 18:38:33,381: [remove_connection] Testing connections done DEBUG: 2023-05-10 18:38:33,382: [cleanup_stunnels] About to kill and wait for 2 stunnel process(es) DEBUG: 2023-05-10 18:38:33,382: [cleanup_stunnels] Waiting for the 'server' PID 2012408 to exit... DEBUG: 2023-05-10 18:38:33,382: [cleanup_stunnels] Waiting for the 'client' PID 2012453 to exit... INFO: 2023-05-10 18:38:33,382: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,382: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Leak detection table utilization: 172/997, 17.25%' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_server.pid' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Terminating a thread for [server]' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:33,383: [server] Read '2023.05.10 18:38:33 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Found 1 ready file descriptor(s)' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=4 events=0x2001 revents=0x1' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: FD=8 events=0x2001 revents=0x0' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Dispatching a signal from the signal pipe' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Processing SIGNAL_TERMINATE' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Terminated' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Leak detection table utilization: 162/997, 16.25%' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Removed pid file /tmp/stunnel_tests.2s30r142/stunnel_client.pid' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Terminating a thread for [client]' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Terminating the cron thread' INFO: 2023-05-10 18:38:33,383: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Terminating 2 service thread(s)' INFO: 2023-05-10 18:38:33,393: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:33,393: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Unbinding service [client]' INFO: 2023-05-10 18:38:33,393: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Service [client] closed (FD=8)' INFO: 2023-05-10 18:38:33,393: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Service [client] closed' INFO: 2023-05-10 18:38:33,393: [stunnel_output] Done with task 'client output' INFO: 2023-05-10 18:38:33,396: [server] Read '2023.05.10 18:38:33 LOG6[ui]: Service threads terminated' INFO: 2023-05-10 18:38:33,396: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Unbinding service [server]' INFO: 2023-05-10 18:38:33,396: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Service [server] closed (FD=8)' INFO: 2023-05-10 18:38:33,396: [server] Read '2023.05.10 18:38:33 LOG7[ui]: Service [server] closed' INFO: 2023-05-10 18:38:33,397: [stunnel_output] Done with task 'server output' INFO: 2023-05-10 18:38:33,399: [cleanup_stunnels] Got stunnel processes' exit status: [0, 0] DEBUG: 2023-05-10 18:38:33,400: [cleanup_tasks] Waiting for the 'listener' task to hopefully finish DEBUG: 2023-05-10 18:38:33,400: [cleanup_tasks] Done with the 'listener' task DEBUG: 2023-05-10 18:38:33,400: [cleanup_tasks] Done with all tasks DEBUG: 2023-05-10 18:38:33,400: [set_result] The test result has been set WARNING: 2023-05-10 18:38:33,400: [test_stunnel] Test succeeded INFO: 2023-05-10 18:38:33,402: INFO: 2023-05-10 18:38:33,403: [plugins] >>>>> Applying 'Reload configuration' <<<<< WARNING: 2023-05-10 18:38:33,403: WARNING: 2023-05-10 18:38:33,403: [test_stunnel] ***** Start '191. Reload configuration' ***** INFO: 2023-05-10 18:38:33,403: [start_listener] Awaiting the HTTPS server started... INFO: 2023-05-10 18:38:33,403: [start_socket_server] Server starts on a first available port INFO: 2023-05-10 18:38:33,403: [start_socket_server] Creating a SSL context INFO: 2023-05-10 18:38:33,403: [start_socket_server] Load server certificate INFO: 2023-05-10 18:38:33,403: [start_socket_server] Set verify mode: cert required INFO: 2023-05-10 18:38:33,403: [start_socket_server] Load Certificate Authority file INFO: 2023-05-10 18:38:33,403: [start_socket_server] Start HTTPS server INFO: 2023-05-10 18:38:33,429: [start_listener] HTTPS server is listening on [127.0.0.1]:38297 INFO: 2023-05-10 18:38:33,429: [start_listener] Awaiting client connections... INFO: 2023-05-10 18:38:33,429: [start_stunnel] Using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:33,429: [start_stunnel] INFO: 2023-05-10 18:38:33,429: [start_stunnel] ;client doesn't present any certificate INFO: 2023-05-10 18:38:33,429: [start_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:33,429: [start_stunnel] foreground = yes INFO: 2023-05-10 18:38:33,429: [start_stunnel] debug = debug INFO: 2023-05-10 18:38:33,429: [start_stunnel] syslog = no INFO: 2023-05-10 18:38:33,429: [start_stunnel] INFO: 2023-05-10 18:38:33,429: [start_stunnel] [client] INFO: 2023-05-10 18:38:33,429: [start_stunnel] client = yes INFO: 2023-05-10 18:38:33,429: [start_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:33,429: [start_stunnel] connect = 127.0.0.1:38297 INFO: 2023-05-10 18:38:33,429: [start_stunnel] DEBUG: 2023-05-10 18:38:33,430: [run_stunnel] Launching the stunnel 'client' - got pid 2012484 DEBUG: 2023-05-10 18:38:33,430: [start_stunnel] Waiting for the stunnel 'client' to start up INFO: 2023-05-10 18:38:33,668: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:33,668: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Clients allowed=500' INFO: 2023-05-10 18:38:33,668: [client] Read '2023.05.10 18:38:33 LOG5[ui]: stunnel 5.62 on i686-redhat-linux-gnu platform' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Compiled/running with OpenSSL 3.0.7 1 Nov 2022' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG7[ui]: errno: (*__errno_location ())' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Initializing inetd mode configuration' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Reading configuration from file /tmp/stunnel_tests.2s30r142/stunnel_client.conf' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG5[ui]: UTF-8 byte order mark not detected' INFO: 2023-05-10 18:38:33,669: [client] Read '2023.05.10 18:38:33 LOG5[ui]: FIPS mode disabled' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Compression enabled: 0 methods' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG7[ui]: No PRNG seeding was required' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Initializing service [client]' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly.' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Using the default TLS version as specified in OpenSSL crypto policies. Not setting explicitly' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG6[ui]: OpenSSL security level is used: 2' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Ciphers: PROFILE=SYSTEM' INFO: 2023-05-10 18:38:33,670: [client] Read '2023.05.10 18:38:33 LOG7[ui]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG7[ui]: TLS options: 0x2100000 (+0x0, -0x0)' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Session resumption enabled' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG7[ui]: No certificate or private key specified' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG4[ui]: Service [client] needs authentication to prevent MITM attacks' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG6[ui]: DH initialization skipped: client section' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG7[ui]: ECDH initialization' INFO: 2023-05-10 18:38:33,671: [client] Read '2023.05.10 18:38:33 LOG7[ui]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG5[ui]: Configuration successful' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Deallocating deployed section defaults' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Binding service [client]' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Listening file descriptor created (FD=8)' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Setting accept socket options (FD=8)' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG7[ui]: Option SO_REUSEADDR set on accept socket' INFO: 2023-05-10 18:38:33,672: [client] Read '2023.05.10 18:38:33 LOG6[ui]: Service [client] (FD=8) bound to 127.0.0.1:35663' DEBUG: 2023-05-10 18:38:33,672: [stunnel_output] Service [client] (FD=8) bound to 127.0.0.1:35663 INFO: 2023-05-10 18:38:33,673: [check_listening_port] 'client' is listening on port 35663 INFO: 2023-05-10 18:38:33,673: [reload_stunnel] Reload using config file /tmp/stunnel_tests.2s30r142/stunnel_client.conf INFO: 2023-05-10 18:38:33,673: [reload_stunnel] INFO: 2023-05-10 18:38:33,673: [reload_stunnel] ;client presents a certificate INFO: 2023-05-10 18:38:33,673: [reload_stunnel] pid = /tmp/stunnel_tests.2s30r142/stunnel_client.pid INFO: 2023-05-10 18:38:33,673: [reload_stunnel] foreground = yes INFO: 2023-05-10 18:38:33,673: [reload_stunnel] debug = debug INFO: 2023-05-10 18:38:33,673: [reload_stunnel] syslog = no INFO: 2023-05-10 18:38:33,673: [reload_stunnel] INFO: 2023-05-10 18:38:33,673: [reload_stunnel] [client] INFO: 2023-05-10 18:38:33,673: [reload_stunnel] client = yes INFO: 2023-05-10 18:38:33,673: [reload_stunnel] accept = 127.0.0.1:0 INFO: 2023-05-10 18:38:33,673: [reload_stunnel] connect = 127.0.0.1:38297 INFO: 2023-05-10 18:38:33,673: [reload_stunnel] cert = /builddir/build/BUILD/stunnel-5.62/tests/certs/client_cert.pem INFO: 2023-05-10 18:38:33,673: [reload_stunnel] DEBUG: 2023-05-10 18:38:33,673: [reload_stunnel] Reload stunnel 'client' PID 2012484 DEBUG: 2023-05-10 18:38:33,673: [reload_stunnel] Waiting for the stunnel to start up INFO: 2023-05-10 18:38:33,674: [stunnel_output] Done with task 'client output' tests/logs/summary.log: Initializing inetd mode configuration stunnel 5.62 on i686-redhat-linux-gnu platform Compiled/running with OpenSSL 3.0.7 1 Nov 2022 Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI Global options: fips = no RNDbytes = 1024 RNDfile = /dev/urandom RNDoverwrite = yes Service-level options: ciphers = FIPS (with "fips = yes") ciphers = PROFILE=SYSTEM (with "fips = no") ciphersuites = TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256 (with TLSv1.3) curves = P-256:P-521:P-384 (with "fips = yes") curves = X25519:P-256:X448:P-521:P-384 (with "fips = no") debug = daemon.notice logId = sequential options = NO_SSLv2 options = NO_SSLv3 securityLevel = 2 sessionCacheSize = 1000 sessionCacheTimeout = 300 seconds stack = 65536 bytes TIMEOUTbusy = 300 seconds TIMEOUTclose = 60 seconds TIMEOUTconnect = 10 seconds TIMEOUTidle = 43200 seconds verify = none 011. Test "cert" option .......................................................................succeeded 012. Test no "cert" option .......................................................................succeeded 021. Test "requireCert" option .......................................................................succeeded 022. Failure test "requireCert" option .......................................................................succeeded 031. Test "verifyPeer" option .......................................................................succeeded 032. Failure test "verifyPeer" option .......................................................................succeeded 041. Test "verifyChain" option .......................................................................succeeded 042. Failure test "verifyChain" option .......................................................................succeeded 051. CRL file with valid certificate .......................................................................succeeded 052. CRL file with revoked certificate .......................................................................succeeded 061. Test "PSKsecrets" option .......................................................................succeeded 062. Failure test "PSKsecrets" option .......................................................................succeeded 071. Test PKCS#12 certificate .......................................................................succeeded 081. Test IPv6 support .......................................................................succeeded 091. Binding server .......................................................................succeeded 101. Test FIPS mode .......................................................................succeeded 111. Failure FIPS mode with unavailable cipher .......................................................................succeeded 112. Failure FIPS mode with unavailable ciphersuite .......................................................................succeeded 113. Failure FIPS mode with unavailable elliptic curve .......................................................................succeeded 121. Test "sni" option .......................................................................succeeded 122. Failure test "sni" option .......................................................................succeeded 131. Resume session with PSK authentication .......................................................................succeeded 132. Cache session resumption with TLSv1.2 .......................................................................succeeded 133. Test enabled "sessionResume" option .......................................................................succeeded 134. Test disabled "sessionResume" option .......................................................................succeeded 141. Stateless session ticket resumption with TLSv1.2 .......................................................................succeeded 142. Stateless session ticket resumption with TLSv1.3 .......................................................................succeeded 151. Session resumption with secret keys .......................................................................succeeded 161. Redirect connection (wrong peer certificate) .......................................................................succeeded 162. Redirect connection (no peer certificate) .......................................................................succeeded 163. Not redirected connection (valid peer certificate) .......................................................................succeeded 164. Redirect connection (wrong chain) .......................................................................succeeded 165. Redirect connection (no chain) .......................................................................succeeded 166. Not redirected connection (valid chain) .......................................................................succeeded 171. Redirect proxy connection (wrong peer certificate) .......................................................................succeeded 172. Redirect proxy connection (no peer certificate) .......................................................................succeeded 173. Not redirected proxy connection (valid peer certificate) .......................................................................succeeded 181. Session resumption and redirect (wrong certificate) .......................................................................succeeded 182. Session resumption and redirect (no certificate) .......................................................................succeeded 183. Session resumption and no redirect (valid certificate) .......................................................................succeeded 191. Reload configuration RPM build errors: + for i in tests/logs/*.log + echo tests/logs/summary.log: + cat tests/logs/summary.log + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.ryyTnP (%check) Bad exit status from /var/tmp/rpm-tmp.ryyTnP (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stunnel.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/stunnel.spec