simon-svn: putty: ben

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Aug 21 23:04:57 BST 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     ben
Revision:       9609
Date:           2012-08-21 23:04:56 +0100 (Tue, 21 Aug 2012)

Log message (11 lines):
Reworking of packet delivery to coroutines in SSH-2.

Before, NULL in the dispatch table meant "send to the appropriate one of 
do_ssh2_transport() and do_ssh2_authconn()".  Now those (via small 
shims) are specified directly in the dispatch table, so ssh2_protocol() 
is much simpler.

In the process, this has somewhat centralised the handling of gross 
server protocol violations.  PuTTY will now disconnect with a rude 
message when (e.g.) OpenSSH sends us an SSH_MSG_UNIMPLEMENTED when we 
try to KEXINIT during authentication.

Modified files:
U   putty/ssh.c

Links:
http://svn.tartarus.org/sgt/?rev=9609&view=rev
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9609&r1=9608&r2=9609



More information about the tartarus-commits mailing list