Diff of the two buildlogs: -- --- b1/build.log 2025-01-17 01:35:18.604491174 +0000 +++ b2/build.log 2025-01-17 01:41:12.828498858 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 18 19:52:29 -12 2026 -I: pbuilder-time-stamp: 1771487549 +I: Current time: Fri Jan 17 15:35:21 +14 2025 +I: pbuilder-time-stamp: 1737077721 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,54 +30,86 @@ dpkg-source: info: applying avoid_blocking_on_data I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/107947/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 17 01:35 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7ff130e241c54a44b757a38507848348' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='107947' - PS1='# ' - PS2='> ' + INVOCATION_ID=6c272c4c94964ae7a699be3377b387d5 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=54097 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.X5W9ua58/pbuilderrc_moRp --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.X5W9ua58/b1 --logfile b1/build.log sslh_2.1.4-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.X5W9ua58/pbuilderrc_9kgz --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.X5W9ua58/b2 --logfile b2/build.log sslh_2.1.4-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/107947/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -259,7 +291,7 @@ Get: 116 http://deb.debian.org/debian trixie/main i386 libwrap0 i386 7.6.q-35 [56.2 kB] Get: 117 http://deb.debian.org/debian trixie/main i386 libwrap0-dev i386 7.6.q-35 [23.5 kB] Get: 118 http://deb.debian.org/debian trixie/main i386 psmisc i386 23.7-1 [267 kB] -Fetched 37.1 MB in 1s (72.7 MB/s) +Fetched 37.1 MB in 1s (61.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19839 files and directories currently installed.) @@ -660,8 +692,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Feb 19 07:52:57 UTC 2026. -Universal Time is now: Thu Feb 19 07:52:57 UTC 2026. +Local time is now: Fri Jan 17 01:36:01 UTC 2025. +Universal Time is now: Fri Jan 17 01:36:01 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -765,7 +797,11 @@ fakeroot is already the newest version (1.36.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/sslh-2.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../sslh_2.1.4-1_source.changes +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sslh-2.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sslh_2.1.4-1_source.changes dpkg-buildpackage: info: source package sslh dpkg-buildpackage: info: source version 2.1.4-1 dpkg-buildpackage: info: source distribution unstable @@ -806,12 +842,11 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/sslh-2.1.4' dh_auto_build -- USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 - make -j22 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 + make -j10 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 make[2]: Entering directory '/build/reproducible-path/sslh-2.1.4' ./genver.sh >version.h pod2man --section=8 --release=2.1.4-1 --center=" " sslh.pod | gzip -9 - > sslh.8.gz cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o echosrv.o echosrv.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c echosrv-conf.c -o echosrv-conf.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o systemd-sslh-generator.o systemd-sslh-generator.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-ev.o sslh-ev.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-fork.o sslh-fork.c @@ -819,107 +854,7 @@ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c -o common.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c log.c -o log.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-main.o sslh-main.c -echosrv-conf.c: In function 'regcompmatch_pcre2': -echosrv-conf.c:1015:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 1015 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", - | ~~^ - | | - | long int - | %d - 1016 | arg->regex, error, err_str, error_offset); - | ~~~~~~~~~~~~ - | | - | size_t {aka unsigned int} -echosrv-conf.c: In function 'myconfig_setting_lookup_stringcpy': -echosrv-conf.c:229:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | asprintf(value, "%s", str); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'c2s_parse_file': -echosrv-conf.c:1114:12: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1114 | asprintf(errmsg, "%s:%d:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1115 | filename, - | ~~~~~~~~~ - 1116 | config_error_line(c), - | ~~~~~~~~~~~~~~~~~~~~~ - 1117 | config_error_text(c)); - | ~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c probe.c -o probe.o -echosrv-conf.c:1120:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1120 | asprintf(errmsg, "%s:%s", filename, config_error_text(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'read_block': -echosrv-conf.c:825:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 825 | asprintf(errmsg, "Mandatory option \"%s\" not found", desc->name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'read_block_setval': -echosrv-conf.c:768:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 768 | asprintf(errmsg, "Option \"%s\" wrong type, expected %s\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 769 | desc->name, type2str[desc->type]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'settingcpy': -echosrv-conf.c:313:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 313 | asprintf(&str, "%s", config_setting_get_string(setting)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'clcpy': -echosrv-conf.c:356:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 356 | asprintf(&str, "%s", (*(struct arg_str**)cl_arg)->sval[0]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'regcompmatch_pcre2': -echosrv-conf.c:1015:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1015 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1016 | arg->regex, error, err_str, error_offset); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1025:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1025 | asprintf(errmsg, "matching %s =~ /%s/:%d: %s\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1026 | arg_cl->sval[arg_index], arg->regex, res, err_str); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'cfg_as_string': -echosrv-conf.c:1175:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1175 | asprintf(&subpath, "%s[%d]%s", path, config_setting_index(child), name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1177:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1177 | asprintf(&subpath, "%s/%s", path, name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1185:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1185 | asprintf(&old, "%s", *strp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1188:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1188 | asprintf(&old, "%s", ""); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1190:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1190 | asprintf(strp, "%s%s:%s", old, subpath, value); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c: In function 'scalar_to_string': -echosrv-conf.c:1131:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1131 | asprintf(strp, "%d\n", config_setting_get_int(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1135:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1135 | asprintf(strp, "%s\n", config_setting_get_bool(s) ? "[true]" : "[false]" ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1139:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1139 | asprintf(strp, "%lld\n", config_setting_get_int64(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1143:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1143 | asprintf(strp, "%lf\n", config_setting_get_float(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echosrv-conf.c:1147:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1147 | asprintf(strp, "%s\n", config_setting_get_string(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tls.c -o tls.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c argtable3.c -o argtable3.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c collection.c -o collection.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c gap.c -o gap.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tcp-probe.c -o tcp-probe.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o landlock.o landlock.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c processes.c -o processes.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c udp-listener.c -o udp-listener.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-select.o sslh-select.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c hash.c -o hash.o -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tcp-listener.c -o tcp-listener.o common.c: In function 'check_access_rights': common.c:703:20: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 703 | if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { @@ -928,6 +863,7 @@ /usr/include/tcpd.h:131:28: note: expected 'char *' but argument is of type 'const char *' 131 | extern int hosts_ctl(char *daemon, char *client_name, char *client_addr, | ~~~~~~^~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tls.c -o tls.o sslh-conf.c: In function 'regcompmatch_pcre2': sslh-conf.c:1993:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1993 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", @@ -939,6 +875,7 @@ | ~~~~~~~~~~~~ | | | size_t {aka unsigned int} +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c argtable3.c -o argtable3.o sslh-conf.c: In function 'myconfig_setting_lookup_stringcpy': sslh-conf.c:229:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | asprintf(value, "%s", str); @@ -1017,7 +954,106 @@ sslh-conf.c:2125:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 2125 | asprintf(strp, "%s\n", config_setting_get_string(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c collection.c -o collection.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c gap.c -o gap.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tcp-probe.c -o tcp-probe.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o landlock.o landlock.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c processes.c -o processes.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c udp-listener.c -o udp-listener.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-select.o sslh-select.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c hash.c -o hash.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tcp-listener.c -o tcp-listener.o +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c echosrv-conf.c -o echosrv-conf.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wl,-z,relro -Wl,-z,now -o systemd-sslh-generator systemd-sslh-generator.o -lconfig +echosrv-conf.c: In function 'regcompmatch_pcre2': +echosrv-conf.c:1015:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 1015 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", + | ~~^ + | | + | long int + | %d + 1016 | arg->regex, error, err_str, error_offset); + | ~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} +echosrv-conf.c: In function 'myconfig_setting_lookup_stringcpy': +echosrv-conf.c:229:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | asprintf(value, "%s", str); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'c2s_parse_file': +echosrv-conf.c:1114:12: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1114 | asprintf(errmsg, "%s:%d:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1115 | filename, + | ~~~~~~~~~ + 1116 | config_error_line(c), + | ~~~~~~~~~~~~~~~~~~~~~ + 1117 | config_error_text(c)); + | ~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1120:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1120 | asprintf(errmsg, "%s:%s", filename, config_error_text(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'read_block': +echosrv-conf.c:825:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 825 | asprintf(errmsg, "Mandatory option \"%s\" not found", desc->name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'read_block_setval': +echosrv-conf.c:768:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 768 | asprintf(errmsg, "Option \"%s\" wrong type, expected %s\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 769 | desc->name, type2str[desc->type]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'settingcpy': +echosrv-conf.c:313:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 313 | asprintf(&str, "%s", config_setting_get_string(setting)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'clcpy': +echosrv-conf.c:356:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 356 | asprintf(&str, "%s", (*(struct arg_str**)cl_arg)->sval[0]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'regcompmatch_pcre2': +echosrv-conf.c:1015:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1015 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1016 | arg->regex, error, err_str, error_offset); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1025:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1025 | asprintf(errmsg, "matching %s =~ /%s/:%d: %s\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1026 | arg_cl->sval[arg_index], arg->regex, res, err_str); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'cfg_as_string': +echosrv-conf.c:1175:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1175 | asprintf(&subpath, "%s[%d]%s", path, config_setting_index(child), name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1177:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1177 | asprintf(&subpath, "%s/%s", path, name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1185:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1185 | asprintf(&old, "%s", *strp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1188:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1188 | asprintf(&old, "%s", ""); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1190:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1190 | asprintf(strp, "%s%s:%s", old, subpath, value); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c: In function 'scalar_to_string': +echosrv-conf.c:1131:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1131 | asprintf(strp, "%d\n", config_setting_get_int(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1135:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1135 | asprintf(strp, "%s\n", config_setting_get_bool(s) ? "[true]" : "[false]" ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1139:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1139 | asprintf(strp, "%lld\n", config_setting_get_int64(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1143:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1143 | asprintf(strp, "%lf\n", config_setting_get_float(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +echosrv-conf.c:1147:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1147 | asprintf(strp, "%s\n", config_setting_get_string(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcs libsslh.a sslh-conf.o common.o log.o sslh-main.o probe.o tls.o argtable3.o collection.o gap.o tcp-probe.o landlock.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wl,-z,relro -Wl,-z,now -o echosrv echosrv.o echosrv-conf.o argtable3.o -lm -lpcre2-8 -lwrap -lconfig -lcap -lsystemd cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -Wl,-z,relro -Wl,-z,now -o sslh-fork sslh-fork.o libsslh.a -lm -lpcre2-8 -lwrap -lconfig -lcap -lsystemd @@ -1026,100 +1062,101 @@ make[2]: Leaving directory '/build/reproducible-path/sslh-2.1.4' make[1]: Leaving directory '/build/reproducible-path/sslh-2.1.4' dh_auto_test - make -j22 test "TESTSUITEFLAGS=-j22 --verbose" VERBOSE=1 + make -j10 test "TESTSUITEFLAGS=-j10 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/sslh-2.1.4' ./t "my" variable $data masks earlier declaration in same scope at ./t line 427. -./echosrv --listen 127.0.0.1:43861 --prefix ssh: -./echosrv --listen 127.0.0.1:46113 --prefix socks5: +./echosrv --listen 127.0.0.1:35735 --prefix ssh: +./echosrv --listen 127.0.0.1:45325 --prefix socks5: +./echosrv --listen 127.0.0.1:41045 --prefix http: +./echosrv --listen 127.0.0.1:39385 --prefix tinc: Listening to: -./echosrv --listen 127.0.0.1:38981 --prefix http: -3: localhost:43861 +./echosrv --listen 127.0.0.1:42237 --prefix openvpn: +3: localhost:35735 +./echosrv --listen 127.0.0.1:40359 --prefix xmpp: Listening to: -3: localhost:46113 -./echosrv --listen 127.0.0.1:46739 --prefix tinc: Listening to: -3: localhost:38981 -./echosrv --listen 127.0.0.1:41051 --prefix openvpn: +3: localhost:39385 Listening to: -./echosrv --listen 127.0.0.1:39071 --prefix xmpp: -3: localhost:46739 +./echosrv --listen 127.0.0.1:42263 --prefix adb: +3: localhost:45325 +3: localhost:41045 +./echosrv --listen 127.0.0.1:38555 --prefix syslog: +./echosrv --listen 127.0.0.1:39863 --prefix regex: +./echosrv --listen 127.0.0.1:46193 --prefix tls:sni1;alpn1,alpn2: +./echosrv --listen 127.0.0.1:45447 --prefix tls:sni2,sni3;alpn1,alpn2: Listening to: -./echosrv --listen 127.0.0.1:41209 --prefix adb: -3: localhost:41051 +./echosrv --listen 127.0.0.1:46747 --prefix tls:;alpn3: +./echosrv --listen 127.0.0.1:38607 --prefix tls:sni3;: +3: localhost:42237 +./echosrv --listen 127.0.0.1:33975 --prefix tls: Listening to: -./echosrv --listen 127.0.0.1:39017 --prefix syslog: -3: localhost:39071 +3: localhost:40359 +./echosrv --listen 127.0.0.1:45865 --prefix anyprot: Listening to: -./echosrv --listen 127.0.0.1:39767 --prefix regex: -3: localhost:41209 +3: localhost:38555 +Testing sslh-select +./sslh-select -f -u pbuilder2 -F test.cfg +spawned 60737 Listening to: -./echosrv --listen 127.0.0.1:32847 --prefix tls:sni1;alpn1,alpn2: -3: localhost:39017 Listening to: -./echosrv --listen 127.0.0.1:45387 --prefix tls:sni2,sni3;alpn1,alpn2: -3: localhost:39767 +3: localhost:39863 Listening to: -3: localhost:32847 -./echosrv --listen 127.0.0.1:33599 --prefix tls:;alpn3: +3: localhost:42263 +3: localhost:46747 Listening to: -./echosrv --listen 127.0.0.1:37047 --prefix tls:sni3;: -3: localhost:45387 +3: localhost:45447 Listening to: -3: localhost:33599 -./echosrv --listen 127.0.0.1:38627 --prefix tls: +3: localhost:33975 Listening to: -./echosrv --listen 127.0.0.1:37313 --prefix anyprot: -3: localhost:37047 Listening to: -Testing sslh-select -3: localhost:38627 -./sslh-select -f -u pbuilder1 -F test.cfg +3: localhost:46193 +3: localhost:38607 Listening to: -spawned 112772 -3: localhost:37313 -ssh addr: 127.0.0.1:43861 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -socks5 addr: 127.0.0.1:46113 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -http addr: 127.0.0.1:38981 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tinc addr: 127.0.0.1:46739 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -openvpn addr: 127.0.0.1:41051 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -xmpp addr: 127.0.0.1:39071 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -adb addr: 127.0.0.1:41209 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -syslog addr: 127.0.0.1:39017 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -regex addr: 127.0.0.1:39767 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:32847 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:45387 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:33599 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:37047 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:38627 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -anyprot addr: 127.0.0.1:37313 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +3: localhost:45865 +ssh addr: 127.0.0.1:35735 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +socks5 addr: 127.0.0.1:45325 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +http addr: 127.0.0.1:41045 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tinc addr: 127.0.0.1:39385 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +openvpn addr: 127.0.0.1:42237 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +xmpp addr: 127.0.0.1:40359 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +adb addr: 127.0.0.1:42263 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +syslog addr: 127.0.0.1:38555 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +regex addr: 127.0.0.1:39863 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:46193 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:45447 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:46747 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:38607 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:33975 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +anyprot addr: 127.0.0.1:45865 family 2 2. libwrap service: (null) log_level: 1 [] [] [] timeout: 10 on-timeout: ssh UDP hash size: 1024 Listening to: -3: 127.0.0.1:44593 [keepalive] [] -4: 127.0.0.1:33549 [keepalive] [] -turning into pbuilder1 +3: 127.0.0.1:45649 [keepalive] [] +4: 127.0.0.1:36323 [keepalive] [] +turning into pbuilder2 Landlock: all restricted capabilities: = sslh-select 2.1.4-1 started ***Test: Shy SSH connection -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57455af8):57506 -ssh:connection from 127.0.0.1:57506 to 127.0.0.1:44593 forwarded from 127.0.0.1:43360 to 127.0.0.1:43861 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fa5d08):41378 +ssh:connection from 127.0.0.1:41378 to 127.0.0.1:45649 forwarded from 127.0.0.1:41996 to 127.0.0.1:35735 ssh: hello world Read ssh: hello world from peer: '' ok 1 - sslh-select: Shy SSH connection ***Test: One SSL half-started then one SSH +Successudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 printed data '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  # hello tls alone -' to 56680 at ./t line 399. -going to print data to 56694 at ./t line 402. -printed data 'hello world -' to 56694 at ./t line 404. -Would block, sleeping. Iteration: 0 socket: SCALAR(0x573094a8):56694 +' to 56930 at ./t line 399. hexdump of incoming packet: 0x000000: 16 03 01 00 ab 01 00 00 a7 03 03 89 22 33 95 43 ............"3.C 0x000010: 7a c3 89 45 51 12 3c 28 24 1b 6a 78 bf be 95 d8 z..EQ.<($.jx.... @@ -1161,7 +1198,10 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:56680 to 127.0.0.1:44593 forwarded from 127.0.0.1:56686 to 127.0.0.1:38627 +tls:connection from 127.0.0.1:56930 to 127.0.0.1:45649 forwarded from 127.0.0.1:41126 to 127.0.0.1:33975 +going to print data to 56940 at ./t line 402. +printed data 'hello world +' to 56940 at ./t line 404. hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh @@ -1188,7 +1228,12 @@ probing for tls Request did not begin with TLS handshake. probed for tls: PROBE_NEXT +tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g +9 3=<5/F  + +# hello tls alone probing for tls +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fb9290):56940 Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for tls @@ -1198,19 +1243,10 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 -tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g -9 3=<5/F  - -# hello tls alone -Would block, sleeping. Iteration: 1 socket: SCALAR(0x573094a8):56694 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x573094a8):56694 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x573094a8):56694 -ssh:connection from 127.0.0.1:56694 to 127.0.0.1:44593 forwarded from 127.0.0.1:54516 to 127.0.0.1:43861 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x58fb9290):56940 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x58fb9290):56940 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x58fb9290):56940 +ssh:connection from 127.0.0.1:56940 to 127.0.0.1:45649 forwarded from 127.0.0.1:40678 to 127.0.0.1:35735 ssh: hello world Read ssh: hello world from peer: '' @@ -1223,17 +1259,7 @@ reading data from tls at ./t line 410. ok 3 - sslh-select: SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL -SuccessSuccessWould block, sleeping. Iteration: 0 socket: SCALAR(0x57468160):47080 -udp: 0 -prefix: tls: -listen [1]: - host: 127.0.0.1 - port: 38627 -udp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fb8de0):55090 hexdump of incoming packet: 0x000000: 16 03 01 00 ab 01 00 00 a7 03 03 89 22 33 95 43 ............"3.C 0x000010: 7a c3 89 45 51 12 3c 28 24 1b 6a 78 bf be 95 d8 z..EQ.<($.jx.... @@ -1275,7 +1301,17 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:47080 to 127.0.0.1:44593 forwarded from 127.0.0.1:45252 to 127.0.0.1:38627 +tls:connection from 127.0.0.1:55090 to 127.0.0.1:45649 forwarded from 127.0.0.1:49244 to 127.0.0.1:33975 +Successudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 +Successudp: 0 +prefix: tls: +listen [1]: + host: 127.0.0.1 + port: 33975 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -1286,7 +1322,7 @@ # hello tls alone from peer: '' ok 4 - sslh-select: SSL during SSH being established -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574684a8):47076 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58f9f658):55082 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh @@ -1327,32 +1363,32 @@ prefix: tls: listen [1]: host: 127.0.0.1 - port: 38627 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x574684a8):47076 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x574684a8):47076 -ssh:connection from 127.0.0.1:47076 to 127.0.0.1:44593 forwarded from 127.0.0.1:45890 to 127.0.0.1:43861 + port: 33975 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x58f9f658):55082 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x58f9f658):55082 +ssh:connection from 127.0.0.1:55082 to 127.0.0.1:45649 forwarded from 127.0.0.1:51230 to 127.0.0.1:35735 ssh: hello world Read ssh: hello world from peer: '' ok 5 - sslh-select: SSH connection interrupted by SSL test_probe called with$VAR1 = { - 'data' => 'SSH-2.0 tester -', - 'no_frag' => 1, 'expected' => 'ssh', - 'binary' => 'sslh-select' + 'no_frag' => 1, + 'binary' => 'sslh-select', + 'data' => 'SSH-2.0 tester +' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574689d0):51834 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fb8de0):52824 hexdump of incoming packet: 0x000000: 53 53 48 2d 32 2e 30 20 74 65 73 74 65 72 0a SSH-2.0 tester. probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:51834 to 127.0.0.1:44593 forwarded from 127.0.0.1:45904 to 127.0.0.1:43861 +ssh:connection from 127.0.0.1:52824 to 127.0.0.1:45649 forwarded from 127.0.0.1:47730 to 127.0.0.1:35735 Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 43861 + port: 35735 ssh: SSH-2.0 tester Read ssh: SSH-2.0 tester from peer: '' @@ -1362,40 +1398,35 @@ ok 7 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', + 'data' => '', 'no_frag' => 1, - 'expected' => 'socks5', - 'data' => '' + 'expected' => 'socks5' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574689e4):51844 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fb95d8):52832 hexdump of incoming packet: 0x000000: 05 04 01 02 03 04 ...... probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -socks5:connection from 127.0.0.1:51844 to 127.0.0.1:44593 forwarded from 127.0.0.1:56532 to 127.0.0.1:46113 +socks5:connection from 127.0.0.1:52832 to 127.0.0.1:45649 forwarded from 127.0.0.1:51260 to 127.0.0.1:45325 Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 43861 + port: 35735 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] -Successudp: 0 -prefix: socks5: -listen [1]: - host: 127.0.0.1 - port: 46113 ok 8 - sslh-select:socks5: probe connected correctly ok 9 - sslh-select:socks5: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'data' => 'GET index.html HTTP/1.1', + 'expected' => 'http', 'no_frag' => 1, - 'expected' => 'http' + 'binary' => 'sslh-select', + 'data' => 'GET index.html HTTP/1.1' }; +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc3c30):49384 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57473fe4):60666 0x000000: 47 45 54 20 69 6e 64 65 78 2e 68 74 6d 6c 20 48 GET index.html H 0x000010: 54 54 50 2f 31 2e 31 TTP/1.1 probing for ssh @@ -1404,24 +1435,24 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -http:connection from 127.0.0.1:60666 to 127.0.0.1:44593 forwarded from 127.0.0.1:42824 to 127.0.0.1:38981 -http: GET index.html HTTP/1.1Read http: GET index.html HTTP/1.1 from peer: '' -Received 29 bytes: protocol http data [GET index.html HTTP/1.1] +http:connection from 127.0.0.1:49384 to 127.0.0.1:45649 forwarded from 127.0.0.1:48502 to 127.0.0.1:41045 Successudp: 0 -prefix: http: +prefix: socks5: listen [1]: host: 127.0.0.1 - port: 38981 + port: 45325 +http: GET index.html HTTP/1.1Read http: GET index.html HTTP/1.1 from peer: '' +Received 29 bytes: protocol http data [GET index.html HTTP/1.1] ok 10 - sslh-select:http: probe connected correctly ok 11 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { - 'data' => '0 hello', - 'expected' => 'tinc', 'no_frag' => 1, - 'binary' => 'sslh-select' + 'expected' => 'tinc', + 'binary' => 'sslh-select', + 'data' => '0 hello' }; +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc3fa0):49398 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574741c4):60678 0x000000: 30 20 68 65 6c 6c 6f 0 hello probing for ssh probed for ssh: PROBE_NEXT @@ -1431,24 +1462,29 @@ probed for http: PROBE_NEXT probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:60678 to 127.0.0.1:44593 forwarded from 127.0.0.1:47068 to 127.0.0.1:46739 +tinc:connection from 127.0.0.1:49398 to 127.0.0.1:45649 forwarded from 127.0.0.1:56094 to 127.0.0.1:39385 +Successudp: 0 +prefix: http: +listen [1]: + host: 127.0.0.1 + port: 41045 tinc: 0 helloRead tinc: 0 hello from peer: '' Received 13 bytes: protocol tinc data [0 hello] Successudp: 0 prefix: tinc: listen [1]: host: 127.0.0.1 - port: 46739 + port: 39385 ok 12 - sslh-select:tinc: probe connected correctly ok 13 - sslh-select:tinc: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'data' => '', + 'no_frag' => 1, 'expected' => 'openvpn', - 'no_frag' => 1 + 'data' => '', + 'binary' => 'sslh-select' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57468160):60680 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc4130):49404 0x000000: 00 00 .. probing for ssh probed for ssh: PROBE_AGAIN @@ -1460,19 +1496,24 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:60680 to 127.0.0.1:44593 forwarded from 127.0.0.1:51552 to 127.0.0.1:41051 +openvpn:connection from 127.0.0.1:49404 to 127.0.0.1:45649 forwarded from 127.0.0.1:48160 to 127.0.0.1:42237 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] -ok 14 - sslh-select:openvpn: probe connected correctly +Successok 14 - sslh-select:openvpn: probe connected correctly +udp: 0 +prefix: openvpn: +listen [1]: + host: 127.0.0.1 + port: 42237 ok 15 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'I should get a real jabber connection initialisation here', - 'expected' => 'xmpp', 'no_frag' => 1, - 'binary' => 'sslh-select' + 'expected' => 'xmpp', + 'binary' => 'sslh-select', + 'data' => 'I should get a real jabber connection initialisation here' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57474584):60688 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc3ce4):49410 0x000000: 49 20 73 68 6f 75 6c 64 20 67 65 74 20 61 20 72 I should get a r 0x000010: 65 61 6c 20 6a 61 62 62 65 72 20 63 6f 6e 6e 65 eal jabber conne 0x000020: 63 74 69 6f 6e 20 69 6e 69 74 69 61 6c 69 73 61 ction initialisa @@ -1489,29 +1530,19 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:60688 to 127.0.0.1:44593 forwarded from 127.0.0.1:40602 to 127.0.0.1:39071 -Successudp: 0 -prefix: openvpn: -listen [1]: - host: 127.0.0.1 - port: 41051 +xmpp:connection from 127.0.0.1:49410 to 127.0.0.1:45649 forwarded from 127.0.0.1:44610 to 127.0.0.1:40359 xmpp: I should get a real jabber connection initialisation hereRead xmpp: I should get a real jabber connection initialisation here from peer: '' Received 63 bytes: protocol xmpp data [I should get a real jabber connection initialisation here] -Successudp: 0 -prefix: xmpp: -listen [1]: - host: 127.0.0.1 - port: 39071 ok 16 - sslh-select:xmpp: probe connected correctly ok 17 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, - 'expected' => 'adb', 'data' => 'CNXN....................host:...', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'adb', + 'no_frag' => 1 }; +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc4504):49420 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57468c28):60692 0x000000: 43 4e 58 4e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e 2e CNXN............ 0x000010: 2e 2e 2e 2e 2e 2e 2e 2e 68 6f 73 74 3a 2e 2e 2e ........host:... probing for ssh @@ -1526,26 +1557,31 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_AGAIN +Successudp: 0 +prefix: xmpp: +listen [1]: + host: 127.0.0.1 + port: 40359 probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:60692 to 127.0.0.1:44593 forwarded from 127.0.0.1:42752 to 127.0.0.1:41209 +adb:connection from 127.0.0.1:49420 to 127.0.0.1:45649 forwarded from 127.0.0.1:50888 to 127.0.0.1:42263 adb: CNXN....................host:...Read adb: CNXN....................host:... from peer: '' Received 37 bytes: protocol adb data [CNXN....................host:...] -ok 18 - sslh-select:adb: probe connected correctly Successudp: 0 prefix: adb: listen [1]: host: 127.0.0.1 - port: 41209 + port: 42263 +ok 18 - sslh-select:adb: probe connected correctly ok 19 - sslh-select:adb: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, 'expected' => 'syslog', - 'data' => '<42> My syslog message', - 'binary' => 'sslh-select' + 'no_frag' => 1, + 'binary' => 'sslh-select', + 'data' => '<42> My syslog message' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57473d50):48634 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc4784):51692 0x000000: 3c 34 32 3e 20 4d 79 20 73 79 73 6c 6f 67 20 6d <42> My syslog m 0x000010: 65 73 73 61 67 65 essage probing for ssh @@ -1564,18 +1600,23 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:48634 to 127.0.0.1:44593 forwarded from 127.0.0.1:34046 to 127.0.0.1:39017 +syslog:connection from 127.0.0.1:51692 to 127.0.0.1:45649 forwarded from 127.0.0.1:44286 to 127.0.0.1:38555 syslog: <42> My syslog messageRead syslog: <42> My syslog message from peer: '' Received 30 bytes: protocol syslog data [<42> My syslog message] ok 20 - sslh-select:syslog: probe connected correctly ok 21 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, - 'expected' => 'ssh', 'data' => 'foo', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'ssh', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57474764):48642 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc466c):51704 +Successudp: 0 +prefix: syslog: +listen [1]: + host: 127.0.0.1 + port: 38555 hexdump of incoming packet: 0x000000: 66 6f 6f foo probing for ssh @@ -1589,13 +1630,8 @@ probing for openvpn probed for openvpn: PROBE_NEXT probing for xmpp -Successprobed for xmpp: PROBE_AGAIN +probed for xmpp: PROBE_AGAIN probing for adb -udp: 0 -prefix: syslog: -listen [1]: - host: 127.0.0.1 - port: 39017 probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_NEXT @@ -1612,22 +1648,27 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x57474764):48642 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x57474764):48642 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x57474764):48642 -ssh:connection from 127.0.0.1:48642 to 127.0.0.1:44593 forwarded from 127.0.0.1:51632 to 127.0.0.1:43861 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x58fc466c):51704 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x58fc466c):51704 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x58fc466c):51704 +ssh:connection from 127.0.0.1:51704 to 127.0.0.1:45649 forwarded from 127.0.0.1:42592 to 127.0.0.1:35735 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] ok 22 - sslh-select:ssh: probe connected correctly +Successudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 ok 23 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'fooo', 'no_frag' => 1, 'expected' => 'regex', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'data' => 'fooo' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57477e30):51412 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc4284):40178 0x000000: 66 6f 6f 6f fooo probing for ssh probed for ssh: PROBE_NEXT @@ -1647,23 +1688,18 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:51412 to 127.0.0.1:44593 forwarded from 127.0.0.1:36800 to 127.0.0.1:39767 -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 +regex:connection from 127.0.0.1:40178 to 127.0.0.1:45649 forwarded from 127.0.0.1:51450 to 127.0.0.1:39863 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] ok 24 - sslh-select:regex: probe connected correctly ok 25 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'data' => 'bar', + 'expected' => 'ssh', 'no_frag' => 1, - 'expected' => 'ssh' + 'data' => 'bar', + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57474430):51420 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc7c08):40182 hexdump of incoming packet: 0x000000: 62 61 72 bar probing for ssh @@ -1699,22 +1735,27 @@ prefix: regex: listen [1]: host: 127.0.0.1 - port: 39767 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x57474430):51420 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x57474430):51420 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x57474430):51420 -ssh:connection from 127.0.0.1:51420 to 127.0.0.1:44593 forwarded from 127.0.0.1:52258 to 127.0.0.1:43861 + port: 39863 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x58fc7c08):40182 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x58fc7c08):40182 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x58fc7c08):40182 +ssh:connection from 127.0.0.1:40182 to 127.0.0.1:45649 forwarded from 127.0.0.1:55512 to 127.0.0.1:35735 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] -ok 26 - sslh-select:ssh: probe connected correctly +Successok 26 - sslh-select:ssh: probe connected correctly +udp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 ok 27 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { 'data' => 'barr', - 'no_frag' => 1, + 'binary' => 'sslh-select', 'expected' => 'regex', - 'binary' => 'sslh-select' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574781f0):45086 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc48c4):51906 hexdump of incoming packet: 0x000000: 62 61 72 72 barr probing for ssh @@ -1731,39 +1772,34 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_AGAIN -Successprobing for syslog -udp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 +probing for syslog probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:45086 to 127.0.0.1:44593 forwarded from 127.0.0.1:54196 to 127.0.0.1:39767 +regex:connection from 127.0.0.1:51906 to 127.0.0.1:45649 forwarded from 127.0.0.1:56032 to 127.0.0.1:39863 regex: barrRead regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] ok 28 - sslh-select:regex: probe connected correctly +Successudp: 0 +prefix: regex: +listen [1]: + host: 127.0.0.1 + port: 39863 ok 29 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'data' => 'barrr', + 'no_frag' => 1, 'expected' => 'regex', - 'no_frag' => 1 + 'binary' => 'sslh-select', + 'data' => 'barrr' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57468e94):45088 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc7fdc):51916 0x000000: 62 61 72 72 72 barrr probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_NEXT probing for http -Successudp: 0 -prefix: regex: -listen [1]: - host: 127.0.0.1 - port: 39767 probed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_NEXT @@ -1777,29 +1813,29 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:45088 to 127.0.0.1:44593 forwarded from 127.0.0.1:54206 to 127.0.0.1:39767 +regex:connection from 127.0.0.1:51916 to 127.0.0.1:45649 forwarded from 127.0.0.1:56042 to 127.0.0.1:39863 regex: barrrRead regex: barrr from peer: '' Received 12 bytes: protocol regex data [barrr] -ok 30 - sslh-select:regex: probe connected correctly Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 39767 + port: 39863 +ok 30 - sslh-select:regex: probe connected correctly ok 31 - sslh-select:regex: data shoveled correctly sni: sni1 alpn: alpn1 test_probe called with$VAR1 = { - 'no_frag' => 1, - 'expected' => 'tls:sni1;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  # alpn1hello sni/alpn', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'tls:sni1;alpn1,alpn2', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574785b0):45102 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc7fa0):51924 0x000000: 16 03 01 00 c4 01 00 00 c0 03 03 03 19 01 00 40 ...............@ 0x000010: 14 13 cc 1b 94 ad 20 5d 13 1a 8d d2 65 23 70 de ...... ]....e#p. 0x000020: d1 3c 5d 05 19 cb 27 0d 7c 2c 89 00 00 38 c0 2c .<]...'.|,...8., @@ -1836,7 +1872,7 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:45102 to 127.0.0.1:44593 forwarded from 127.0.0.1:34256 to 127.0.0.1:32847 +tls:connection from 127.0.0.1:51924 to 127.0.0.1:45649 forwarded from 127.0.0.1:51016 to 127.0.0.1:46193 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1848,8 +1884,13 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn] -ok 32 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly -Successok 33 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly +Successok 32 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly +udp: 0 +prefix: tls:sni1;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 46193 +ok 33 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly sni: sni1 alpn: alpn2 test_probe called with$VAR1 = { @@ -1857,16 +1898,11 @@ 9 3=<5/_ sni1  # alpn2hello sni/alpn', + 'binary' => 'sslh-select', 'no_frag' => 1, - 'expected' => 'tls:sni1;alpn1,alpn2', - 'binary' => 'sslh-select' + 'expected' => 'tls:sni1;alpn1,alpn2' }; -udp: 0 -prefix: tls:sni1;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 32847 -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574787b8):45110 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc83c4):51928 hexdump of incoming packet: 0x000000: 16 03 01 00 c4 01 00 00 c0 03 03 03 19 01 00 40 ...............@ 0x000010: 14 13 cc 1b 94 ad 20 5d 13 1a 8d d2 65 23 70 de ...... ]....e#p. @@ -1905,7 +1941,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:45110 to 127.0.0.1:44593 forwarded from 127.0.0.1:34260 to 127.0.0.1:32847 +tls:connection from 127.0.0.1:51928 to 127.0.0.1:45649 forwarded from 127.0.0.1:51028 to 127.0.0.1:46193 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1917,27 +1953,27 @@ 9 3=<5/_ sni1  # alpn2hello sni/alpn] -ok 34 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly +Successok 34 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly +udp: 0 +prefix: tls:sni1;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 46193 ok 35 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly sni: sni2 alpn: alpn1 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'no_frag' => 1, + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn1hello sni/alpn', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', - 'no_frag' => 1 + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574784e8):39292 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc8298):44632 hexdump of incoming packet: 0x000000: 16 03 01 00 c4 01 00 00 c0 03 03 03 19 01 00 40 ...............@ -Successudp: 0 -prefix: tls:sni1;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 32847 0x000010: 14 13 cc 1b 94 ad 20 5d 13 1a 8d d2 65 23 70 de ...... ]....e#p. 0x000020: d1 3c 5d 05 19 cb 27 0d 7c 2c 89 00 00 38 c0 2c .<]...'.|,...8., 0x000030: c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e .0.........+./.. @@ -1976,7 +2012,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:39292 to 127.0.0.1:44593 forwarded from 127.0.0.1:43162 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:44632 to 127.0.0.1:45649 forwarded from 127.0.0.1:53100 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -1989,24 +2025,24 @@ # alpn1hello sni/alpn] ok 36 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly -Successok 37 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly -udp: 0 +Successudp: 0 prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 45387 + port: 45447 +ok 37 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni2 alpn: alpn2 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'no_frag' => 1, 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn2hello sni/alpn' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57478b8c):39306 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc839c):44646 hexdump of incoming packet: 0x000000: 16 03 01 00 c4 01 00 00 c0 03 03 03 19 01 00 40 ...............@ 0x000010: 14 13 cc 1b 94 ad 20 5d 13 1a 8d d2 65 23 70 de ...... ]....e#p. @@ -2048,7 +2084,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:39306 to 127.0.0.1:44593 forwarded from 127.0.0.1:43174 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:44646 to 127.0.0.1:45649 forwarded from 127.0.0.1:53102 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -2060,25 +2096,24 @@ 9 3=<5/_ sni2  # alpn2hello sni/alpn] -ok 38 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly Successudp: 0 prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 45387 + port: 45447 +ok 38 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 39 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn1 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'no_frag' => 1, 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  # alpn1hello sni/alpn', - 'no_frag' => 1, - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57479ab0):39316 hexdump of incoming packet: 0x000000: 16 03 01 00 c4 01 00 00 c0 03 03 03 19 01 00 40 ...............@ 0x000010: 14 13 cc 1b 94 ad 20 5d 13 1a 8d d2 65 23 70 de ...... ]....e#p. @@ -2120,7 +2155,8 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:39316 to 127.0.0.1:44593 forwarded from 127.0.0.1:43178 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:44658 to 127.0.0.1:45649 forwarded from 127.0.0.1:53110 to 127.0.0.1:45447 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc7c6c):44658 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2132,12 +2168,7 @@ 9 3=<5/_ sni3  # alpn1hello sni/alpn] -Successok 40 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly -udp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 45387 +ok 40 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 41 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn2 @@ -2146,11 +2177,16 @@ 9 3=<5/_ sni3  # alpn2hello sni/alpn', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'binary' => 'sslh-select', 'no_frag' => 1, - 'binary' => 'sslh-select' + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5747872c):39318 +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 45447 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc8a18):44666 hexdump of incoming packet: 0x000000: 16 03 01 00 c4 01 00 00 c0 03 03 03 19 01 00 40 ...............@ 0x000010: 14 13 cc 1b 94 ad 20 5d 13 1a 8d d2 65 23 70 de ...... ]....e#p. @@ -2193,7 +2229,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:39318 to 127.0.0.1:44593 forwarded from 127.0.0.1:43192 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:44666 to 127.0.0.1:45649 forwarded from 127.0.0.1:53116 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2206,24 +2242,19 @@ # alpn2hello sni/alpn] ok 42 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 45387 ok 43 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: alpn: alpn3 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'no_frag' => 1, - 'expected' => 'tls:;alpn3', 'data' => '␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#\'g 9 3=<5/R  -# alpn3hello alpn' +# alpn3hello alpn', + 'binary' => 'sslh-select', + 'no_frag' => 1, + 'expected' => 'tls:;alpn3' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x57478ab0):39330 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc86d0):44680 hexdump of incoming packet: 0x000000: 16 03 01 00 b7 01 00 00 b3 03 03 e2 90 a2 29 03 ..............). 0x000010: 31 ad 98 44 51 54 90 5b d9 51 0e 66 b5 3f e8 8b 1..DQT.[.Q.f.?.. @@ -2269,7 +2300,12 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:39330 to 127.0.0.1:44593 forwarded from 127.0.0.1:46848 to 127.0.0.1:33599 +tls:connection from 127.0.0.1:44680 to 127.0.0.1:45649 forwarded from 127.0.0.1:40472 to 127.0.0.1:46747 +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 45447 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -2281,27 +2317,27 @@ 9 3=<5/R  # alpn3hello alpn] +ok 44 - sslh-select:tls:;alpn3: probe connected correctly Successudp: 0 prefix: tls:;alpn3: listen [1]: host: 127.0.0.1 - port: 33599 -ok 44 - sslh-select:tls:;alpn3: probe connected correctly + port: 46747 ok 45 - sslh-select:tls:;alpn3: data shoveled correctly sni: sni3 alpn: test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'expected' => 'tls:sni3;', 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '魆![\'KUP/7%Y728,0̨̩̪+/$(k#\'g 9 3=<5/S sni3  # hello sni' }; hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc7ce4):45580 0x000000: 16 03 01 00 b8 01 00 00 b4 03 03 97 e4 e9 ad 86 ................ -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574687b4):46222 0x000010: e1 21 fd c4 5b 27 0e ad 4b 55 c2 50 e4 1c 86 2f .!..['..KU.P.../ 0x000020: 37 25 de e8 9c 59 fc 1b a9 37 32 00 00 38 c0 2c 7%...Y...72..8., 0x000030: c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e .0.........+./.. @@ -2344,7 +2380,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:46222 to 127.0.0.1:44593 forwarded from 127.0.0.1:54618 to 127.0.0.1:37047 +tls:connection from 127.0.0.1:45580 to 127.0.0.1:45649 forwarded from 127.0.0.1:44970 to 127.0.0.1:38607 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -2359,15 +2395,15 @@ ok 46 - sslh-select:tls:sni3;: probe connected correctly ok 47 - sslh-select:tls:sni3;: data shoveled correctly test_probe called with$VAR1 = { + 'expected' => 'tls', + 'no_frag' => 1, 'binary' => 'sslh-select', 'data' => '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#\'g 9 3=<5/F  -# hello tls alone', - 'no_frag' => 1, - 'expected' => 'tls' +# hello tls alone' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5747a208):46226 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc8a18):45586 hexdump of incoming packet: 0x000000: 16 03 01 00 ab 01 00 00 a7 03 03 89 22 33 95 43 ............"3.C 0x000010: 7a c3 89 45 51 12 3c 28 24 1b 6a 78 bf be 95 d8 z..EQ.<($.jx.... @@ -2409,12 +2445,12 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -Successtls:connection from 127.0.0.1:46226 to 127.0.0.1:44593 forwarded from 127.0.0.1:54524 to 127.0.0.1:38627 -udp: 0 +tls:connection from 127.0.0.1:45586 to 127.0.0.1:45649 forwarded from 127.0.0.1:59898 to 127.0.0.1:33975 +Successudp: 0 prefix: tls:sni3;: listen [1]: host: 127.0.0.1 - port: 37047 + port: 38607 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -2429,23 +2465,23 @@ ok 48 - sslh-select:tls: probe connected correctly ok 49 - sslh-select:tls: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'data' => 'hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!', 'no_frag' => 1, - 'expected' => 'anyprot' + 'expected' => 'anyprot', + 'data' => 'hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!', + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5747a3c0):46234 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fc80a4):45590 hexdump of incoming packet: -Success0x000000: 68 65 6c 6c 6f 20 61 6e 79 70 72 6f 74 20 74 68 hello anyprot th -udp: 0 -prefix: tls: -listen [1]: - host: 127.0.0.1 - port: 38627 +0x000000: 68 65 6c 6c 6f 20 61 6e 79 70 72 6f 74 20 74 68 hello anyprot th 0x000010: 69 73 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6c is needs to be l 0x000020: 6f 6e 67 65 72 20 74 68 61 6e 20 78 6d 70 70 20 onger than xmpp 0x000030: 61 6e 64 20 61 64 62 20 77 68 69 63 68 20 65 78 and adb which ex 0x000040: 70 65 63 74 20 61 62 6f 75 74 20 35 30 20 63 68 pect about 50 ch +Successudp: 0 +prefix: tls: +listen [1]: + host: 127.0.0.1 + port: 33975 0x000050: 61 72 61 63 74 65 72 73 2c 20 77 68 69 63 68 20 aracters, which 0x000060: 49 20 61 6c 6c 20 68 61 76 65 20 74 6f 20 77 72 I all have to wr 0x000070: 69 74 65 20 62 65 66 6f 72 65 20 74 68 65 20 74 ite before the t @@ -2484,16 +2520,16 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:46234 to 127.0.0.1:44593 forwarded from 127.0.0.1:43150 to 127.0.0.1:37313 +anyprot:connection from 127.0.0.1:45590 to 127.0.0.1:45649 forwarded from 127.0.0.1:52122 to 127.0.0.1:45865 anyprot: hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!Read anyprot: hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout! from peer: '' Received 144 bytes: protocol anyprot data [hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!] ok 50 - sslh-select:anyprot: probe connected correctly ok 51 - sslh-select:anyprot: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'ssh', 'data' => 'SSH-2.0 tester ', - 'expected' => 'ssh' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 53 S @@ -2530,7 +2566,7 @@ prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 37313 + port: 45865 hexdump of incoming packet: 0x000000: 53 53 SS probing for ssh @@ -2597,17 +2633,22 @@ 0x000000: 53 53 48 2d SSH- probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:46248 to 127.0.0.1:44593 forwarded from 127.0.0.1:36816 to 127.0.0.1:43861 +ssh:connection from 127.0.0.1:45592 to 127.0.0.1:45649 forwarded from 127.0.0.1:34544 to 127.0.0.1:35735 ssh: SSH-Read ssh: SSH-2.0 tester from peer: '' Received 20 bytes: protocol ssh data [SSH-2.0 tester ] ok 52 - sslh-select:ssh: probe connected correctly +Successudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 ok 53 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { + 'binary' => 'sslh-select', 'data' => '', - 'expected' => 'socks5', - 'binary' => 'sslh-select' + 'expected' => 'socks5' }; hexdump of incoming packet: 0x000000: 05 . @@ -2640,11 +2681,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 hexdump of incoming packet: 0x000000: 05 04 .. probing for ssh @@ -2780,46 +2816,41 @@ probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -socks5:connection from 127.0.0.1:46254 to 127.0.0.1:44593 forwarded from 127.0.0.1:36356 to 127.0.0.1:46113 +socks5:connection from 127.0.0.1:45608 to 127.0.0.1:45649 forwarded from 127.0.0.1:49732 to 127.0.0.1:45325 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] ok 54 - sslh-select:socks5: probe connected correctly +Successudp: 0 +prefix: socks5: +listen [1]: + host: 127.0.0.1 + port: 45325 ok 55 - sslh-select:socks5: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'data' => 'GET index.html HTTP/1.1', 'no_frag' => 1, - 'expected' => 'http' + 'expected' => 'http', + 'binary' => 'sslh-select', + 'data' => 'GET index.html HTTP/1.1' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x574789ac):46264 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fcaac4):45610 hexdump of incoming packet: 0x000000: 47 45 54 20 69 6e 64 65 78 2e 68 74 6d 6c 20 48 GET index.html H 0x000010: 54 54 50 2f 31 2e 31 TTP/1.1 -Successprobing for ssh +probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_NEXT probing for http -udp: 0 -prefix: socks5: -listen [1]: - host: 127.0.0.1 - port: 46113 probed for http: PROBE_MATCH -http:connection from 127.0.0.1:46264 to 127.0.0.1:44593 forwarded from 127.0.0.1:37900 to 127.0.0.1:38981 +http:connection from 127.0.0.1:45610 to 127.0.0.1:45649 forwarded from 127.0.0.1:34086 to 127.0.0.1:41045 http: GET index.html HTTP/1.1Read http: GET index.html HTTP/1.1 from peer: '' Received 29 bytes: protocol http data [GET index.html HTTP/1.1] -Successudp: 0 -prefix: http: -listen [1]: - host: 127.0.0.1 - port: 38981 ok 56 - sslh-select:http: probe connected correctly ok 57 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'tinc', 'data' => '0 hello', - 'expected' => 'tinc' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 30 0 @@ -2852,6 +2883,11 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot +Successudp: 0 +prefix: http: +listen [1]: + host: 127.0.0.1 + port: 41045 hexdump of incoming packet: 0x000000: 30 20 0 probing for ssh @@ -2862,19 +2898,19 @@ probed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:46276 to 127.0.0.1:44593 forwarded from 127.0.0.1:46458 to 127.0.0.1:46739 +tinc:connection from 127.0.0.1:45622 to 127.0.0.1:45649 forwarded from 127.0.0.1:43630 to 127.0.0.1:39385 tinc: 0 Read tinc: 0 hello from peer: '' Received 13 bytes: protocol tinc data [0 hello] +ok 58 - sslh-select:tinc: probe connected correctly Successudp: 0 prefix: tinc: listen [1]: host: 127.0.0.1 - port: 46739 -ok 58 - sslh-select:tinc: probe connected correctly + port: 39385 ok 59 - sslh-select:tinc: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'data' => '', + 'binary' => 'sslh-select', 'expected' => 'openvpn' }; hexdump of incoming packet: @@ -2920,22 +2956,22 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:51454 to 127.0.0.1:44593 forwarded from 127.0.0.1:60148 to 127.0.0.1:41051 +openvpn:connection from 127.0.0.1:45628 to 127.0.0.1:45649 forwarded from 127.0.0.1:42138 to 127.0.0.1:42237 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] -Successudp: 0 -prefix: openvpn: -listen [1]: - host: 127.0.0.1 - port: 41051 ok 60 - sslh-select:openvpn: probe connected correctly ok 61 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'expected' => 'xmpp', + 'binary' => 'sslh-select', 'data' => 'I should get a real jabber connection initialisation here' }; -hexdump of incoming packet: +Successhexdump of incoming packet: +udp: 0 +prefix: openvpn: +listen [1]: + host: 127.0.0.1 + port: 42237 0x000000: 49 I probing for ssh probed for ssh: PROBE_AGAIN @@ -3839,7 +3875,7 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:51456 to 127.0.0.1:44593 forwarded from 127.0.0.1:49362 to 127.0.0.1:39071 +xmpp:connection from 127.0.0.1:45642 to 127.0.0.1:45649 forwarded from 127.0.0.1:60732 to 127.0.0.1:40359 xmpp: I should get a real jabberRead xmpp: I should get a real jabber connection initialisation here from peer: '' Received 63 bytes: protocol xmpp data [I should get a real jabber connection initialisation here] ok 62 - sslh-select:xmpp: probe connected correctly @@ -3847,11 +3883,11 @@ prefix: xmpp: listen [1]: host: 127.0.0.1 - port: 39071 + port: 40359 ok 63 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'CNXN....................host:...', 'expected' => 'adb', + 'data' => 'CNXN....................host:...', 'binary' => 'sslh-select' }; hexdump of incoming packet: @@ -4908,15 +4944,20 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:51472 to 127.0.0.1:44593 forwarded from 127.0.0.1:54250 to 127.0.0.1:41209 +adb:connection from 127.0.0.1:45654 to 127.0.0.1:45649 forwarded from 127.0.0.1:57714 to 127.0.0.1:42263 adb: CNXN....................host:.Read adb: CNXN....................host:... from peer: '' Received 37 bytes: protocol adb data [CNXN....................host:...] ok 64 - sslh-select:adb: probe connected correctly +Successudp: 0 +prefix: adb: +listen [1]: + host: 127.0.0.1 + port: 42263 ok 65 - sslh-select:adb: data shoveled correctly test_probe called with$VAR1 = { 'data' => '<42> My syslog message', - 'expected' => 'syslog', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'syslog' }; hexdump of incoming packet: 0x000000: 3c < @@ -4949,11 +4990,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: adb: -listen [1]: - host: 127.0.0.1 - port: 41209 hexdump of incoming packet: 0x000000: 3c 34 <4 probing for ssh @@ -4972,15 +5008,15 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:51486 to 127.0.0.1:44593 forwarded from 127.0.0.1:44206 to 127.0.0.1:39017 -syslog: <4Read syslog: <42> My syslog message from peer: '' +syslog:connection from 127.0.0.1:45660 to 127.0.0.1:45649 forwarded from 127.0.0.1:35720 to 127.0.0.1:38555 +syslog: <42Read syslog: <42> My syslog message from peer: '' Received 30 bytes: protocol syslog data [<42> My syslog message] ok 66 - sslh-select:syslog: probe connected correctly Successudp: 0 prefix: syslog: listen [1]: host: 127.0.0.1 - port: 39017 + port: 38555 ok 67 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', @@ -5080,19 +5116,19 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5747e8b4):51492 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5747e8b4):51492 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5747e8b4):51492 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5747e8b4):51492 -ssh:connection from 127.0.0.1:51492 to 127.0.0.1:44593 forwarded from 127.0.0.1:38102 to 127.0.0.1:43861 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fcde84):45676 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x58fcde84):45676 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x58fcde84):45676 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x58fcde84):45676 +ssh:connection from 127.0.0.1:45676 to 127.0.0.1:45649 forwarded from 127.0.0.1:57886 to 127.0.0.1:35735 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] ok 68 - sslh-select:ssh: probe connected correctly ok 69 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { + 'data' => 'fooo', 'binary' => 'sslh-select', - 'expected' => 'regex', - 'data' => 'fooo' + 'expected' => 'regex' }; hexdump of incoming packet: 0x000000: 66 f @@ -5102,9 +5138,14 @@ probed for socks5: PROBE_AGAIN probing for http probed for http: PROBE_AGAIN +Successudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 probing for tinc probed for tinc: PROBE_AGAIN -Successprobing for openvpn +probing for openvpn probed for openvpn: PROBE_AGAIN probing for xmpp probed for xmpp: PROBE_AGAIN @@ -5125,11 +5166,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -udp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 hexdump of incoming packet: 0x000000: 66 6f fo probing for ssh @@ -5212,20 +5248,20 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:59734 to 127.0.0.1:44593 forwarded from 127.0.0.1:44142 to 127.0.0.1:39767 +regex:connection from 127.0.0.1:49896 to 127.0.0.1:45649 forwarded from 127.0.0.1:58632 to 127.0.0.1:39863 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] -ok 70 - sslh-select:regex: probe connected correctly -ok 71 - sslh-select:regex: data shoveled correctly -test_probe called withSuccessudp: 0 +Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 39767 -$VAR1 = { + port: 39863 +ok 70 - sslh-select:regex: probe connected correctly +ok 71 - sslh-select:regex: data shoveled correctly +test_probe called with$VAR1 = { 'binary' => 'sslh-select', - 'expected' => 'ssh', - 'data' => 'bar' + 'data' => 'bar', + 'expected' => 'ssh' }; hexdump of incoming packet: 0x000000: 62 b @@ -5320,29 +5356,29 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5747f05c):59738 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5747f05c):59738 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5747f05c):59738 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5747f05c):59738 -ssh:connection from 127.0.0.1:59738 to 127.0.0.1:44593 forwarded from 127.0.0.1:42966 to 127.0.0.1:43861 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x58fce708):49906 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x58fce708):49906 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x58fce708):49906 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x58fce708):49906 +ssh:connection from 127.0.0.1:49906 to 127.0.0.1:45649 forwarded from 127.0.0.1:42498 to 127.0.0.1:35735 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] -ok 72 - sslh-select:ssh: probe connected correctly +Successok 72 - sslh-select:ssh: probe connected correctly +udp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35735 ok 73 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', - 'expected' => 'regex', - 'data' => 'barr' + 'data' => 'barr', + 'expected' => 'regex' }; hexdump of incoming packet: 0x000000: 62 b probing for ssh probed for ssh: PROBE_AGAIN -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 43861 probing for socks5 probed for socks5: PROBE_AGAIN probing for http @@ -5452,21 +5488,21 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:39814 to 127.0.0.1:44593 forwarded from 127.0.0.1:45672 to 127.0.0.1:39767 +regex:connection from 127.0.0.1:38692 to 127.0.0.1:45649 forwarded from 127.0.0.1:46842 to 127.0.0.1:39863 regex: barrRead regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] ok 74 - sslh-select:regex: probe connected correctly ok 75 - sslh-select:regex: data shoveled correctly -test_probe called with$VAR1 = { - 'data' => 'barrr', - 'expected' => 'regex', - 'binary' => 'sslh-select' - }; Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 39767 + port: 39863 +test_probe called with$VAR1 = { + 'expected' => 'regex', + 'data' => 'barrr', + 'binary' => 'sslh-select' + }; hexdump of incoming packet: 0x000000: 62 b probing for ssh @@ -5580,16 +5616,16 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:39818 to 127.0.0.1:44593 forwarded from 127.0.0.1:45688 to 127.0.0.1:39767 +regex:connection from 127.0.0.1:38700 to 127.0.0.1:45649 forwarded from 127.0.0.1:46854 to 127.0.0.1:39863 regex: barrRead regex: barrr from peer: '' Received 12 bytes: protocol regex data [barrr] ok 76 - sslh-select:regex: probe connected correctly +ok 77 - sslh-select:regex: data shoveled correctly Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 39767 -ok 77 - sslh-select:regex: data shoveled correctly + port: 39863 sni: sni1 alpn: alpn1 test_probe called with$VAR1 = { @@ -12988,11 +13024,11 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:39820 to 127.0.0.1:44593 forwarded from 127.0.0.1:56462 to 127.0.0.1:32847 +tls:connection from 127.0.0.1:38712 to 127.0.0.1:45649 forwarded from 127.0.0.1:51984 to 127.0.0.1:46193 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  -# alpn1hRead tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g +# alpn1Read tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  # alpn1hello sni/alpn from peer: '' @@ -13000,21 +13036,21 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn] +ok 78 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly Successudp: 0 prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 32847 -ok 78 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly + port: 46193 ok 79 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly sni: sni1 alpn: alpn2 test_probe called with$VAR1 = { + 'expected' => 'tls:sni1;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  # alpn2hello sni/alpn', - 'expected' => 'tls:sni1;alpn1,alpn2', 'binary' => 'sslh-select' }; hexdump of incoming packet: @@ -20406,7 +20442,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:37318 to 127.0.0.1:44593 forwarded from 127.0.0.1:56468 to 127.0.0.1:32847 +tls:connection from 127.0.0.1:39154 to 127.0.0.1:45649 forwarded from 127.0.0.1:51986 to 127.0.0.1:46193 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -20423,12 +20459,12 @@ sni: sni2 alpn: alpn1 test_probe called with$VAR1 = { + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn1hello sni/alpn', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', - 'binary' => 'sslh-select' + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; hexdump of incoming packet: 0x000000: 16 . @@ -20457,15 +20493,15 @@ probing for tls probed for tls: PROBE_AGAIN probing for tls -Successprobed for tls: PROBE_AGAIN -udp: 0 -prefix: tls:sni1;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 32847 +probed for tls: PROBE_AGAIN probing for tls probed for tls: PROBE_AGAIN probing for anyprot +Successudp: 0 +prefix: tls:sni1;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 46193 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -27826,7 +27862,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:37324 to 127.0.0.1:44593 forwarded from 127.0.0.1:38116 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:39166 to 127.0.0.1:45649 forwarded from 127.0.0.1:45168 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -27839,21 +27875,21 @@ # alpn1hello sni/alpn] ok 82 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly +ok 83 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly +sni: sni2 +alpn: alpn2 Successudp: 0 prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 45387 -ok 83 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly -sni: sni2 -alpn: alpn2 + port: 45447 test_probe called with$VAR1 = { - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn2hello sni/alpn', - 'binary' => 'sslh-select' + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; hexdump of incoming packet: 0x000000: 16 . @@ -35247,7 +35283,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:37334 to 127.0.0.1:44593 forwarded from 127.0.0.1:38130 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:39174 to 127.0.0.1:45649 forwarded from 127.0.0.1:45184 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -35260,22 +35296,22 @@ # alpn2hello sni/alpn] ok 84 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 45447 ok 85 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn1 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  # alpn1hello sni/alpn' }; -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 45387 hexdump of incoming packet: 0x000000: 16 . probing for ssh @@ -42668,7 +42704,7 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:37346 to 127.0.0.1:44593 forwarded from 127.0.0.1:60298 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:39178 to 127.0.0.1:45649 forwarded from 127.0.0.1:45186 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -42680,22 +42716,22 @@ 9 3=<5/_ sni3  # alpn1hello sni/alpn] +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 45447 ok 86 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 87 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn2 -test_probe called withSuccessudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 45387 -$VAR1 = { +test_probe called with$VAR1 = { + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  -# alpn2hello sni/alpn', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', - 'binary' => 'sslh-select' +# alpn2hello sni/alpn' }; hexdump of incoming packet: 0x000000: 16 . @@ -50090,7 +50126,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58502 to 127.0.0.1:44593 forwarded from 127.0.0.1:60314 to 127.0.0.1:45387 +tls:connection from 127.0.0.1:39180 to 127.0.0.1:45649 forwarded from 127.0.0.1:43020 to 127.0.0.1:45447 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -50107,7 +50143,7 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 45387 + port: 45447 ok 89 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: alpn: alpn3 @@ -56961,7 +56997,7 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58516 to 127.0.0.1:44593 forwarded from 127.0.0.1:52770 to 127.0.0.1:33599 +tls:connection from 127.0.0.1:44750 to 127.0.0.1:45649 forwarded from 127.0.0.1:41198 to 127.0.0.1:46747 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -56974,21 +57010,16 @@ # alpn3hello alpn] ok 90 - sslh-select:tls:;alpn3: probe connected correctly -Successudp: 0 -prefix: tls:;alpn3: -listen [1]: - host: 127.0.0.1 - port: 33599 ok 91 - sslh-select:tls:;alpn3: data shoveled correctly sni: sni3 alpn: test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'tls:sni3;', 'data' => '魆![\'KUP/7%Y728,0̨̩̪+/$(k#\'g 9 3=<5/S sni3  # hello sni', - 'expected' => 'tls:sni3;' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -57021,6 +57052,11 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot +Successudp: 0 +prefix: tls:;alpn3: +listen [1]: + host: 127.0.0.1 + port: 46747 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -63873,7 +63909,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58528 to 127.0.0.1:44593 forwarded from 127.0.0.1:33940 to 127.0.0.1:37047 +tls:connection from 127.0.0.1:44754 to 127.0.0.1:45649 forwarded from 127.0.0.1:50148 to 127.0.0.1:38607 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -63887,13 +63923,18 @@ # hello sni] ok 92 - sslh-select:tls:sni3;: probe connected correctly ok 93 - sslh-select:tls:sni3;: data shoveled correctly -test_probe called with$VAR1 = { - 'expected' => 'tls', +Successtest_probe called withudp: 0 +prefix: tls:sni3;: +listen [1]: + host: 127.0.0.1 + port: 38607 +$VAR1 = { 'data' => '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#\'g 9 3=<5/F  # hello tls alone', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'tls' }; hexdump of incoming packet: 0x000000: 16 . @@ -63926,11 +63967,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:sni3;: -listen [1]: - host: 127.0.0.1 - port: 37047 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -70235,11 +70271,11 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58540 to 127.0.0.1:44593 forwarded from 127.0.0.1:40698 to 127.0.0.1:38627 +tls:connection from 127.0.0.1:44760 to 127.0.0.1:45649 forwarded from 127.0.0.1:34000 to 127.0.0.1:33975 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  -# hRead tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g +# Read tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  # hello tls alone from peer: '' @@ -70247,17 +70283,17 @@ 9 3=<5/F  # hello tls alone] +ok 94 - sslh-select:tls: probe connected correctly Successudp: 0 prefix: tls: listen [1]: host: 127.0.0.1 - port: 38627 -ok 94 - sslh-select:tls: probe connected correctly + port: 33975 ok 95 - sslh-select:tls: data shoveled correctly test_probe called with$VAR1 = { 'expected' => 'anyprot', - 'data' => 'hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'data' => 'hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!' }; hexdump of incoming packet: 0x000000: 68 h @@ -72249,17 +72285,17 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:47850 to 127.0.0.1:44593 forwarded from 127.0.0.1:49914 to 127.0.0.1:37313 -anyprot: hello anyprot this needs to be longer than xmpp and adbRead anyprot: hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout! from peer: '' +anyprot:connection from 127.0.0.1:44766 to 127.0.0.1:45649 forwarded from 127.0.0.1:58442 to 127.0.0.1:45865 +anyprot: hello anyprot this needs to be longer than xmpp and adRead anyprot: hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout! from peer: '' Received 144 bytes: protocol anyprot data [hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!] -ok 96 - sslh-select:anyprot: probe connected correctly -ok 97 - sslh-select:anyprot: data shoveled correctly -Successudp: 0 +Successok 96 - sslh-select:anyprot: probe connected correctly +udp: 0 prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 37313 -killing 112772 + port: 45865 +ok 97 - sslh-select:anyprot: data shoveled correctly +killing 60737 geninfo: WARNING: (usage) branch filter enabled but branch coverage not enabled (use "geninfo --ignore-errors usage,usage ..." to suppress this warning) @@ -72380,7 +72416,7 @@ make[1]: Entering directory '/build/reproducible-path/sslh-2.1.4' # auto install fork version, see debian/install for select version dh_auto_install -- DESTDIR=/build/reproducible-path/sslh-2.1.4/debian/sslh/usr PREFIX=/ install - make -j22 install DESTDIR=/build/reproducible-path/sslh-2.1.4/debian/sslh AM_UPDATE_INFO_DIR=no DESTDIR=/build/reproducible-path/sslh-2.1.4/debian/sslh/usr PREFIX=/ install + make -j10 install DESTDIR=/build/reproducible-path/sslh-2.1.4/debian/sslh AM_UPDATE_INFO_DIR=no DESTDIR=/build/reproducible-path/sslh-2.1.4/debian/sslh/usr PREFIX=/ install make[2]: Entering directory '/build/reproducible-path/sslh-2.1.4' mkdir -p /build/reproducible-path/sslh-2.1.4/debian/sslh/usr///sbin mkdir -p /build/reproducible-path/sslh-2.1.4/debian/sslh/usr///share/man/man8 @@ -72427,12 +72463,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/54097/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/107947 and its subdirectories -I: Current time: Wed Feb 18 19:58:15 -12 2026 -I: pbuilder-time-stamp: 1771487895 +I: removing directory /srv/workspace/pbuilder/54097 and its subdirectories +I: Current time: Fri Jan 17 15:41:12 +14 2025 +I: pbuilder-time-stamp: 1737078072