Bugzilla – Attachment 850 Details for
Bug 996
Fatal error in xfree() when scp invokes ssh with a LocalForward config
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
regress test for clearallforwardings bug
openbsd-ssh-fwd-null-regress.patch (text/plain), 1.29 KB, created by
Darren Tucker
on 2005-03-10 16:54:19 AEDT
(
hide
)
Description:
regress test for clearallforwardings bug
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-03-10 16:54:19 AEDT
Size:
1.29 KB
patch
obsolete
>Index: forwarding.sh >=================================================================== >RCS file: /cvs/src/regress/usr.bin/ssh/forwarding.sh,v >retrieving revision 1.4 >diff -u -p -r1.4 forwarding.sh >--- forwarding.sh 15 Mar 2002 13:08:56 -0000 1.4 >+++ forwarding.sh 10 Mar 2005 05:46:06 -0000 >@@ -31,3 +31,34 @@ for p in 1 2; do > > sleep 10 > done >+ >+for p in 1 2; do >+ trace "simple clear forwarding proto $p" >+ ${SSH} -$p -F $OBJ/ssh_config -oClearAllForwardings=yes somehost true >+ >+ trace "clear local forward proto $p" >+ ${SSH} -$p -f -F $OBJ/ssh_config -L ${base}01:127.0.0.1:$PORT \ >+ -oClearAllForwardings=yes somehost sleep 10 >+ if [ $? != 0 ]; then >+ fail "connection failed with cleared local forwarding" >+ else >+ # this one should fail >+ ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \ >+ 2>${TEST_SSH_LOGFILE} && \ >+ fail "local forwarding not cleared" >+ fi >+ sleep 10 >+ >+ trace "clear remote forward proto $p" >+ ${SSH} -$p -f -F $OBJ/ssh_config -R ${base}01:127.0.0.1:$PORT \ >+ -oClearAllForwardings=yes somehost sleep 10 >+ if [ $? != 0 ]; then >+ fail "connection failed with cleared remote forwarding" >+ else >+ # this one should fail >+ ${SSH} -$p -F $OBJ/ssh_config -p ${base}01 true \ >+ 2>${TEST_SSH_LOGFILE} && \ >+ fail "remote forwarding not cleared" >+ fi >+ sleep 10 >+done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 996
:
848
|
849
| 850