Diff of the two buildlogs: -- --- b1/build.log 2025-01-08 22:24:31.920456772 +0000 +++ b2/build.log 2025-01-08 22:33:37.983566252 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 8 10:18:12 -12 2025 -I: pbuilder-time-stamp: 1736374692 +I: Current time: Thu Jan 9 12:24:46 +14 2025 +I: pbuilder-time-stamp: 1736375086 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/18028/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18292/tmp/hooks/D01_modify_environment starting +debug: Running on wbq0. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 8 22:25 /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/18292/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18292/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='c3587a56357e43fd86dd76216e66b8b7' - 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='18028' - PS1='# ' - PS2='> ' + INVOCATION_ID=b2ad96d81a9b4587bf40364647dccbce + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=18292 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.SlkQ79If/pbuilderrc_3VS6 --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.SlkQ79If/b1 --logfile b1/build.log sslh_2.1.4-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.SlkQ79If/pbuilderrc_tanD --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.SlkQ79If/b2 --logfile b2/build.log sslh_2.1.4-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18028/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/18292/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -246,7 +278,7 @@ Get: 106 http://deb.debian.org/debian unstable/main armhf libwrap0 armhf 7.6.q-35 [52.9 kB] Get: 107 http://deb.debian.org/debian unstable/main armhf libwrap0-dev armhf 7.6.q-35 [19.9 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf psmisc armhf 23.7-1 [263 kB] -Fetched 34.3 MB in 2s (18.9 MB/s) +Fetched 34.3 MB in 3s (13.5 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:armhf. (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 ... 19561 files and directories currently installed.) @@ -610,8 +642,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Jan 8 22:19:11 UTC 2025. -Universal Time is now: Wed Jan 8 22:19:11 UTC 2025. +Local time is now: Wed Jan 8 22:26:46 UTC 2025. +Universal Time is now: Wed Jan 8 22:26:46 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -712,7 +744,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/18292/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/18292/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 @@ -753,12 +789,13 @@ 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 -j3 USELIBWRAP=1 USELIBCAP=1 USESYSTEMD=1 + make -j4 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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o systemd-sslh-generator.o systemd-sslh-generator.c echosrv-conf.c: In function 'regcompmatch_pcre2': echosrv-conf.c:1015:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1015 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", @@ -848,10 +885,18 @@ echosrv-conf.c:1147:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1147 | asprintf(strp, "%s\n", config_setting_get_string(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c -o common.o +common.c: In function 'check_access_rights': +common.c:703:20: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 703 | if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { + | ^~~~~~~ +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 'regcompmatch_pcre2': sslh-conf.c:1993:69: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1993 | asprintf(errmsg, "compiling pattern /%s/:%d: %s at offset %ld\n", @@ -941,15 +986,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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c common.c -o common.o -common.c: In function 'check_access_rights': -common.c:703:20: warning: passing argument 1 of 'hosts_ctl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 703 | if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) { - | ^~~~~~~ -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, - | ~~~~~~^~~~~~ 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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c log.c -o log.o cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sslh-2.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c -o sslh-main.o sslh-main.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 -Wall -O2 -DLIBPCRE -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -DLIBCAP -DSYSTEMD -c probe.c -o probe.o @@ -973,103 +1009,107 @@ 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 -j3 test "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 test "TESTSUITEFLAGS=-j4 --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:45013 --prefix ssh: -./echosrv --listen 127.0.0.1:40229 --prefix socks5: -./echosrv --listen 127.0.0.1:37367 --prefix http: -./echosrv --listen 127.0.0.1:35061 --prefix tinc: +./echosrv --listen 127.0.0.1:35419 --prefix ssh: +./echosrv --listen 127.0.0.1:39603 --prefix socks5: Listening to: -./echosrv --listen 127.0.0.1:36131 --prefix openvpn: -3: localhost:40229 -./echosrv --listen 127.0.0.1:43563 --prefix xmpp: +./echosrv --listen 127.0.0.1:35519 --prefix http: +3: localhost:35419 Listening to: -3: localhost:37367 -./echosrv --listen 127.0.0.1:37113 --prefix adb: +3: localhost:39603 +./echosrv --listen 127.0.0.1:46617 --prefix tinc: Listening to: -3: localhost:45013 -./echosrv --listen 127.0.0.1:45957 --prefix syslog: +./echosrv --listen 127.0.0.1:36231 --prefix openvpn: +3: localhost:35519 Listening to: +3: localhost:46617 +./echosrv --listen 127.0.0.1:33575 --prefix xmpp: Listening to: -3: localhost:36131 +3: localhost:36231 +./echosrv --listen 127.0.0.1:41945 --prefix adb: Listening to: +3: localhost:33575 +./echosrv --listen 127.0.0.1:34449 --prefix syslog: Listening to: -./echosrv --listen 127.0.0.1:38459 --prefix regex: -3: localhost:37113 -3: localhost:35061 -3: localhost:43563 -./echosrv --listen 127.0.0.1:42801 --prefix tls:sni1;alpn1,alpn2: +3: localhost:41945 +./echosrv --listen 127.0.0.1:38191 --prefix regex: Listening to: +3: localhost:34449 +./echosrv --listen 127.0.0.1:44807 --prefix tls:sni1;alpn1,alpn2: Listening to: -./echosrv --listen 127.0.0.1:40449 --prefix tls:sni2,sni3;alpn1,alpn2: -3: localhost:45957 -3: localhost:38459 -./echosrv --listen 127.0.0.1:41369 --prefix tls:;alpn3: +3: localhost:38191 +./echosrv --listen 127.0.0.1:35173 --prefix tls:sni2,sni3;alpn1,alpn2: Listening to: -./echosrv --listen 127.0.0.1:45897 --prefix tls:sni3;: -3: localhost:40449 -./echosrv --listen 127.0.0.1:38551 --prefix tls: -./echosrv --listen 127.0.0.1:45123 --prefix anyprot: +3: localhost:44807 +./echosrv --listen 127.0.0.1:37067 --prefix tls:;alpn3: Listening to: -Testing sslh-select -3: localhost:45897 -./sslh-select -f -u pbuilder1 -F test.cfg -spawned 20774 +3: localhost:35173 +./echosrv --listen 127.0.0.1:41795 --prefix tls:sni3;: Listening to: +3: localhost:37067 +./echosrv --listen 127.0.0.1:43465 --prefix tls: Listening to: -3: localhost:38551 -3: localhost:41369 +./echosrv --listen 127.0.0.1:45131 --prefix anyprot: +3: localhost:41795 Listening to: -3: localhost:45123 +Testing sslh-select +./sslh-select -f -u pbuilder2 -F test.cfg +3: localhost:43465 +spawned 21014 Listening to: -3: localhost:42801 -ssh addr: 127.0.0.1:45013 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -socks5 addr: 127.0.0.1:40229 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -http addr: 127.0.0.1:37367 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tinc addr: 127.0.0.1:35061 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -openvpn addr: 127.0.0.1:36131 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -xmpp addr: 127.0.0.1:43563 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -adb addr: 127.0.0.1:37113 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -syslog addr: 127.0.0.1:45957 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -regex addr: 127.0.0.1:38459 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:42801 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:40449 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:41369 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:45897 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -tls addr: 127.0.0.1:38551 family 2 2. libwrap service: (null) log_level: 1 [] [] [] -anyprot addr: 127.0.0.1:45123 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +3: localhost:45131 +ssh addr: 127.0.0.1:35419 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +socks5 addr: 127.0.0.1:39603 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +http addr: 127.0.0.1:35519 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tinc addr: 127.0.0.1:46617 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +openvpn addr: 127.0.0.1:36231 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +xmpp addr: 127.0.0.1:33575 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +adb addr: 127.0.0.1:41945 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +syslog addr: 127.0.0.1:34449 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +regex addr: 127.0.0.1:38191 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:44807 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:35173 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:37067 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:41795 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +tls addr: 127.0.0.1:43465 family 2 2. libwrap service: (null) log_level: 1 [] [] [] +anyprot addr: 127.0.0.1:45131 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:38431 [keepalive] [] -4: 127.0.0.1:35129 [keepalive] [] -turning into pbuilder1 +3: 127.0.0.1:41135 [keepalive] [] +4: 127.0.0.1:33535 [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(0x24d6510):52872 -ssh:connection from 127.0.0.1:52872 to 127.0.0.1:38431 forwarded from 127.0.0.1:57778 to 127.0.0.1:45013 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xe8fb78):46588 +ssh:connection from 127.0.0.1:46588 to 127.0.0.1:41135 forwarded from 127.0.0.1:54412 to 127.0.0.1:35419 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 -9 3=<5/F  - -# hello tls alone -' to 53300 at ./t line 399. +Successhexdump of incoming packet: udp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 45013 -hexdump of incoming packet: + port: 35419 +printed data '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g +9 3=<5/F  + +# hello tls alone +' to 49862 at ./t line 399. 0x000000: 16 03 01 00 ab 01 00 00 a7 03 03 89 22 33 95 43 ............"3.C +going to print data to 49872 at ./t line 402. +printed data 'hello world +' to 49872 at ./t line 404. +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea4778):49872 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.........+./.. @@ -1109,12 +1149,8 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:53300 to 127.0.0.1:38431 forwarded from 127.0.0.1:50944 to 127.0.0.1:38551 -going to print data to 53314 at ./t line 402. -printed data 'hello world -' to 53314 at ./t line 404. +tls:connection from 127.0.0.1:49862 to 127.0.0.1:41135 forwarded from 127.0.0.1:54834 to 127.0.0.1:43465 hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24d56f0):53314 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh probed for ssh: PROBE_NEXT @@ -1154,9 +1190,10 @@ 9 3=<5/F  # hello tls alone -Would block, sleeping. Iteration: 1 socket: SCALAR(0x24d56f0):53314 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x24d56f0):53314 -ssh:connection from 127.0.0.1:53314 to 127.0.0.1:38431 forwarded from 127.0.0.1:34332 to 127.0.0.1:45013 +Would block, sleeping. Iteration: 1 socket: SCALAR(0xea4778):49872 +Would block, sleeping. Iteration: 2 socket: SCALAR(0xea4778):49872 +Would block, sleeping. Iteration: 3 socket: SCALAR(0xea4778):49872 +ssh:connection from 127.0.0.1:49872 to 127.0.0.1:41135 forwarded from 127.0.0.1:39532 to 127.0.0.1:35419 ssh: hello world Read ssh: hello world from peer: '' @@ -1173,14 +1210,14 @@ prefix: tls: listen [1]: host: 127.0.0.1 - port: 38551 + port: 43465 udp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 45013 -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24d5d20):50438 + port: 35419 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea4838):59312 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., @@ -1221,7 +1258,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:50438 to 127.0.0.1:38431 forwarded from 127.0.0.1:56244 to 127.0.0.1:38551 +tls:connection from 127.0.0.1:59312 to 127.0.0.1:41135 forwarded from 127.0.0.1:34264 to 127.0.0.1:43465 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -1232,7 +1269,7 @@ # hello tls alone from peer: '' ok 4 - sslh-select: SSL during SSH being established -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24cf8e8):50424 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea4d18):59296 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 77 6f 72 6c 64 0a hello world. probing for ssh @@ -1273,74 +1310,73 @@ prefix: tls: listen [1]: host: 127.0.0.1 - port: 38551 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x24cf8e8):50424 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x24cf8e8):50424 -ssh:connection from 127.0.0.1:50424 to 127.0.0.1:38431 forwarded from 127.0.0.1:49176 to 127.0.0.1:45013 + port: 43465 +Would block, sleeping. Iteration: 1 socket: SCALAR(0xea4d18):59296 +Would block, sleeping. Iteration: 2 socket: SCALAR(0xea4d18):59296 +ssh:connection from 127.0.0.1:59296 to 127.0.0.1:41135 forwarded from 127.0.0.1:58698 to 127.0.0.1:35419 ssh: hello world Read ssh: hello world from peer: '' ok 5 - sslh-select: SSH connection interrupted by SSL -test_probe called withSuccessudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 45013 -$VAR1 = { +test_probe called withSuccess$VAR1 = { + 'binary' => 'sslh-select', + 'expected' => 'ssh', 'data' => 'SSH-2.0 tester ', - 'no_frag' => 1, - 'binary' => 'sslh-select', - 'expected' => 'ssh' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24d5fc0):56516 +udp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35419 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea47d8):41680 0x000000: 53 53 48 2d 32 2e 30 20 74 65 73 74 65 72 0a SSH-2.0 tester. probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:56516 to 127.0.0.1:38431 forwarded from 127.0.0.1:42428 to 127.0.0.1:45013 +ssh:connection from 127.0.0.1:41680 to 127.0.0.1:41135 forwarded from 127.0.0.1:58712 to 127.0.0.1:35419 ssh: SSH-2.0 tester Read ssh: SSH-2.0 tester from peer: '' Received 20 bytes: protocol ssh data [SSH-2.0 tester ] -ok 6 - sslh-select:ssh: probe connected correctly Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 45013 + port: 35419 +ok 6 - sslh-select:ssh: probe connected correctly ok 7 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'socks5', - 'data' => '', + 'no_frag' => 1, 'binary' => 'sslh-select', - 'no_frag' => 1 + 'expected' => 'socks5', + 'data' => '' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f3f98):56530 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea5618):47114 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:56530 to 127.0.0.1:38431 forwarded from 127.0.0.1:39154 to 127.0.0.1:40229 +socks5:connection from 127.0.0.1:47114 to 127.0.0.1:41135 forwarded from 127.0.0.1:33808 to 127.0.0.1:39603 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] -ok 8 - sslh-select:socks5: probe connected correctly -Successudp: 0 +Successok 8 - sslh-select:socks5: probe connected correctly +udp: 0 prefix: socks5: listen [1]: host: 127.0.0.1 - port: 40229 + port: 39603 ok 9 - sslh-select:socks5: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'http', + 'binary' => 'sslh-select', 'data' => 'GET index.html HTTP/1.1', - 'no_frag' => 1, - 'binary' => 'sslh-select' + 'expected' => 'http', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24ed308):56540 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 @@ -1350,24 +1386,25 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -http:connection from 127.0.0.1:56540 to 127.0.0.1:38431 forwarded from 127.0.0.1:38636 to 127.0.0.1:37367 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea5288):47116 +http:connection from 127.0.0.1:47116 to 127.0.0.1:41135 forwarded from 127.0.0.1:40972 to 127.0.0.1:35519 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: 37367 + port: 35519 ok 10 - sslh-select:http: probe connected correctly ok 11 - sslh-select:http: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'tinc', - 'data' => '0 hello', 'no_frag' => 1, - 'binary' => 'sslh-select' + 'binary' => 'sslh-select', + 'data' => '0 hello', + 'expected' => 'tinc' }; hexdump of incoming packet: -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f45b0):56554 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea5618):47130 0x000000: 30 20 68 65 6c 6c 6f 0 hello probing for ssh probed for ssh: PROBE_NEXT @@ -1377,19 +1414,24 @@ probed for http: PROBE_NEXT probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:56554 to 127.0.0.1:38431 forwarded from 127.0.0.1:45508 to 127.0.0.1:35061 +tinc:connection from 127.0.0.1:47130 to 127.0.0.1:41135 forwarded from 127.0.0.1:54220 to 127.0.0.1:46617 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: 46617 ok 12 - sslh-select:tinc: probe connected correctly ok 13 - sslh-select:tinc: data shoveled correctly test_probe called with$VAR1 = { - 'data' => '', - 'binary' => 'sslh-select', 'no_frag' => 1, - 'expected' => 'openvpn' + 'binary' => 'sslh-select', + 'expected' => 'openvpn', + 'data' => '' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24ed5c0):51448 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea4ad8):47132 0x000000: 00 00 .. probing for ssh probed for ssh: PROBE_AGAIN @@ -1401,29 +1443,24 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:51448 to 127.0.0.1:38431 forwarded from 127.0.0.1:59056 to 127.0.0.1:36131 -Successudp: 0 -prefix: tinc: -listen [1]: - host: 127.0.0.1 - port: 35061 +openvpn:connection from 127.0.0.1:47132 to 127.0.0.1:41135 forwarded from 127.0.0.1:55502 to 127.0.0.1:36231 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] -ok 14 - sslh-select:openvpn: probe connected correctly Successudp: 0 prefix: openvpn: listen [1]: host: 127.0.0.1 - port: 36131 + port: 36231 +ok 14 - sslh-select:openvpn: probe connected correctly ok 15 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'I should get a real jabber connection initialisation here', - 'no_frag' => 1, 'binary' => 'sslh-select', - 'expected' => 'xmpp' + 'data' => 'I should get a real jabber connection initialisation here', + 'expected' => 'xmpp', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24ed218):51464 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea52e8):47148 0x000000: 49 20 73 68 6f 75 6c 64 20 67 65 74 20 61 20 72 I should get a r 0x000010: 65 61 6c 20 6a 61 62 62 65 72 20 63 6f 6e 6e 65 eal jabber conne 0x000020: 63 74 69 6f 6e 20 69 6e 69 74 69 61 6c 69 73 61 ction initialisa @@ -1440,24 +1477,24 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:51464 to 127.0.0.1:38431 forwarded from 127.0.0.1:49126 to 127.0.0.1:43563 +xmpp:connection from 127.0.0.1:47148 to 127.0.0.1:41135 forwarded from 127.0.0.1:36546 to 127.0.0.1:33575 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] -ok 16 - sslh-select:xmpp: probe connected correctly Successudp: 0 prefix: xmpp: listen [1]: host: 127.0.0.1 - port: 43563 + port: 33575 +ok 16 - sslh-select:xmpp: probe connected correctly ok 17 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { 'no_frag' => 1, - 'binary' => 'sslh-select', + 'expected' => 'adb', 'data' => 'CNXN....................host:...', - 'expected' => 'adb' + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f4928):51480 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xead5a0):49090 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 @@ -1474,24 +1511,24 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:51480 to 127.0.0.1:38431 forwarded from 127.0.0.1:41532 to 127.0.0.1:37113 +adb:connection from 127.0.0.1:49090 to 127.0.0.1:41135 forwarded from 127.0.0.1:59168 to 127.0.0.1:41945 adb: CNXN....................host:...Read adb: CNXN....................host:... from peer: '' Received 37 bytes: protocol adb data [CNXN....................host:...] -ok 18 - sslh-select:adb: probe connected correctly -ok 19 - sslh-select:adb: data shoveled correctly -test_probe called withSuccessudp: 0 +Successudp: 0 prefix: adb: listen [1]: host: 127.0.0.1 - port: 37113 -$VAR1 = { - 'no_frag' => 1, + port: 41945 +ok 18 - sslh-select:adb: probe connected correctly +ok 19 - sslh-select:adb: data shoveled correctly +test_probe called with$VAR1 = { 'binary' => 'sslh-select', 'data' => '<42> My syslog message', - 'expected' => 'syslog' + 'expected' => 'syslog', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f4bc8):51484 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xead1f8):49098 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 @@ -1510,23 +1547,22 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:51484 to 127.0.0.1:38431 forwarded from 127.0.0.1:60704 to 127.0.0.1:45957 +syslog:connection from 127.0.0.1:49098 to 127.0.0.1:41135 forwarded from 127.0.0.1:46826 to 127.0.0.1:34449 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: 34449 ok 20 - sslh-select:syslog: probe connected correctly ok 21 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'ssh', - 'data' => 'foo', 'no_frag' => 1, + 'data' => 'foo', + 'expected' => 'ssh', 'binary' => 'sslh-select' }; -Successudp: 0 -prefix: syslog: -listen [1]: - host: 127.0.0.1 - port: 45957 -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f42e0):51488 hexdump of incoming packet: 0x000000: 66 6f 6f foo probing for ssh @@ -1548,6 +1584,7 @@ probing for regex input too short, 3 bytes but need 4 probing for tls +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb05e0):49106 probed for tls: PROBE_AGAIN probing for tls probed for tls: PROBE_AGAIN @@ -1558,10 +1595,10 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x24f42e0):51488 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x24f42e0):51488 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x24f42e0):51488 -ssh:connection from 127.0.0.1:51488 to 127.0.0.1:38431 forwarded from 127.0.0.1:55838 to 127.0.0.1:45013 +Would block, sleeping. Iteration: 1 socket: SCALAR(0xeb05e0):49106 +Would block, sleeping. Iteration: 2 socket: SCALAR(0xeb05e0):49106 +Would block, sleeping. Iteration: 3 socket: SCALAR(0xeb05e0):49106 +ssh:connection from 127.0.0.1:49106 to 127.0.0.1:41135 forwarded from 127.0.0.1:54654 to 127.0.0.1:35419 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] Successok 22 - sslh-select:ssh: probe connected correctly @@ -1569,16 +1606,16 @@ prefix: ssh: listen [1]: host: 127.0.0.1 - port: 45013 + port: 35419 ok 23 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { 'expected' => 'regex', + 'data' => 'fooo', 'binary' => 'sslh-select', - 'no_frag' => 1, - 'data' => 'fooo' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24ecd38):37086 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xea5660):37214 0x000000: 66 6f 6f 6f fooo probing for ssh probed for ssh: PROBE_NEXT @@ -1598,24 +1635,24 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:37086 to 127.0.0.1:38431 forwarded from 127.0.0.1:60900 to 127.0.0.1:38459 +regex:connection from 127.0.0.1:37214 to 127.0.0.1:41135 forwarded from 127.0.0.1:49994 to 127.0.0.1:38191 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: 38459 + port: 38191 ok 24 - sslh-select:regex: probe connected correctly ok 25 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'ssh', - 'data' => 'bar', + 'no_frag' => 1, 'binary' => 'sslh-select', - 'no_frag' => 1 + 'data' => 'bar', + 'expected' => 'ssh' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f4a48):37098 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb05e0):60488 0x000000: 62 61 72 bar probing for ssh probed for ssh: PROBE_AGAIN @@ -1646,27 +1683,27 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 1 socket: SCALAR(0x24f4a48):37098 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x24f4a48):37098 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x24f4a48):37098 -ssh:connection from 127.0.0.1:37098 to 127.0.0.1:38431 forwarded from 127.0.0.1:38302 to 127.0.0.1:45013 +Would block, sleeping. Iteration: 1 socket: SCALAR(0xeb05e0):60488 +Would block, sleeping. Iteration: 2 socket: SCALAR(0xeb05e0):60488 +Would block, sleeping. Iteration: 3 socket: SCALAR(0xeb05e0):60488 +ssh:connection from 127.0.0.1:60488 to 127.0.0.1:41135 forwarded from 127.0.0.1:41474 to 127.0.0.1:35419 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] -ok 26 - sslh-select:ssh: probe connected correctly -ok 27 - sslh-select:ssh: data shoveled correctly -test_probe called withSuccessudp: 0 +Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 45013 -$VAR1 = { - 'binary' => 'sslh-select', + port: 35419 +ok 26 - sslh-select:ssh: probe connected correctly +ok 27 - sslh-select:ssh: data shoveled correctly +test_probe called with$VAR1 = { 'no_frag' => 1, + 'expected' => 'regex', 'data' => 'barr', - 'expected' => 'regex' + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f7328):46530 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb0988):42014 0x000000: 62 61 72 72 barr probing for ssh probed for ssh: PROBE_NEXT @@ -1686,23 +1723,22 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:46530 to 127.0.0.1:38431 forwarded from 127.0.0.1:44866 to 127.0.0.1:38459 +regex:connection from 127.0.0.1:42014 to 127.0.0.1:41135 forwarded from 127.0.0.1:36822 to 127.0.0.1:38191 regex: barrRead regex: barr from peer: '' Received 11 bytes: protocol regex data [barr] -ok 28 - sslh-select:regex: probe connected correctly Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38459 + port: 38191 +ok 28 - sslh-select:regex: probe connected correctly ok 29 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { + 'binary' => 'sslh-select', 'expected' => 'regex', 'data' => 'barrr', - 'no_frag' => 1, - 'binary' => 'sslh-select' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f72f8):34586 hexdump of incoming packet: 0x000000: 62 61 72 72 72 barrr probing for ssh @@ -1722,30 +1758,31 @@ probing for syslog probed for syslog: PROBE_NEXT probing for regex +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb05e0):42022 probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:34586 to 127.0.0.1:38431 forwarded from 127.0.0.1:48312 to 127.0.0.1:38459 +regex:connection from 127.0.0.1:42022 to 127.0.0.1:41135 forwarded from 127.0.0.1:36836 to 127.0.0.1:38191 regex: barrrRead regex: barrr from peer: '' Received 12 bytes: protocol regex data [barrr] -ok 30 - sslh-select:regex: probe connected correctly Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38459 + port: 38191 +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', + 'expected' => 'tls:sni1;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  # alpn1hello sni/alpn' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f7010):34594 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xead2b8):42036 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., @@ -1782,7 +1819,7 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:34594 to 127.0.0.1:38431 forwarded from 127.0.0.1:53794 to 127.0.0.1:42801 +tls:connection from 127.0.0.1:42036 to 127.0.0.1:41135 forwarded from 127.0.0.1:47566 to 127.0.0.1:44807 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1794,26 +1831,26 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn] -ok 32 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly -Successudp: 0 +Successok 32 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly +udp: 0 prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 42801 + port: 44807 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', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni1  # alpn2hello sni/alpn', - 'no_frag' => 1, - 'binary' => 'sslh-select', - 'expected' => 'tls:sni1;alpn1,alpn2' + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f8dc0):34610 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb1108):38978 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., @@ -1851,7 +1888,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:34610 to 127.0.0.1:38431 forwarded from 127.0.0.1:53796 to 127.0.0.1:42801 +tls:connection from 127.0.0.1:38978 to 127.0.0.1:41135 forwarded from 127.0.0.1:40272 to 127.0.0.1:44807 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -1863,26 +1900,26 @@ 9 3=<5/_ sni1  # alpn2hello sni/alpn] -ok 34 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly Successudp: 0 prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 42801 + port: 44807 +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 = { 'no_frag' => 1, - 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn1hello sni/alpn', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f9030):34618 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb0e80):38980 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., @@ -1922,7 +1959,7 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:34618 to 127.0.0.1:38431 forwarded from 127.0.0.1:43870 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:38980 to 127.0.0.1:41135 forwarded from 127.0.0.1:58916 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -1934,25 +1971,24 @@ 9 3=<5/_ sni2  # alpn1hello sni/alpn] -ok 36 - 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: 40449 + port: 35173 +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 = { + 'no_frag' => 1, 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn2hello sni/alpn', - 'no_frag' => 1, 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24ed3c8):34628 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. @@ -1962,6 +1998,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(0xeb0e20):38992 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 ................ @@ -1994,7 +2031,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:34628 to 127.0.0.1:38431 forwarded from 127.0.0.1:43872 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:38992 to 127.0.0.1:41135 forwarded from 127.0.0.1:58930 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -2006,26 +2043,26 @@ 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: 40449 + port: 35173 +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, - 'binary' => 'sslh-select', + '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' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f94c8):35906 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb0e68):39002 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., @@ -2066,7 +2103,7 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:35906 to 127.0.0.1:38431 forwarded from 127.0.0.1:38356 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:39002 to 127.0.0.1:41135 forwarded from 127.0.0.1:58940 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2078,26 +2115,26 @@ 9 3=<5/_ sni3  # alpn1hello sni/alpn] -Successok 40 - 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: 40449 + port: 35173 +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 = { - 'expected' => 'tls:sni2,sni3;alpn1,alpn2', - 'no_frag' => 1, 'binary' => 'sslh-select', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  -# alpn2hello sni/alpn' +# alpn2hello sni/alpn', + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f7958):35922 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb10c0):39016 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., @@ -2139,7 +2176,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:35922 to 127.0.0.1:38431 forwarded from 127.0.0.1:38368 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:39016 to 127.0.0.1:41135 forwarded from 127.0.0.1:58956 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  @@ -2151,26 +2188,26 @@ 9 3=<5/_ sni3  # alpn2hello sni/alpn] -ok 42 - sslh-select:tls:sni2,sni3;alpn1,alpn2: probe connected correctly Successudp: 0 prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 40449 + port: 35173 +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 = { - 'expected' => 'tls:;alpn3', - 'binary' => 'sslh-select', 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#\'g 9 3=<5/R  -# alpn3hello alpn' +# alpn3hello alpn', + 'expected' => 'tls:;alpn3' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f90c0):35924 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb26d8):51014 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., @@ -2215,7 +2252,7 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:35924 to 127.0.0.1:38431 forwarded from 127.0.0.1:44286 to 127.0.0.1:41369 +tls:connection from 127.0.0.1:51014 to 127.0.0.1:41135 forwarded from 127.0.0.1:47930 to 127.0.0.1:37067 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  @@ -2227,26 +2264,26 @@ 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: 41369 + port: 37067 +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;', 'binary' => 'sslh-select', - 'no_frag' => 1, 'data' => '魆![\'KUP/7%Y728,0̨̩̪+/$(k#\'g 9 3=<5/S sni3  -# hello sni' +# hello sni', + 'expected' => 'tls:sni3;', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f7178):35934 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb1f58):51016 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., @@ -2290,7 +2327,7 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:35934 to 127.0.0.1:38431 forwarded from 127.0.0.1:49066 to 127.0.0.1:45897 +tls:connection from 127.0.0.1:51016 to 127.0.0.1:41135 forwarded from 127.0.0.1:44182 to 127.0.0.1:41795 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  @@ -2302,23 +2339,22 @@ 9 3=<5/S sni3  # hello sni] -ok 46 - sslh-select:tls:sni3;: probe connected correctly Successudp: 0 prefix: tls:sni3;: listen [1]: host: 127.0.0.1 - port: 45897 + port: 41795 +ok 46 - sslh-select:tls:sni3;: probe connected correctly ok 47 - sslh-select:tls:sni3;: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'no_frag' => 1, + 'binary' => 'sslh-select', 'data' => '"3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#\'g 9 3=<5/F  # hello tls alone', 'expected' => 'tls' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f9960):35940 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.... @@ -2328,6 +2364,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(0xeb26d8):51018 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 ................ @@ -2360,7 +2397,7 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:35940 to 127.0.0.1:38431 forwarded from 127.0.0.1:41142 to 127.0.0.1:38551 +tls:connection from 127.0.0.1:51018 to 127.0.0.1:41135 forwarded from 127.0.0.1:44672 to 127.0.0.1:43465 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  @@ -2372,21 +2409,26 @@ 9 3=<5/F  # hello tls alone] +Successudp: 0 +prefix: tls: +listen [1]: + host: 127.0.0.1 + port: 43465 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!', 'binary' => 'sslh-select', - 'no_frag' => 1, - 'expected' => 'anyprot' + 'expected' => 'anyprot', + 'data' => 'hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout!', + 'no_frag' => 1 }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24f9d08):41118 hexdump of incoming packet: 0x000000: 68 65 6c 6c 6f 20 61 6e 79 70 72 6f 74 20 74 68 hello anyprot th 0x000010: 69 73 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6c is needs to be l 0x000020: 6f 6e 67 65 72 20 74 68 61 6e 20 78 6d 70 70 20 onger than xmpp 0x000030: 61 6e 64 20 61 64 62 20 77 68 69 63 68 20 65 78 and adb which ex 0x000040: 70 65 63 74 20 61 62 6f 75 74 20 35 30 20 63 68 pect about 50 ch +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb4ae8):51020 0x000050: 61 72 61 63 74 65 72 73 2c 20 77 68 69 63 68 20 aracters, which 0x000060: 49 20 61 6c 6c 20 68 61 76 65 20 74 6f 20 77 72 I all have to wr 0x000070: 69 74 65 20 62 65 66 6f 72 65 20 74 68 65 20 74 ite before the t @@ -2425,12 +2467,7 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:41118 to 127.0.0.1:38431 forwarded from 127.0.0.1:50636 to 127.0.0.1:45123 -Successudp: 0 -prefix: tls: -listen [1]: - host: 127.0.0.1 - port: 38551 +anyprot:connection from 127.0.0.1:51020 to 127.0.0.1:41135 forwarded from 127.0.0.1:51972 to 127.0.0.1:45131 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!] Successok 50 - sslh-select:anyprot: probe connected correctly @@ -2438,13 +2475,13 @@ prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 45123 + port: 45131 ok 51 - sslh-select:anyprot: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', + 'expected' => 'ssh', 'data' => 'SSH-2.0 tester -', - 'expected' => 'ssh' +' }; hexdump of incoming packet: 0x000000: 53 S @@ -2543,22 +2580,22 @@ 0x000000: 53 53 48 2d SSH- probing for ssh probed for ssh: PROBE_MATCH -ssh:connection from 127.0.0.1:41132 to 127.0.0.1:38431 forwarded from 127.0.0.1:41108 to 127.0.0.1:45013 -ssh: SSH-Read ssh: SSH-2.0 tester +ssh:connection from 127.0.0.1:51026 to 127.0.0.1:41135 forwarded from 127.0.0.1:45578 to 127.0.0.1:35419 +ssh: SSH-2Read 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: 45013 + port: 35419 +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' + 'expected' => 'socks5', + 'data' => '' }; hexdump of incoming packet: 0x000000: 05 . @@ -2726,24 +2763,25 @@ probed for ssh: PROBE_NEXT probing for socks5 probed for socks5: PROBE_MATCH -socks5:connection from 127.0.0.1:41136 to 127.0.0.1:38431 forwarded from 127.0.0.1:39064 to 127.0.0.1:40229 +socks5:connection from 127.0.0.1:51032 to 127.0.0.1:41135 forwarded from 127.0.0.1:52850 to 127.0.0.1:39603 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb4dd0):51032 socks5: Read socks5:  from peer: '' Received 14 bytes: protocol socks5 data [] -ok 54 - sslh-select:socks5: probe connected correctly -Successok 55 - sslh-select:socks5: data shoveled correctly -udp: 0 +Successudp: 0 prefix: socks5: listen [1]: host: 127.0.0.1 - port: 40229 + port: 39603 +ok 54 - sslh-select:socks5: probe connected correctly +ok 55 - sslh-select:socks5: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'http', - 'binary' => 'sslh-select', 'no_frag' => 1, - 'data' => 'GET index.html HTTP/1.1' + 'data' => 'GET index.html HTTP/1.1', + 'expected' => 'http', + 'binary' => 'sslh-select' }; -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24fb8b0):41144 hexdump of incoming packet: +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb26d8):37572 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 @@ -2752,20 +2790,20 @@ probed for socks5: PROBE_NEXT probing for http probed for http: PROBE_MATCH -http:connection from 127.0.0.1:41144 to 127.0.0.1:38431 forwarded from 127.0.0.1:39880 to 127.0.0.1:37367 +http:connection from 127.0.0.1:37572 to 127.0.0.1:41135 forwarded from 127.0.0.1:60508 to 127.0.0.1:35519 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 withSuccessudp: 0 +Successudp: 0 prefix: http: listen [1]: host: 127.0.0.1 - port: 37367 -$VAR1 = { + port: 35519 +ok 56 - sslh-select:http: probe connected correctly +ok 57 - sslh-select:http: data shoveled correctly +test_probe called with$VAR1 = { 'expected' => 'tinc', - 'binary' => 'sslh-select', - 'data' => '0 hello' + 'data' => '0 hello', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 30 0 @@ -2808,20 +2846,20 @@ probed for http: PROBE_AGAIN probing for tinc probed for tinc: PROBE_MATCH -tinc:connection from 127.0.0.1:41154 to 127.0.0.1:38431 forwarded from 127.0.0.1:59278 to 127.0.0.1:35061 -tinc: 0 Read tinc: 0 hello from peer: '' +tinc:connection from 127.0.0.1:37580 to 127.0.0.1:41135 forwarded from 127.0.0.1:40190 to 127.0.0.1:46617 +tinc: 0 hRead tinc: 0 hello from peer: '' Received 13 bytes: protocol tinc data [0 hello] -ok 58 - sslh-select:tinc: probe connected correctly Successudp: 0 prefix: tinc: listen [1]: host: 127.0.0.1 - port: 35061 + port: 46617 +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' => '', - 'binary' => 'sslh-select' + 'data' => '' }; hexdump of incoming packet: 0x000000: 00 . @@ -2866,20 +2904,21 @@ probed for tinc: PROBE_NEXT probing for openvpn probed for openvpn: PROBE_MATCH -openvpn:connection from 127.0.0.1:41164 to 127.0.0.1:38431 forwarded from 127.0.0.1:51730 to 127.0.0.1:36131 +openvpn:connection from 127.0.0.1:37588 to 127.0.0.1:41135 forwarded from 127.0.0.1:40202 to 127.0.0.1:36231 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb4fc8):37588 openvpn: Read openvpn: from peer: '' Received 11 bytes: protocol openvpn data [] -ok 60 - sslh-select:openvpn: probe connected correctly Successudp: 0 prefix: openvpn: listen [1]: host: 127.0.0.1 - port: 36131 + port: 36231 +ok 60 - sslh-select:openvpn: probe connected correctly ok 61 - sslh-select:openvpn: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', - 'data' => 'I should get a real jabber connection initialisation here', - 'expected' => 'xmpp' + 'expected' => 'xmpp', + 'data' => 'I should get a real jabber connection initialisation here' }; hexdump of incoming packet: 0x000000: 49 I @@ -3785,15 +3824,20 @@ probed for openvpn: PROBE_NEXT probing for xmpp probed for xmpp: PROBE_MATCH -xmpp:connection from 127.0.0.1:41174 to 127.0.0.1:38431 forwarded from 127.0.0.1:47082 to 127.0.0.1:43563 -xmpp: I should get a real jabberRead xmpp: I should get a real jabber connection initialisation here from peer: '' +xmpp:connection from 127.0.0.1:37596 to 127.0.0.1:41135 forwarded from 127.0.0.1:37314 to 127.0.0.1:33575 +xmpp: I should get a real jabber Read 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: 33575 ok 62 - sslh-select:xmpp: probe connected correctly ok 63 - sslh-select:xmpp: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', + 'expected' => 'adb', 'data' => 'CNXN....................host:...', - 'expected' => 'adb' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 43 C @@ -3826,11 +3870,6 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Successudp: 0 -prefix: xmpp: -listen [1]: - host: 127.0.0.1 - port: 43563 hexdump of incoming packet: 0x000000: 43 4e CN probing for ssh @@ -4854,20 +4893,20 @@ probed for xmpp: PROBE_AGAIN probing for adb probed for adb: PROBE_MATCH -adb:connection from 127.0.0.1:41188 to 127.0.0.1:38431 forwarded from 127.0.0.1:42822 to 127.0.0.1:37113 -adb: CNXN....................host:.Read adb: CNXN....................host:... from peer: '' +adb:connection from 127.0.0.1:37604 to 127.0.0.1:41135 forwarded from 127.0.0.1:38178 to 127.0.0.1:41945 +adb: CNXN....................host:..Read adb: CNXN....................host:... from peer: '' Received 37 bytes: protocol adb data [CNXN....................host:...] -ok 64 - sslh-select:adb: probe connected correctly Successudp: 0 prefix: adb: listen [1]: host: 127.0.0.1 - port: 37113 + port: 41945 +ok 64 - sslh-select:adb: probe connected correctly ok 65 - sslh-select:adb: data shoveled correctly test_probe called with$VAR1 = { - 'binary' => 'sslh-select', 'data' => '<42> My syslog message', - 'expected' => 'syslog' + 'expected' => 'syslog', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 3c < @@ -4918,20 +4957,20 @@ probed for adb: PROBE_AGAIN probing for syslog probed for syslog: PROBE_MATCH -syslog:connection from 127.0.0.1:41198 to 127.0.0.1:38431 forwarded from 127.0.0.1:35142 to 127.0.0.1:45957 -syslog: <4Read syslog: <42> My syslog message from peer: '' +syslog:connection from 127.0.0.1:37606 to 127.0.0.1:41135 forwarded from 127.0.0.1:35132 to 127.0.0.1:34449 +syslog: <42Read syslog: <42> My syslog message from peer: '' Received 30 bytes: protocol syslog data [<42> My syslog message] -ok 66 - sslh-select:syslog: probe connected correctly Successudp: 0 prefix: syslog: listen [1]: host: 127.0.0.1 - port: 45957 + port: 34449 +ok 66 - sslh-select:syslog: probe connected correctly ok 67 - sslh-select:syslog: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'foo', 'binary' => 'sslh-select', - 'expected' => 'ssh' + 'expected' => 'ssh', + 'data' => 'foo' }; hexdump of incoming packet: 0x000000: 66 f @@ -5026,29 +5065,29 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x2500838):41202 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x2500838):41202 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x2500838):41202 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x2500838):41202 -ssh:connection from 127.0.0.1:41202 to 127.0.0.1:38431 forwarded from 127.0.0.1:35660 to 127.0.0.1:45013 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb94d8):37620 +Would block, sleeping. Iteration: 1 socket: SCALAR(0xeb94d8):37620 +Would block, sleeping. Iteration: 2 socket: SCALAR(0xeb94d8):37620 +Would block, sleeping. Iteration: 3 socket: SCALAR(0xeb94d8):37620 +ssh:connection from 127.0.0.1:37620 to 127.0.0.1:41135 forwarded from 127.0.0.1:53432 to 127.0.0.1:35419 ssh: fooRead ssh: foo from peer: '' Received 8 bytes: protocol ssh data [foo] +Successudp: 0 +prefix: ssh: +listen [1]: + host: 127.0.0.1 + port: 35419 ok 68 - sslh-select:ssh: probe connected correctly ok 69 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'data' => 'fooo', 'binary' => 'sslh-select', + 'data' => 'fooo', 'expected' => 'regex' }; hexdump of incoming packet: 0x000000: 66 f probing for ssh probed for ssh: PROBE_AGAIN -Successudp: 0 -prefix: ssh: -listen [1]: - host: 127.0.0.1 - port: 45013 probing for socks5 probed for socks5: PROBE_AGAIN probing for http @@ -5158,20 +5197,21 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:56586 to 127.0.0.1:38431 forwarded from 127.0.0.1:50426 to 127.0.0.1:38459 +regex:connection from 127.0.0.1:57208 to 127.0.0.1:41135 forwarded from 127.0.0.1:49906 to 127.0.0.1:38191 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb56d0):57208 regex: foooRead regex: fooo from peer: '' Received 11 bytes: protocol regex data [fooo] -ok 70 - sslh-select:regex: probe connected correctly Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38459 + port: 38191 +ok 70 - sslh-select:regex: probe connected correctly ok 71 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { 'data' => 'bar', - 'binary' => 'sslh-select', - 'expected' => 'ssh' + 'expected' => 'ssh', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 62 b @@ -5266,23 +5306,23 @@ probing for tls probed for tls: PROBE_AGAIN probing for anyprot -Would block, sleeping. Iteration: 0 socket: SCALAR(0x24fbf40):56602 -Would block, sleeping. Iteration: 1 socket: SCALAR(0x24fbf40):56602 -Would block, sleeping. Iteration: 2 socket: SCALAR(0x24fbf40):56602 -Would block, sleeping. Iteration: 3 socket: SCALAR(0x24fbf40):56602 -ssh:connection from 127.0.0.1:56602 to 127.0.0.1:38431 forwarded from 127.0.0.1:54212 to 127.0.0.1:45013 +Would block, sleeping. Iteration: 0 socket: SCALAR(0xeb94d8):57222 +Would block, sleeping. Iteration: 1 socket: SCALAR(0xeb94d8):57222 +Would block, sleeping. Iteration: 2 socket: SCALAR(0xeb94d8):57222 +Would block, sleeping. Iteration: 3 socket: SCALAR(0xeb94d8):57222 +ssh:connection from 127.0.0.1:57222 to 127.0.0.1:41135 forwarded from 127.0.0.1:40256 to 127.0.0.1:35419 ssh: barRead ssh: bar from peer: '' Received 8 bytes: protocol ssh data [bar] -Successok 72 - sslh-select:ssh: probe connected correctly -udp: 0 +Successudp: 0 prefix: ssh: listen [1]: host: 127.0.0.1 - port: 45013 + port: 35419 +ok 72 - sslh-select:ssh: probe connected correctly ok 73 - sslh-select:ssh: data shoveled correctly test_probe called with$VAR1 = { - 'expected' => 'regex', 'data' => 'barr', + 'expected' => 'regex', 'binary' => 'sslh-select' }; hexdump of incoming packet: @@ -5398,14 +5438,14 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:50762 to 127.0.0.1:38431 forwarded from 127.0.0.1:42220 to 127.0.0.1:38459 +regex:connection from 127.0.0.1:42358 to 127.0.0.1:41135 forwarded from 127.0.0.1:51036 to 127.0.0.1:38191 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: 38459 + port: 38191 ok 74 - sslh-select:regex: probe connected correctly ok 75 - sslh-select:regex: data shoveled correctly test_probe called with$VAR1 = { @@ -5526,15 +5566,15 @@ probed for syslog: PROBE_NEXT probing for regex probed for regex: PROBE_MATCH -regex:connection from 127.0.0.1:50766 to 127.0.0.1:38431 forwarded from 127.0.0.1:42230 to 127.0.0.1:38459 +regex:connection from 127.0.0.1:42368 to 127.0.0.1:41135 forwarded from 127.0.0.1:51042 to 127.0.0.1:38191 regex: barrRead regex: barrr from peer: '' Received 12 bytes: protocol regex data [barrr] -ok 76 - sslh-select:regex: probe connected correctly Successudp: 0 prefix: regex: listen [1]: host: 127.0.0.1 - port: 38459 + port: 38191 +ok 76 - sslh-select:regex: probe connected correctly ok 77 - sslh-select:regex: data shoveled correctly sni: sni1 alpn: alpn1 @@ -5543,8 +5583,8 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn', - 'binary' => 'sslh-select', - 'expected' => 'tls:sni1;alpn1,alpn2' + 'expected' => 'tls:sni1;alpn1,alpn2', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -12934,7 +12974,7 @@ matching [sni1] with [sni1] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:50768 to 127.0.0.1:38431 forwarded from 127.0.0.1:43884 to 127.0.0.1:42801 +tls:connection from 127.0.0.1:42372 to 127.0.0.1:41135 forwarded from 127.0.0.1:32822 to 127.0.0.1:44807 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -12946,22 +12986,22 @@ 9 3=<5/_ sni1  # alpn1hello sni/alpn] -ok 78 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly Successudp: 0 prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 42801 + port: 44807 +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' +# alpn2hello sni/alpn', + 'expected' => 'tls:sni1;alpn1,alpn2', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -20352,7 +20392,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:50774 to 127.0.0.1:38431 forwarded from 127.0.0.1:43900 to 127.0.0.1:42801 +tls:connection from 127.0.0.1:42388 to 127.0.0.1:41135 forwarded from 127.0.0.1:43140 to 127.0.0.1:44807 tls:sni1;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni1  @@ -20364,22 +20404,22 @@ 9 3=<5/_ sni1  # alpn2hello sni/alpn] -ok 80 - sslh-select:tls:sni1;alpn1,alpn2: probe connected correctly Successudp: 0 prefix: tls:sni1;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 42801 + port: 44807 +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', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni2  # alpn1hello sni/alpn', - 'binary' => 'sslh-select', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -27772,11 +27812,11 @@ matching [sni2] with [sni2] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:50780 to 127.0.0.1:38431 forwarded from 127.0.0.1:58888 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:40578 to 127.0.0.1:41135 forwarded from 127.0.0.1:60604 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  -# alpn1Read tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g +# alpn1hRead tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  # alpn1hello sni/alpn from peer: '' @@ -27784,22 +27824,22 @@ 9 3=<5/_ sni2  # alpn1hello sni/alpn] -ok 82 - 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: 40449 + port: 35173 +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', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' +# alpn2hello sni/alpn' }; hexdump of incoming packet: 0x000000: 16 . @@ -35193,7 +35233,7 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41740 to 127.0.0.1:38431 forwarded from 127.0.0.1:58900 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:40590 to 127.0.0.1:41135 forwarded from 127.0.0.1:60610 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni2  @@ -35209,18 +35249,18 @@ prefix: tls:sni2,sni3;alpn1,alpn2: listen [1]: host: 127.0.0.1 - port: 40449 + port: 35173 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', - 'binary' => 'sslh-select' +# alpn1hello sni/alpn' }; hexdump of incoming packet: 0x000000: 16 . @@ -42614,11 +42654,11 @@ matching [sni3] with [sni3] matching [alpn1] with [alpn1] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41742 to 127.0.0.1:38431 forwarded from 127.0.0.1:58914 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:40598 to 127.0.0.1:41135 forwarded from 127.0.0.1:60618 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  -# alpn1Read tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g +# alpn1hRead tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  # alpn1hello sni/alpn from peer: '' @@ -42626,22 +42666,22 @@ 9 3=<5/_ sni3  # alpn1hello sni/alpn] -ok 86 - 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: 40449 + port: 35173 +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 = { + 'expected' => 'tls:sni2,sni3;alpn1,alpn2', 'data' => '@ ]e#p<]\' |,8,0̨̩̪+/$(k#\'g 9 3=<5/_ sni3  # alpn2hello sni/alpn', - 'binary' => 'sslh-select', - 'expected' => 'tls:sni2,sni3;alpn1,alpn2' + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -50036,11 +50076,11 @@ matching [alpn2] with [alpn1] matching [alpn2] with [alpn2] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41756 to 127.0.0.1:38431 forwarded from 127.0.0.1:58920 to 127.0.0.1:40449 +tls:connection from 127.0.0.1:40602 to 127.0.0.1:41135 forwarded from 127.0.0.1:43822 to 127.0.0.1:35173 tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  -# alpn2Read tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g +# alpn2hRead tls:sni2,sni3;alpn1,alpn2: @ ]e#p<]' |,8,0̨̩̪+/$(k#'g 9 3=<5/_ sni3  # alpn2hello sni/alpn from peer: '' @@ -50048,21 +50088,21 @@ 9 3=<5/_ sni3  # alpn2hello sni/alpn] -ok 88 - 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: 40449 + port: 35173 +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 = { + 'binary' => 'sslh-select', 'data' => '␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#\'g 9 3=<5/R  # alpn3hello alpn', - 'binary' => 'sslh-select', 'expected' => 'tls:;alpn3' }; hexdump of incoming packet: @@ -56907,11 +56947,11 @@ probing for tls matching [alpn3] with [alpn3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41764 to 127.0.0.1:38431 forwarded from 127.0.0.1:47488 to 127.0.0.1:41369 +tls:connection from 127.0.0.1:37352 to 127.0.0.1:41135 forwarded from 127.0.0.1:46800 to 127.0.0.1:37067 tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  -# alpn3Read tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g +# alpn3hRead tls:;alpn3: ␢)1DQT[Qf? +$V8,0̨̩̪+/$(k#'g 9 3=<5/R  # alpn3hello alpn from peer: '' @@ -56919,22 +56959,22 @@ 9 3=<5/R  # alpn3hello alpn] -ok 90 - sslh-select:tls:;alpn3: probe connected correctly Successudp: 0 prefix: tls:;alpn3: listen [1]: host: 127.0.0.1 - port: 41369 + port: 37067 +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' +# hello sni', + 'expected' => 'tls:sni3;', + 'binary' => 'sslh-select' }; hexdump of incoming packet: 0x000000: 16 . @@ -63819,11 +63859,11 @@ probing for tls matching [sni3] with [sni3] probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:41770 to 127.0.0.1:38431 forwarded from 127.0.0.1:41268 to 127.0.0.1:45897 +tls:connection from 127.0.0.1:37362 to 127.0.0.1:41135 forwarded from 127.0.0.1:43554 to 127.0.0.1:41795 tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  -# Read tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g +# hRead tls:sni3;: 魆!['KUP/7%Y728,0̨̩̪+/$(k#'g 9 3=<5/S sni3  # hello sni from peer: '' @@ -63831,19 +63871,19 @@ 9 3=<5/S sni3  # hello sni] -ok 92 - sslh-select:tls:sni3;: probe connected correctly Successudp: 0 prefix: tls:sni3;: listen [1]: host: 127.0.0.1 - port: 45897 + port: 41795 +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', + 'expected' => 'tls', 'binary' => 'sslh-select' }; hexdump of incoming packet: @@ -70181,11 +70221,11 @@ probed for tls: PROBE_NEXT probing for tls probed for tls: PROBE_MATCH -tls:connection from 127.0.0.1:55606 to 127.0.0.1:38431 forwarded from 127.0.0.1:60190 to 127.0.0.1:38551 +tls:connection from 127.0.0.1:37378 to 127.0.0.1:41135 forwarded from 127.0.0.1:41708 to 127.0.0.1:43465 tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  -# Read tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g +# hRead tls: "3CzÉEQ<($jxؐXe-u8,0̨̩̪+/$(k#'g 9 3=<5/F  # hello tls alone from peer: '' @@ -70193,12 +70233,12 @@ 9 3=<5/F  # hello tls alone] -ok 94 - sslh-select:tls: probe connected correctly Successudp: 0 prefix: tls: listen [1]: host: 127.0.0.1 - port: 38551 + port: 43465 +ok 94 - sslh-select:tls: probe connected correctly ok 95 - sslh-select:tls: data shoveled correctly test_probe called with$VAR1 = { 'binary' => 'sslh-select', @@ -72195,17 +72235,17 @@ Request did not begin with TLS handshake. probed for tls: PROBE_NEXT probing for anyprot -anyprot:connection from 127.0.0.1:55614 to 127.0.0.1:38431 forwarded from 127.0.0.1:49038 to 127.0.0.1:45123 -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: '' +anyprot:connection from 127.0.0.1:37388 to 127.0.0.1:41135 forwarded from 127.0.0.1:42160 to 127.0.0.1:45131 +anyprot: hello anyprot this needs to be longer than xmpp and adbRead anyprot: hello anyprot this needs to be longer than xmpp and adb which expect about 50 characters, which I all have to write before the timeout! from peer: '' 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 Successudp: 0 prefix: anyprot: listen [1]: host: 127.0.0.1 - port: 45123 + port: 45131 +ok 96 - sslh-select:anyprot: probe connected correctly ok 97 - sslh-select:anyprot: data shoveled correctly -killing 20774 +killing 21014 geninfo: WARNING: (usage) branch filter enabled but branch coverage not enabled (use "geninfo --ignore-errors usage,usage ..." to suppress this warning) @@ -72323,7 +72363,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 -j3 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 -j4 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 @@ -72374,12 +72414,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/18292/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18292/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/18028 and its subdirectories -I: Current time: Wed Jan 8 10:24:16 -12 2025 -I: pbuilder-time-stamp: 1736375056 +I: removing directory /srv/workspace/pbuilder/18292 and its subdirectories +I: Current time: Thu Jan 9 12:33:30 +14 2025 +I: pbuilder-time-stamp: 1736375610