]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
20 years agoBack out my temporary edit of the FAQ, to make it once again 0.54
Simon Tatham [Thu, 12 Feb 2004 18:28:00 +0000 (18:28 +0000)]
Back out my temporary edit of the FAQ, to make it once again
0.54-ready.

[originally from svn r3848]

20 years agoJacob's last-minute testing found a couple of trivial bugs in
Simon Tatham [Wed, 11 Feb 2004 13:58:27 +0000 (13:58 +0000)]
Jacob's last-minute testing found a couple of trivial bugs in
import.c, and my attempts to reproduce them in cmdgen found another
one there :-)

[originally from svn r3847]

20 years agoSigh. Since Mailman breakage means we won't be releasing 0.54 today
Simon Tatham [Tue, 10 Feb 2004 19:32:08 +0000 (19:32 +0000)]
Sigh. Since Mailman breakage means we won't be releasing 0.54 today
after all, I'll slightly edit those FAQ changes.

[originally from svn r3845]

20 years agoJacob reports a segfault when using HTTP proxying under Minefield.
Simon Tatham [Tue, 10 Feb 2004 19:07:45 +0000 (19:07 +0000)]
Jacob reports a segfault when using HTTP proxying under Minefield.
It appears that this is because Visual C's sscanf works by first
calling strlen to get the length of the string, so that its internal
read-character routine can be sure of never overrunning the buffer.
Quite why the internal read-char routine can't detect \0 _itself_
rather than having to have it found for it in advance I have no
idea. Sigh.

[originally from svn r3844]

20 years agoJacob's FAQ changes for 0.54.
Simon Tatham [Tue, 10 Feb 2004 18:22:00 +0000 (18:22 +0000)]
Jacob's FAQ changes for 0.54.

[originally from svn r3842]

20 years agoBriefly document the "special commands" menu.
Jacob Nevins [Sun, 8 Feb 2004 00:14:57 +0000 (00:14 +0000)]
Briefly document the "special commands" menu.

[originally from svn r3830]

20 years agoDocument the new "Compromise" mouse-handling option introduced 2003-11-20
Jacob Nevins [Sat, 7 Feb 2004 23:49:21 +0000 (23:49 +0000)]
Document the new "Compromise" mouse-handling option introduced 2003-11-20

[originally from svn r3829]

20 years agoMention the Ctrl+right-click context menu now available on Windows.
Jacob Nevins [Sat, 7 Feb 2004 23:35:32 +0000 (23:35 +0000)]
Mention the Ctrl+right-click context menu now available on Windows.

[originally from svn r3827]

20 years agoUpdate the advice about updating the wishlist post-release
Jacob Nevins [Sat, 7 Feb 2004 23:21:28 +0000 (23:21 +0000)]
Update the advice about updating the wishlist post-release

[originally from svn r3825]

20 years agoUpdate version numbers preparatory to tagging for release.
Simon Tatham [Sat, 7 Feb 2004 18:17:50 +0000 (18:17 +0000)]
Update version numbers preparatory to tagging for release.

[originally from svn r3820]

20 years agoAnother admin script, to build the Unix source archive.
Simon Tatham [Sat, 7 Feb 2004 18:14:53 +0000 (18:14 +0000)]
Another admin script, to build the Unix source archive.

[originally from svn r3819]

20 years agoAdded a wrinkle to the version.c build in the Unix makefile, which
Simon Tatham [Sat, 7 Feb 2004 18:10:54 +0000 (18:10 +0000)]
Added a wrinkle to the version.c build in the Unix makefile, which
will validate an md5sums manifest and if all md5sums match will use
a version number provided in a file. This should allow me to produce
a Unix release source archive with the property that when unpacked
and built it will produce binaries advertising themselves as
`Release X.YZ', but as soon as the user starts fiddling with the
sources it will revert to `Unidentified build' (though of course the
user can still _explicitly_ ask for a release tag, and in fact this
will override the default if any default is specified).

[originally from svn r3818]

20 years agoAdd some Unix blurb.
Simon Tatham [Sat, 7 Feb 2004 17:38:54 +0000 (17:38 +0000)]
Add some Unix blurb.

[originally from svn r3817]

20 years agoSilly grammatical error.
Simon Tatham [Sat, 7 Feb 2004 17:36:05 +0000 (17:36 +0000)]
Silly grammatical error.

[originally from svn r3816]

20 years agoCharles Wilcox reported a signature validation bug with 2500-bit RSA
Simon Tatham [Sat, 7 Feb 2004 10:02:20 +0000 (10:02 +0000)]
Charles Wilcox reported a signature validation bug with 2500-bit RSA
keys. This _appears_ to be due to me computing the byte count of the
key by dividing the bit count by 8 and rounding _down_ rather than
up. Therefore, I can't see how this code could ever have worked on
any SSH2 RSA key whose length was not a multiple of 8 bits; and
therefore I'm staggered that we haven't noticed it before! OpenSSH's
keygen appears to be scrupulous about ensuring the returned key
length is exactly what you asked for rather than one bit less, but
even so I'm astonished that _all_ keygen implementations for servers
we've ever interoperated with have avoided tripping this bug...

[originally from svn r3815]

20 years agoHost key q: mention kh2reg.py
Jacob Nevins [Wed, 4 Feb 2004 18:39:14 +0000 (18:39 +0000)]
Host key q: mention kh2reg.py

[originally from svn r3801]

20 years agoPatch from Theo Markettos: apparently "BSD-derived IP stacks fall over when
Jacob Nevins [Tue, 3 Feb 2004 14:47:43 +0000 (14:47 +0000)]
Patch from Theo Markettos: apparently "BSD-derived IP stacks fall over when
trying to bind to the localhost interface with a sockaddr_in which has non-zero
sin_zero fields." Zero sockaddr_in (and sockaddr_in6) before any use.

[originally from svn r3793]

20 years agoPatch from Colin Watson: document pterm.WarnOnClose
Jacob Nevins [Tue, 3 Feb 2004 14:36:01 +0000 (14:36 +0000)]
Patch from Colin Watson: document pterm.WarnOnClose

[originally from svn r3792]

20 years agoUnix PuTTYgen: exists
Jacob Nevins [Sat, 24 Jan 2004 18:30:32 +0000 (18:30 +0000)]
Unix PuTTYgen: exists

[originally from svn r3768]

20 years agoReasonably thorough test suite for command-line PuTTYgen, and
Simon Tatham [Sat, 24 Jan 2004 17:16:37 +0000 (17:16 +0000)]
Reasonably thorough test suite for command-line PuTTYgen, and
several bugs fixed in the process of constructing same.

[originally from svn r3767]

20 years agoAdd a man page for the new command-line PuTTYgen.
Simon Tatham [Fri, 23 Jan 2004 13:21:25 +0000 (13:21 +0000)]
Add a man page for the new command-line PuTTYgen.

[originally from svn r3766]

20 years agoCouple of bits missing from the command-line help.
Simon Tatham [Fri, 23 Jan 2004 13:21:17 +0000 (13:21 +0000)]
Couple of bits missing from the command-line help.

[originally from svn r3765]

20 years agoAdded a command-line key generation tool. Currently builds and runs
Simon Tatham [Thu, 22 Jan 2004 19:15:32 +0000 (19:15 +0000)]
Added a command-line key generation tool. Currently builds and runs
on Linux, but the (very few) platform-specific bits are already
abstracted out of the main code, so it should port to other
platforms with a minimum of fuss.

[originally from svn r3762]

20 years agoPlacate some gcc warnings.
Simon Tatham [Thu, 22 Jan 2004 18:52:49 +0000 (18:52 +0000)]
Placate some gcc warnings.

[originally from svn r3761]

20 years agoFix a casting bug with the length-independent sshbn code.
Simon Tatham [Thu, 22 Jan 2004 18:37:48 +0000 (18:37 +0000)]
Fix a casting bug with the length-independent sshbn code.

[originally from svn r3760]

20 years agoBah! Nicolas Barry correctly points out that my async agent code
Simon Tatham [Wed, 21 Jan 2004 21:11:03 +0000 (21:11 +0000)]
Bah! Nicolas Barry correctly points out that my async agent code
simply doesn't work - if multiple concurrent agent requests are
attempted, some of them will fail for no apparent reason. I assume
concurrent SendMessage() calls don't work in the Windows API, or
some such. So I'm commenting out the async code for the moment
(there wasn't a Windows Pageant that made helpful use of it anyway
yet) and returning to the drawing board.

[originally from svn r3756]

20 years agoKaisuke Nakajima points out that it's unnecessary to translate
Simon Tatham [Wed, 21 Jan 2004 20:59:20 +0000 (20:59 +0000)]
Kaisuke Nakajima points out that it's unnecessary to translate
negative font sizes (meaning pixels) into positive ones (points) in
winstore.c, since it gets done anyway at the point of font creation;
and removing the code in winstore.c means that the precise font
entered by the user is saved in the config, rather than being
rounded.

[originally from svn r3755]

20 years agoDarryl L. Miles's patch to support an optional port number argument
Simon Tatham [Wed, 21 Jan 2004 19:56:08 +0000 (19:56 +0000)]
Darryl L. Miles's patch to support an optional port number argument
on the PSFTP `open' command; it was arguably a bug that this command
couldn't do such an obvious thing that could be done from the main
command line. Also had to fix a NULL-dereference in do_sftp_cleanup
in the process.

[originally from svn r3754]

20 years agoTheo Markettos's unsigned-vs-signed-char pedantry patch.
Simon Tatham [Wed, 21 Jan 2004 19:45:44 +0000 (19:45 +0000)]
Theo Markettos's unsigned-vs-signed-char pedantry patch.

[originally from svn r3753]

20 years agoTwo small memory leaks, also noticed by Martin Prikryl.
Simon Tatham [Wed, 21 Jan 2004 19:41:34 +0000 (19:41 +0000)]
Two small memory leaks, also noticed by Martin Prikryl.

[originally from svn r3752]

20 years agoMartin Prikryl points out that need_pw may be used uninitialised.
Simon Tatham [Wed, 21 Jan 2004 19:33:48 +0000 (19:33 +0000)]
Martin Prikryl points out that need_pw may be used uninitialised.

[originally from svn r3751]

20 years ago`What is PuTTY?' gets asked _just_ frequently enough to have finally
Simon Tatham [Wed, 21 Jan 2004 17:11:55 +0000 (17:11 +0000)]
`What is PuTTY?' gets asked _just_ frequently enough to have finally
annoyed me.

[originally from svn r3749]

20 years agoUpdate for latest mkfiles.pl kerfuffle
Jacob Nevins [Tue, 20 Jan 2004 21:00:07 +0000 (21:00 +0000)]
Update for latest mkfiles.pl kerfuffle

[originally from svn r3747]

20 years agoFix unterminated comments in previous checkin
Jacob Nevins [Tue, 20 Jan 2004 20:42:43 +0000 (20:42 +0000)]
Fix unterminated comments in previous checkin

[originally from svn r3746]

20 years agoOh, and mention lcc in the README.
Simon Tatham [Tue, 20 Jan 2004 20:35:49 +0000 (20:35 +0000)]
Oh, and mention lcc in the README.

[originally from svn r3745]

20 years agoAlexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
Simon Tatham [Tue, 20 Jan 2004 20:35:27 +0000 (20:35 +0000)]
Alexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
caused a small amount of extra inconvenience at the tops of .rc
files, but it's been positive overall since lcc has managed to point
out some pedantic errors (typically static/extern mismatches between
function prototypes and definitions) which everything else missed.

[originally from svn r3744]

20 years agoPaul van der Meij points out that do_reconfig() should not free
Simon Tatham [Tue, 20 Jan 2004 19:46:00 +0000 (19:46 +0000)]
Paul van der Meij points out that do_reconfig() should not free
dp.errtitle, since it's also freed in dp_cleanup(). Minefield
agrees. Fixed.

[originally from svn r3743]

20 years agoJosh Hill's patch for full-screen mode on a multi-monitor system:
Simon Tatham [Tue, 20 Jan 2004 19:41:43 +0000 (19:41 +0000)]
Josh Hill's patch for full-screen mode on a multi-monitor system:
clicks in the top left of the window should not be detected by
comparing the coordinates with (0,0) since this won't work on
secondary monitors.

[originally from svn r3742]

20 years agoMark Wutzke points out that the comment in sk_proxy_set_frozen()
Simon Tatham [Tue, 20 Jan 2004 19:30:41 +0000 (19:30 +0000)]
Mark Wutzke points out that the comment in sk_proxy_set_frozen()
states that plug_receive() may recurse back into
sk_proxy_set_frozen() again. Therefore, bufchain_consume() should
have been called _before_ calling plug_receive(), to prevent an
infinite loop overflowing the stack. I can't immediately figure out
under what circumstances this might happen, but it seems an
obviously sensible precaution.

[originally from svn r3741]

20 years ago`portfwd-loopback-choice' was not consistently documented.
Jacob Nevins [Tue, 20 Jan 2004 12:46:36 +0000 (12:46 +0000)]
`portfwd-loopback-choice' was not consistently documented.
 - update usage info in tools
   - ack, plink is over 24 lines now
 - update man pages for Unix version
 - Doc changes:
   - move long description from (GUI) "config" to "using"
     - sorry if complete specification isn't what this section is meant for,
       but if you only read "using" it was hard to find.
   - ensure enough references to this made in other sections (GUI,
     command-line)
   - update instance of plink usage info

[originally from svn r3740]

20 years agoIdiot me _twice_! The new store_host_key() was failing in the
Simon Tatham [Mon, 19 Jan 2004 09:37:17 +0000 (09:37 +0000)]
Idiot me _twice_! The new store_host_key() was failing in the
absence of an existing host key file. Duhh.

[originally from svn r3737]

20 years agoRe local X server auth, clarify that it's _us_ you should mail, and link
Jacob Nevins [Mon, 19 Jan 2004 00:19:32 +0000 (00:19 +0000)]
Re local X server auth, clarify that it's _us_ you should mail, and link
to the Feedback section.

[originally from svn r3734]

20 years agoMemory management fixes. Fixed a segfault in SSH1 compression
Simon Tatham [Sun, 18 Jan 2004 09:14:41 +0000 (09:14 +0000)]
Memory management fixes. Fixed a segfault in SSH1 compression
cleanup noticed by Gerhard Wiesinger, and also fixed some memory
leaks spotted by valgrind while debugging same.

[originally from svn r3726]

20 years agoOops, two lines moved out of my snapshot script should have been
Simon Tatham [Sun, 18 Jan 2004 08:45:50 +0000 (08:45 +0000)]
Oops, two lines moved out of my snapshot script should have been
left there! Bah.

[originally from svn r3725]

20 years agoVarious uninitialised-variable accesses picked up by valgrind.
Simon Tatham [Sat, 17 Jan 2004 14:25:36 +0000 (14:25 +0000)]
Various uninitialised-variable accesses picked up by valgrind.

[originally from svn r3723]

20 years agoBuilding source archives for previous releases has always been a
Simon Tatham [Sat, 17 Jan 2004 14:17:21 +0000 (14:17 +0000)]
Building source archives for previous releases has always been a
fiddly process. Let's have a magic script designed to do it right.

[originally from svn r3722]

20 years agoJoe Yates's patch to make mkfiles.pl generate Visual Studio project
Simon Tatham [Sat, 17 Jan 2004 13:48:40 +0000 (13:48 +0000)]
Joe Yates's patch to make mkfiles.pl generate Visual Studio project
files as well as an nmake makefile. Needed line-end tweakery in
order to be able to generate usable project files when run on Unix,
but other than that appears fine. Ooh!

[originally from svn r3721]

20 years agoSo _that's_ why mkfiles.pl was running so slowly on my Windows box!
Simon Tatham [Sat, 17 Jan 2004 13:24:59 +0000 (13:24 +0000)]
So _that's_ why mkfiles.pl was running so slowly on my Windows box!
&findfile() now caches its results. At least one full order of
magnitude speedup when running on an SMB-mounted volume. Phew.

[originally from svn r3720]

20 years agoIdiot me! store_host_key() was blindly _appending_ new host keys to
Simon Tatham [Sat, 17 Jan 2004 13:00:18 +0000 (13:00 +0000)]
Idiot me! store_host_key() was blindly _appending_ new host keys to
the end of the host key file. This is perfectly all right if a host
key never changes, but it's completely useless if you need to
replace an existing entry. This version should do better.

[originally from svn r3719]

20 years agoIt's a new year.
Simon Tatham [Thu, 1 Jan 2004 16:47:55 +0000 (16:47 +0000)]
It's a new year.

[originally from svn r3679]
[this svn revision also touched putty-website]

20 years agoJoe Yates's memory leak patch was overenthusiastically freeing
Simon Tatham [Thu, 1 Jan 2004 16:42:48 +0000 (16:42 +0000)]
Joe Yates's memory leak patch was overenthusiastically freeing
things; it called freebn on the DH gex values even if DH gex had not
taken place. Bug was trivially reproducible as a NULL-dereference
segfault by making any SSH2 connection with DH gex disabled. Should
now be fixed.

[originally from svn r3678]

20 years agoD'oh! WideFont and WideBoldFont were being read from session files,
Simon Tatham [Wed, 31 Dec 2003 16:09:55 +0000 (16:09 +0000)]
D'oh! WideFont and WideBoldFont were being read from session files,
but not written. I _thought_ something odd was happening with my
UTF-8 pterms.

[originally from svn r3673]

20 years agoJoe Yates's memory leak patches.
Simon Tatham [Fri, 19 Dec 2003 12:44:46 +0000 (12:44 +0000)]
Joe Yates's memory leak patches.

[originally from svn r3650]

20 years agoAndy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
Simon Tatham [Tue, 16 Dec 2003 18:28:43 +0000 (18:28 +0000)]
Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
benefit from _also_ being conditional on NO_MULTIMON not being
defined, to prevent the possibility of only half the multimon code
being included.

[originally from svn r3644]

20 years agotweak for consistency with previous checkin
Jacob Nevins [Thu, 4 Dec 2003 00:10:07 +0000 (00:10 +0000)]
tweak for consistency with previous checkin

[originally from svn r3622]

20 years agoFix from Michael Wardle in bell error message
Jacob Nevins [Wed, 3 Dec 2003 23:32:47 +0000 (23:32 +0000)]
Fix from Michael Wardle in bell error message

[originally from svn r3619]

20 years agoSpotted by Tim Kosse: reput on an already complete file was hanging.
Jacob Nevins [Wed, 3 Dec 2003 23:25:48 +0000 (23:25 +0000)]
Spotted by Tim Kosse: reput on an already complete file was hanging.
Should be fixed now (we only wait for packets if we know there are some
that haven't been replied to yet).

[originally from svn r3618]

20 years agoAdd updating the wishlist to the Release checklist
Jacob Nevins [Wed, 3 Dec 2003 22:49:32 +0000 (22:49 +0000)]
Add updating the wishlist to the Release checklist

[originally from svn r3615]

20 years agofflush(stdout) after each line of stats
Jacob Nevins [Wed, 3 Dec 2003 22:45:32 +0000 (22:45 +0000)]
fflush(stdout) after each line of stats

[originally from svn r3614]

20 years agoFix for `logging-save-default': allow logging settings to be saved with
Jacob Nevins [Wed, 3 Dec 2003 19:17:14 +0000 (19:17 +0000)]
Fix for `logging-save-default': allow logging settings to be saved with
Default Settings.

[originally from svn r3610]

20 years agoI think the time has come for PuTTYgen to mention "authorized_keys" instead
Jacob Nevins [Mon, 24 Nov 2003 13:40:58 +0000 (13:40 +0000)]
I think the time has come for PuTTYgen to mention "authorized_keys" instead
of "authorized_keys2" by default. I believe this change was made in OpenSSH
around June 2001, so any versions which it applies should have been replaced
by now for other reasons.
(The docs still adequately document the confusion surrounding this)

[originally from svn r3577]

20 years agoTrivial braino in parsing of the port forwarding config data. Was
Simon Tatham [Sat, 22 Nov 2003 14:50:57 +0000 (14:50 +0000)]
Trivial braino in parsing of the port forwarding config data. Was
causing all port forwardings after the first dynamic one to be
ignored.

[originally from svn r3572]

20 years agoIntroduce a new mouse handling option, in which the right button
Simon Tatham [Thu, 20 Nov 2003 18:41:12 +0000 (18:41 +0000)]
Introduce a new mouse handling option, in which the right button
brings up the context menu (and you can then paste by selecting
`Paste'). Should be more friendly to Windows-oriented users as
opposed to expatriate X users; also has the effect of making it more
difficult to paste into PuTTY by a single misplaced mouse click,
which has been a common theme of complaint recently.
For the moment, `Compromise' (the X-like behaviour with the right
and middle buttons reversed so that two-button users still get the
two most important functions) is still the default. I'm uncertain
that it might not be better to make the new option the default,
though, since the compromise option is optimal for _nobody_.

[originally from svn r3565]

20 years agoMove the `translation of line drawing characters when pasting'
Simon Tatham [Thu, 20 Nov 2003 18:33:22 +0000 (18:33 +0000)]
Move the `translation of line drawing characters when pasting'
option from the Selection panel to the Translation panel (where it
fits at least as well). This frees a line in the Selection panel
which I'm about to use for an additional mouse handling option.

[originally from svn r3564]

20 years agoIntroduce a context menu which appears on Ctrl+rightclick. This menu
Simon Tatham [Wed, 19 Nov 2003 20:48:30 +0000 (20:48 +0000)]
Introduce a context menu which appears on Ctrl+rightclick. This menu
contains all the stuff in the System menu except for the standard
System menu bits (move, resize, close etc), and also contains `Paste'.

[originally from svn r3555]

20 years agoMake that last checkin more explicit, and in particular reference the
Jacob Nevins [Wed, 19 Nov 2003 19:09:07 +0000 (19:09 +0000)]
Make that last checkin more explicit, and in particular reference the
"common errors" section of the documentation.

[originally from svn r3554]

20 years agoSoften language in `faq-incorrect-mac': buggy ssh.com servers aren't the
Jacob Nevins [Wed, 19 Nov 2003 19:03:24 +0000 (19:03 +0000)]
Soften language in `faq-incorrect-mac': buggy ssh.com servers aren't the
only possible reason for this message.

[originally from svn r3553]

20 years agoI _think_ this should fix the problem reported by `Stacey': failure
Simon Tatham [Wed, 19 Nov 2003 17:30:16 +0000 (17:30 +0000)]
I _think_ this should fix the problem reported by `Stacey': failure
to fclose a private key file.

[originally from svn r3552]

20 years agoCosmetic fix from Daniel Fazekas: apparently we were failing to allow
Jacob Nevins [Thu, 6 Nov 2003 14:17:56 +0000 (14:17 +0000)]
Cosmetic fix from Daniel Fazekas: apparently we were failing to allow
window-furniture in Playschool Windows be animated on mouse-over. This
fix also seems like the Right Thing to do. I've tried it and it seems
harmless enough on Win2K.

[originally from svn r3536]

20 years agoWe now mention the version number on the Download page, so I'd
Simon Tatham [Mon, 3 Nov 2003 13:59:46 +0000 (13:59 +0000)]
We now mention the version number on the Download page, so I'd
better remember to change it next time :-)

[originally from svn r3528]

20 years agoClose the host keys file after use. Well spotted Theo Markettos.
Simon Tatham [Fri, 31 Oct 2003 21:45:15 +0000 (21:45 +0000)]
Close the host keys file after use. Well spotted Theo Markettos.

[originally from svn r3526]

20 years agoHmm, that relative link wasn't too good. Try a more helpful one.
Simon Tatham [Thu, 30 Oct 2003 10:41:59 +0000 (10:41 +0000)]
Hmm, that relative link wasn't too good. Try a more helpful one.
Also add to the release checklist so that I'll remember to set this
up properly in the next set of release docs...

[originally from svn r3525]

20 years agoMove the reference to sitestyle.css out into a separate .but file
Simon Tatham [Thu, 30 Oct 2003 10:30:23 +0000 (10:30 +0000)]
Move the reference to sitestyle.css out into a separate .but file
which is only included if you explicitly tell the docs Makefile to
do so. Also make it a relative reference, while we're at it.

[originally from svn r3524]

20 years agoFix usage comments
Jacob Nevins [Tue, 21 Oct 2003 13:26:12 +0000 (13:26 +0000)]
Fix usage comments

[originally from svn r3519]

20 years agoUpdate faq-pscp-ascii.
Jacob Nevins [Wed, 15 Oct 2003 12:09:24 +0000 (12:09 +0000)]
Update faq-pscp-ascii.

[originally from svn r3509]

20 years agoAdd `--unix' mode to generate ~/.putty/sshhostkeys from known_hosts.
Jacob Nevins [Tue, 14 Oct 2003 23:23:28 +0000 (23:23 +0000)]
Add `--unix' mode to generate ~/.putty/sshhostkeys from known_hosts.
(should now be called `kh2putty.py')

[originally from svn r3508]

20 years agoRemove dead comment about writing settings, and query one about reading them.
Jacob Nevins [Tue, 14 Oct 2003 21:01:12 +0000 (21:01 +0000)]
Remove dead comment about writing settings, and query one about reading them.

[originally from svn r3507]

20 years agoWe now have Unix ports of PSCP and PSFTP.
Jacob Nevins [Tue, 14 Oct 2003 19:57:50 +0000 (19:57 +0000)]
We now have Unix ports of PSCP and PSFTP.

[originally from svn r3506]

20 years agoActually fix winnet-if2lo, I think. Tested in an ad-hoc manner by
Simon Tatham [Sun, 12 Oct 2003 14:12:54 +0000 (14:12 +0000)]
Actually fix winnet-if2lo, I think. Tested in an ad-hoc manner by
deliberately making a connection from nemesis's real IP address to
its loopback address; not tested in the original failing case of SMB.

[originally from svn r3503]

20 years agoThe WinSock library is now loaded at run-time, which means we can
Simon Tatham [Sun, 12 Oct 2003 13:46:12 +0000 (13:46 +0000)]
The WinSock library is now loaded at run-time, which means we can
attempt to load WS2 and then fall back to WS1 if that fails. This
should allow us to use WS2-specific functionality to find out the
local system's list of IP addresses, thus fixing winnet-if2lo, while
degrading gracefully back to the previous behaviour if that
functionality is unavailable. (I haven't yet actually done this; I've
just laid the groundwork.)
This checkin _may_ cause instability; it seemed fine to me on
initial testing, but it's a bit of an upheaval and I wouldn't like
to make bets on it just yet.

[originally from svn r3502]

20 years agoRemove all the "assert(len>0)" which forbade zero-length writes across the
Jacob Nevins [Sun, 12 Oct 2003 13:16:39 +0000 (13:16 +0000)]
Remove all the "assert(len>0)" which forbade zero-length writes across the
from_backend() interface, after having made all implementations safe against
being called with len==0 and possibly-NULL/undefined "data".

(This includes making misc.c:bufchain_add() more robust in this area.)

Assertion was originally added 2002-03-01; e.g., see plink.c:1.53 [r1571].

I believe this now shouldn't break anything.

This should hopefully make `ppk-empty-comment' finally GO AWAY. (Tested
with Unix PuTTY.)

[originally from svn r3500]
[r1571 == fdbd6978016e9fd87db7b3bfc33ff0da8bd3eea9]

20 years agoAdd random commentary to SOCKS code.
Jacob Nevins [Fri, 10 Oct 2003 22:58:53 +0000 (22:58 +0000)]
Add random commentary to SOCKS code.
Also fix what I think are a couple of very minor bugs in SOCKS4; one won't
affect anyone AFAIK, and the other is unlikely to cause trouble.

[originally from svn r3497]

20 years agoIn SOCKS5 dynamic forwarding, we were echoing back DST.{ADDR,PORT} as
Jacob Nevins [Fri, 10 Oct 2003 21:20:01 +0000 (21:20 +0000)]
In SOCKS5 dynamic forwarding, we were echoing back DST.{ADDR,PORT} as
BND.{ADDR,PORT}. Besides being clearly wrong, correspondence with
Sascha Schwarz suggests that this can confuse some SOCKS5 clients
(Aventail and sockscap32) which seem to assume that the reply must
have ATYP=1 (IPv4 literal) and so get the length wrong.

Now all replies have ATYP=1 with BND.{ADDR,PORT} = 0.0.0.0:0 -- this
apparently follows practice in OpenSSH. (We don't have enough info to
fill these fields in correctly.)

[originally from svn r3496]

20 years agomissed a bit in last commit
Jacob Nevins [Wed, 8 Oct 2003 21:39:54 +0000 (21:39 +0000)]
missed a bit in last commit

[originally from svn r3490]

20 years agoCosmetic, to fix ssh2-des-cbc-is-std
Owen Dunn [Wed, 8 Oct 2003 20:09:55 +0000 (20:09 +0000)]
Cosmetic, to fix ssh2-des-cbc-is-std

[originally from svn r3488]

20 years ago`baltic-default-translation': change default Baltic (CP1257) encoding from
Jacob Nevins [Tue, 7 Oct 2003 21:31:21 +0000 (21:31 +0000)]
`baltic-default-translation': change default Baltic (CP1257) encoding from
8859-4 to 8859-13 as suggested by Vaidrius Petrauskas, on the grounds that
he has a .lt address and sounds like he knows what he's talking about.

[originally from svn r3485]

20 years agoMy ASN.1 decoder returned wrong IDs for anything above 0x1E! Good
Simon Tatham [Fri, 3 Oct 2003 21:21:23 +0000 (21:21 +0000)]
My ASN.1 decoder returned wrong IDs for anything above 0x1E! Good
job it's never had to yet. Ahem.

[originally from svn r3479]

20 years agoPSCP in SFTP mode now uses the fast download/upload manager.
Simon Tatham [Mon, 29 Sep 2003 15:39:56 +0000 (15:39 +0000)]
PSCP in SFTP mode now uses the fast download/upload manager.

[originally from svn r3472]

20 years agoObvious memory leak in new fast download management. Oops.
Simon Tatham [Mon, 29 Sep 2003 15:39:36 +0000 (15:39 +0000)]
Obvious memory leak in new fast download management. Oops.

[originally from svn r3471]

20 years agoUploads turn out to be much easier than downloads, so here's faster
Simon Tatham [Sun, 28 Sep 2003 14:24:01 +0000 (14:24 +0000)]
Uploads turn out to be much easier than downloads, so here's faster
upload support in PSFTP as well.

[originally from svn r3470]

20 years agoFirst cut at speeding up SFTP. Generic download-management code in
Simon Tatham [Sat, 27 Sep 2003 17:52:34 +0000 (17:52 +0000)]
First cut at speeding up SFTP. Generic download-management code in
sftp.c, and psftp.c now uses that instead of going it alone. Should
in principle be easily installed in PSCP as well, but I haven't done
it yet; also it only handles downloads, not uploads, and finally it
doesn't yet properly calculate the correct number of parallel
requests to queue. Still, it's a start, and in my own tests it
seemed to perform as expected (download speed suddenly became
roughly what you'd expect from the available bandwidth, and
decreased by roughly the expected number of round-trip times).

[originally from svn r3468]

20 years agoClarify what happens when you enter a code page that's not listed.
Jacob Nevins [Fri, 26 Sep 2003 13:04:56 +0000 (13:04 +0000)]
Clarify what happens when you enter a code page that's not listed.

[originally from svn r3467]

20 years agoNote what versions of SOCKS are implemented for dynamic port forwarding.
Jacob Nevins [Thu, 25 Sep 2003 12:38:02 +0000 (12:38 +0000)]
Note what versions of SOCKS are implemented for dynamic port forwarding.

[originally from svn r3464]

20 years agoImply that some features that have been implemented may appear on the Wishlist
Jacob Nevins [Tue, 23 Sep 2003 10:12:02 +0000 (10:12 +0000)]
Imply that some features that have been implemented may appear on the Wishlist
but not the Changes page, as this is now often the case.

[originally from svn r3459]

20 years agoMention Windows on Alpha as worth mentioning
Jacob Nevins [Tue, 23 Sep 2003 10:05:06 +0000 (10:05 +0000)]
Mention Windows on Alpha as worth mentioning

[originally from svn r3458]

20 years agoOops. Fix a bug in my `keyfile-diagnostic' work which caused SSH-2 key loading
Jacob Nevins [Wed, 10 Sep 2003 12:30:10 +0000 (12:30 +0000)]
Oops. Fix a bug in my `keyfile-diagnostic' work which caused SSH-2 key loading
in pageant (and presumably puttygen) to crash.

[originally from svn r3450]

20 years agoImplement `default-colours' on Windows based loosely on Michael Wardle's patch.
Jacob Nevins [Wed, 3 Sep 2003 20:14:38 +0000 (20:14 +0000)]
Implement `default-colours' on Windows based loosely on Michael Wardle's patch.

[originally from svn r3444]

20 years agoAdd pscp to .cvsignore
Jacob Nevins [Wed, 3 Sep 2003 18:37:35 +0000 (18:37 +0000)]
Add pscp to .cvsignore

[originally from svn r3443]

20 years agoChange an incorrect comment about "PuTTY-User-Key-File-2" private key format
Jacob Nevins [Tue, 2 Sep 2003 19:02:06 +0000 (19:02 +0000)]
Change an incorrect comment about "PuTTY-User-Key-File-2" private key format
after discussion with Simon.

[originally from svn r3440]

20 years agoWhen loading SSH-2 key, ignore passphrase argument if key is unencrypted.
Jacob Nevins [Tue, 2 Sep 2003 19:00:17 +0000 (19:00 +0000)]
When loading SSH-2 key, ignore passphrase argument if key is unencrypted.
This should get rid of a problem that three or four people reported where
PuTTY intermittently reports "Unable to load private key" (MAC failed).

(ssh.c:do_ssh2_authconn() should also initialise its passphrase so it's not
passing garbage passphrases around, of course, but I haven't yet worked out
where the best place in the auth loop to do that would be.)

[originally from svn r3439]