1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
Commit Graph

1024 Commits

Author SHA1 Message Date
Simon Tatham
6608016fc2 INCOMPATIBLE CHANGE to the SSH2 private key file format. There is
now a passphrase-keyed MAC covering _all_ important data in the
file, including the public blob and the key comment. Should
conclusively scupper any attacks based on nobbling the key file in
an attempt to sucker the machine that decrypts it. MACing the
comment field also protects against a key-substitution attack (if
someone's worked out a way past our DSA protections and can extract
the private key from a signature, swapping key files and
substituting comments might just enable them to get the signature
they need to do this. Paranoid, but might as well).

[originally from svn r1413]
2001-11-25 14:31:46 +00:00
Simon Tatham
9d814fd26e Oops - fix another segfault in that -L and -R code
[originally from svn r1412]
2001-11-25 12:23:34 +00:00
Simon Tatham
14ab514528 Rob Wood's patch to provide standard -L and -R options for port
forwarding in Plink. Cleaned up a bit to remove segfaults and work
correctly with saved sessions.

[originally from svn r1411]
2001-11-25 11:36:49 +00:00
Simon Tatham
92eb0710e3 Jacob's patch to make full-screen mode available even when Alt-Enter
isn't configured to do it: we now have a sysmenu option for it. In
addition, there's a special case such that clicking the top left
pixel on the screen in full-screen mode brings up the sysmenu (so
you can still get at the sysmenu in FS mode without Alt-anything
configured to bring it up and without ghastly fiddling with the
Windows key). Also Change Settings while in full-screen mode now
adds/removes the scrollbar in response to scrollbar_in_fullscreen
rather than scrollbar (oops).

[originally from svn r1410]
2001-11-25 10:24:29 +00:00
Simon Tatham
774a173451 Make use of the new section-relabelling in Buttress to arrange for
all the FAQ questions to be cross-referenced as `question A.1.2'
instead of `section A.1.2'.

[originally from svn r1409]
2001-11-24 17:51:26 +00:00
Simon Tatham
8d299e69bd Jacob's fix to the resize-behaviour GUI
[originally from svn r1407]
2001-11-24 13:11:28 +00:00
Simon Tatham
d9f7fc44bc Glenn Maynard's other IME fix
[originally from svn r1406]
2001-11-24 11:56:24 +00:00
Simon Tatham
6c19b2c413 Glenn Maynard's IMM cursor position fix
[originally from svn r1405]
2001-11-23 19:12:28 +00:00
Simon Tatham
2a730c9865 Ensure we ignore a hostname in Default Settings, if a perverse user
has set one up using regedit. It badly confuses Plink.

[originally from svn r1404]
2001-11-23 12:51:23 +00:00
Simon Tatham
bc7203bc3a Make it clear that you can't save a hostname into Default Settings,
and also make it clear why not and what you should do instead.

[originally from svn r1403]
2001-11-23 12:48:14 +00:00
Simon Tatham
0af5c7d246 Add background-colour erase and `set this at the start of the
session' to the FAQ.

[originally from svn r1402]
2001-11-22 22:00:38 +00:00
Jacob Nevins
b723e94b78 Comment/string tweaks to reflect new DES-in-SSH2 capability.
[originally from svn r1397]
2001-11-21 23:40:46 +00:00
Simon Tatham
b49fde9410 Add single-DES support in SSH2
[originally from svn r1396]
2001-11-21 23:06:10 +00:00
Simon Tatham
cf2085eeaf Ryan Finnie's extensions to the GUI feedback mode in pscp.
[originally from svn r1395]
2001-11-21 22:58:01 +00:00
Jacob Nevins
dd4bfacd9a Primitive protection against SSH2 not actually agreeing a cipher in
either direction.

[originally from svn r1394]
2001-11-21 22:48:20 +00:00
Simon Tatham
cce8878289 Make sure we always unhide the mouse pointer when the System menu is
displayed.

[originally from svn r1393]
2001-11-21 22:31:05 +00:00
Simon Tatham
c2ae9e5537 Ctrl and Alt shouldn't reset the scrollback even if reset-on-
keypress is enabled. (Shift already didn't, because that was
necessary for Shift-Pg{Up,Dn} to work sanely.)

[originally from svn r1392]
2001-11-21 22:23:40 +00:00
Simon Tatham
96d1f87e19 The dummy drag-list item wasn't being removed on a single-click or
double-click (DL_BEGINDRAG followed immediately by DL_DROPPED with
no intervening DL_DRAGGING). Fixed.

[originally from svn r1391]
2001-11-21 22:16:04 +00:00
Simon Tatham
15517300d8 Send SSH2_MSG_NEWKEYS _before_ expecting to receive it, rather than
after. Shouldn't make a difference for any server that previously
worked, but we should now interoperate sensibly with servers that
wait to receive our NEWKEYS before sending their own. Apparently
Unisphere produce one such.

[originally from svn r1390]
2001-11-21 22:06:53 +00:00
Simon Tatham
f176cbe70f Yikes! sftp.c wasn't using the misc.h wrappered malloc functions,
meaning that PSFTP couldn't meaningfully be debugged using
Minefield. That's what I get for developing it under Unix and
forgetting to port it properly :-/

[originally from svn r1383]
2001-11-14 12:58:42 +00:00
Simon Tatham
89b429e9d9 Add a rant to the FAQ about host key checking. I'm _sick_ of people
implementing a command line option to disable it and expecting us to
cheerfully accept the patch.

[originally from svn r1382]
2001-11-13 23:13:07 +00:00
Simon Tatham
085c31e3a4 Modify a comment to try to remind myself that the &-in-session-names
hack (to create accelerators on the System menu) should have some
official status.

[originally from svn r1381]
2001-11-13 22:39:46 +00:00
Simon Tatham
7530a9905a Handle incoming SSH2_MSG_CHANNEL_REQUEST (by refusing all requests).
Should have done this ages ago; the OpenSSH 3.0 ClientAliveInterval
mechanism requires it so now it's really necessary.

[originally from svn r1380]
2001-11-13 22:06:37 +00:00
Simon Tatham
45945b2726 Clarify the how-to-use-features-in-Plink question
[originally from svn r1379]
2001-11-13 10:34:14 +00:00
Simon Tatham
5f096142a7 Remember to initialise p->nphases to zero in progress report structure.
[originally from svn r1378]
2001-11-12 09:19:57 +00:00
Simon Tatham
818176c66f Oops - one missing set of the ssh1 throttling indicator
[originally from svn r1377]
2001-11-10 17:09:17 +00:00
Simon Tatham
98948bf236 Whoops - missed out a vital bit of RTF Unicode fallback handling
[originally from svn r1374]
2001-11-08 09:20:36 +00:00
Simon Tatham
7f1e73904a Implement writing RTF to the clipboard (off by default), so that if
you enable it text will paste into Word et al in the same font as
PuTTY itself is displaying in. In particular, this will be a fixed-
pitch font, so tables and `ls' and the like will naturally line up.

[originally from svn r1373]
2001-11-07 22:22:53 +00:00
Simon Tatham
4e77787527 Makefile fix: we've been compiling ssh.c separately because it needs
$(VER) defining, but forgetting that it also needs the rest of the
stuff!

[originally from svn r1372]
2001-11-07 13:39:54 +00:00
Simon Tatham
4fd313f258 RDB's fix to full-screen mode. Apparently sorts out most of the
fullscreen/maximised confusions, by treating fullscreen as a special
case of maximised (fair enough). Removes dependency on multimon.h,
but Wez thinks (though he was unable to test) that this version
should naturally do the Right Thing on multi-monitor systems anyway.

[originally from svn r1365]
2001-11-04 16:41:26 +00:00
Simon Tatham
2fe380a9ca Fix accelerators in Window panel
[originally from svn r1351]
2001-10-31 18:51:07 +00:00
Simon Tatham
d2c9937691 Rectangular-block selection. Enabled by Alt+drag, unless you
configure it to be the default in which case it's _dis_abled by
Alt+drag.

[originally from svn r1350]
2001-10-31 18:50:09 +00:00
Simon Tatham
ec1d8c1408 Add a couple more FAQs (where's the Tunnels panel' and how do I do
<blah> in Plink').

[originally from svn r1349]
2001-10-30 22:33:35 +00:00
Simon Tatham
58fb67ec18 Shrink the PuTTYgen window for 640x480 friendliness (thanks Jacob)
[originally from svn r1348]
2001-10-30 22:12:49 +00:00
Simon Tatham
4badd37b4b Word-by-word (double-click) selection now spans line breaks if the
line break was created by wrapping. (Equivalently, if the selection
would _paste_ as a single word without a newline in the middle, then
it will _select_ in the same way.)

[originally from svn r1347]
2001-10-30 22:02:15 +00:00
Simon Tatham
a7f196263e The other utilities should do the same processing of the hostname
(parsing `user@' prefixes etc) that PuTTY proper does.

[originally from svn r1346]
2001-10-30 21:45:27 +00:00
Simon Tatham
f2319456bc Tidy up the SERIOUS NETWORK ERROR fixes
[originally from svn r1345]
2001-10-30 20:57:22 +00:00
Simon Tatham
d1e305543a Tidy up SSH packet-level debugging
[originally from svn r1344]
2001-10-30 20:35:29 +00:00
Simon Tatham
7901347083 Add the `will you write an SSH server' question to the FAQ.
[originally from svn r1343]
2001-10-30 15:37:09 +00:00
Simon Tatham
49f6e56e73 Increase cfg.line_codepage buffer size to cope with the explanatory
text added in a recent unicode.c patch.

[originally from svn r1342]
2001-10-30 09:50:40 +00:00
Jacob Nevins
d8fa043b22 Fix trivial UI buglets related to DSA key support.
[originally from svn r1338]
2001-10-28 15:32:33 +00:00
Simon Tatham
1cd1f24264 Add the FAQ about `nothing happens when I try to type my password'.
[originally from svn r1337]
2001-10-28 15:11:24 +00:00
Simon Tatham
8ea353eb8f Fix character set problems. Some systems lack the ISO8859 codepages,
so we specify them explicitly to avoid this problem. Also in
particular get_unitab() no longer depends on querying Windows
codepage 28591 (ISO8859-1), so UTF-8 mode should stop failing on
such systems.

[originally from svn r1336]
2001-10-28 10:40:11 +00:00
Simon Tatham
555ded7740 Fix the `SERIOUS NETWORK INTERNAL ERROR' oversight in winnet.c. See
the comment in try_send() for details of the problem.

[originally from svn r1335]
2001-10-28 09:57:47 +00:00
Simon Tatham
9bbe53d700 Fix silly scrolling-vs-selection bug: if you selected text on line
9, then did ANSI Delete Line on line 10, the selection highlight
would move up a line even though it wasn't over any text that
actually moved. Easy to reproduce in the likes of vi. Trivial fix.

[originally from svn r1334]
2001-10-28 09:38:43 +00:00
Simon Tatham
8493e83d74 Add remaining comments to the last checkin (gah, remember to hit
Save in the editor _before_ running cvs commit).

[originally from svn r1333]
2001-10-27 11:06:11 +00:00
Simon Tatham
6c9cdbe29f Update to password length traffic analysis: one Cisco router can
apparently not deal with SSH1_MSG_IGNORE _or_ padded passwords, so
we must fall back to sending an undefended password.

[originally from svn r1332]
2001-10-27 10:39:54 +00:00
Simon Tatham
3dfaf08a0a Tiny tinkerings with FAQ
[originally from svn r1326]
2001-10-25 18:48:54 +00:00
Simon Tatham
24a8b00ace Fix a couple of errors in the FAQ.
[originally from svn r1320]
2001-10-25 08:09:58 +00:00
Simon Tatham
2074adcf5b Condense the docs into fewer HTML files. Particularly useful since
the new-look FAQ is now one file.

[originally from svn r1319]
2001-10-24 19:05:36 +00:00