From eea50a97fceda40019d83e7b08fff4356f5a5a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yves=20R=C5=B1tschl=C3=A9?= Date: Wed, 10 Sep 2025 09:28:54 +0200 Subject: [PATCH] support for proxy_protocol on incoming (client-side) link --- t/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/run b/t/run index cab02d1..f2f77ef 100755 --- a/t/run +++ b/t/run @@ -313,7 +313,7 @@ my @tests = ( cfg => "test_pp1.cfg", data => "SSH-2.0 hello", expected => "ssh", - data_expected => "^PROXY TCP4 127.0.0.1 127.0.0.1 \\d+ \\d+.*INPUT_DATA", + data_expected => "^PROXY TCP4 127.0.0.1 127.0.0.1 \\d+ \\d+\x0D\x0AINPUT_DATA", }, # check socks5 does not @@ -332,7 +332,7 @@ my @tests = ( cfg => "test_pp2.cfg", data => "PROXY TCP4 127.0.0.1 127.0.0.1 8080 8081\x0D\x0ASSH-2.0 hello", expected => "ssh", - data_expected => "^PROXY TCP4 127.0.0.1 127.0.0.1 \\d+ \\d+\x0D\x0AINPUT_DATA", + data_expected => "^PROXY TCP4 127.0.0.1 127.0.0.1 \\d+ \\d+\x0D\x0ASSH-2.0 hello", }, # test_pp2.cfg has no proxyprotocol on port 8081, so ssh