Simon Tatham [Sat, 11 May 2002 16:45:29 +0000 (16:45 +0000)]
Added a framework for importing foreign key formats, and implemented
importing of OpenSSH SSH2 private key files (both encrypted and
unencrypted). Seems to work fine.
Simon Tatham [Sat, 11 May 2002 12:13:42 +0000 (12:13 +0000)]
Improved error messages if you use the wrong key type: you should
now be told that the key is the wrong type, _and_ what type it is,
rather than being given a blanket `unable to read key file' message.
Simon Tatham [Sat, 27 Apr 2002 16:20:16 +0000 (16:20 +0000)]
Additions to the Feedback page to emphasise that we can't answer all
our mail any more, and to encourage support questions to be sent
elsewhere as a first resort.
Jacob Nevins [Thu, 18 Apr 2002 22:23:12 +0000 (22:23 +0000)]
Added comments to document '-gui' Windows messages, based on putty-bugs post
<E14g2ty-0008WN-00@ixion.tartarus.org> (except for Ryan Finnie's extra
messages).
Simon Tatham [Sun, 31 Mar 2002 16:28:06 +0000 (16:28 +0000)]
The console version of askappend() completely forgot to check
cfg.logxfovr to see whether the user had already specified what
should happen to log files. Fixed.
Simon Tatham [Wed, 27 Mar 2002 21:58:11 +0000 (21:58 +0000)]
Remember to wait for SSH1_MSG_SUCCESS after enabling remote port
forwardings in SSH1. Was causing several MSG_SUCCESS to be queued up
unread, which was wrong-but-benign in most cases but caused a hard
crash with compression enabled (one of those uncompressed
MSG_SUCCESSes was fed to the zlib decompressor with spectacular
results).
Simon Tatham [Wed, 27 Mar 2002 21:09:16 +0000 (21:09 +0000)]
Updates to proxy support, both from me and from Justin Bradford.
Removed unnecessary spin locks, added a few comments, added support
for Telnet-type proxies, and wrote some documentation.
Simon Tatham [Wed, 27 Mar 2002 20:30:57 +0000 (20:30 +0000)]
Dominique Faure's patch (slightly modified) to implement the PuTTY
saved-sessions menu in Pageant. Disabled if it can't find the PuTTY
binary on startup (just like the help features are disabled if it
can't find the help file).
Simon Tatham [Sat, 23 Mar 2002 18:04:27 +0000 (18:04 +0000)]
Attempt to ensure that everything passed to connection_fatal() is
also logged to the Event Log, so that it's easy to cut-and-paste the
error message afterwards.
Simon Tatham [Sat, 23 Mar 2002 17:47:21 +0000 (17:47 +0000)]
Justin Bradford's proxy support patch. Currently supports only HTTP
CONNECT, but contains an extensible framework to allow other
proxies. Apparently SOCKS and ad-hoc-telnet-proxy are already
planned (the GUI mentions them already even though they don't work
yet). GUI includes full configurability and allows definition of
exclusion zones. Rock and roll.
Simon Tatham [Sat, 16 Mar 2002 15:49:28 +0000 (15:49 +0000)]
Completely revamped mkfiles.pl which incorporates dependency
analysis (for both .c and .rc files). Generates the VC++ makefile as
well as the other two; the authoritative source is now the new file
`Recipe' rather than any particular Makefile. Note that `Makefile'
is still here as a relic of the old way until we stop the nightly
builds using it, but it'll be gone soon.
Simon Tatham [Wed, 13 Mar 2002 19:55:01 +0000 (19:55 +0000)]
Rev 1.189 [r1517] of this file introduced a bug. While it is correct
to avoid calling term_out() during a drag-select, it's false to
assume that all drags are selects - some are xterm mouse-reported
drags, and term_out absolutely _should_ be called in those so that
the application can show the dragged object moving. Should now be
fixed.
Jacob Nevins [Sun, 10 Mar 2002 22:00:06 +0000 (22:00 +0000)]
Slightly less grotty script to convert OpenSSH known_hosts and known_hosts2
host key files to .REG files for Windows.
(renamed from 'hosts2reg' because of 8.3 considerations)
Simon Tatham [Wed, 6 Mar 2002 20:13:22 +0000 (20:13 +0000)]
Ensure our network layer is properly cleaned up before PuTTY exits.
Specifically, we explicitly closesocket() all open sockets, which
appears to be necessary since otherwise Windows sends RST rather
than FIN. I'm _sure_ that's a Windows bug, but there we go.
Simon Tatham [Sat, 2 Mar 2002 17:37:48 +0000 (17:37 +0000)]
The `wrapnext' flag should be saved and restored with the cursor
position. Failure to do this can give wrapnext==TRUE even with the
cursor not in the rightmost column.
Simon Tatham [Fri, 1 Mar 2002 13:17:45 +0000 (13:17 +0000)]
from_backend() should always be called with len > 0. Only rlogin
mode ever failed to do this, and only Plink actually had a problem
with it, so this didn't become obvious for a while. rlogin mode is
fixed, and all implementations of from_backend() now contain an
assertion so that we should spot errors of this type more quickly in
future.
Simon Tatham [Sun, 24 Feb 2002 15:25:19 +0000 (15:25 +0000)]
Document the fact that character classes are a default-only
configuration option (and so you must reset the terminal if you
change them in mid-session).
Simon Tatham [Wed, 20 Feb 2002 22:28:11 +0000 (22:28 +0000)]
Work around surreal use of WM_COMMAND in radio button sets. Prevents
port number field resetting unnecessarily when protocol is set to
Raw using the arrow keys.
Simon Tatham [Tue, 12 Feb 2002 11:07:07 +0000 (11:07 +0000)]
Modify the donations bit in the FAQ. (We now don't need a copy of
Win2k since we already have two, but XP might be nice; also added
PayPal to the donation methods.)
Simon Tatham [Mon, 4 Feb 2002 13:52:05 +0000 (13:52 +0000)]
Add a general `what ports exist?' question to the FAQ, so that the
next person who asks us whether we have a port for ${random_palmtop}
can be treated with the contempt they deserve.
Simon Tatham [Thu, 17 Jan 2002 12:22:26 +0000 (12:22 +0000)]
Experimental checkin: re-enable support for the static WM_MOUSEWHEEL
even on systems where the version number check thinks we should be
expecting a dynamically registered message number. I have a
suspicion the version check isn't accurate in all circumstances; and
in any case, in a situation like this where Windows might send you
either of two things, it's better to be ready to deal with both than
to try and second-guess which one you'll get.
Simon Tatham [Mon, 14 Jan 2002 12:16:58 +0000 (12:16 +0000)]
Update the FAQ to reflect 0.52 as being a current release rather
than a future prospect. I'm going to move the beta-0-52 tag on this
file, but that won't affect release binaries that have already been
built.
Simon Tatham [Thu, 10 Jan 2002 13:29:43 +0000 (13:29 +0000)]
Extra safety feature to avoid sending SSH2_MSG_WINDOW_ADJUST on
a nonexistent channel. I don't quite know why this was happening,
but whatever it was this ought to fix it.
Simon Tatham [Thu, 10 Jan 2002 13:06:26 +0000 (13:06 +0000)]
Plink's front-end select loop was failing to send error messages to
winnet.c. The result was that complete failures to make an SSH
connection (connection refused, for example) were causing a hang
instead of a proper error report.
Simon Tatham [Tue, 8 Jan 2002 11:57:32 +0000 (11:57 +0000)]
Add the CRC32 compensation attack detector that all other SSH
clients have had for ages and I forgot about. Of course I've got the
version with the buffer overflow fixed!
Simon Tatham [Tue, 8 Jan 2002 09:45:10 +0000 (09:45 +0000)]
Patch from RDB: invent a /DMSVC4 compile-time definition which
renames header files and symbols etc. Now if I could only _find_ my
copy of MSVC4 we might even be able to build Win32s binaries...
Simon Tatham [Mon, 31 Dec 2001 16:15:19 +0000 (16:15 +0000)]
Create the long-awaited console.c, and move the common routines out
of scp.c, psftp.c and plink.c into it. Additionally, add `batch
mode', in which all the interactive prompts (bad host key, log file
exists, insecure cipher, password prompt) are disabled and safe
responses are assumed. (The idea being that if you run PSCP, for
example, in a cron job then you'd probably rather it failed and
exited instead of leaving the cron job wedged while it waits for
user input that will never arrive.)
Simon Tatham [Sun, 30 Dec 2001 16:27:07 +0000 (16:27 +0000)]
I have no brain at all. The SSH1 auth loop was trying all Pageant
keys before _every_ other authentication; so if you tried a local
pubkey _and_ a password, for example, you'd also try Pageant twice.
Now fixed.
Simon Tatham [Sun, 30 Dec 2001 16:20:31 +0000 (16:20 +0000)]
PuTTY can now detect when one of the Pageant keys it tries matches
the private key file given in the config; if it spots this then it
avoids trying it again (and in particular avoids needing to ask for
the passphrase when it knows perfectly well it won't work).
Simon Tatham [Sun, 30 Dec 2001 15:58:17 +0000 (15:58 +0000)]
Pageant is now able to avoid asking for the passphrase when asked to
load a key that is already loaded. This makes command lines such as
`pageant mykey -c mycommand' almost infinitely more useful.
Simon Tatham [Sat, 29 Dec 2001 17:21:26 +0000 (17:21 +0000)]
Add a configurable option to make Return in Telnet send an ordinary
^M instead of the Telnet New Line code. Unix-type telnetds don't
care one way or the other; RDB claims some telnetds prefer Telnet
NL; and now someone has found one that can't deal with Telnet NL and
prefers ^M. Sigh.
Simon Tatham [Sat, 29 Dec 2001 17:00:06 +0000 (17:00 +0000)]
Add a FAQ about keyboard mapping problems: basically explaining that
we really need to know what character sequence you were _expecting_
your function key to generate before we can even think about making
PuTTY generate it.
Simon Tatham [Sat, 29 Dec 2001 15:31:42 +0000 (15:31 +0000)]
Add a new back-end function to return the exit code of the remote
process. This is functional in SSH, and vestigial (just returns 0)
in the other three protocols. Plink's Windows exit code is now
determined by the remote process exit code, which should make it
more usable in scripting applications. Tested in both SSH1 and SSH2.
Simon Tatham [Sat, 29 Dec 2001 14:47:59 +0000 (14:47 +0000)]
Jordan Russell's patch (3rd of several). We now don't call TermOut()
if the PuTTY window has the mouse capture (i.e. a drag-select is in
progress). This means you can drag-select at your leisure without
the screen contents wandering around providing you with a moving
target. Likewise dragging the scrollbar to find a piece of history
in the scrollback.