Diff of the two buildlogs: -- --- b1/build.log 2025-01-06 23:07:13.523935724 +0000 +++ b2/build.log 2025-01-06 23:12:46.196784843 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 6 11:01:26 -12 2025 -I: pbuilder-time-stamp: 1736204486 +I: Current time: Mon Feb 9 19:30:15 +14 2026 +I: pbuilder-time-stamp: 1770615015 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/2889901/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4085766/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Feb 9 05:30 /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/4085766/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4085766/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=20 ' - DISTRIBUTION='unstable' - 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=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='98fbcb57a0d143bc954e1b773ae9ee50' - 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='2889901' - PS1='# ' - PS2='> ' + INVOCATION_ID=8c7ccae1d64f43bf9e4b861ba09f521f + 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=4085766 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.z4btC8XT/pbuilderrc_DreB --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z4btC8XT/b1 --logfile b1/build.log sslh_2.1.4-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.z4btC8XT/pbuilderrc_E8RA --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z4btC8XT/b2 --logfile b2/build.log sslh_2.1.4-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2889901/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4085766/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -255,7 +287,7 @@ Get: 115 http://deb.debian.org/debian unstable/main amd64 libwrap0 amd64 7.6.q-35 [55.2 kB] Get: 116 http://deb.debian.org/debian unstable/main amd64 libwrap0-dev amd64 7.6.q-35 [21.9 kB] Get: 117 http://deb.debian.org/debian unstable/main amd64 psmisc amd64 23.7-1 [266 kB] -Fetched 36.5 MB in 1s (68.0 MB/s) +Fetched 36.5 MB in 0s (100 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal: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 ... 19848 files and directories currently installed.) @@ -652,8 +684,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Jan 6 23:02:01 UTC 2025. -Universal Time is now: Mon Jan 6 23:02:01 UTC 2025. +Local time is now: Mon Feb 9 05:30:50 UTC 2026. +Universal Time is now: Mon Feb 9 05:30:50 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -757,7 +789,11 @@ fakeroot is already the newest version (1.36.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/sslh-2.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../sslh_2.1.4-1_source.changes +I: user script /srv/workspace/pbuilder/4085766/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4085766/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 @@ -798,7 +834,7 @@ 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 -j20 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 + make -j42 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 @@ -821,6 +857,8 @@ 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 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); @@ -899,14 +937,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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)) { - | ^~~~~~~ -In file included from common.c:46: -/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, - | ~~~~~~^~~~~~ 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); @@ -969,10 +999,18 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +common.c: In function 'check_access_rights': 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)) { + | ^~~~~~~ +In file included from common.c:46: +/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, + | ~~~~~~^~~~~~ 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]" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -985,8 +1023,6 @@ 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 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 @@ -996,86 +1032,86 @@ 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 -j20 test "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 test "TESTSUITEFLAGS=-j42 --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:44923 --prefix ssh: -./echosrv --listen 127.0.0.1:33751 --prefix socks5: -Listening to: -3: localhost:44923 -./echosrv --listen 127.0.0.1:38323 --prefix http: +./echosrv --listen 127.0.0.1:34775 --prefix ssh: +./echosrv --listen 127.0.0.1:44321 --prefix socks5: Listening to: -./echosrv --listen 127.0.0.1:44349 --prefix tinc: -3: localhost:33751 -./echosrv --listen 127.0.0.1:41705 --prefix openvpn: +3: localhost:34775 +./echosrv --listen 127.0.0.1:32813 --prefix http: Listening to: -3: localhost:38323 +./echosrv --listen 127.0.0.1:33723 --prefix tinc: +3: localhost:44321 Listening to: -./echosrv --listen 127.0.0.1:33951 --prefix xmpp: -3: localhost:44349 +3: localhost:32813 +./echosrv --listen 127.0.0.1:43043 --prefix openvpn: Listening to: -3: localhost:41705 -./echosrv --listen 127.0.0.1:45919 --prefix adb: +3: localhost:33723 +./echosrv --listen 127.0.0.1:39445 --prefix xmpp: Listening to: -3: localhost:33951 -./echosrv --listen 127.0.0.1:43219 --prefix syslog: +./echosrv --listen 127.0.0.1:42023 --prefix adb: +3: localhost:43043 Listening to: -./echosrv --listen 127.0.0.1:38601 --prefix regex: -3: localhost:45919 +3: localhost:39445 +./echosrv --listen 127.0.0.1:44211 --prefix syslog: Listening to: -3: localhost:43219 -./echosrv --listen 127.0.0.1:41325 --prefix tls:sni1;alpn1,alpn2: +3: localhost:42023 +./echosrv --listen 127.0.0.1:41325 --prefix regex: Listening to: -3: localhost:38601 -./echosrv --listen 127.0.0.1:46809 --prefix tls:sni2,sni3;alpn1,alpn2: +3: localhost:44211 +./echosrv --listen 127.0.0.1:40465 --prefix tls:sni1;alpn1,alpn2: Listening to: -./echosrv --listen 127.0.0.1:46083 --prefix tls:;alpn3: 3: localhost:41325 +./echosrv --listen 127.0.0.1:33409 --prefix tls:sni2,sni3;alpn1,alpn2: Listening to: -./echosrv --listen 127.0.0.1:41749 --prefix tls:sni3;: -3: localhost:46809 +3: localhost:40465 +./echosrv --listen 127.0.0.1:34465 --prefix tls:;alpn3: Listening to: -./echosrv --listen 127.0.0.1:35241 --prefix tls: -3: localhost:46083 +3: localhost:33409 +./echosrv --listen 127.0.0.1:43697 --prefix tls:sni3;: Listening to: -./echosrv --listen 127.0.0.1:43583 --prefix anyprot: -3: localhost:41749 -Testing sslh-select +3: localhost:34465 +./echosrv --listen 127.0.0.1:33185 --prefix tls: +Listening to: +./echosrv --listen 127.0.0.1:38883 --prefix anyprot: +3: localhost:43697 Listening to: -./sslh-select -f -u pbuilder1 -F test.cfg -3: localhost:35241 -spawned 2906080 +Testing sslh-select +./sslh-select -f -u pbuilder2 -F test.cfg +3: localhost:33185 +spawned 4092455 Listening to: -3: localhost:43583 -ssh addr: 127.0.0.1:44923 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -socks5 addr: 127.0.0.1:33751 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -http addr: 127.0.0.1:38323 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tinc addr: 127.0.0.1:44349 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -openvpn addr: 127.0.0.1:41705 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -xmpp addr: 127.0.0.1:33951 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -adb addr: 127.0.0.1:45919 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -syslog addr: 127.0.0.1:43219 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -regex addr: 127.0.0.1:38601 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:41325 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:46809 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:46083 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:41749 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:35241 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -anyprot addr: 127.0.0.1:43583 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +3: localhost:38883 +ssh addr: 127.0.0.1:34775 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +socks5 addr: 127.0.0.1:44321 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +http addr: 127.0.0.1:32813 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tinc addr: 127.0.0.1:33723 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +openvpn addr: 127.0.0.1:43043 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +xmpp addr: 127.0.0.1:39445 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +adb addr: 127.0.0.1:42023 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +syslog addr: 127.0.0.1:44211 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +regex addr: 127.0.0.1:41325 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:40465 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:33409 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:34465 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:43697 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:33185 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +anyprot addr: 127.0.0.1:38883 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:36991 [keepalive] [] -4: 127.0.0.1:43603 [keepalive] [] -turning into pbuilder1 +3: 127.0.0.1:34621 [keepalive] [] +4: 127.0.0.1:37519 [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(0x558a5a9b3f58):41186 -ssh:connection from 127.0.0.1:41186 to 127.0.0.1:36991 forwarded from 127.0.0.1:36972 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1785e1de8):33940 +ssh:connection from 127.0.0.1:33940 to 127.0.0.1:34621 forwarded from 127.0.0.1:48814 to 127.0.0.1:34775 ssh: hello world Read ssh: hello world from peer: '' @@ -1085,14 +1121,14 @@ prefix: ssh: listen [1]: host: 127.0.0.1 - port: 44923 + port: 34775 hexdump of incoming packet: +0x000000: 16 03 01 00 ab 01 00 00 a7 03 03 89 22 33 95 43 ............"3.C printed data '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  # hello tls alone -' to 57000 at ./t line 399. -0x000000: 16 03 01 00 ab 01 00 00 a7 03 03 89 22 33 95 43 ............"3.C +' to 38784 at ./t line 399. 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.........+./.. @@ -1101,14 +1137,10 @@ 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 .#..... ........ -going to print data to 57002 at ./t line 402. 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 ................ -printed data 'hello world -' to 57002 at ./t line 404. 0x0000b0: 68 65 6c 6c 6f 20 74 6c 73 20 61 6c 6f 6e 65 0a hello tls alone. probing for ssh -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9c5a38):57002 probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_NEXT @@ -1136,8 +1168,12 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:57000 to 127.0.0.1:36991 forwarded from 127.0.0.1:38572 to 127.0.0.1:35241 +going to print data to 38800 at ./t line 402. +tls:connection from 127.0.0.1:38784 to 127.0.0.1:34621 forwarded from 127.0.0.1:41004 to 127.0.0.1:33185 +printed data 'hello world +' to 38800 at ./t line 404. hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1785f2dd0):38800 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh probed for ssh: PROBE_NEXT @@ -1177,10 +1213,10 @@ 9 3=<5/F  # hello tls alone -Would block, sleeping. Iteration: 1 socket: SCALAR(0x558a5a9c5a38):57002 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x558a5a9c5a38):57002 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x558a5a9c5a38):57002 -ssh:connection from 127.0.0.1:57002 to 127.0.0.1:36991 forwarded from 127.0.0.1:40820 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55c1785f2dd0):38800 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55c1785f2dd0):38800 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55c1785f2dd0):38800 +ssh:connection from 127.0.0.1:38800 to 127.0.0.1:34621 forwarded from 127.0.0.1:55408 to 127.0.0.1:34775 ssh: hello world Read ssh: hello world from peer: '' @@ -1194,17 +1230,16 @@ ok 3 - sslh-select: SSL connection interrupted by SSH ***Test: One SSH half-started then one SSL SuccessSuccessudp: 0 -prefix: ssh: +prefix: tls: listen [1]: host: 127.0.0.1 - port: 44923 + port: 33185 udp: 0 -prefix: tls: +prefix: ssh: listen [1]: host: 127.0.0.1 - port: 35241 + port: 34775 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e95c0):56886 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., @@ -1213,6 +1248,7 @@ 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 ................ +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1785f2740):34784 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 ................ @@ -1245,7 +1281,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:56886 to 127.0.0.1:36991 forwarded from 127.0.0.1:54608 to 127.0.0.1:35241 +tls:connection from 127.0.0.1:34784 to 127.0.0.1:34621 forwarded from 127.0.0.1:37362 to 127.0.0.1:33185 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -1256,7 +1292,7 @@ # hello tls alone from peer: '' ok 4 - sslh-select: SSL during SSH being established -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9b8a08):56878 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178617e90):34778 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh @@ -1286,111 +1322,110 @@ probing for tls Request did not begin with TLS handshake. probed for tls: PROBE_NEXT -Successprobing for tls +probing for tls Request did not begin with TLS handshake. probed for tls: PROBE_NEXT -udp: 0 -prefix: tls: -listen [1]: - host: 127.0.0.1 - port: 35241 probing for tls Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x558a5a9b8a08):56878 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x558a5a9b8a08):56878 -ssh:connection from 127.0.0.1:56878 to 127.0.0.1:36991 forwarded from 127.0.0.1:41076 to 127.0.0.1:44923 +Successudp: 0 +prefix: tls: +listen [1]: + host: 127.0.0.1 + port: 33185 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55c178617e90):34778 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55c178617e90):34778 +ssh:connection from 127.0.0.1:34778 to 127.0.0.1:34621 forwarded from 127.0.0.1:47664 to 127.0.0.1:34775 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', +test_probe called withSuccess$VAR1 = { 'binary' => 'sslh-select', 'data' => 'SSH-2.0 tester ', + 'expected' => 'ssh', 'no_frag' => 1 }; -Successudp: 0 +udp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 44923 + port: 34775 hexdump of incoming packet: 0x000000: 53 53 48 2d 32 2e 30 20 74 65 73 74 65 72 0a SSH-2.0 tester. probing for ssh probed for ssh: PROBE_MATCH -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e95f0):40092 -ssh:connection from 127.0.0.1:40092 to 127.0.0.1:36991 forwarded from 127.0.0.1:33294 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178617cf8):59738 +ssh:connection from 127.0.0.1:59738 to 127.0.0.1:34621 forwarded from 127.0.0.1:47676 to 127.0.0.1:34775 ssh: SSH-2.0 tester Read ssh: SSH-2.0 tester from peer: '' Received 20 bytes: protocol ssh data [SSH-2.0 tester ] -Successok 6 - sslh-select:ssh: probe connected correctly -udp: 0 +Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 44923 + port: 34775 +ok 6 - sslh-select:ssh: probe connected correctly ok 7 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, 'data' => '', - 'expected' => 'socks5', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'no_frag' => 1, + 'expected' => 'socks5' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e9bd8):40104 0x000000: 05 04 01 02 03 04 ...... probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -socks5:connection from 127.0.0.1:40104 to 127.0.0.1:36991 forwarded from 127.0.0.1:56824 to 127.0.0.1:33751 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1785f29b0):41054 +socks5:connection from 127.0.0.1:41054 to 127.0.0.1:34621 forwarded from 127.0.0.1:45292 to 127.0.0.1:44321 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] Successudp: 0 prefix: socks5: listen [1]: host: 127.0.0.1 - port: 33751 + port: 44321 ok 8 - sslh-select:socks5: probe connected correctly ok 9 - sslh-select:socks5: data shoveled correctly test_probe called with$VAR1 = { + 'expected' => 'http', 'no_frag' => 1, - 'data' => 'GET index.html HTTP/1.1', 'binary' => 'sslh-select', - 'expected' => 'http' + 'data' => 'GET index.html HTTP/1.1' }; hexdump of incoming packet: 0x000000: 47 45 54 20 69 6e 64 65 78 2e 68 74 6d 6c 20 48 GET index.html H 0x000010: 54 54 50 2f 31 2e 31 TTP/1.1 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1785e1c38):41064 probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e9938):40118 -http:connection from 127.0.0.1:40118 to 127.0.0.1:36991 forwarded from 127.0.0.1:57180 to 127.0.0.1:38323 +http:connection from 127.0.0.1:41064 to 127.0.0.1:34621 forwarded from 127.0.0.1:59062 to 127.0.0.1:32813 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: 38323 + port: 32813 ok 10 - sslh-select:http: probe connected correctly ok 11 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { - 'data' => '0 hello', 'no_frag' => 1, 'expected' => 'tinc', + 'data' => '0 hello', 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e9698):59444 hexdump of incoming packet: 0x000000: 30 20 68 65 6c 6c 6f 0 hello probing for ssh @@ -1401,24 +1436,24 @@ probed for http: PROBE_NEXT probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:59444 to 127.0.0.1:36991 forwarded from 127.0.0.1:35784 to 127.0.0.1:44349 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1786180a0):41070 +tinc:connection from 127.0.0.1:41070 to 127.0.0.1:34621 forwarded from 127.0.0.1:38096 to 127.0.0.1:33723 tinc: 0 helloRead tinc: 0 hello from peer: '' Received 13 bytes: protocol tinc data [0 hello] Successudp: 0 prefix: tinc: listen [1]: host: 127.0.0.1 - port: 44349 + port: 33723 ok 12 - sslh-select:tinc: probe connected correctly ok 13 - sslh-select:tinc: data shoveled correctly test_probe called with$VAR1 = { + 'binary' => 'sslh-select', 'data' => '', - 'no_frag' => 1, 'expected' => 'openvpn', - 'binary' => 'sslh-select' + 'no_frag' => 1 }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e99c8):59452 0x000000: 00 00 .. probing for ssh probed for ssh: PROBE_AGAIN @@ -1430,26 +1465,27 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:59452 to 127.0.0.1:36991 forwarded from 127.0.0.1:54116 to 127.0.0.1:41705 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1785f22f0):41074 +openvpn:connection from 127.0.0.1:41074 to 127.0.0.1:34621 forwarded from 127.0.0.1:60062 to 127.0.0.1:43043 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] -Successok 14 - sslh-select:openvpn: probe connected correctly -udp: 0 +Successudp: 0 prefix: openvpn: listen [1]: host: 127.0.0.1 - port: 41705 + port: 43043 +ok 14 - sslh-select:openvpn: probe connected correctly ok 15 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, - 'data' => 'I should get a real jabber connection initialisation here', 'expected' => 'xmpp', - 'binary' => 'sslh-select' + 'no_frag' => 1, + 'binary' => 'sslh-select', + 'data' => 'I should get a real jabber connection initialisation here' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9ea160):59456 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 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1786186d0):41082 0x000020: 63 74 69 6f 6e 20 69 6e 69 74 69 61 6c 69 73 61 ction initialisa 0x000030: 74 69 6f 6e 20 68 65 72 65 tion here probing for ssh @@ -1464,30 +1500,30 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:59456 to 127.0.0.1:36991 forwarded from 127.0.0.1:36466 to 127.0.0.1:33951 +xmpp:connection from 127.0.0.1:41082 to 127.0.0.1:34621 forwarded from 127.0.0.1:57660 to 127.0.0.1:39445 xmpp: I should get a real jabber connection initialisation hereRead xmpp: I should get a real jabber connection initialisation here from peer: '' Received 63 bytes: protocol xmpp data [I should get a real jabber connection initialisation here] Successudp: 0 prefix: xmpp: listen [1]: host: 127.0.0.1 - port: 33951 + port: 39445 ok 16 - sslh-select:xmpp: probe connected correctly ok 17 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, 'data' => 'CNXN....................host:...', 'binary' => 'sslh-select', + 'no_frag' => 1, 'expected' => 'adb' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5040):59458 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 probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_NEXT +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178622180):45898 probing for http probed for http: PROBE_NEXT probing for tinc @@ -1498,24 +1534,23 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:59458 to 127.0.0.1:36991 forwarded from 127.0.0.1:45098 to 127.0.0.1:45919 +adb:connection from 127.0.0.1:45898 to 127.0.0.1:34621 forwarded from 127.0.0.1:57224 to 127.0.0.1:42023 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: 45919 + port: 42023 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', + 'expected' => 'syslog', 'no_frag' => 1, 'binary' => 'sslh-select', - 'expected' => 'syslog' + 'data' => '<42> My syslog message' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5280):59466 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 @@ -1524,6 +1559,7 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_NEXT +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178622468):45908 probing for tinc probed for tinc: PROBE_NEXT probing for openvpn @@ -1534,24 +1570,23 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:59466 to 127.0.0.1:36991 forwarded from 127.0.0.1:46742 to 127.0.0.1:43219 +syslog:connection from 127.0.0.1:45908 to 127.0.0.1:34621 forwarded from 127.0.0.1:45280 to 127.0.0.1:44211 syslog: <42> My syslog messageRead 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: 43219 + port: 44211 ok 20 - sslh-select:syslog: probe connected correctly ok 21 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { + 'no_frag' => 1, 'expected' => 'ssh', - 'binary' => 'sslh-select', 'data' => 'foo', - 'no_frag' => 1 + 'binary' => 'sslh-select' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f54c0):56960 0x000000: 66 6f 6f foo probing for ssh probed for ssh: PROBE_AGAIN @@ -1567,6 +1602,7 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_AGAIN +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178618298):45914 probing for syslog probed for syslog: PROBE_NEXT probing for regex @@ -1582,27 +1618,26 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x558a5a9f54c0):56960 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x558a5a9f54c0):56960 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x558a5a9f54c0):56960 -ssh:connection from 127.0.0.1:56960 to 127.0.0.1:36991 forwarded from 127.0.0.1:50238 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55c178618298):45914 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55c178618298):45914 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55c178618298):45914 +ssh:connection from 127.0.0.1:45914 to 127.0.0.1:34621 forwarded from 127.0.0.1:45544 to 127.0.0.1:34775 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] -Successok 22 - sslh-select:ssh: probe connected correctly -udp: 0 +Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 44923 + port: 34775 +ok 22 - sslh-select:ssh: probe connected correctly ok 23 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { 'expected' => 'regex', - 'binary' => 'sslh-select', 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => 'fooo' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5700):59062 0x000000: 66 6f 6f 6f fooo probing for ssh probed for ssh: PROBE_NEXT @@ -1618,28 +1653,28 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_AGAIN +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178618058):48228 probing for syslog probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:59062 to 127.0.0.1:36991 forwarded from 127.0.0.1:34628 to 127.0.0.1:38601 +regex:connection from 127.0.0.1:48228 to 127.0.0.1:34621 forwarded from 127.0.0.1:55518 to 127.0.0.1:41325 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38601 + port: 41325 ok 24 - sslh-select:regex: probe connected correctly ok 25 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'bar', 'no_frag' => 1, - 'binary' => 'sslh-select', - 'expected' => 'ssh' + 'expected' => 'ssh', + 'data' => 'bar', + 'binary' => 'sslh-select' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5940):59066 0x000000: 62 61 72 bar probing for ssh probed for ssh: PROBE_AGAIN @@ -1650,6 +1685,7 @@ probing for tinc probed for tinc: PROBE_NEXT probing for openvpn +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178622b28):46588 probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_AGAIN @@ -1670,27 +1706,26 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x558a5a9f5940):59066 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x558a5a9f5940):59066 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x558a5a9f5940):59066 -ssh:connection from 127.0.0.1:59066 to 127.0.0.1:36991 forwarded from 127.0.0.1:32834 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55c178622b28):46588 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55c178622b28):46588 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55c178622b28):46588 +ssh:connection from 127.0.0.1:46588 to 127.0.0.1:34621 forwarded from 127.0.0.1:45364 to 127.0.0.1:34775 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] +ok 26 - sslh-select:ssh: probe connected correctly Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 44923 -ok 26 - sslh-select:ssh: probe connected correctly + port: 34775 ok 27 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'no_frag' => 1, 'data' => 'barr', 'binary' => 'sslh-select', + 'no_frag' => 1, 'expected' => 'regex' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5a30):46114 0x000000: 62 61 72 72 barr probing for ssh probed for ssh: PROBE_NEXT @@ -1708,26 +1743,32 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_NEXT +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178622030):60452 probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:46114 to 127.0.0.1:36991 forwarded from 127.0.0.1:55838 to 127.0.0.1:38601 +regex:connection from 127.0.0.1:60452 to 127.0.0.1:34621 forwarded from 127.0.0.1:36090 to 127.0.0.1:41325 regex: barrRead regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] +Successudp: 0 +prefix: regex: +listen [1]: + host: 127.0.0.1 + port: 41325 ok 28 - sslh-select:regex: probe connected correctly ok 29 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'regex', 'binary' => 'sslh-select', - 'no_frag' => 1, - 'data' => 'barrr' + 'data' => 'barrr', + 'expected' => 'regex', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5220):46126 hexdump of incoming packet: 0x000000: 62 61 72 72 72 barrr probing for ssh probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_NEXT +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178622348):60468 probing for http probed for http: PROBE_AGAIN probing for tinc @@ -1742,29 +1783,29 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:46126 to 127.0.0.1:36991 forwarded from 127.0.0.1:55846 to 127.0.0.1:38601 +regex:connection from 127.0.0.1:60468 to 127.0.0.1:34621 forwarded from 127.0.0.1:36106 to 127.0.0.1:41325 +regex: barrrRead regex: barrr from peer: '' +Received 12 bytes: protocol regex data [barrr] Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38601 -regex: barrrRead regex: barrr from peer: '' -Received 12 bytes: protocol regex data [barrr] + port: 41325 ok 30 - sslh-select:regex: probe connected correctly ok 31 - sslh-select:regex: data shoveled correctly sni: sni1 alpn: alpn1 test_probe called with$VAR1 = { + 'expected' => 'tls:sni1;alpn1,alpn2', + 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  -# alpn1hello sni/alpn', - 'no_frag' => 1, - 'binary' => 'sslh-select', - 'expected' => 'tls:sni1;alpn1,alpn2' +# alpn1hello sni/alpn' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f59a0):46138 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178618298):60478 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., @@ -1799,14 +1840,9 @@ probed for regex: PROBE_NEXT probing for tls matching [sni1] with [sni1] -Successudp: 0 -prefix: regex: -listen [1]: - host: 127.0.0.1 - port: 38601 matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:46138 to 127.0.0.1:36991 forwarded from 127.0.0.1:36932 to 127.0.0.1:41325 +tls:connection from 127.0.0.1:60478 to 127.0.0.1:34621 forwarded from 127.0.0.1:42800 to 127.0.0.1:40465 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1818,23 +1854,28 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn] +Successudp: 0 +prefix: tls:sni1;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 40465 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, 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  -# alpn2hello sni/alpn' +# alpn2hello sni/alpn', + 'expected' => 'tls:sni1;alpn1,alpn2', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9e97a0):46150 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. +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178626600):49676 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.... @@ -1870,12 +1911,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:46150 to 127.0.0.1:36991 forwarded from 127.0.0.1:36934 to 127.0.0.1:41325 -Successudp: 0 -prefix: tls:sni1;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 41325 +tls:connection from 127.0.0.1:49676 to 127.0.0.1:34621 forwarded from 127.0.0.1:54602 to 127.0.0.1:40465 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1887,20 +1923,24 @@ 9 3=<5/_ sni1  # alpn2hello sni/alpn] +Successudp: 0 +prefix: tls:sni1;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 40465 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 = { - 'binary' => 'sslh-select', 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn1hello sni/alpn' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f8668):46164 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. @@ -1910,6 +1950,7 @@ 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 5f 00 00 00 09 00 07 .5./....._...... 0x000070: 00 00 04 73 6e 69 32 00 0b 00 04 03 00 01 02 00 ...sni2......... +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178626c48):49682 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 ................ @@ -1941,12 +1982,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:46164 to 127.0.0.1:36991 forwarded from 127.0.0.1:54676 to 127.0.0.1:46809 -Successudp: 0 -prefix: tls:sni1;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 41325 +tls:connection from 127.0.0.1:49682 to 127.0.0.1:34621 forwarded from 127.0.0.1:51874 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -1958,30 +1994,30 @@ 9 3=<5/_ sni2  # alpn1hello sni/alpn] +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 33409 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', + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f88a8):58192 -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46809 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. 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.........+./.. +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178622120):49684 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.....=.< 0x000060: 00 35 00 2f 00 ff 01 00 00 5f 00 00 00 09 00 07 .5./....._...... @@ -2018,7 +2054,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58192 to 127.0.0.1:36991 forwarded from 127.0.0.1:36894 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:49684 to 127.0.0.1:34621 forwarded from 127.0.0.1:51880 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -2034,28 +2070,28 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46809 + port: 33409 ok 38 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 39 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn1 test_probe called with$VAR1 = { 'no_frag' => 1, + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', '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(0x558a5a9f9190):58208 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(0x55c178626cd8):49694 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 ..............#. @@ -2090,7 +2126,7 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58208 to 127.0.0.1:36991 forwarded from 127.0.0.1:36900 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:49694 to 127.0.0.1:34621 forwarded from 127.0.0.1:51884 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2106,22 +2142,22 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46809 + port: 33409 ok 40 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly ok 41 - sslh-select:tls:sni2,sni3;alpn1,alpn2: data shoveled correctly sni: sni3 alpn: alpn2 test_probe called with$VAR1 = { + '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', - 'no_frag' => 1 + 'binary' => 'sslh-select' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f8e90):58216 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1786225a0):49700 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., @@ -2163,7 +2199,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58216 to 127.0.0.1:36991 forwarded from 127.0.0.1:36906 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:49700 to 127.0.0.1:34621 forwarded from 127.0.0.1:51894 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2175,20 +2211,24 @@ 9 3=<5/_ sni3  # alpn2hello sni/alpn] +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 33409 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 = { 'no_frag' => 1, + 'expected' => 'tls:;alpn3', 'data' => '␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#\'g 9 3=<5/R  # alpn3hello alpn', - 'binary' => 'sslh-select', - 'expected' => 'tls:;alpn3' + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f8e78):58224 hexdump of incoming packet: 0x000000: 16 03 01 00 b7 01 00 00 b3 03 03 e2 90 a2 29 03 ..............). 0x000010: 31 ad 98 44 51 54 90 5b d9 51 0e 66 b5 3f e8 8b 1..DQT.[.Q.f.?.. @@ -2201,6 +2241,7 @@ 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 10 00 08 00 06 05 61 ...............a +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178626e40):35368 0x0000b0: 6c 70 6e 33 00 16 00 00 00 17 00 00 68 65 6c 6c lpn3........hell 0x0000c0: 6f 20 61 6c 70 6e o alpn probing for ssh @@ -2234,12 +2275,7 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58224 to 127.0.0.1:36991 forwarded from 127.0.0.1:50434 to 127.0.0.1:46083 -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46809 +tls:connection from 127.0.0.1:35368 to 127.0.0.1:34621 forwarded from 127.0.0.1:58932 to 127.0.0.1:34465 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -2251,25 +2287,24 @@ 9 3=<5/R  # alpn3hello alpn] -ok 44 - sslh-select:tls:;alpn3: probe connected correctly Successudp: 0 prefix: tls:;alpn3: listen [1]: host: 127.0.0.1 - port: 46083 + port: 34465 +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 = { + 'expected' => 'tls:sni3;', + 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '魆![\'KUP/7%Y728,0̨̩̪+/$(k#\'g 9 3=<5/S sni3  -# hello sni', - 'no_frag' => 1, - 'expected' => 'tls:sni3;', - 'binary' => 'sslh-select' +# hello sni' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f8bd8):58238 hexdump of incoming packet: 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.../ @@ -2299,6 +2334,7 @@ probing for adb probed for adb: PROBE_NEXT probing for syslog +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178618568):35378 probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_NEXT @@ -2314,7 +2350,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:58238 to 127.0.0.1:36991 forwarded from 127.0.0.1:37280 to 127.0.0.1:41749 +tls:connection from 127.0.0.1:35378 to 127.0.0.1:34621 forwarded from 127.0.0.1:50278 to 127.0.0.1:43697 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -2330,22 +2366,22 @@ prefix: tls:sni3;: listen [1]: host: 127.0.0.1 - port: 41749 + port: 43697 ok 46 - sslh-select:tls:sni3;: probe connected correctly ok 47 - sslh-select:tls:sni3;: data shoveled correctly test_probe called with$VAR1 = { + 'expected' => 'tls', + 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#\'g 9 3=<5/F  -# hello tls alone', - 'no_frag' => 1, - 'binary' => 'sslh-select', - 'expected' => 'tls' +# hello tls alone' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f5778):42926 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.... +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178626e88):35382 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.... @@ -2384,7 +2420,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:42926 to 127.0.0.1:36991 forwarded from 127.0.0.1:45236 to 127.0.0.1:35241 +tls:connection from 127.0.0.1:35382 to 127.0.0.1:34621 forwarded from 127.0.0.1:43516 to 127.0.0.1:33185 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -2396,22 +2432,22 @@ 9 3=<5/F  # hello tls alone] -ok 48 - sslh-select:tls: probe connected correctly Successudp: 0 prefix: tls: listen [1]: host: 127.0.0.1 - port: 35241 + port: 33185 +ok 48 - sslh-select:tls: probe connected correctly ok 49 - sslh-select:tls: data shoveled correctly test_probe called with$VAR1 = { - '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, 'binary' => 'sslh-select', - '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!' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9f9040):42938 0x000000: 68 65 6c 6c 6f 20 61 6e 79 70 72 6f 74 20 74 68 hello anyprot th +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c17862c0f0):35398 0x000010: 69 73 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6c is needs to be l 0x000020: 6f 6e 67 65 72 20 74 68 61 6e 20 78 6d 70 70 20 onger than xmpp 0x000030: 61 6e 64 20 61 64 62 20 77 68 69 63 68 20 65 78 and adb which ex @@ -2454,21 +2490,21 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:42938 to 127.0.0.1:36991 forwarded from 127.0.0.1:33870 to 127.0.0.1:43583 +anyprot:connection from 127.0.0.1:35398 to 127.0.0.1:34621 forwarded from 127.0.0.1:36268 to 127.0.0.1:38883 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 prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 43583 + port: 38883 ok 50 - sslh-select:anyprot: probe connected correctly ok 51 - sslh-select:anyprot: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'SSH-2.0 tester -', + 'expected' => 'ssh', 'binary' => 'sslh-select', - 'expected' => 'ssh' + 'data' => 'SSH-2.0 tester +' }; hexdump of incoming packet: 0x000000: 53 S @@ -2567,22 +2603,17 @@ 0x000000: 53 53 48 2d SSH- probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:42954 to 127.0.0.1:36991 forwarded from 127.0.0.1:34476 to 127.0.0.1:44923 +ssh:connection from 127.0.0.1:35410 to 127.0.0.1:34621 forwarded from 127.0.0.1:59128 to 127.0.0.1:34775 ssh: SSH-Read ssh: SSH-2.0 tester from peer: '' Received 20 bytes: protocol ssh data [SSH-2.0 tester ] ok 52 - sslh-select:ssh: probe connected correctly -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 44923 ok 53 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'socks5', 'binary' => 'sslh-select', - 'data' => '' + 'data' => '', + 'expected' => 'socks5' }; hexdump of incoming packet: 0x000000: 05 . @@ -2591,7 +2622,7 @@ probing for socks5 probed for socks5: PROBE_AGAIN probing for http -probed for http: PROBE_AGAIN +Successprobed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_AGAIN probing for openvpn @@ -2615,6 +2646,11 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot +udp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 34775 hexdump of incoming packet: 0x000000: 05 04 .. probing for ssh @@ -2750,18 +2786,23 @@ probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -socks5:connection from 127.0.0.1:42958 to 127.0.0.1:36991 forwarded from 127.0.0.1:33100 to 127.0.0.1:33751 +socks5:connection from 127.0.0.1:35420 to 127.0.0.1:34621 forwarded from 127.0.0.1:47392 to 127.0.0.1:44321 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] ok 54 - sslh-select:socks5: probe connected correctly ok 55 - sslh-select:socks5: data shoveled correctly -test_probe called with$VAR1 = { +Successtest_probe called withudp: 0 +prefix: socks5: +listen [1]: + host: 127.0.0.1 + port: 44321 +$VAR1 = { 'data' => 'GET index.html HTTP/1.1', + 'binary' => 'sslh-select', 'no_frag' => 1, - 'expected' => 'http', - 'binary' => 'sslh-select' + 'expected' => 'http' }; -SuccessWould block, sleeping. Iteration: 0 socket: SCALAR(0x558a5a9fee18):42966 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c178626d80):43980 hexdump of incoming packet: 0x000000: 47 45 54 20 69 6e 64 65 78 2e 68 74 6d 6c 20 48 GET index.html H 0x000010: 54 54 50 2f 31 2e 31 TTP/1.1 @@ -2771,38 +2812,33 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -http:connection from 127.0.0.1:42966 to 127.0.0.1:36991 forwarded from 127.0.0.1:36388 to 127.0.0.1:38323 -udp: 0 -prefix: socks5: -listen [1]: - host: 127.0.0.1 - port: 33751 +http:connection from 127.0.0.1:43980 to 127.0.0.1:34621 forwarded from 127.0.0.1:51122 to 127.0.0.1:32813 http: GET index.html HTTP/1.1Read http: GET index.html HTTP/1.1 from peer: '' Received 29 bytes: protocol http data [GET index.html HTTP/1.1] ok 56 - sslh-select:http: probe connected correctly ok 57 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { + 'data' => '0 hello', 'binary' => 'sslh-select', - 'expected' => 'tinc', - 'data' => '0 hello' + 'expected' => 'tinc' }; -Successudp: 0 -prefix: http: -listen [1]: - host: 127.0.0.1 - port: 38323 hexdump of incoming packet: 0x000000: 30 0 probing for ssh probed for ssh: PROBE_AGAIN probing for socks5 -probed for socks5: PROBE_AGAIN +Successprobed for socks5: PROBE_AGAIN probing for http probed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_AGAIN probing for openvpn probed for openvpn: PROBE_AGAIN +udp: 0 +prefix: http: +listen [1]: + host: 127.0.0.1 + port: 32813 probing for xmpp probed for xmpp: PROBE_AGAIN probing for adb @@ -2832,22 +2868,22 @@ probed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:42970 to 127.0.0.1:36991 forwarded from 127.0.0.1:53246 to 127.0.0.1:44349 +tinc:connection from 127.0.0.1:43988 to 127.0.0.1:34621 forwarded from 127.0.0.1:59596 to 127.0.0.1:33723 tinc: 0 Read tinc: 0 hello from peer: '' Received 13 bytes: protocol tinc data [0 hello] ok 58 - sslh-select:tinc: probe connected correctly ok 59 - sslh-select:tinc: data shoveled correctly -Successudp: 0 -prefix: tinc: -listen [1]: - host: 127.0.0.1 - port: 44349 test_probe called with$VAR1 = { 'data' => '', 'binary' => 'sslh-select', 'expected' => 'openvpn' }; hexdump of incoming packet: +Successudp: 0 +prefix: tinc: +listen [1]: + host: 127.0.0.1 + port: 33723 0x000000: 00 . probing for ssh probed for ssh: PROBE_AGAIN @@ -2890,17 +2926,22 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:42978 to 127.0.0.1:36991 forwarded from 127.0.0.1:53006 to 127.0.0.1:41705 +openvpn:connection from 127.0.0.1:43994 to 127.0.0.1:34621 forwarded from 127.0.0.1:50026 to 127.0.0.1:43043 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] ok 60 - sslh-select:openvpn: probe connected correctly ok 61 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { 'data' => 'I should get a real jabber connection initialisation here', - 'expected' => 'xmpp', - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'expected' => 'xmpp' }; hexdump of incoming packet: +Successudp: 0 +prefix: openvpn: +listen [1]: + host: 127.0.0.1 + port: 43043 0x000000: 49 I probing for ssh probed for ssh: PROBE_AGAIN @@ -2920,12 +2961,7 @@ probed for syslog: PROBE_NEXT probing for regex input too short, 1 bytes but need 4 -Successprobing for tls -udp: 0 -prefix: openvpn: -listen [1]: - host: 127.0.0.1 - port: 41705 +probing for tls probed for tls: PROBE_AGAIN probing for tls probed for tls: PROBE_AGAIN @@ -3809,14 +3845,19 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:42984 to 127.0.0.1:36991 forwarded from 127.0.0.1:40864 to 127.0.0.1:33951 -xmpp: I should get a real jabber Read xmpp: I should get a real jabber connection initialisation here from peer: '' +xmpp:connection from 127.0.0.1:44002 to 127.0.0.1:34621 forwarded from 127.0.0.1:52888 to 127.0.0.1:39445 +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: 39445 ok 62 - sslh-select:xmpp: probe connected correctly ok 63 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'CNXN....................host:...', 'binary' => 'sslh-select', + 'data' => 'CNXN....................host:...', 'expected' => 'adb' }; hexdump of incoming packet: @@ -3848,12 +3889,7 @@ probing for tls probed for tls: PROBE_AGAIN probing for tls -Successprobed for tls: PROBE_AGAIN -udp: 0 -prefix: xmpp: -listen [1]: - host: 127.0.0.1 - port: 33951 +probed for tls: PROBE_AGAIN probing for anyprot hexdump of incoming packet: 0x000000: 43 4e CN @@ -4878,15 +4914,20 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:43000 to 127.0.0.1:36991 forwarded from 127.0.0.1:55914 to 127.0.0.1:45919 -adb: CNXN....................host:..Read adb: CNXN....................host:... from peer: '' +adb:connection from 127.0.0.1:44006 to 127.0.0.1:34621 forwarded from 127.0.0.1:52220 to 127.0.0.1:42023 +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: 42023 ok 64 - sslh-select:adb: probe connected correctly ok 65 - sslh-select:adb: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'syslog', + 'data' => '<42> My syslog message', 'binary' => 'sslh-select', - 'data' => '<42> My syslog message' + 'expected' => 'syslog' }; hexdump of incoming packet: 0x000000: 3c < @@ -4919,11 +4960,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: adb: -listen [1]: - host: 127.0.0.1 - port: 45919 hexdump of incoming packet: 0x000000: 3c 34 <4 probing for ssh @@ -4942,21 +4978,21 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:43014 to 127.0.0.1:36991 forwarded from 127.0.0.1:44738 to 127.0.0.1:43219 +syslog:connection from 127.0.0.1:44014 to 127.0.0.1:34621 forwarded from 127.0.0.1:36642 to 127.0.0.1:44211 syslog: <4Read syslog: <42> My syslog message from peer: '' Received 30 bytes: protocol syslog data [<42> My syslog message] ok 66 - sslh-select:syslog: probe connected correctly ok 67 - sslh-select:syslog: data shoveled correctly -Successtest_probe called with$VAR1 = { - 'expected' => 'ssh', - 'binary' => 'sslh-select', - 'data' => 'foo' - }; -udp: 0 +Successtest_probe called withudp: 0 prefix: syslog: listen [1]: host: 127.0.0.1 - port: 43219 + port: 44211 +$VAR1 = { + 'binary' => 'sslh-select', + 'data' => 'foo', + 'expected' => 'ssh' + }; hexdump of incoming packet: 0x000000: 66 f probing for ssh @@ -5050,11 +5086,11 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5aa01320):43030 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x558a5aa01320):43030 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x558a5aa01320):43030 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x558a5aa01320):43030 -ssh:connection from 127.0.0.1:43030 to 127.0.0.1:36991 forwarded from 127.0.0.1:40034 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c17862e6a0):44016 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55c17862e6a0):44016 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55c17862e6a0):44016 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55c17862e6a0):44016 +ssh:connection from 127.0.0.1:44016 to 127.0.0.1:34621 forwarded from 127.0.0.1:38012 to 127.0.0.1:34775 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] Successok 68 - sslh-select:ssh: probe connected correctly @@ -5062,12 +5098,12 @@ prefix: ssh: listen [1]: host: 127.0.0.1 - port: 44923 + port: 34775 ok 69 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { + 'expected' => 'regex', 'data' => 'fooo', - 'binary' => 'sslh-select', - 'expected' => 'regex' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 66 f @@ -5182,20 +5218,20 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:58814 to 127.0.0.1:36991 forwarded from 127.0.0.1:44422 to 127.0.0.1:38601 +regex:connection from 127.0.0.1:52260 to 127.0.0.1:34621 forwarded from 127.0.0.1:43528 to 127.0.0.1:41325 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38601 + port: 41325 ok 70 - sslh-select:regex: probe connected correctly ok 71 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { 'expected' => 'ssh', - 'binary' => 'sslh-select', - 'data' => 'bar' + 'data' => 'bar', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 62 b @@ -5290,19 +5326,24 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x558a5aa045f8):58830 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x558a5aa045f8):58830 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x558a5aa045f8):58830 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x558a5aa045f8):58830 -ssh:connection from 127.0.0.1:58830 to 127.0.0.1:36991 forwarded from 127.0.0.1:59278 to 127.0.0.1:44923 +Would block, sleeping. Iteration: 0 socket: SCALAR(0x55c1786272d8):52274 +Would block, sleeping. Iteration: 1 socket: SCALAR(0x55c1786272d8):52274 +Would block, sleeping. Iteration: 2 socket: SCALAR(0x55c1786272d8):52274 +Would block, sleeping. Iteration: 3 socket: SCALAR(0x55c1786272d8):52274 +ssh:connection from 127.0.0.1:52274 to 127.0.0.1:34621 forwarded from 127.0.0.1:40244 to 127.0.0.1:34775 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: 34775 ok 72 - sslh-select:ssh: probe connected correctly ok 73 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'expected' => 'regex', - 'data' => 'barr' + 'data' => 'barr', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 62 b @@ -5322,12 +5363,7 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_NEXT -Successprobing for regex -udp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 44923 +probing for regex input too short, 1 bytes but need 4 probing for tls probed for tls: PROBE_AGAIN @@ -5422,15 +5458,20 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:41952 to 127.0.0.1:36991 forwarded from 127.0.0.1:50872 to 127.0.0.1:38601 +regex:connection from 127.0.0.1:45342 to 127.0.0.1:34621 forwarded from 127.0.0.1:38636 to 127.0.0.1:41325 regex: barrRead regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] +Successudp: 0 +prefix: regex: +listen [1]: + host: 127.0.0.1 + port: 41325 ok 74 - sslh-select:regex: probe connected correctly ok 75 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { + 'data' => 'barrr', 'binary' => 'sslh-select', - 'expected' => 'regex', - 'data' => 'barrr' + 'expected' => 'regex' }; hexdump of incoming packet: 0x000000: 62 b @@ -5463,11 +5504,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: regex: -listen [1]: - host: 127.0.0.1 - port: 38601 hexdump of incoming packet: 0x000000: 62 61 ba probing for ssh @@ -5550,20 +5586,25 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:41966 to 127.0.0.1:36991 forwarded from 127.0.0.1:50888 to 127.0.0.1:38601 +regex:connection from 127.0.0.1:45346 to 127.0.0.1:34621 forwarded from 127.0.0.1:38650 to 127.0.0.1:41325 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: 41325 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 = { - 'binary' => 'sslh-select', - 'expected' => 'tls:sni1;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  -# alpn1hello sni/alpn' +# alpn1hello sni/alpn', + 'binary' => 'sslh-select', + 'expected' => 'tls:sni1;alpn1,alpn2' }; hexdump of incoming packet: 0x000000: 16 . @@ -5596,11 +5637,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: regex: -listen [1]: - host: 127.0.0.1 - port: 38601 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -12958,7 +12994,7 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41978 to 127.0.0.1:36991 forwarded from 127.0.0.1:46290 to 127.0.0.1:41325 +tls:connection from 127.0.0.1:45362 to 127.0.0.1:34621 forwarded from 127.0.0.1:44062 to 127.0.0.1:40465 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -12974,14 +13010,14 @@ prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 41325 + port: 40465 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 = { - 'binary' => 'sslh-select', 'expected' => 'tls:sni1;alpn1,alpn2', + 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  @@ -20376,7 +20412,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41984 to 127.0.0.1:36991 forwarded from 127.0.0.1:39982 to 127.0.0.1:41325 +tls:connection from 127.0.0.1:45370 to 127.0.0.1:34621 forwarded from 127.0.0.1:44072 to 127.0.0.1:40465 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -20388,17 +20424,22 @@ 9 3=<5/_ sni1  # alpn2hello sni/alpn] +Successudp: 0 +prefix: tls:sni1;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 40465 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 = { + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + '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' +# alpn1hello sni/alpn' }; hexdump of incoming packet: 0x000000: 16 . @@ -20431,11 +20472,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:sni1;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 41325 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -27796,7 +27832,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:49962 to 127.0.0.1:36991 forwarded from 127.0.0.1:42540 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:45378 to 127.0.0.1:34621 forwarded from 127.0.0.1:51604 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -27808,17 +27844,22 @@ 9 3=<5/_ sni2  # alpn1hello sni/alpn] +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 33409 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 = { + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn2hello sni/alpn', - 'binary' => 'sslh-select', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -27851,11 +27892,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46809 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -35217,7 +35253,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:49964 to 127.0.0.1:36991 forwarded from 127.0.0.1:42556 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:45394 to 127.0.0.1:34621 forwarded from 127.0.0.1:51610 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -35229,21 +35265,21 @@ 9 3=<5/_ sni2  # alpn2hello sni/alpn] -Successok 84 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly -udp: 0 +Successudp: 0 prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 46809 + port: 33409 +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', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  # alpn1hello sni/alpn', - 'binary' => 'sslh-select', 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; hexdump of incoming packet: @@ -42638,7 +42674,7 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:49976 to 127.0.0.1:36991 forwarded from 127.0.0.1:42566 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:49610 to 127.0.0.1:34621 forwarded from 127.0.0.1:41374 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -42650,17 +42686,22 @@ 9 3=<5/_ sni3  # alpn1hello sni/alpn] +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 33409 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' +# alpn2hello sni/alpn', + 'binary' => 'sslh-select', + 'expected' => 'tls:sni2,sni3;alpn1,alpn2' }; hexdump of incoming packet: 0x000000: 16 . @@ -42693,11 +42734,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46809 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -50060,7 +50096,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:49984 to 127.0.0.1:36991 forwarded from 127.0.0.1:39302 to 127.0.0.1:46809 +tls:connection from 127.0.0.1:49618 to 127.0.0.1:34621 forwarded from 127.0.0.1:41380 to 127.0.0.1:33409 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -50072,17 +50108,22 @@ 9 3=<5/_ sni3  # alpn2hello sni/alpn] +Successudp: 0 +prefix: tls:sni2,sni3;alpn1,alpn2: +listen [1]: + host: 127.0.0.1 + port: 33409 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: alpn: alpn3 test_probe called with$VAR1 = { - 'expected' => 'tls:;alpn3', 'binary' => 'sslh-select', 'data' => '␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#\'g 9 3=<5/R  -# alpn3hello alpn' +# alpn3hello alpn', + 'expected' => 'tls:;alpn3' }; hexdump of incoming packet: 0x000000: 16 . @@ -50115,11 +50156,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:sni2,sni3;alpn1,alpn2: -listen [1]: - host: 127.0.0.1 - port: 46809 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -56931,7 +56967,7 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44388 to 127.0.0.1:36991 forwarded from 127.0.0.1:51108 to 127.0.0.1:46083 +tls:connection from 127.0.0.1:49626 to 127.0.0.1:34621 forwarded from 127.0.0.1:51630 to 127.0.0.1:34465 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -56943,17 +56979,22 @@ 9 3=<5/R  # alpn3hello alpn] +Successudp: 0 +prefix: tls:;alpn3: +listen [1]: + host: 127.0.0.1 + port: 34465 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 = { + 'expected' => 'tls:sni3;', + 'binary' => 'sslh-select', 'data' => '魆![\'KUP/7%Y728,0̨̩̪+/$(k#\'g 9 3=<5/S sni3  -# hello sni', - 'binary' => 'sslh-select', - 'expected' => 'tls:sni3;' +# hello sni' }; hexdump of incoming packet: 0x000000: 16 . @@ -56986,11 +57027,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:;alpn3: -listen [1]: - host: 127.0.0.1 - port: 46083 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -63843,7 +63879,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44390 to 127.0.0.1:36991 forwarded from 127.0.0.1:43362 to 127.0.0.1:41749 +tls:connection from 127.0.0.1:49640 to 127.0.0.1:34621 forwarded from 127.0.0.1:57718 to 127.0.0.1:43697 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -63855,15 +63891,20 @@ 9 3=<5/S sni3  # hello sni] +Successudp: 0 +prefix: tls:sni3;: +listen [1]: + host: 127.0.0.1 + port: 43697 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', + 'binary' => 'sslh-select', 'data' => '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#\'g 9 3=<5/F  -# hello tls alone', - 'binary' => 'sslh-select', - 'expected' => 'tls' +# hello tls alone' }; hexdump of incoming packet: 0x000000: 16 . @@ -63896,11 +63937,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls:sni3;: -listen [1]: - host: 127.0.0.1 - port: 41749 hexdump of incoming packet: 0x000000: 16 03 .. probing for ssh @@ -70205,7 +70241,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:44406 to 127.0.0.1:36991 forwarded from 127.0.0.1:53686 to 127.0.0.1:35241 +tls:connection from 127.0.0.1:49656 to 127.0.0.1:34621 forwarded from 127.0.0.1:45126 to 127.0.0.1:33185 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -70217,12 +70253,17 @@ 9 3=<5/F  # hello tls alone] +Successudp: 0 +prefix: tls: +listen [1]: + host: 127.0.0.1 + port: 33185 ok 94 - sslh-select:tls: probe connected correctly ok 95 - sslh-select:tls: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'anyprot', + 'data' => 'hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!', 'binary' => 'sslh-select', - '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' }; hexdump of incoming packet: 0x000000: 68 h @@ -70255,11 +70296,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: tls: -listen [1]: - host: 127.0.0.1 - port: 35241 hexdump of incoming packet: 0x000000: 68 65 he probing for ssh @@ -72219,17 +72255,17 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:44414 to 127.0.0.1:36991 forwarded from 127.0.0.1:36440 to 127.0.0.1:43583 +anyprot:connection from 127.0.0.1:34600 to 127.0.0.1:34621 forwarded from 127.0.0.1:40486 to 127.0.0.1:38883 anyprot: hello anyprot this needs to be longer than xmpp and adRead anyprot: hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout! from peer: '' Received 144 bytes: protocol anyprot data [hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!] -ok 96 - sslh-select:anyprot: probe connected correctly -ok 97 - sslh-select:anyprot: data shoveled correctly Successudp: 0 prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 43583 -killing 2906080 + port: 38883 +ok 96 - sslh-select:anyprot: probe connected correctly +ok 97 - sslh-select:anyprot: data shoveled correctly +killing 4092455 geninfo: WARNING: (usage) branch filter enabled but branch coverage not enabled (use "geninfo --ignore-errors usage,usage ..." to suppress this warning) @@ -72347,7 +72383,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 -j20 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 -j42 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 @@ -72394,12 +72430,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/4085766/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4085766/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/2889901 and its subdirectories -I: Current time: Mon Jan 6 11:07:12 -12 2025 -I: pbuilder-time-stamp: 1736204832 +I: removing directory /srv/workspace/pbuilder/4085766 and its subdirectories +I: Current time: Mon Feb 9 19:35:45 +14 2026 +I: pbuilder-time-stamp: 1770615345