Bug 56

Summary: SSH2_MSG_UNIMPLEMENTED is implemented wrong
Product: Portable OpenSSH Reporter: Ian McKellar <yakk-bugzilla>
Component: MiscellaneousAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: minor    
Priority: P2    
Version: -current   
Hardware: ix86   
OS: Linux   

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