1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Commit Graph

  • 56a5e6fdf3 Extra diagnostics in the hope that we can track down the problem with the nightlies. I must remember to take it all out again when we do! Simon Tatham 2001-05-02 14:45:25 +0000
  • 463c2651ae TEMPORARY ONLY: enable debugging on default build to try to get tomorrow's nightly to show us what the problem with term_size is. Simon Tatham 2001-05-02 08:59:36 +0000
  • 50f50a009b Reduce out-of-focus timer interval to 2 seconds so we still have some control over keepalives when not in the foreground. Simon Tatham 2001-04-28 18:23:58 +0000
  • 0086b20625 Add Jordan Russell's patch for a sunken-edge border like a DOS box. Configurable, of course, because I for one like the border as thin as possible. Simon Tatham 2001-04-28 18:02:19 +0000
  • f30937f737 Debugging improvements. Started using Dave Hinton's dmemdump function (woohoo!), improved that function so it provides an ASCII dump as well as hex (whee!), removed all remaining spurious \r in debug statements (ooh!), and made enabling of packet debugging in SSH a matter of one ifdef rather than lots (phew!). Simon Tatham 2001-04-28 17:35:18 +0000
  • d27112ea87 Put the \001 prefix back on scp error messages when they're sent to the server. (Not sure _why_ they're sent to the server; scp is weird.) It may be pointless when sent to the screen, which is why I removed it, but it's extremely pointful on the wire :-( Simon Tatham 2001-04-28 17:18:47 +0000
  • 321adcb4b9 The bell overload times are now measured in milliseconds, although the config box still enters them in seconds (it allows fractions). Simon Tatham 2001-04-28 15:47:26 +0000
  • 296cad5962 Remove stray diagnostics. When will I learn? Simon Tatham 2001-04-28 15:33:48 +0000
  • fc56312b45 Implement lazy horizontal resizing of screen and scrollback. Simon Tatham 2001-04-28 15:32:25 +0000
  • 9525da2826 Arrange that explicit visual bells performed using ESC[?5h and ESC[?5l in immediate succession will still give a visibly long flash of the screen. Simon Tatham 2001-04-28 14:39:16 +0000
  • 580cde3fde Add the missing "all" target in the Cygwin makefile Simon Tatham 2001-04-28 12:07:41 +0000
  • 713679a0fa Jacob's patch to make passphrase boxes work more sanely Simon Tatham 2001-04-28 11:41:33 +0000
  • 1c998f6482 Only update the system caret when we have the focus. This was apparently causing the weird caret behaviour in Change Settings, because that routine was still being called... Simon Tatham 2001-04-28 11:27:04 +0000
  • 76dfe1cac9 Fix completely stupid agent_exists test. (Hint to self: you have to actually _call_ a boolean-returning function, not just test its address for nonzerohood.) Thanks Jacob. Simon Tatham 2001-04-28 11:25:58 +0000
  • 64b27d6bf4 Add -lwinmm to Cygwin makefile. Thanks Jacob. Simon Tatham 2001-04-28 11:25:03 +0000
  • 8695ee2def Remove my dire-warning `FIXME' in IPv4 dotted-decimal handling because Jeroen points out that it's perfectly OK the way it is :-) Simon Tatham 2001-04-28 11:24:45 +0000
  • ea2e1dd9ae Dave Hinton's debugging patch. Simon Tatham 2001-04-28 09:24:19 +0000
  • b7844a20af Add some fflushes to make it easier for piped programs to talk to plink and pscp Simon Tatham 2001-04-28 08:42:06 +0000
  • 62e5e4c2e1 Updated dependencies thanks to Dave Hinton's mkdeps script Simon Tatham 2001-04-28 07:49:23 +0000
  • dbe43bd461 Using plink with CVS - need to make sure the saved session uses SSH Owen Dunn 2001-04-18 15:23:36 +0000
  • 7850ccb1d9 Useful workaround I was given, to fake storing settings in a file. Simon Tatham 2001-04-17 10:39:19 +0000
  • 34d2d98bdd Two more small bugs introduced by the B-tree reorg: scroll() now requires fix_cpos() to be called after it (otherwise cpos might point to a line that isn't where you remember it being), and a mis-aimed incpos() was causing forward selection dragging not to include the char under the mouse. Both fixed. Simon Tatham 2001-04-17 09:25:52 +0000
  • 04b2c2b53e Fix alternate-screen bugs introduced by move to B-trees. Alternate screen wasn't being correctly cleared on creation, and also wasn't inhibiting scrollback like it should have. Simon Tatham 2001-04-17 08:53:31 +0000
  • 3abea3d4ea Having now compiled the last few days' changes with MSVC, it's turned up a bunch of warnings, mostly unused variables. All fixed. Simon Tatham 2001-04-17 08:24:29 +0000
  • 5279229ad3 Include <mmsystem.h> and winmm.lib for PlaySound. Simon Tatham 2001-04-16 21:33:18 +0000
  • abf6514f71 Put back Robert de Bath's second level of bell overload tracking. It had a useful purpose: when primary overload handling is disabled, it prevents MessageBeep calls overloading the program, because they don't cancel each other like async PlaySounds do. Simon Tatham 2001-04-16 21:29:12 +0000
  • 559b00b90a Terminal now uses unsorted counted tree234 as its basic data type. Should speed up scrollback to usable levels no matter how big your scrollback buffer. Simon Tatham 2001-04-16 21:25:13 +0000
  • 7cd4f98ef6 countnode234() should politely return 0 when passed NULL. Was breaking delpos234(empty_tree, 0). Simon Tatham 2001-04-16 21:24:38 +0000
  • 03c9b6107b Replace PuTTY's 2-3-4 tree implementation with the shiny new counted one, in preparation for using it to speed up scrollback. Simon Tatham 2001-04-16 17:18:24 +0000
  • cdf972d9f1 Fix excessive calls to random_byte() Simon Tatham 2001-04-16 16:25:57 +0000
  • a02e13ae3e Quote the hostname in the `unable to connect' box so that if the user starts up N PuTTYs at once and one reports failure, they know which one. Simon Tatham 2001-04-16 16:19:30 +0000
  • 19d76c9306 Add two more ghastly function key options. WE HAVE TOO MANY! Simon Tatham 2001-04-16 16:16:52 +0000
  • 639ab4c068 Roman Pompejus's patch to allow you to automatically select overwrite or append in logging mode. Simon Tatham 2001-04-16 15:58:43 +0000
  • e259c7df5c Makefile enhancements by Robert de Bath. Simon Tatham 2001-04-16 12:38:35 +0000
  • cc100b5676 Increase the read buffer size in network processing for extra speed. Simon Tatham 2001-04-16 12:25:03 +0000
  • 953b7775b3 Small keyboard patches from Robert de Bath. Should fix the dead-key problem and also some unspecified woe with the ever-problematic Compose key. Simon Tatham 2001-04-16 12:08:37 +0000
  • a7f58efa85 Remove the diagnostics I checked in by mistake in the last revision. AGAIN. I really must stop doing that. Simon Tatham 2001-04-16 11:18:15 +0000
  • 522f130391 Pageant interface changes. You can now do pageant -c command' to spawn another command after starting Pageant. Also, if Pageant is already running, pageant keyfile' and pageant -c command' will do the Right Thing, that is, add the key to the _first_ Pageant and/or run a command and then exit. The only time you now get the Pageant is already running' error is if you try to start the second copy with no arguments. NB the affected files in this checkin are rather wide-ranging because I renamed the not really SSH1-specific ssh1_bignum_bitcount' function to just bignum_bitcount'. Simon Tatham 2001-04-16 11:16:58 +0000
  • fb8745a7d7 Log the text message in SSH_MSG_DISCONNECT (both protocols) so that when people submit Event Logs for diagnosis it's a little easier to work out what's up. Simon Tatham 2001-04-16 09:10:34 +0000
  • 36df70978a After we fall back to 3DES, double-check the server really does support it, and bomb out with a complaint if not. Simon Tatham 2001-04-16 07:49:11 +0000
  • a9c6997326 Bell can now play an arbitrary sound file. Simon Tatham 2001-04-14 11:37:47 +0000
  • f6ea0f9396 Oops - remove rogue debug messages! Simon Tatham 2001-04-13 11:01:56 +0000
  • a8116a8dae New improved bell handling. Choice between visual and audible bell; configurable bell overload handling. Thanks to Robert de Bath for galvanising me into doing this, but I've had to rip most of his code out and redo it myself... Simon Tatham 2001-04-13 10:52:36 +0000
  • c20960fe2c Some introductory blurb in the docs Simon Tatham 2001-04-13 09:39:08 +0000
  • 1734a09466 Experimental checkin to see if we can prevent multiple closes ever being sent on an SSH1 forwarding (or indeed primary) channel. Simon Tatham 2001-04-11 12:29:35 +0000
  • ac5bebc71d Jordan Russell's patch to match the PuTTY cursor blink rate to the system-configured one. Simon Tatham 2001-04-11 10:03:46 +0000
  • d2369721bb Keyboard handling patch from RDB: the Windows Application key is now always Compose (we have no better use for it), and Ctrl-Alt can be made to act like AltGr (but it's never Compose even when AltGr is). Simon Tatham 2001-04-09 12:52:43 +0000
  • 9d9ca5300a Don't assume OEM fonts have a space in position 255. We know there's one in position 32 so let's use that! (Thanks RDB.) Simon Tatham 2001-04-09 12:46:45 +0000
  • 8e91c62bfa We can now configure the terminal's answerback string when it receives ^E. Simon Tatham 2001-04-09 12:43:46 +0000
  • 0d419ab966 The About box now contains a button that starts up a browser pointing at the PuTTY web site. Thanks to Eric Theriault. Simon Tatham 2001-04-09 12:23:45 +0000
  • 2c39b69a52 Default handling of VT100 line drawing characters in cut and paste is now to translate them into poor man's characters (+--+ and |). We also have an option to disable this (and map line drawing characters to the corresponding ASCII code as before). Thanks to Robert de Bath. Simon Tatham 2001-04-09 11:59:35 +0000
  • ab3443b9e6 Fix the detect_bugs routine, which was failing to find the right bit of the version string :-) Simon Tatham 2001-03-29 13:40:03 +0000
  • cfe56ec836 Oops. The new remote_cmd_ptr points in the wrong place when you copy a Config structure like plink does at one point. (I'm almost tempted to say this is where a copy constructor would be handy :-/ ) Simon Tatham 2001-03-28 16:38:40 +0000
  • 0962190a1b Modify the new rsa_verify routine. We now also check the integrity of the private data (verifying that p > q and that iqmp really is the inverse of q mod p). In addition, we _no longer_ check that e*d == 1 mod (p-1)(q-1): instead we do separate checks mod (p-1) and mod (q-1), since the order of the multiplicative group mod n is actually equal to lcm(p-1,q-1) rather than phi(n)=(p-1)(q-1). (In other words, the Fermat-Euler theorem doesn't point both ways.) Simon Tatham 2001-03-23 13:02:39 +0000
  • 6a4294fbac Fix the SSH protocol version exchange, which had a weird stack trash in it which for some reason didn't show up when built with VC++6 but blew up the nightlies. Should be OK now. Simon Tatham 2001-03-23 10:28:36 +0000
  • 3a78d9dd09 Fix a couple of silly compiler warnings Simon Tatham 2001-03-23 09:20:43 +0000
  • e3bcd35a37 Following the recent advisory about attacks on PGP keys based on tampering with the unencrypted public part of the key but leaving the private part intact ... we are now ultra-paranoid about RSA key files, and we check that the public part matches the private part _before_ we generate any signatures with them. Simon Tatham 2001-03-22 21:48:33 +0000
  • 3f63cf7d88 Remove needless redeclaration of word32 (it was in ssh.h) Simon Tatham 2001-03-22 21:48:32 +0000
  • 4d881300c8 Remove the length limit on protocol version strings. (In principle, I could have got away with upping it to 256, but I didn't want a repeat of the chaos when some server accidentally breaks that limit too...) Simon Tatham 2001-03-22 17:32:40 +0000
  • 0cda163a2d Plink in noninteractive-script mode should not show the `Authenticated with public key' message in SSH2 (it already doesn't in SSH1). It shouldn't show the login banner either, since its output is probably redirected to something which will choke on it. Simon Tatham 2001-03-19 10:27:59 +0000
  • 4b5cda8aaa Add Norman Brandinger's suggested `-m' option in plink, to read the remote command from a local file. Advantage: you can have more than one line in it, so you can remotely run what's effectively a small script. Simon Tatham 2001-03-19 10:24:55 +0000
  • c152034706 SSH2 channel fix: received WINDOW_ADJUSTs were always applied to the primary (shell session) channel, rather than the one they were aimed at. This _despite_ me having deliberately gone and looked the channel ID up in the B-tree - I was ignoring the result by accident :-/ Simon Tatham 2001-03-16 12:09:44 +0000
  • 02f012a66a Correct handling of SSH1 protocol flags, in particular PROTOFLAG_SCREEN_NUMBER, without which OpenSSH 2.5.1 was objecting to my gratuitous inclusion of a screen number in the SSH1 X forwarding request. Ahem. Simon Tatham 2001-03-16 11:58:54 +0000
  • 947d33408f Add support for SSH2 userauth banners. We currently can't deal with printing them _before_ the username prompt. This apparently isn't very serious because OpenSSH doesn't _send_ it before the username prompt, but only in response to USERAUTH_REQUEST "none". Good job we do that! Simon Tatham 2001-03-15 17:14:31 +0000
  • dfb9893509 David Brinegar's workaround for an error reporting problem in some WinSocks. Simon Tatham 2001-03-15 13:25:48 +0000
  • 080d59422b At long last: PuTTY will now report its version to the server sensibly, as a release or a snapshot or a local build. With any luck this should make bug reporting easier to handle, because anyone who sends their Event Log should automatically include the version :-) Simon Tatham 2001-03-15 12:15:02 +0000
  • a405770ec5 Fix a trivial compiler warning Simon Tatham 2001-03-15 12:14:09 +0000
  • 4b5a97fbee Fix a few trivial compiler warnings Simon Tatham 2001-03-15 11:39:17 +0000
  • 31d6765aca Bit more robustness when talking to Pageant Simon Tatham 2001-03-15 11:38:02 +0000
  • 1a9d213a74 Oops - don't invent an X authorisation when doing agent forwarding! Overenthusiastic c'n'p breaks the world. Simon Tatham 2001-03-15 11:32:23 +0000
  • c760ef6f83 Fix a segfault on abrupt X connection shutdown. Simon Tatham 2001-03-15 11:19:59 +0000
  • cb9c2e79b9 AES should have accelerator s, not a, to avoid a clash Simon Tatham 2001-03-14 11:47:11 +0000
  • 7b0e082700 Dave Hinton's modifications to the network layer interface, which should make it possible to add SSL support later. Simon Tatham 2001-03-13 10:22:45 +0000
  • 40a68abec5 Add dependencies for x11fwd.obj to Makefile (thanks Catbells :-) Simon Tatham 2001-03-13 09:41:02 +0000
  • 55659a959f ssh_get_password has become ssh_get_line, so it can handle usernames as well. This should fix the multiple-reads-on-stdin bug in plink. Simon Tatham 2001-03-12 15:31:53 +0000
  • 9ee21069b5 Zero length passwords no longer cause an assertion failure :-) Simon Tatham 2001-03-12 15:12:33 +0000
  • 313b332a38 Finally fixed the point/pixel confusion in font handling. Thanks to Roman Surma for pointing me at the relevant bits of documentation. All font sizes should now be measured in points, and everything should be consistent, and (with any luck) old Registry settings should adapt gracefully too. Simon Tatham 2001-03-12 12:24:07 +0000
  • d823077f18 Add support for using Diffie-Hellman with short exponents (sshdh.c contains a reference to a paper on the subject). Reduces time taken for DH group exchange to the point where it's viable to enable it all the time, so I have. :-) Simon Tatham 2001-03-10 11:04:07 +0000
  • 0c8635beda Tiny bug in bn_power_2() - didn't work with powers that were a multiple of 16. Oops! Simon Tatham 2001-03-10 11:03:26 +0000
  • eee0a20be6 Update the text format of the public key as the comment box is edited Simon Tatham 2001-03-10 10:22:18 +0000
  • 83affa4ed9 Complete analysis of the magic ASN.1 stuff in RSASSA signatures Simon Tatham 2001-03-09 13:30:43 +0000
  • 630a9a628f Having introduced a new function into the SSH2 compression structure, it would help if I implemented it in the dummy no-compression case! Simon Tatham 2001-03-08 10:07:22 +0000
  • a34ef3df55 Introduce the ability to distinguish remote SSH implementations by their version strings and enable bug compatibility modes. Simon Tatham 2001-03-06 10:32:28 +0000
  • 48c0729310 Update a couple of messages to be clearer to users who don't have access to complete documentation (ie all of them at the moment :-) Simon Tatham 2001-03-06 09:29:43 +0000
  • 6b58ab6ad4 Fix various trivial compiler warnings Simon Tatham 2001-03-05 17:31:36 +0000
  • aaeecbb4ea Make the SSH2 traffic analysis defence robust in the face of Zlib compression. This involves introducing an option to disable Zlib compression (that is, continue to work within the Zlib format but output an uncompressed block) for the duration of a single packet. Simon Tatham 2001-03-05 16:38:42 +0000
  • a1d5dab580 Further traffic analysis defences Simon Tatham 2001-03-05 10:32:36 +0000
  • 16f4ffe616 Implement OpenSSH's private agent forwarding extension. I believe we now interoperate with OpenSSH/SSH2 to _exactly_ the same level as we interoperate with SSH1. Which is pretty cool really. Simon Tatham 2001-03-03 16:38:44 +0000
  • 1742f1cd34 Remove some stray diagnostics Simon Tatham 2001-03-03 16:10:04 +0000
  • de1c70a5d4 Remove a spurious \r\n from an Event Log message Simon Tatham 2001-03-03 16:05:52 +0000
  • 245cf9c8c9 SSH2 can now use Pageant to obtain keys from Simon Tatham 2001-03-03 15:56:39 +0000
  • 1f168926d7 Add support for the OpenSSH SSH2 agent protocol. Simon Tatham 2001-03-03 15:31:35 +0000
  • deccfaa3ef The authentication diagnostics in SSH2 should now be better. Additionally, the ability to switch usernames if you mistype the first one has been restored (although it didn't actually work because OpenSSH didn't feel like playing; patch submitted :-). Simon Tatham 2001-03-03 13:53:44 +0000
  • 146b5f5f6e Oops - fix silly segfault in new puttygen Simon Tatham 2001-03-03 12:05:36 +0000
  • 28b1fc766c Preliminary support for RSA user authentication in SSH2! Most of the error messages are currently wrong, and Pageant doesn't yet support the new key type, and I haven't thoroughly tested that falling back to password authentication and trying invalid keys etc all work. But what I have here has successfully performed a public key authentication, so it's working to at least some extent. Simon Tatham 2001-03-03 11:54:34 +0000
  • d894658913 More options for bignum debugging Simon Tatham 2001-03-03 11:53:07 +0000
  • 1d4009402e Include key type in SSH2 key fingerprints, now we have more than one Simon Tatham 2001-03-02 17:16:22 +0000
  • ded661cd07 Argh, sshrsa.c now depends on sshsha.c so Pageant needs it :-( Simon Tatham 2001-03-02 17:14:10 +0000
  • 97ace7d80d Added support for RSA host keys (not user keys yet) Simon Tatham 2001-03-02 17:13:36 +0000
  • 902d0636fc Extra crash-safety in decoding a DSS signature blob Simon Tatham 2001-03-02 17:13:16 +0000