2.9p2 behaves different from 2.5.2p2 on tunneling issue

Markus Friedl markus at openbsd.org
Tue Sep 18 22:01:33 EST 2001


On Tue, Sep 18, 2001 at 01:42:30PM +0200, Corinna Vinschen wrote:
>

i think you only need these

>  		{ "^2\\.0\\.1[3-9]",	SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
>  		{ "^2\\.0\\.1[1-2]",	SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
>  		{ "^2\\.0\\.",		SSH_BUG_SIGBLOB|SSH_BUG_HMAC|

> Index: ssh.c
> ===================================================================
> RCS file: /cvs/openssh_cvs/ssh.c,v
> retrieving revision 1.116
> diff -u -p -r1.116 ssh.c
> --- ssh.c	2001/09/12 18:32:20	1.116
> +++ ssh.c	2001/09/18 11:45:20
> @@ -1163,7 +1163,8 @@ ssh_session2(void)
>  	/* XXX should be pre-session */
>  	ssh_init_forwarding();
>  
> -	id = no_shell_flag ? -1 : ssh_session2_command();
> +	id = no_shell_flag && !(datafellows & SSH_BUG_CLOSECONN) ?
> +		-1 : ssh_session2_command();
>  
>  	/* If requested, let ssh continue in the background. */
>  	if (fork_after_authentication_flag)

^^^ you also need to make sure that ssh_session2_command()
does not install a callback if no_shell_flag is set.



More information about the openssh-unix-dev mailing list