OpenSSH-2.3.0p1 patch for yet another F-secure version

Ramki Balasubramanian ramki at taos.com
Sat Dec 23 14:36:56 EST 2000


Hi,

Here's a problem in openssh, some logs,
and a very minor patch that cures this:

Issue: (open)ssh client WILL NOT talk to F secure SSH-2.0-2.1.0pl2

client S/W version: openssh-2.3.0p1
client O/S version: SunOS 5.7 Generic_106541-11 sun4u sparc

server S/W version: SSH-2.0-2.1.0pl2
server O/S version: SunOS 5.7 Generic_106541-11 sun4u sparc 

Log/Details:

: % telnet <mymachine> 22
: Trying xx.xx.xx.xx...
: Connected to sd099001.
: Escape character is '^]'.
: SSH-2.0-2.1.0.pl2 SSH Secure Shell (non-commercial)

: % ssh <mymachine>
: ..
: autodetect SSH_BUG_SIGBLOB
: ..
: len 20 datafellows -2
:
: Received packet with bad string length ......
: ...DIES....

Actual problem:
	compat_datafellows() in compat.c does not recognize 2.1.0.pl2
    version of SSH as 2.1.0, so it sets the variable "datafellows"
	to the wrong value. This causes death.

one Working patch to the problem:
---------------------------------
 
*** compat.c	Sat Nov  4 21:42:36 2000
--- compat.c.new	Fri Dec 22 11:10:52 2000
***************
*** 66,71 ****
--- 66,74 ----
  		{ "MindTerm",		0 },
  		{ "^2\\.1\\.0 ",	SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
  					SSH_OLD_SESSIONID },
+ /* yetanother 2.1.0 */
+ 		{ "^2\\.1\\.0.pl2 ",	SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
+ 					SSH_OLD_SESSIONID },
  		{ "^2\\.0\\.",		SSH_BUG_SIGBLOB|SSH_BUG_HMAC|
  					SSH_OLD_SESSIONID|
  					SSH_BUG_PUBKEYAUTH|SSH_BUG_X11FWD },






More information about the openssh-unix-dev mailing list