Diff of the two buildlogs: -- --- b1/build.log 2025-08-29 19:29:28.478432125 +0000 +++ b2/build.log 2025-08-29 19:35:01.114849478 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 1 13:45:45 -12 2026 -I: pbuilder-time-stamp: 1790905545 +I: Current time: Sat Aug 30 09:29:30 +14 2025 +I: pbuilder-time-stamp: 1756495770 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying avoid_blocking_on_data I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2148561/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3072788/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 Aug 29 19:29 /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/3072788/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3072788/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3591aebf372845459e107ae8543341d9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='2148561' - PS1='# ' - PS2='> ' + INVOCATION_ID=f228d36bcdf54404ba552e8b1dee8869 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=3072788 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.FsucZTHc/pbuilderrc_hf4J --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.FsucZTHc/b1 --logfile b1/build.log sslh_2.1.4-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.FsucZTHc/pbuilderrc_Tq7L --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.FsucZTHc/b2 --logfile b2/build.log sslh_2.1.4-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2148561/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3072788/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -245,7 +277,7 @@ Get: 105 http://deb.debian.org/debian forky/main amd64 libwrap0 amd64 7.6.q-36 [55.3 kB] Get: 106 http://deb.debian.org/debian forky/main amd64 libwrap0-dev amd64 7.6.q-36 [21.8 kB] Get: 107 http://deb.debian.org/debian forky/main amd64 psmisc amd64 23.7-2 [267 kB] -Fetched 27.0 MB in 2s (15.4 MB/s) +Fetched 27.0 MB in 1s (26.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19855 files and directories currently installed.) @@ -606,8 +638,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Oct 2 01:47:25 UTC 2026. -Universal Time is now: Fri Oct 2 01:47:25 UTC 2026. +Local time is now: Fri Aug 29 19:30:10 UTC 2025. +Universal Time is now: Fri Aug 29 19:30:10 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libconfig11:amd64 (1.7.3-2) ... @@ -705,7 +737,11 @@ fakeroot is already the newest version (1.37.1.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/3072788/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3072788/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 @@ -746,14 +782,12 @@ 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 -j16 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 + make -j12 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-fork.o sslh-fork.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c sslh-conf.c -o sslh-conf.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c -o common.o @@ -763,8 +797,84 @@ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c tcp-probe.c -o tcp-probe.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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'c2s_parse_file': +sslh-conf.c:2092:12: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2092 | asprintf(errmsg, "%s:%d:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 2093 | filename, + | ~~~~~~~~~ + 2094 | config_error_line(c), + | ~~~~~~~~~~~~~~~~~~~~~ + 2095 | config_error_text(c)); + | ~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2098:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2098 | asprintf(errmsg, "%s:%s", filename, config_error_text(c)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'read_block': +sslh-conf.c:1803:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1803 | asprintf(errmsg, "Mandatory option \"%s\" not found", desc->name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'read_block_setval': +sslh-conf.c:1746:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1746 | asprintf(errmsg, "Option \"%s\" wrong type, expected %s\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1747 | desc->name, type2str[desc->type]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'settingcpy': +sslh-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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'clcpy': +sslh-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]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'regcompmatch_pcre2': +sslh-conf.c:1993:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 1993 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1994 | arg->regex, error, err_str, error_offset); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2003:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2003 | asprintf(errmsg, "matching %s =~ /%s/:%d: %s\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 2004 | arg_cl->sval[arg_index], arg->regex, res, err_str); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'cfg_as_string': +sslh-conf.c:2153:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2153 | asprintf(&subpath, "%s[%d]%s", path, config_setting_index(child), name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2155:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2155 | asprintf(&subpath, "%s/%s", path, name); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2163:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2163 | asprintf(&old, "%s", *strp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2166:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2166 | asprintf(&old, "%s", ""); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2168:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2168 | asprintf(strp, "%s%s:%s", old, subpath, value); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c: In function 'scalar_to_string': +sslh-conf.c:2109:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2109 | asprintf(strp, "%d\n", config_setting_get_int(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2113:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2113 | asprintf(strp, "%s\n", config_setting_get_bool(s) ? "[true]" : "[false]" ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2117:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2117 | asprintf(strp, "%lld\n", config_setting_get_int64(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sslh-conf.c:2121:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] + 2121 | asprintf(strp, "%lf\n", config_setting_get_float(s)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)) { @@ -773,6 +883,17 @@ /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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wl,-z,relro -Wl,-z,now -o systemd-sslh-generator systemd-sslh-generator.o -lconfig +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-ev.o sslh-ev.c 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); @@ -851,91 +972,6 @@ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'c2s_parse_file': -sslh-conf.c:2092:12: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2092 | asprintf(errmsg, "%s:%d:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 2093 | filename, - | ~~~~~~~~~ - 2094 | config_error_line(c), - | ~~~~~~~~~~~~~~~~~~~~~ - 2095 | config_error_text(c)); - | ~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2098:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2098 | asprintf(errmsg, "%s:%s", filename, config_error_text(c)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'read_block': -sslh-conf.c:1803:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1803 | asprintf(errmsg, "Mandatory option \"%s\" not found", desc->name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'read_block_setval': -sslh-conf.c:1746:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1746 | asprintf(errmsg, "Option \"%s\" wrong type, expected %s\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1747 | desc->name, type2str[desc->type]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'settingcpy': -sslh-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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'clcpy': -sslh-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]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'regcompmatch_pcre2': -sslh-conf.c:1993:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 1993 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1994 | arg->regex, error, err_str, error_offset); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2003:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2003 | asprintf(errmsg, "matching %s =~ /%s/:%d: %s\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 2004 | arg_cl->sval[arg_index], arg->regex, res, err_str); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'cfg_as_string': -sslh-conf.c:2153:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2153 | asprintf(&subpath, "%s[%d]%s", path, config_setting_index(child), name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2155:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2155 | asprintf(&subpath, "%s/%s", path, name); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2163:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2163 | asprintf(&old, "%s", *strp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2166:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2166 | asprintf(&old, "%s", ""); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2168:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2168 | asprintf(strp, "%s%s:%s", old, subpath, value); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c: In function 'scalar_to_string': -sslh-conf.c:2109:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2109 | asprintf(strp, "%d\n", config_setting_get_int(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2113:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2113 | asprintf(strp, "%s\n", config_setting_get_bool(s) ? "[true]" : "[false]" ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2117:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2117 | asprintf(strp, "%lld\n", config_setting_get_int64(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sslh-conf.c:2121:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] - 2121 | asprintf(strp, "%lf\n", config_setting_get_float(s)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -DLIBPCRE -g -Wl,-z,relro -Wl,-z,now -o systemd-sslh-generator systemd-sslh-generator.o -lconfig 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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 @@ -944,102 +980,97 @@ 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 -j16 test "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1 + make -j12 test "TESTSUITEFLAGS=-j12 --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:35977 --prefix ssh: -./echosrv --listen 127.0.0.1:35525 --prefix socks5: -./echosrv --listen 127.0.0.1:42883 --prefix http: -./echosrv --listen 127.0.0.1:44373 --prefix tinc: +./echosrv --listen 127.0.0.1:37451 --prefix ssh: +./echosrv --listen 127.0.0.1:38945 --prefix socks5: +./echosrv --listen 127.0.0.1:43659 --prefix http: Listening to: +3: localhost:37451 Listening to: -3: localhost:35977 -3: localhost:35525 -./echosrv --listen 127.0.0.1:42529 --prefix openvpn: +./echosrv --listen 127.0.0.1:33575 --prefix tinc: +3: localhost:38945 +./echosrv --listen 127.0.0.1:43073 --prefix openvpn: Listening to: -3: localhost:42883 -./echosrv --listen 127.0.0.1:43515 --prefix xmpp: +3: localhost:43659 Listening to: -3: localhost:44373 -./echosrv --listen 127.0.0.1:38393 --prefix adb: +./echosrv --listen 127.0.0.1:40687 --prefix xmpp: +3: localhost:33575 +./echosrv --listen 127.0.0.1:35657 --prefix adb: Listening to: -3: localhost:42529 +3: localhost:43073 +./echosrv --listen 127.0.0.1:44383 --prefix syslog: Listening to: -./echosrv --listen 127.0.0.1:36615 --prefix syslog: -3: localhost:43515 -./echosrv --listen 127.0.0.1:32949 --prefix regex: +3: localhost:40687 +./echosrv --listen 127.0.0.1:37639 --prefix regex: Listening to: -3: localhost:38393 -./echosrv --listen 127.0.0.1:36255 --prefix tls:sni1;alpn1,alpn2: +3: localhost:35657 Listening to: -3: localhost:36615 -./echosrv --listen 127.0.0.1:46389 --prefix tls:sni2,sni3;alpn1,alpn2: +./echosrv --listen 127.0.0.1:39949 --prefix tls:sni1;alpn1,alpn2: +3: localhost:44383 Listening to: -3: localhost:32949 -./echosrv --listen 127.0.0.1:35039 --prefix tls:;alpn3: +./echosrv --listen 127.0.0.1:34901 --prefix tls:sni2,sni3;alpn1,alpn2: +3: localhost:37639 Listening to: -3: localhost:36255 -./echosrv --listen 127.0.0.1:33067 --prefix tls:sni3;: +./echosrv --listen 127.0.0.1:43117 --prefix tls:;alpn3: +3: localhost:39949 Listening to: -3: localhost:46389 -./echosrv --listen 127.0.0.1:33459 --prefix tls: +./echosrv --listen 127.0.0.1:40463 --prefix tls:sni3;: +3: localhost:34901 +./echosrv --listen 127.0.0.1:36155 --prefix tls: Listening to: -3: localhost:35039 -./echosrv --listen 127.0.0.1:33999 --prefix anyprot: +3: localhost:43117 Listening to: -3: localhost:33067 +./echosrv --listen 127.0.0.1:38417 --prefix anyprot: +3: localhost:40463 Testing sslh-select -./sslh-select -f -u pbuilder1 -F test.cfg +./sslh-select -f -u pbuilder2 -F test.cfg Listening to: -spawned 2158829 -3: localhost:33459 +3: localhost:36155 +spawned 3075545 Listening to: -3: localhost:33999 -ssh addr: 127.0.0.1:35977 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -socks5 addr: 127.0.0.1:35525 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -http addr: 127.0.0.1:42883 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tinc addr: 127.0.0.1:44373 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -openvpn addr: 127.0.0.1:42529 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -xmpp addr: 127.0.0.1:43515 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -adb addr: 127.0.0.1:38393 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -syslog addr: 127.0.0.1:36615 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -regex addr: 127.0.0.1:32949 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:36255 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:46389 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:35039 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:33067 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:33459 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -anyprot addr: 127.0.0.1:33999 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +3: localhost:38417 +ssh addr: 127.0.0.1:37451 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +socks5 addr: 127.0.0.1:38945 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +http addr: 127.0.0.1:43659 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tinc addr: 127.0.0.1:33575 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +openvpn addr: 127.0.0.1:43073 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +xmpp addr: 127.0.0.1:40687 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +adb addr: 127.0.0.1:35657 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +syslog addr: 127.0.0.1:44383 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +regex addr: 127.0.0.1:37639 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:39949 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:34901 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:43117 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:40463 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:36155 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +anyprot addr: 127.0.0.1:38417 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:41495 [keepalive] [] -4: 127.0.0.1:34747 [keepalive] [] -turning into pbuilder1 +3: 127.0.0.1:44865 [keepalive] [] +4: 127.0.0.1:39109 [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(0x5640a4bb6640):36072 -ssh:connection from 127.0.0.1:36072 to 127.0.0.1:41495 forwarded from 127.0.0.1:55808 to 127.0.0.1:35977 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a747e90):35340 +ssh:connection from 127.0.0.1:35340 to 127.0.0.1:44865 forwarded from 127.0.0.1:49768 to 127.0.0.1:37451 ssh: hello world Read ssh: hello world from peer: '' ok 1 - sslh-select: Shy SSH connection ***Test: One SSL half-started then one SSH -Successprinted data '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g +Successhexdump of incoming packet: +printed data '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  # hello tls alone -' to 53776 at ./t line 399. -udp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 35977 -hexdump of incoming packet: +' to 39372 at ./t line 399. 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.... 0x000020: 90 58 d7 65 f7 bb 2d b2 8d a0 75 00 00 38 c0 2c .X.e..-...u..8., @@ -1057,6 +1088,11 @@ probing for socks5 probed for socks5: PROBE_NEXT probing for http +udp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 37451 probed for http: PROBE_NEXT probing for tinc probed for tinc: PROBE_NEXT @@ -1069,6 +1105,7 @@ probing for syslog probed for syslog: PROBE_NEXT probing for regex +going to print data to 39382 at ./t line 402. probed for regex: PROBE_NEXT probing for tls probed for tls: PROBE_NEXT @@ -1080,11 +1117,10 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -going to print data to 53780 at ./t line 402. printed data 'hello world -' to 53780 at ./t line 404. -tls:connection from 127.0.0.1:53776 to 127.0.0.1:41495 forwarded from 127.0.0.1:33564 to 127.0.0.1:33459 -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0d48):53780 +' to 39382 at ./t line 404. +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a75b258):39382 +tls:connection from 127.0.0.1:39372 to 127.0.0.1:44865 forwarded from 127.0.0.1:55772 to 127.0.0.1:36155 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh @@ -1125,10 +1161,10 @@ 9 3=<5/F  # hello tls alone -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5640a40b0d48):53780 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5640a40b0d48):53780 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5640a40b0d48):53780 -ssh:connection from 127.0.0.1:53780 to 127.0.0.1:41495 forwarded from 127.0.0.1:44020 to 127.0.0.1:35977 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55f21a75b258):39382 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55f21a75b258):39382 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55f21a75b258):39382 +ssh:connection from 127.0.0.1:39382 to 127.0.0.1:44865 forwarded from 127.0.0.1:60470 to 127.0.0.1:37451 ssh: hello world Read ssh: hello world from peer: '' @@ -1141,33 +1177,33 @@ 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 -SuccessSuccessudp: 0 -prefix: tls: -listen [1]: - host: 127.0.0.1 - port: 33459 -udp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 35977 -hexdump of incoming packet: +SuccessSuccesshexdump 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.... 0x000020: 90 58 d7 65 f7 bb 2d b2 8d a0 75 00 00 38 c0 2c .X.e..-...u..8., 0x000030: c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e .0.........+./.. 0x000040: c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 .$.(.k.#.'.g.... -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bb67c0):49224 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77db98):43994 0x000050: 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c .9.....3.....=.< 0x000060: 00 35 00 2f 00 ff 01 00 00 46 00 0b 00 04 03 00 .5./.....F...... 0x000070: 01 02 00 0a 00 0a 00 08 00 1d 00 17 00 19 00 18 ................ 0x000080: 00 23 00 00 00 0d 00 20 00 1e 06 01 06 02 06 03 .#..... ........ 0x000090: 05 01 05 02 05 03 04 01 04 02 04 03 03 01 03 02 ................ 0x0000a0: 03 03 02 01 02 02 02 03 00 16 00 00 00 17 00 00 ................ +udp: 0 +prefix: tls: +listen [1]: + host: 127.0.0.1 + port: 36155 0x0000b0: 68 65 6c 6c 6f 20 74 6c 73 20 61 6c 6f 6e 65 0a hello tls alone. probing for ssh probed for ssh: PROBE_NEXT probing for socks5 +udp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 37451 probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_NEXT @@ -1193,7 +1229,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:49224 to 127.0.0.1:41495 forwarded from 127.0.0.1:50618 to 127.0.0.1:33459 +tls:connection from 127.0.0.1:43994 to 127.0.0.1:44865 forwarded from 127.0.0.1:43708 to 127.0.0.1:36155 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -1204,8 +1240,8 @@ # hello tls alone from peer: '' ok 4 - sslh-select: SSL during SSH being established +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77d670):43984 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0910):49214 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh probed for ssh: PROBE_NEXT @@ -1245,32 +1281,32 @@ prefix: tls: listen [1]: host: 127.0.0.1 - port: 33459 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5640a40b0910):49214 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5640a40b0910):49214 -ssh:connection from 127.0.0.1:49214 to 127.0.0.1:41495 forwarded from 127.0.0.1:49598 to 127.0.0.1:35977 + port: 36155 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55f21a77d670):43984 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55f21a77d670):43984 +ssh:connection from 127.0.0.1:43984 to 127.0.0.1:44865 forwarded from 127.0.0.1:52832 to 127.0.0.1:37451 ssh: hello world Read ssh: hello world from peer: '' ok 5 - sslh-select: SSH connection interrupted by SSL test_probe called with$VAR1 = { + 'expected' => 'ssh', + 'no_frag' => 1, 'binary' => 'sslh-select', 'data' => 'SSH-2.0 tester -', - 'no_frag' => 1, - 'expected' => 'ssh' +' }; Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 35977 + port: 37451 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77d970):37614 hexdump of incoming packet: 0x000000: 53 53 48 2d 32 2e 30 20 74 65 73 74 65 72 0a SSH-2.0 tester. -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b10f0):37486 probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:37486 to 127.0.0.1:41495 forwarded from 127.0.0.1:35560 to 127.0.0.1:35977 +ssh:connection from 127.0.0.1:37614 to 127.0.0.1:44865 forwarded from 127.0.0.1:44850 to 127.0.0.1:37451 ssh: SSH-2.0 tester Read ssh: SSH-2.0 tester from peer: '' @@ -1280,40 +1316,39 @@ prefix: ssh: listen [1]: host: 127.0.0.1 - port: 35977 + port: 37451 ok 6 - sslh-select:ssh: probe connected correctly ok 7 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { + 'data' => '', 'binary' => 'sslh-select', 'no_frag' => 1, - 'data' => '', 'expected' => 'socks5' }; hexdump of incoming packet: 0x000000: 05 04 01 02 03 04 ...... +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77dd60):37624 probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b08c8):37490 -socks5:connection from 127.0.0.1:37490 to 127.0.0.1:41495 forwarded from 127.0.0.1:59536 to 127.0.0.1:35525 +socks5:connection from 127.0.0.1:37624 to 127.0.0.1:44865 forwarded from 127.0.0.1:48444 to 127.0.0.1:38945 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] Successudp: 0 prefix: socks5: listen [1]: host: 127.0.0.1 - port: 35525 + port: 38945 ok 8 - sslh-select:socks5: probe connected correctly ok 9 - sslh-select:socks5: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'GET index.html HTTP/1.1', - 'no_frag' => 1, 'expected' => 'http', + 'no_frag' => 1, + 'data' => 'GET index.html HTTP/1.1', 'binary' => 'sslh-select' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bb6358):37496 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 @@ -1322,24 +1357,25 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -http:connection from 127.0.0.1:37496 to 127.0.0.1:41495 forwarded from 127.0.0.1:52120 to 127.0.0.1:42883 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77dca0):37634 +http:connection from 127.0.0.1:37634 to 127.0.0.1:44865 forwarded from 127.0.0.1:47376 to 127.0.0.1:43659 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: 42883 + port: 43659 ok 10 - sslh-select:http: probe connected correctly ok 11 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'no_frag' => 1, 'expected' => 'tinc', - 'data' => '0 hello', - 'no_frag' => 1 + 'binary' => 'sslh-select', + 'data' => '0 hello' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b08f8):37508 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a787bb8):37650 0x000000: 30 20 68 65 6c 6c 6f 0 hello probing for ssh probed for ssh: PROBE_NEXT @@ -1349,24 +1385,24 @@ probed for http: PROBE_NEXT probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:37508 to 127.0.0.1:41495 forwarded from 127.0.0.1:41374 to 127.0.0.1:44373 +tinc:connection from 127.0.0.1:37650 to 127.0.0.1:44865 forwarded from 127.0.0.1:38800 to 127.0.0.1:33575 tinc: 0 helloRead tinc: 0 hello from peer: '' Received 13 bytes: protocol tinc data [0 hello] -Successudp: 0 +Successok 12 - sslh-select:tinc: probe connected correctly +udp: 0 prefix: tinc: listen [1]: host: 127.0.0.1 - port: 44373 -ok 12 - sslh-select:tinc: probe connected correctly + port: 33575 ok 13 - sslh-select:tinc: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'openvpn', 'no_frag' => 1, 'data' => '', - 'expected' => 'openvpn' + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0e98):56630 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77e210):37652 0x000000: 00 00 .. probing for ssh probed for ssh: PROBE_AGAIN @@ -1378,7 +1414,7 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:56630 to 127.0.0.1:41495 forwarded from 127.0.0.1:41022 to 127.0.0.1:42529 +openvpn:connection from 127.0.0.1:37652 to 127.0.0.1:44865 forwarded from 127.0.0.1:59616 to 127.0.0.1:43073 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] Successok 14 - sslh-select:openvpn: probe connected correctly @@ -1386,15 +1422,15 @@ prefix: openvpn: listen [1]: host: 127.0.0.1 - port: 42529 + port: 43073 ok 15 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { 'expected' => 'xmpp', - 'data' => 'I should get a real jabber connection initialisation here', 'no_frag' => 1, + 'data' => 'I should get a real jabber connection initialisation here', 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4be4418):56632 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77e258):41126 hexdump of incoming packet: 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 @@ -1412,23 +1448,24 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:56632 to 127.0.0.1:41495 forwarded from 127.0.0.1:52438 to 127.0.0.1:43515 +xmpp:connection from 127.0.0.1:41126 to 127.0.0.1:44865 forwarded from 127.0.0.1:37794 to 127.0.0.1:40687 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 +Successok 16 - sslh-select:xmpp: probe connected correctly +udp: 0 prefix: xmpp: listen [1]: host: 127.0.0.1 - port: 43515 -ok 16 - sslh-select:xmpp: probe connected correctly + port: 40687 ok 17 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'CNXN....................host:...', 'no_frag' => 1, 'expected' => 'adb', + 'data' => 'CNXN....................host:...', 'binary' => 'sslh-select' }; hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a747d58):41138 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 @@ -1445,25 +1482,24 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b1198):56640 -adb:connection from 127.0.0.1:56640 to 127.0.0.1:41495 forwarded from 127.0.0.1:42860 to 127.0.0.1:38393 +adb:connection from 127.0.0.1:41138 to 127.0.0.1:44865 forwarded from 127.0.0.1:34782 to 127.0.0.1:35657 adb: CNXN....................host:...Read adb: CNXN....................host:... from peer: '' Received 37 bytes: protocol adb data [CNXN....................host:...] Successudp: 0 prefix: adb: listen [1]: host: 127.0.0.1 - port: 38393 + port: 35657 ok 18 - sslh-select:adb: probe connected correctly ok 19 - sslh-select:adb: data shoveled correctly test_probe called with$VAR1 = { - 'data' => '<42> My syslog message', 'no_frag' => 1, 'expected' => 'syslog', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'data' => '<42> My syslog message' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0838):56654 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77e2d0):41148 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 @@ -1482,23 +1518,23 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:56654 to 127.0.0.1:41495 forwarded from 127.0.0.1:51008 to 127.0.0.1:36615 +syslog:connection from 127.0.0.1:41148 to 127.0.0.1:44865 forwarded from 127.0.0.1:59982 to 127.0.0.1:44383 syslog: <42> My syslog messageRead syslog: <42> My syslog message from peer: '' Received 30 bytes: protocol syslog data [<42> My syslog message] -Successok 20 - sslh-select:syslog: probe connected correctly -udp: 0 -prefix: syslog: -listen [1]: - host: 127.0.0.1 - port: 36615 +ok 20 - sslh-select:syslog: probe connected correctly ok 21 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', - 'expected' => 'ssh', 'no_frag' => 1, - 'data' => 'foo' + 'expected' => 'ssh', + 'data' => 'foo', + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bf76e8):56662 +Successudp: 0 +prefix: syslog: +listen [1]: + host: 127.0.0.1 + port: 44383 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a747d58):41154 hexdump of incoming packet: 0x000000: 66 6f 6f foo probing for ssh @@ -1530,27 +1566,27 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5640a4bf76e8):56662 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5640a4bf76e8):56662 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5640a4bf76e8):56662 -ssh:connection from 127.0.0.1:56662 to 127.0.0.1:41495 forwarded from 127.0.0.1:34356 to 127.0.0.1:35977 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55f21a747d58):41154 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55f21a747d58):41154 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55f21a747d58):41154 +ssh:connection from 127.0.0.1:41154 to 127.0.0.1:44865 forwarded from 127.0.0.1:38910 to 127.0.0.1:37451 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: 35977 -ok 22 - sslh-select:ssh: probe connected correctly + port: 37451 ok 23 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { + 'binary' => 'sslh-select', 'data' => 'fooo', - 'no_frag' => 1, 'expected' => 'regex', - 'binary' => 'sslh-select' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0670):41464 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77e108):41912 0x000000: 66 6f 6f 6f fooo probing for ssh probed for ssh: PROBE_NEXT @@ -1570,7 +1606,7 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:41464 to 127.0.0.1:41495 forwarded from 127.0.0.1:40754 to 127.0.0.1:32949 +regex:connection from 127.0.0.1:41912 to 127.0.0.1:44865 forwarded from 127.0.0.1:35616 to 127.0.0.1:37639 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] Successok 24 - sslh-select:regex: probe connected correctly @@ -1578,15 +1614,15 @@ prefix: regex: listen [1]: host: 127.0.0.1 - port: 32949 + port: 37639 ok 25 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { 'data' => 'bar', - 'no_frag' => 1, + 'binary' => 'sslh-select', 'expected' => 'ssh', - 'binary' => 'sslh-select' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b1510):41468 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a787e88):41928 hexdump of incoming packet: 0x000000: 62 61 72 bar probing for ssh @@ -1618,27 +1654,22 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5640a40b1510):41468 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5640a40b1510):41468 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5640a40b1510):41468 -ssh:connection from 127.0.0.1:41468 to 127.0.0.1:41495 forwarded from 127.0.0.1:40790 to 127.0.0.1:35977 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55f21a787e88):41928 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55f21a787e88):41928 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55f21a787e88):41928 +ssh:connection from 127.0.0.1:41928 to 127.0.0.1:44865 forwarded from 127.0.0.1:49966 to 127.0.0.1:37451 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 35977 ok 26 - sslh-select:ssh: probe connected correctly ok 27 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'regex', 'no_frag' => 1, + 'expected' => 'regex', 'data' => 'barr', 'binary' => 'sslh-select' }; +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a77e078):37832 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0e98):33890 0x000000: 62 61 72 72 barr probing for ssh probed for ssh: PROBE_NEXT @@ -1658,24 +1689,29 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:33890 to 127.0.0.1:41495 forwarded from 127.0.0.1:56380 to 127.0.0.1:32949 -regex: barrRead regex: barr from peer: '' +regex:connection from 127.0.0.1:37832 to 127.0.0.1:44865 forwarded from 127.0.0.1:55018 to 127.0.0.1:37639 +regex: barrSuccessudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 37451 +Read regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] Successok 28 - sslh-select:regex: probe connected correctly udp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 32949 + port: 37639 ok 29 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { 'data' => 'barrr', + 'binary' => 'sslh-select', 'no_frag' => 1, - 'expected' => 'regex', - 'binary' => 'sslh-select' + 'expected' => 'regex' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bf74a8):58316 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a7882c0):37844 0x000000: 62 61 72 72 72 barrr probing for ssh probed for ssh: PROBE_NEXT @@ -1695,7 +1731,7 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:58316 to 127.0.0.1:41495 forwarded from 127.0.0.1:58052 to 127.0.0.1:32949 +regex:connection from 127.0.0.1:37844 to 127.0.0.1:44865 forwarded from 127.0.0.1:55030 to 127.0.0.1:37639 regex: barrrRead regex: barrr from peer: '' Received 12 bytes: protocol regex data [barrr] Successok 30 - sslh-select:regex: probe connected correctly @@ -1703,21 +1739,21 @@ prefix: regex: listen [1]: host: 127.0.0.1 - port: 32949 + port: 37639 ok 31 - sslh-select:regex: data shoveled correctly sni: sni1 alpn: alpn1 test_probe called with$VAR1 = { - 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  # alpn1hello sni/alpn', - 'expected' => 'tls:sni1;alpn1,alpn2', - 'binary' => 'sslh-select' + 'no_frag' => 1, + 'expected' => 'tls:sni1;alpn1,alpn2' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bfb1b8):58318 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a788140):36768 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., @@ -1754,7 +1790,7 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58318 to 127.0.0.1:41495 forwarded from 127.0.0.1:58438 to 127.0.0.1:36255 +tls:connection from 127.0.0.1:36768 to 127.0.0.1:44865 forwarded from 127.0.0.1:48994 to 127.0.0.1:39949 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1766,26 +1802,26 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn] -Successok 32 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly -udp: 0 +Successudp: 0 prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 36255 + port: 39949 +ok 32 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly ok 33 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly sni: sni1 alpn: alpn2 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'tls:sni1;alpn1,alpn2', 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  -# alpn2hello sni/alpn', - 'expected' => 'tls:sni1;alpn1,alpn2' +# alpn2hello sni/alpn' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bf75e0):58320 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a787a80):36778 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., @@ -1823,7 +1859,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58320 to 127.0.0.1:41495 forwarded from 127.0.0.1:58446 to 127.0.0.1:36255 +tls:connection from 127.0.0.1:36778 to 127.0.0.1:44865 forwarded from 127.0.0.1:48996 to 127.0.0.1:39949 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1839,21 +1875,21 @@ prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 36255 + port: 39949 ok 34 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly ok 35 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly sni: sni2 alpn: alpn1 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  # alpn1hello sni/alpn', 'no_frag' => 1, - 'binary' => 'sslh-select' + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bf7220):58322 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a78c7d8):36792 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. @@ -1894,7 +1930,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58322 to 127.0.0.1:41495 forwarded from 127.0.0.1:60662 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:36792 to 127.0.0.1:44865 forwarded from 127.0.0.1:52522 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -1906,26 +1942,21 @@ 9 3=<5/_ sni2  # alpn1hello sni/alpn] -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46389 ok 36 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 37 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni2 alpn: alpn2 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/_ sni2  -# alpn2hello sni/alpn' +# alpn2hello sni/alpn', + 'no_frag' => 1, + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a788140):36802 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bf7760):58328 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., @@ -1966,7 +1997,12 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58328 to 127.0.0.1:41495 forwarded from 127.0.0.1:60664 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:36802 to 127.0.0.1:44865 forwarded from 127.0.0.1:52532 to 127.0.0.1:34901 +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -1978,28 +2014,28 @@ 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: 46389 -ok 38 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly + port: 34901 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', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'binary' => 'sslh-select' }; hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a78bc08):36810 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. -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bf7af0):44370 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.........+./.. 0x000040: c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 .$.(.k.#.'.g.... @@ -2038,7 +2074,7 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44370 to 127.0.0.1:41495 forwarded from 127.0.0.1:37714 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:36810 to 127.0.0.1:44865 forwarded from 127.0.0.1:52546 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2050,32 +2086,32 @@ 9 3=<5/_ sni3  # alpn1hello sni/alpn] +ok 40 - 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: 46389 -ok 40 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly + port: 34901 ok 41 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn2 test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'no_frag' => 1, + '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' +# alpn2hello sni/alpn' }; hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a788938):35732 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., 0x000030: c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e .0.........+./.. 0x000040: c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 .$.(.k.#.'.g.... 0x000050: 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c .9.....3.....=.< -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4c00d88):44374 0x000060: 00 35 00 2f 00 ff 01 00 00 5f 00 00 00 09 00 07 .5./....._...... 0x000070: 00 00 04 73 6e 69 33 00 0b 00 04 03 00 01 02 00 ...sni3......... 0x000080: 0a 00 0a 00 08 00 1d 00 17 00 19 00 18 00 23 00 ..............#. @@ -2111,7 +2147,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44374 to 127.0.0.1:41495 forwarded from 127.0.0.1:37726 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:35732 to 127.0.0.1:44865 forwarded from 127.0.0.1:41004 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2123,26 +2159,26 @@ 9 3=<5/_ sni3  # alpn2hello sni/alpn] -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46389 ok 42 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 43 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: alpn: alpn3 -test_probe called with$VAR1 = { - 'binary' => 'sslh-select', +Successtest_probe called with$VAR1 = { 'expected' => 'tls:;alpn3', + 'no_frag' => 1, 'data' => '␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#\'g 9 3=<5/R  # alpn3hello alpn', - 'no_frag' => 1 + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4c00f68):44386 +udp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 34901 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a787a80):35740 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.?.. 0x000020: 09 c9 e4 2b 97 24 ef ad 56 06 c9 00 00 38 c0 2c ...+.$..V....8., @@ -2187,7 +2223,7 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44386 to 127.0.0.1:41495 forwarded from 127.0.0.1:57118 to 127.0.0.1:35039 +tls:connection from 127.0.0.1:35740 to 127.0.0.1:44865 forwarded from 127.0.0.1:51088 to 127.0.0.1:43117 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -2203,21 +2239,22 @@ prefix: tls:;alpn3: listen [1]: host: 127.0.0.1 - port: 35039 + port: 43117 ok 44 - sslh-select:tls:;alpn3: probe connected correctly ok 45 - sslh-select:tls:;alpn3: data shoveled correctly sni: sni3 alpn: test_probe called with$VAR1 = { 'no_frag' => 1, + 'expected' => 'tls:sni3;', + 'binary' => 'sslh-select', 'data' => '魆![\'KUP/7%Y728,0̨̩̪+/$(k#\'g 9 3=<5/S sni3  -# hello sni', - 'expected' => 'tls:sni3;', - 'binary' => 'sslh-select' +# hello sni' }; hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a788440):35744 0x000000: 16 03 01 00 b8 01 00 00 b4 03 03 97 e4 e9 ad 86 ................ 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., @@ -2229,7 +2266,6 @@ 0x000080: 0a 00 0a 00 08 00 1d 00 17 00 19 00 18 00 23 00 ..............#. 0x000090: 00 00 0d 00 20 00 1e 06 01 06 02 06 03 05 01 05 .... ........... 0x0000a0: 02 05 03 04 01 04 02 04 03 03 01 03 02 03 03 02 ................ -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a40b0670):44398 0x0000b0: 01 02 02 02 03 00 16 00 00 00 17 00 00 68 65 6c .............hel 0x0000c0: 6c 6f 20 73 6e 69 lo sni probing for ssh @@ -2262,7 +2298,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44398 to 127.0.0.1:41495 forwarded from 127.0.0.1:39616 to 127.0.0.1:33067 +tls:connection from 127.0.0.1:35744 to 127.0.0.1:44865 forwarded from 127.0.0.1:54264 to 127.0.0.1:40463 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -2274,22 +2310,23 @@ 9 3=<5/S sni3  # hello sni] -Successudp: 0 +Successok 46 - sslh-select:tls:sni3;: probe connected correctly +udp: 0 prefix: tls:sni3;: listen [1]: host: 127.0.0.1 - port: 33067 -ok 46 - sslh-select:tls:sni3;: probe connected correctly + port: 40463 ok 47 - sslh-select:tls:sni3;: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'no_frag' => 1, 'expected' => 'tls', 'data' => '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#\'g 9 3=<5/F  # hello tls alone', - 'no_frag' => 1 + 'binary' => 'sslh-select' }; +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a792bf8):35758 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.... @@ -2297,7 +2334,6 @@ 0x000030: c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 9e .0.........+./.. 0x000040: c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 14 .$.(.k.#.'.g.... 0x000050: 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 3c .9.....3.....=.< -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bfac30):44410 0x000060: 00 35 00 2f 00 ff 01 00 00 46 00 0b 00 04 03 00 .5./.....F...... 0x000070: 01 02 00 0a 00 0a 00 08 00 1d 00 17 00 19 00 18 ................ 0x000080: 00 23 00 00 00 0d 00 20 00 1e 06 01 06 02 06 03 .#..... ........ @@ -2332,7 +2368,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44410 to 127.0.0.1:41495 forwarded from 127.0.0.1:34226 to 127.0.0.1:33459 +tls:connection from 127.0.0.1:35758 to 127.0.0.1:44865 forwarded from 127.0.0.1:38978 to 127.0.0.1:36155 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -2349,16 +2385,16 @@ prefix: tls: listen [1]: host: 127.0.0.1 - port: 33459 + port: 36155 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!', + 'expected' => 'anyprot', 'no_frag' => 1, - '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(0x55f21a787a80):35768 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4bfab10):39144 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 @@ -2402,21 +2438,21 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:39144 to 127.0.0.1:41495 forwarded from 127.0.0.1:55596 to 127.0.0.1:33999 +anyprot:connection from 127.0.0.1:35768 to 127.0.0.1:44865 forwarded from 127.0.0.1:43318 to 127.0.0.1:38417 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!] -Successudp: 0 +Successok 50 - sslh-select:anyprot: probe connected correctly +udp: 0 prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 33999 -ok 50 - sslh-select:anyprot: probe connected correctly + port: 38417 ok 51 - sslh-select:anyprot: data shoveled correctly test_probe called with$VAR1 = { + 'binary' => 'sslh-select', 'data' => 'SSH-2.0 tester ', - 'expected' => 'ssh', - 'binary' => 'sslh-select' + 'expected' => 'ssh' }; hexdump of incoming packet: 0x000000: 53 S @@ -2515,7 +2551,7 @@ 0x000000: 53 53 48 2d SSH- probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:39156 to 127.0.0.1:41495 forwarded from 127.0.0.1:51054 to 127.0.0.1:35977 +ssh:connection from 127.0.0.1:50846 to 127.0.0.1:44865 forwarded from 127.0.0.1:57672 to 127.0.0.1:37451 ssh: SSH-Read ssh: SSH-2.0 tester from peer: '' Received 20 bytes: protocol ssh data [SSH-2.0 tester @@ -2524,13 +2560,13 @@ prefix: ssh: listen [1]: host: 127.0.0.1 - port: 35977 + port: 37451 ok 52 - sslh-select:ssh: probe connected correctly ok 53 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { + 'data' => '', 'binary' => 'sslh-select', - 'expected' => 'socks5', - 'data' => '' + 'expected' => 'socks5' }; hexdump of incoming packet: 0x000000: 05 . @@ -2698,24 +2734,24 @@ probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -socks5:connection from 127.0.0.1:39164 to 127.0.0.1:41495 forwarded from 127.0.0.1:46358 to 127.0.0.1:35525 +socks5:connection from 127.0.0.1:50862 to 127.0.0.1:44865 forwarded from 127.0.0.1:41942 to 127.0.0.1:38945 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] Successudp: 0 prefix: socks5: listen [1]: host: 127.0.0.1 - port: 35525 + port: 38945 ok 54 - sslh-select:socks5: probe connected correctly 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', - 'binary' => 'sslh-select' + 'no_frag' => 1 }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4c01760):39178 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a78c868):50878 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 @@ -2724,20 +2760,20 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -http:connection from 127.0.0.1:39178 to 127.0.0.1:41495 forwarded from 127.0.0.1:50302 to 127.0.0.1:42883 +http:connection from 127.0.0.1:50878 to 127.0.0.1:44865 forwarded from 127.0.0.1:47386 to 127.0.0.1:43659 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 +Successok 56 - sslh-select:http: probe connected correctly +udp: 0 prefix: http: listen [1]: host: 127.0.0.1 - port: 42883 -ok 56 - sslh-select:http: probe connected correctly + port: 43659 ok 57 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { 'data' => '0 hello', - 'expected' => 'tinc', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'tinc' }; hexdump of incoming packet: 0x000000: 30 0 @@ -2780,20 +2816,20 @@ probed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:39190 to 127.0.0.1:41495 forwarded from 127.0.0.1:57572 to 127.0.0.1:44373 +tinc:connection from 127.0.0.1:50880 to 127.0.0.1:44865 forwarded from 127.0.0.1:33916 to 127.0.0.1:33575 tinc: 0 Read 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: 44373 + port: 33575 ok 58 - sslh-select:tinc: probe connected correctly ok 59 - sslh-select:tinc: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'expected' => 'openvpn', - 'data' => '' + 'data' => '', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 00 . @@ -2838,20 +2874,20 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:39192 to 127.0.0.1:41495 forwarded from 127.0.0.1:34282 to 127.0.0.1:42529 +openvpn:connection from 127.0.0.1:50884 to 127.0.0.1:44865 forwarded from 127.0.0.1:35388 to 127.0.0.1:43073 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] -Successok 60 - sslh-select:openvpn: probe connected correctly -udp: 0 +Successudp: 0 prefix: openvpn: listen [1]: host: 127.0.0.1 - port: 42529 + port: 43073 +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', - 'data' => 'I should get a real jabber connection initialisation here' + 'data' => 'I should get a real jabber connection initialisation here', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 49 I @@ -3757,19 +3793,19 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:39194 to 127.0.0.1:41495 forwarded from 127.0.0.1:35110 to 127.0.0.1:43515 +xmpp:connection from 127.0.0.1:50898 to 127.0.0.1:44865 forwarded from 127.0.0.1:47724 to 127.0.0.1:40687 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] Successudp: 0 prefix: xmpp: listen [1]: host: 127.0.0.1 - port: 43515 + port: 40687 ok 62 - sslh-select:xmpp: probe connected correctly 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: @@ -4826,14 +4862,14 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:39198 to 127.0.0.1:41495 forwarded from 127.0.0.1:47996 to 127.0.0.1:38393 +adb:connection from 127.0.0.1:50904 to 127.0.0.1:44865 forwarded from 127.0.0.1:42710 to 127.0.0.1:35657 adb: CNXN....................host:.Read adb: CNXN....................host:... from peer: '' Received 37 bytes: protocol adb data [CNXN....................host:...] Successudp: 0 prefix: adb: listen [1]: host: 127.0.0.1 - port: 38393 + port: 35657 ok 64 - sslh-select:adb: probe connected correctly ok 65 - sslh-select:adb: data shoveled correctly test_probe called with$VAR1 = { @@ -4890,19 +4926,19 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:39202 to 127.0.0.1:41495 forwarded from 127.0.0.1:33360 to 127.0.0.1:36615 +syslog:connection from 127.0.0.1:50920 to 127.0.0.1:44865 forwarded from 127.0.0.1:47496 to 127.0.0.1:44383 syslog: <4Read syslog: <42> My syslog message from peer: '' Received 30 bytes: protocol syslog data [<42> My syslog message] Successudp: 0 prefix: syslog: listen [1]: host: 127.0.0.1 - port: 36615 + port: 44383 ok 66 - sslh-select:syslog: probe connected correctly ok 67 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'expected' => 'ssh', + 'binary' => 'sslh-select', 'data' => 'foo' }; hexdump of incoming packet: @@ -4998,11 +5034,11 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4c03548):39216 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5640a4c03548):39216 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5640a4c03548):39216 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5640a4c03548):39216 -ssh:connection from 127.0.0.1:39216 to 127.0.0.1:41495 forwarded from 127.0.0.1:38782 to 127.0.0.1:35977 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a7941a0):50924 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55f21a7941a0):50924 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55f21a7941a0):50924 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55f21a7941a0):50924 +ssh:connection from 127.0.0.1:50924 to 127.0.0.1:44865 forwarded from 127.0.0.1:57574 to 127.0.0.1:37451 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] Successok 68 - sslh-select:ssh: probe connected correctly @@ -5010,12 +5046,12 @@ prefix: ssh: listen [1]: host: 127.0.0.1 - port: 35977 + port: 37451 ok 69 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'regex', + 'binary' => 'sslh-select', 'data' => 'fooo', - 'binary' => 'sslh-select' + 'expected' => 'regex' }; hexdump of incoming packet: 0x000000: 66 f @@ -5130,15 +5166,15 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:37634 to 127.0.0.1:41495 forwarded from 127.0.0.1:39426 to 127.0.0.1:32949 +regex:connection from 127.0.0.1:49030 to 127.0.0.1:44865 forwarded from 127.0.0.1:55802 to 127.0.0.1:37639 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] -Successok 70 - sslh-select:regex: probe connected correctly -udp: 0 +Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 32949 + port: 37639 +ok 70 - sslh-select:regex: probe connected correctly ok 71 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', @@ -5238,23 +5274,23 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x5640a4c06db8):37646 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x5640a4c06db8):37646 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x5640a4c06db8):37646 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x5640a4c06db8):37646 -ssh:connection from 127.0.0.1:37646 to 127.0.0.1:41495 forwarded from 127.0.0.1:48420 to 127.0.0.1:35977 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55f21a7947b8):49044 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55f21a7947b8):49044 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55f21a7947b8):49044 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55f21a7947b8):49044 +ssh:connection from 127.0.0.1:49044 to 127.0.0.1:44865 forwarded from 127.0.0.1:53538 to 127.0.0.1:37451 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] +ok 72 - sslh-select:ssh: probe connected correctly Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 35977 -ok 72 - sslh-select:ssh: probe connected correctly + port: 37451 ok 73 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'data' => 'barr', + 'binary' => 'sslh-select', 'expected' => 'regex' }; hexdump of incoming packet: @@ -5370,7 +5406,7 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:44790 to 127.0.0.1:41495 forwarded from 127.0.0.1:48086 to 127.0.0.1:32949 +regex:connection from 127.0.0.1:58054 to 127.0.0.1:44865 forwarded from 127.0.0.1:54564 to 127.0.0.1:37639 regex: barrRead regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] Successok 74 - sslh-select:regex: probe connected correctly @@ -5378,12 +5414,12 @@ prefix: regex: listen [1]: host: 127.0.0.1 - port: 32949 + port: 37639 ok 75 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { 'expected' => 'regex', - 'data' => 'barrr', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'data' => 'barrr' }; hexdump of incoming packet: 0x000000: 62 b @@ -5498,25 +5534,25 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:44802 to 127.0.0.1:41495 forwarded from 127.0.0.1:48098 to 127.0.0.1:32949 +regex:connection from 127.0.0.1:58056 to 127.0.0.1:44865 forwarded from 127.0.0.1:54572 to 127.0.0.1:37639 regex: barrRead regex: barrr from peer: '' Received 12 bytes: protocol regex data [barrr] Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 32949 + port: 37639 ok 76 - sslh-select:regex: probe connected correctly ok 77 - sslh-select:regex: data shoveled correctly sni: sni1 alpn: alpn1 test_probe called with$VAR1 = { + 'expected' => 'tls:sni1;alpn1,alpn2', 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  -# alpn1hello sni/alpn', - 'expected' => 'tls:sni1;alpn1,alpn2' +# alpn1hello sni/alpn' }; hexdump of incoming packet: 0x000000: 16 . @@ -12906,7 +12942,7 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44814 to 127.0.0.1:41495 forwarded from 127.0.0.1:59862 to 127.0.0.1:36255 +tls:connection from 127.0.0.1:58064 to 127.0.0.1:44865 forwarded from 127.0.0.1:53394 to 127.0.0.1:39949 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -12922,18 +12958,18 @@ prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 36255 + port: 39949 ok 78 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly 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', + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  -# alpn2hello sni/alpn', - 'expected' => 'tls:sni1;alpn1,alpn2', - 'binary' => 'sslh-select' +# alpn2hello sni/alpn' }; hexdump of incoming packet: 0x000000: 16 . @@ -20324,7 +20360,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44826 to 127.0.0.1:41495 forwarded from 127.0.0.1:59868 to 127.0.0.1:36255 +tls:connection from 127.0.0.1:58080 to 127.0.0.1:44865 forwarded from 127.0.0.1:53400 to 127.0.0.1:39949 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -20340,18 +20376,18 @@ prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 36255 + port: 39949 ok 80 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly ok 81 - sslh-select:tls:sni1;alpn1,alpn2: data shoveled correctly 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 . @@ -27744,7 +27780,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44832 to 127.0.0.1:41495 forwarded from 127.0.0.1:56118 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:58096 to 127.0.0.1:44865 forwarded from 127.0.0.1:34776 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -27760,18 +27796,18 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46389 + port: 34901 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 test_probe called with$VAR1 = { 'binary' => 'sslh-select', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  -# alpn2hello sni/alpn' +# alpn2hello sni/alpn', + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; hexdump of incoming packet: 0x000000: 16 . @@ -35165,7 +35201,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:40206 to 127.0.0.1:41495 forwarded from 127.0.0.1:56122 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:58098 to 127.0.0.1:44865 forwarded from 127.0.0.1:60926 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -35181,18 +35217,18 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46389 + port: 34901 ok 84 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly 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', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  -# alpn1hello sni/alpn' +# alpn1hello sni/alpn', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -42586,7 +42622,7 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:40216 to 127.0.0.1:41495 forwarded from 127.0.0.1:56138 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:59428 to 127.0.0.1:44865 forwarded from 127.0.0.1:60942 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -42602,18 +42638,18 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46389 + port: 34901 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 with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  # alpn2hello sni/alpn', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -50008,7 +50044,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:40226 to 127.0.0.1:41495 forwarded from 127.0.0.1:56140 to 127.0.0.1:46389 +tls:connection from 127.0.0.1:59430 to 127.0.0.1:44865 forwarded from 127.0.0.1:60958 to 127.0.0.1:34901 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -50024,7 +50060,7 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46389 + port: 34901 ok 88 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 89 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: @@ -50034,8 +50070,8 @@ 9 3=<5/R  # alpn3hello alpn', - 'expected' => 'tls:;alpn3', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'tls:;alpn3' }; hexdump of incoming packet: 0x000000: 16 . @@ -56879,7 +56915,7 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:40236 to 127.0.0.1:41495 forwarded from 127.0.0.1:46122 to 127.0.0.1:35039 +tls:connection from 127.0.0.1:59444 to 127.0.0.1:44865 forwarded from 127.0.0.1:39310 to 127.0.0.1:43117 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -56895,18 +56931,18 @@ prefix: tls:;alpn3: listen [1]: host: 127.0.0.1 - port: 35039 + port: 43117 ok 90 - sslh-select:tls:;alpn3: probe connected correctly 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 . @@ -63791,7 +63827,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:40252 to 127.0.0.1:41495 forwarded from 127.0.0.1:34150 to 127.0.0.1:33067 +tls:connection from 127.0.0.1:59450 to 127.0.0.1:44865 forwarded from 127.0.0.1:49540 to 127.0.0.1:40463 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -63807,16 +63843,16 @@ prefix: tls:sni3;: listen [1]: host: 127.0.0.1 - port: 33067 + port: 40463 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', '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 . @@ -70153,7 +70189,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:33478 to 127.0.0.1:41495 forwarded from 127.0.0.1:39654 to 127.0.0.1:33459 +tls:connection from 127.0.0.1:59454 to 127.0.0.1:44865 forwarded from 127.0.0.1:43734 to 127.0.0.1:36155 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -70169,13 +70205,13 @@ prefix: tls: listen [1]: host: 127.0.0.1 - port: 33459 + port: 36155 ok 94 - sslh-select:tls: probe connected correctly ok 95 - sslh-select:tls: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'anyprot', + '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!', - 'binary' => 'sslh-select' + 'expected' => 'anyprot' }; hexdump of incoming packet: 0x000000: 68 h @@ -72167,17 +72203,17 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:33486 to 127.0.0.1:41495 forwarded from 127.0.0.1:34368 to 127.0.0.1:33999 +anyprot:connection from 127.0.0.1:43350 to 127.0.0.1:44865 forwarded from 127.0.0.1:46078 to 127.0.0.1:38417 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!] Successudp: 0 prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 33999 + port: 38417 ok 96 - sslh-select:anyprot: probe connected correctly ok 97 - sslh-select:anyprot: data shoveled correctly -killing 2158829 +killing 3075545 lcov: ERROR: (empty) no .gcda files found in . (use "lcov --ignore-errors empty ..." to bypass this error) @@ -72293,7 +72329,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 -j16 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 -j12 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 @@ -72331,8 +72367,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'sslh-dbgsym' in '../sslh-dbgsym_2.1.4-1_amd64.deb'. dpkg-deb: building package 'sslh' in '../sslh_2.1.4-1_amd64.deb'. +dpkg-deb: building package 'sslh-dbgsym' in '../sslh-dbgsym_2.1.4-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../sslh_2.1.4-1_amd64.buildinfo dpkg-genchanges --build=binary -O../sslh_2.1.4-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -72340,12 +72376,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/3072788/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3072788/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/2148561 and its subdirectories -I: Current time: Thu Oct 1 13:52:27 -12 2026 -I: pbuilder-time-stamp: 1790905947 +I: removing directory /srv/workspace/pbuilder/3072788 and its subdirectories +I: Current time: Sat Aug 30 09:35:00 +14 2025 +I: pbuilder-time-stamp: 1756496100