Bug 56 - SSH2_MSG_UNIMPLEMENTED is implemented wrong
Summary: SSH2_MSG_UNIMPLEMENTED is implemented wrong
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 minor
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-20 17:50 AEDT by Ian McKellar
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian McKellar 2001-12-20 17:50:55 AEDT
When the server recieves an UNIMPLEMENTED request over the ssh2 protocol it
responds claming that packet 0 is unimplemented:
	static void
	protocol_error(int type, int plen, void *ctxt)
	{
		log("auth: protocol error: type %d plen %d", type, plen);
		packet_start(SSH2_MSG_UNIMPLEMENTED);
		packet_put_int(0);
		packet_send();
		packet_write_wait();
	}

This is a violation of the protocol docs:
	byte      SSH_MSG_UNIMPLEMENTED
	uint32    packet sequence number of rejected message

to reproduce send the an auth request without requesting the auth service
Comment 1 Markus Friedl 2001-12-29 00:37:53 AEDT
fixed in -current
Comment 2 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED