1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/doc
Simon Tatham 5e2acd9af7 New bug workaround: KEXINIT filtering.
We've occasionally had reports of SSH servers disconnecting as soon as
they receive PuTTY's KEXINIT. I think all such reports have involved
the kind of simple ROM-based SSH server software you find in small
embedded devices.

I've never been able to prove it, but I've always suspected that one
possible cause of this is simply that PuTTY's KEXINIT is _too long_,
either in number of algorithms listed or in total length (especially
given all the ones that end in @very.long.domain.name suffixes).

If I'm right about either of those being the cause, then it's just
become even more likely to happen, because of all the extra
Diffie-Hellman groups and GSSAPI algorithms we just threw into our
already-long list in the previous few commits.

A workaround I've had in mind for ages is to wait for the server's
KEXINIT, and then filter our own down to just the algorithms the
server also mentioned. Then our KEXINIT is no longer than that of the
server, and hence, presumably fits in whatever buffer it has. So I've
implemented that workaround, in anticipation of it being needed in the
near future.

(Well ... it's not _quite_ true that our KEXINIT is at most the same
length as the server. In fact I had to leave in one KEXINIT item that
won't match anything in the server's list, namely "ext-info-c" which
gates access to SHA-2 based RSA. So if we turn out to support
absolutely everything on all the server's lists, then our KEXINIT
would be a few bytes longer than the server's, even with this
workaround. But that would only cause trouble if the server's outgoing
KEXINIT was skating very close to whatever buffer size it has for the
incoming one, and I'm guessing that's not very likely.)

((Another possible cause of this kind of disconnection would be a
server that simply objects to seeing any KEXINIT string it doesn't
know how to speak. But _surely_ no such server would have survived
initial testing against any full-featured client at all!))
2022-08-30 18:51:33 +01:00
..
blurb.but Integrate the 'doc' subdir into the CMake system. 2021-05-03 17:01:55 +01:00
chm.css Minor style tweaks for the CHM. 2006-12-19 10:28:44 +00:00
chmextra.but Integrate the 'doc' subdir into the CMake system. 2021-05-03 17:01:55 +01:00
CMakeLists.txt doc/CMakeLists.txt: reorganise custom targets. 2022-01-22 14:42:03 +00:00
config.but New bug workaround: KEXINIT filtering. 2022-08-30 18:51:33 +01:00
errors.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
faq.but Update Unix build instructions in FAQ. 2022-05-27 11:07:04 +01:00
feedback.but Tweaks to SUPDUP documentation. 2021-02-21 16:44:51 +00:00
gs.but Update docs for new host key prompts. 2022-01-11 23:57:39 +00:00
index.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
intro.but Docs: de-emphasise VMS. 2021-04-17 13:27:26 +01:00
man-pageant.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
man-plink.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
man-pscp.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
man-psftp.but Add -pwfile option, a more secure version of -pw. 2021-09-28 18:04:15 +01:00
man-psocks.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-psusan.but Document Cygwin as a use case for psusan. 2021-12-29 16:38:06 +00:00
man-pterm.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-putty.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
man-puttygen.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
man-puttytel.but Tidy up formatting of manpage cross-references. 2021-08-22 12:23:05 +01:00
mancfg.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
manpages.but Now that Halibut is capable of generating man pages better than I 2004-03-24 19:36:04 +00:00
pageant.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
pgpkeys.but GPG key rollover. 2021-08-14 08:02:27 +01:00
plink.but Update version number for 0.77 release. 2022-05-24 17:53:18 +01:00
pscp.but Update version number for 0.77 release. 2022-05-24 17:53:18 +01:00
psftp.but File transfer tools: sanitise remote filenames and stderr. 2019-02-20 07:27:22 +00:00
pubkey.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
pubkeyfmt.but PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 2021-04-19 17:03:05 +01:00
site.but Hmm, that relative link wasn't too good. Try a more helpful one. 2003-10-30 10:41:59 +00:00
sshnames.but Document agent protocol extensions. 2021-04-05 18:44:03 +01:00
udp.but Remove the prohibition on // comments. 2022-01-22 15:53:24 +00:00
using.but Documentation for OpenSSH certificates. 2022-08-07 18:44:11 +01:00
vids.but Rework versioning system to not depend on Subversion. 2014-09-24 10:33:13 +00:00