History log of /openbsd-current/regress/usr.bin/ssh/dynamic-forward.sh
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_7_5_BASE
# 1.17 08-Mar-2024 dtucker

Invoke ProxyCommand that uses stderr redirection via $TEST_SHELL.
Fixes test when run by a user whose login shell is tcsh. Found by
vinschen at redhat.com.


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.16 11-Jan-2023 djm

rewrite this test to use a multiplexed ssh session so we can control
its lifecycle without risk of race conditions; fixes some of the
Github integration tests for openssh-portable


# 1.15 06-Jan-2023 dtucker

Save debug logs from ssh for debugging purposes.


# 1.14 02-Jan-2023 djm

regression test for PermitRemoteOpen


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.13 21-Sep-2017 markus

test reverse dynamic forwarding with SOCKS


# 1.12 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.11 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 03-Jun-2011 dtucker

Retry establishing the port forwarding after a small delay, should make
the tests less flaky when the previous test is slow to shut down and free
up the port.


# 1.8 31-May-2011 dtucker

work around startup and teardown races; caught by deraadt


# 1.7 31-May-2011 dtucker

back out revs 1.6 and 1.5 since it's not reliable


# 1.6 20-May-2011 dtucker

fix dumb error in dynamic-forward test


# 1.5 20-May-2011 dtucker

Prevent races in dynamic forwarding test; ok djm


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 22-Jun-2004 dtucker

Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@


Revision tags: OPENBSD_3_5_BASE
# 1.3 28-Feb-2004 dtucker

Make dynamic-forward understand nc's new output. ok markus@


Revision tags: OPENBSD_3_4_BASE
# 1.2 03-Jul-2003 markus

add socks5; speedup; reformat; based on patch from dtucker@zip.com.au


# 1.1 26-Jun-2003 markus

test -D with socks; dtucker@zip.com.au


# 1.16 11-Jan-2023 djm

rewrite this test to use a multiplexed ssh session so we can control
its lifecycle without risk of race conditions; fixes some of the
Github integration tests for openssh-portable


# 1.15 06-Jan-2023 dtucker

Save debug logs from ssh for debugging purposes.


# 1.14 02-Jan-2023 djm

regression test for PermitRemoteOpen


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.13 21-Sep-2017 markus

test reverse dynamic forwarding with SOCKS


# 1.12 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.11 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 03-Jun-2011 dtucker

Retry establishing the port forwarding after a small delay, should make
the tests less flaky when the previous test is slow to shut down and free
up the port.


# 1.8 31-May-2011 dtucker

work around startup and teardown races; caught by deraadt


# 1.7 31-May-2011 dtucker

back out revs 1.6 and 1.5 since it's not reliable


# 1.6 20-May-2011 dtucker

fix dumb error in dynamic-forward test


# 1.5 20-May-2011 dtucker

Prevent races in dynamic forwarding test; ok djm


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 22-Jun-2004 dtucker

Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@


Revision tags: OPENBSD_3_5_BASE
# 1.3 28-Feb-2004 dtucker

Make dynamic-forward understand nc's new output. ok markus@


Revision tags: OPENBSD_3_4_BASE
# 1.2 03-Jul-2003 markus

add socks5; speedup; reformat; based on patch from dtucker@zip.com.au


# 1.1 26-Jun-2003 markus

test -D with socks; dtucker@zip.com.au


# 1.15 06-Jan-2023 dtucker

Save debug logs from ssh for debugging purposes.


# 1.14 02-Jan-2023 djm

regression test for PermitRemoteOpen


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.13 21-Sep-2017 markus

test reverse dynamic forwarding with SOCKS


# 1.12 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.11 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 03-Jun-2011 dtucker

Retry establishing the port forwarding after a small delay, should make
the tests less flaky when the previous test is slow to shut down and free
up the port.


# 1.8 31-May-2011 dtucker

work around startup and teardown races; caught by deraadt


# 1.7 31-May-2011 dtucker

back out revs 1.6 and 1.5 since it's not reliable


# 1.6 20-May-2011 dtucker

fix dumb error in dynamic-forward test


# 1.5 20-May-2011 dtucker

Prevent races in dynamic forwarding test; ok djm


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 22-Jun-2004 dtucker

Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@


Revision tags: OPENBSD_3_5_BASE
# 1.3 28-Feb-2004 dtucker

Make dynamic-forward understand nc's new output. ok markus@


Revision tags: OPENBSD_3_4_BASE
# 1.2 03-Jul-2003 markus

add socks5; speedup; reformat; based on patch from dtucker@zip.com.au


# 1.1 26-Jun-2003 markus

test -D with socks; dtucker@zip.com.au


# 1.14 02-Jan-2023 djm

regression test for PermitRemoteOpen


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.13 21-Sep-2017 markus

test reverse dynamic forwarding with SOCKS


# 1.12 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.11 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 03-Jun-2011 dtucker

Retry establishing the port forwarding after a small delay, should make
the tests less flaky when the previous test is slow to shut down and free
up the port.


# 1.8 31-May-2011 dtucker

work around startup and teardown races; caught by deraadt


# 1.7 31-May-2011 dtucker

back out revs 1.6 and 1.5 since it's not reliable


# 1.6 20-May-2011 dtucker

fix dumb error in dynamic-forward test


# 1.5 20-May-2011 dtucker

Prevent races in dynamic forwarding test; ok djm


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 22-Jun-2004 dtucker

Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@


Revision tags: OPENBSD_3_5_BASE
# 1.3 28-Feb-2004 dtucker

Make dynamic-forward understand nc's new output. ok markus@


Revision tags: OPENBSD_3_4_BASE
# 1.2 03-Jul-2003 markus

add socks5; speedup; reformat; based on patch from dtucker@zip.com.au


# 1.1 26-Jun-2003 markus

test -D with socks; dtucker@zip.com.au


Revision tags: OPENBSD_6_2_BASE
# 1.13 21-Sep-2017 markus

test reverse dynamic forwarding with SOCKS


# 1.12 30-Apr-2017 djm

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.11 03-Mar-2015 markus

make it possible to run tests w/o ssh1 support; ok djm@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.10 17-May-2013 dtucker

Move the setting of DATA and COPY into test-exec.sh


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 03-Jun-2011 dtucker

Retry establishing the port forwarding after a small delay, should make
the tests less flaky when the previous test is slow to shut down and free
up the port.


# 1.8 31-May-2011 dtucker

work around startup and teardown races; caught by deraadt


# 1.7 31-May-2011 dtucker

back out revs 1.6 and 1.5 since it's not reliable


# 1.6 20-May-2011 dtucker

fix dumb error in dynamic-forward test


# 1.5 20-May-2011 dtucker

Prevent races in dynamic forwarding test; ok djm


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 22-Jun-2004 dtucker

Allow setting of port for regress from TEST_SSH_PORT variable; ok markus@


Revision tags: OPENBSD_3_5_BASE
# 1.3 28-Feb-2004 dtucker

Make dynamic-forward understand nc's new output. ok markus@


Revision tags: OPENBSD_3_4_BASE
# 1.2 03-Jul-2003 markus

add socks5; speedup; reformat; based on patch from dtucker@zip.com.au


# 1.1 26-Jun-2003 markus

test -D with socks; dtucker@zip.com.au