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

Commit Graph

  • 1f22416c3c Oops - that do-we-need-to-resize-window check failed to spot font changes Simon Tatham 2001-01-07 16:38:35 +0000
  • 175d849778 Fix the System Caret so it really is invisible, and the right size too. Simon Tatham 2001-01-07 16:35:44 +0000
  • f2b13650c8 `Change Settings' now behaves sensibly w.r.t. window size. Simon Tatham 2001-01-07 16:27:48 +0000
  • fc478e6cad Turn a rogue malloc to smalloc Simon Tatham 2001-01-07 15:27:19 +0000
  • 5a908bb1d7 Apply `getservbyname' to the Port Number field in case it's non-numeric. Patch due to Christian Biesinger. Simon Tatham 2001-01-07 15:12:20 +0000
  • a24c502f4f AltGr should now work again even when Compose key disabled Simon Tatham 2001-01-07 14:30:00 +0000
  • 93004c40ad Make the colour list failsafe. Patch due to Robert de Bath Simon Tatham 2001-01-07 13:39:31 +0000
  • 826a464682 Patch from Christian Biesinger: pscp guesses your Windows username by default Simon Tatham 2001-01-07 13:31:49 +0000
  • d3f120884c Apply improved WinSock error handling to the few situations it still hadn't been applied to. Simon Tatham 2000-12-18 09:20:26 +0000
  • 7a580aa4d8 Attempt to get repeated key exchange working in SSH2. Still under test - might not be 100%. I think it _ought_ to work though. Simon Tatham 2000-12-18 09:20:08 +0000
  • e89704fa9a Remove unnecessary printfs from Minefield Simon Tatham 2000-12-12 14:04:43 +0000
  • c34ff1bcbf Fix an intermittent segfault that prevented the new Zlib compression from being very useful. (Thanks to Minefield for catching it.) 0.51 Simon Tatham 2000-12-12 11:07:59 +0000
  • ddd12b3e6c Added Minefield: an alternative memory allocator along the lines of Electric Fence. Enable by compiling with /DMINEFIELD. Simon Tatham 2000-12-12 10:57:34 +0000
  • d5240d4157 Make memory management uniform: _everything_ now goes through the smalloc() macros and thence to the safemalloc() functions in misc.c. This should allow me to plug in a debugging allocator and track memory leaks and segfaults and things. Simon Tatham 2000-12-12 10:33:13 +0000
  • 8eca227b92 Improve SSH2 host key abstraction into a generic `signing key' abstraction, so as to be able to re-use the same abstraction for user authentication keys and probably in the SSH2 agent (when that happens) as well. Simon Tatham 2000-12-02 12:48:15 +0000
  • 6bdd92be5f Fix bugtraq 1949: server could open an agent forwarding channel even if agent forwarding had not been negotiated on, and more particularly even if it had been deliberately disabled by the user. Simon Tatham 2000-12-02 11:43:25 +0000
  • b9c07ac266 Prevent wildcards in source specs from matching . or .. Simon Tatham 2000-11-30 21:35:28 +0000
  • d75f3687fb Correct pointer types in new clipme function Simon Tatham 2000-11-24 22:27:51 +0000
  • 9147f68fb6 Ron Kuris's "copy everything to clipboard" patch Simon Tatham 2000-11-21 19:28:25 +0000
  • f7aec0aa10 Patch from Robert de Bath: increase timer resolution. Simon Tatham 2000-11-21 19:00:32 +0000
  • 7a3c5f57b5 Patch from Robert de Bath: blank the saved-session name edit box when loading `Default Settings'. Simon Tatham 2000-11-21 19:00:11 +0000
  • 664de6a1a8 Oops - and if we generate link maps, "make clean" should remove them too Simon Tatham 2000-11-21 11:14:57 +0000
  • f2d5eb542a Add link map files to Makefile, in case people send crash dumps Simon Tatham 2000-11-21 11:13:27 +0000
  • d094883d3c Fix segfault when you press a key before the SSH protocol decides whether it's doing SSH1 or SSH2. Only visible on slow servers :-) Simon Tatham 2000-11-21 10:53:10 +0000
  • 0ff0fad344 Improve comment so I don't misunderstand when I come back to this :-) Simon Tatham 2000-11-16 10:47:59 +0000
  • 7ac98ae071 Use a Miller-Rabin test instead of a Fermat test; add comments Simon Tatham 2000-11-15 15:03:17 +0000
  • 694fd2eedf Fix another silly segfault Simon Tatham 2000-11-15 11:13:22 +0000
  • 8c0c31a0e9 Software invocation of the System menu now pops up the actual menu, rather than just putting the window into the state where Down will do so Simon Tatham 2000-11-07 17:50:59 +0000
  • 462063cdc5 Implement Zlib compression, in both SSH1 and SSH2. Simon Tatham 2000-11-01 21:34:21 +0000
  • 84077ea5ee Move dprintf and the debug system out into misc.c, to centralise it. Saves binary space and also allows redirection of debug statements to a file `debug.log'. Simon Tatham 2000-11-01 19:54:46 +0000
  • 6928fbb1e3 Back off a bit of that vulnerability fix, which was breaking `pscp host:wildcard* .' and suchlike. Simon Tatham 2000-10-31 09:29:05 +0000
  • a739876719 Fix side-effect of Always On Top patch: any reconfiguring in mid-session was zapping the window to the top left corner of the screen Simon Tatham 2000-10-30 10:39:10 +0000
  • 21299d2c39 Reset compose state to zero when PuTTY window gains focus Simon Tatham 2000-10-30 10:16:32 +0000
  • 2cc663cafb Couple of fixes for pscp's GUI interface mode Simon Tatham 2000-10-30 09:54:10 +0000
  • 091acb4e06 Add support for Always On Top. Patch due to Janes "Ender" Brown. Simon Tatham 2000-10-27 09:46:04 +0000
  • 696400a672 Stop the "Sent username %s" message coming up twice in pscp -v Simon Tatham 2000-10-27 09:24:32 +0000
  • 2c9c817895 Misc bugfixes Simon Tatham 2000-10-27 09:17:19 +0000
  • eab981fbd1 Format SSH2_MSG_DISCONNECT correctly (with reason code, reason string, and language tag). Simon Tatham 2000-10-26 13:10:47 +0000
  • 8fff1e4821 Fix a segfault (addr->error was unpredictable following a dotted-dec lookup) Simon Tatham 2000-10-26 08:25:43 +0000
  • 5f73cf092f Impose a lower limit of 256 on key lengths. This is mostly because the primegen() function doesn't work well with <100 bits, so RSA keys need to be >=200 to be generated correctly, and I thought 256 was a nice round number beyond that just to be sure. Perhaps I should also have a security warning on any key less than 768; or perhaps I should let people shoot themselves in the feet if they really want to. Simon Tatham 2000-10-25 14:29:28 +0000
  • fc63ad0046 Gaaah, I might have known. Split combined app cursor / app keypad disablement option into two options so the app cursor keys and app keypad can be controlled separately. The Pedantic Software Award in this case goes to the Midnight Commander for its egregious failure to just use the terminal in Perfectly Normal mode. Simon Tatham 2000-10-25 14:20:47 +0000
  • 4aafc6e5c3 Be more sure that state->collecting_entropy can't be spuriously set Simon Tatham 2000-10-25 10:25:10 +0000
  • 9e6dc1faa1 Fix control ID bug causing rogue Appearance title bars in other panels Simon Tatham 2000-10-25 08:23:41 +0000
  • f9cf0d70b7 Reintroduce random_stir() Simon Tatham 2000-10-25 06:59:25 +0000
  • 38e7de3372 Enhance Diffie-Hellman implementation to use bignum_cmp Simon Tatham 2000-10-25 06:57:36 +0000
  • 809bd81d5c Fix another bignum formatting problem. This one hit Diffie-Hellmann Simon Tatham 2000-10-24 21:43:39 +0000
  • fc9b38ed01 Add configurable option to disable application keypad/cursor keys totally Simon Tatham 2000-10-24 13:49:23 +0000
  • 779069ccd3 Add a couple of ellipses in system menu Simon Tatham 2000-10-24 13:40:19 +0000
  • 8f7a1e30f7 Remove a rogue diagnostic Simon Tatham 2000-10-24 13:39:21 +0000
  • ea0d42801a Add the Appearance panel and reorganise things a bit Simon Tatham 2000-10-24 13:38:27 +0000
  • 372a4e1e7e Fix failure to re-enable local line discipline when TELOPT_ECHO is turned _back off_ by the remote server. (server sends WONT) Simon Tatham 2000-10-24 11:16:25 +0000
  • 384eeb3f76 Fix miscellaneous compiler warnings. Thanks to Jacob Nevins Simon Tatham 2000-10-24 10:47:49 +0000
  • 5ff9cc2f1f SSH2 connections weren't closing cleanly after socket revamp. Fixed. Simon Tatham 2000-10-24 09:55:45 +0000
  • 039103ff5d Window resizing wasn't working in SSH2 Simon Tatham 2000-10-24 09:49:03 +0000
  • e51b4da9f7 Make the frankly ridiculous prototypes for modpow() and modmul() more sane Simon Tatham 2000-10-23 16:11:31 +0000
  • bf2744aabf Update DSS implementation to use new bignum routines Simon Tatham 2000-10-23 16:03:21 +0000
  • 36156d858c Improved entropy gathering. Simon Tatham 2000-10-23 15:20:05 +0000
  • 43304f1fca Fix a bug which was causing occasional failed-host-key-check messages. Also left some diagnostics in, under #if 0, so that next time this happens it'll be easier to debug. Simon Tatham 2000-10-23 15:18:37 +0000
  • b5c41a473b Oops. A field like `sending_oob' in the Socket structure really deserves to be initialised to something sane at creation time. Simon Tatham 2000-10-23 12:31:54 +0000
  • d0635e9d39 Plink and PSCP were failing to load the `Default Settings' options when connecting to an arbitrary hostname. In particular, setting a default user name didn't work. Now it does. Simon Tatham 2000-10-23 12:20:53 +0000
  • 5d27e5775c Remove the NO_SECURITY define I accidentally copied from Pageant Simon Tatham 2000-10-23 11:57:41 +0000
  • 988c1974ea Created a shiny new abstraction for the socket handling. Has many advantages: - protocol modules can call sk_write() without having to worry about writes blocking, because blocking writes are handled in the abstraction layer and retried later. - Lost connection while sending' is a thing of the past. - <winsock.h> is no longer needed in most modules, because "putty.h" doesn't have to declare SOCKET' variables any more, only the abstracted `Socket' type. - select()-equivalent between multiple sockets will now be handled sensibly, which opens the way for things like SSH port forwarding. Simon Tatham 2000-10-23 11:55:11 +0000
  • bbbda4110b Created a shiny new abstraction for the socket handling. Has many advantages: - protocol modules can call sk_write() without having to worry about writes blocking, because blocking writes are handled in the abstraction layer and retried later. - Lost connection while sending' is a thing of the past. - <winsock.h> is no longer needed in most modules, because "putty.h" doesn't have to declare SOCKET' variables any more, only the abstracted `Socket' type. - select()-equivalent between multiple sockets will now be handled sensibly, which opens the way for things like SSH port forwarding. Simon Tatham 2000-10-23 10:32:37 +0000
  • 882f653081 Ooh. Actually, that vulnerability is further-reaching than I thought. As well as the ".." attack in recursive copies, the name sent by the client was also trusted in a single-file implicit- destination copy such as "pscp host:foo .". (The result was ./foo, where foo is what the server claimed the file was rather than what the user asked for. I think it's not unreasonable that if the user requests file foo' from the host, he should get the result in a file called foo' no matter what the host thinks.) Simon Tatham 2000-10-21 17:52:54 +0000
  • b78c5699d1 Fix a potential vulnerability in incoming `pscp -r'. The server sends filenames of things in the directory being copied. A malicious server could have sent, for example, "..\..\windows\system\foo.dll" and overwritten something crucial. The filenames are now vetted to ensure they don't contain slashes or backslashes. Simon Tatham 2000-10-21 17:36:44 +0000
  • 6eb613e3c4 Three new configurable options: - Robert de Bath's Compose key is now off by default and configurable on - The ages-old controversy over whether ALT by itself should bring the System menu up is now controllable by a config option - You can now independently configure whether scrollback resets on a keypress _and_ whether it resets on screen activity. Simon Tatham 2000-10-21 16:30:58 +0000
  • 77c8e3c17c Chinese support patch from zmx@cdpa.nsysu.edu.tw Simon Tatham 2000-10-20 18:36:15 +0000
  • 964e6407e1 Remember to close key files when rsakey_encrypted meets a bogus one Simon Tatham 2000-10-20 17:57:47 +0000
  • 17cea8353f Put back the code that ensures "Default Settings" is always in the session list even if it isn't in the Registry. This got deleted overenthusiastically because I didn't have a comment explaining what it was doing there. Now there's a comment, so I probably won't remove it again. Simon Tatham 2000-10-20 15:20:53 +0000
  • 51b05a4438 Rename "Stored Sessions" to "Saved Sessions" for consistency Simon Tatham 2000-10-20 15:09:56 +0000
  • 4b08041d42 Some better IDC_* names for the controls on the Colours panel Simon Tatham 2000-10-20 15:09:35 +0000
  • cbf38bc831 Add the LBS_NOTIFY style to the list box in colouredit(), which was vital to it working right Simon Tatham 2000-10-20 14:45:16 +0000
  • e32603347c Introduce a sane interface function, from_backend(), for backends to use when they have data from the network. Replaces the utterly daft inbuf / inbuf_head / term_out() interface, which only made sense when feeding to terminal.c. (terminal.c now implements from_backend() as a small function that gateways to the old interface.) Simon Tatham 2000-10-20 13:51:46 +0000
  • 31374678c0 Trim trailing whitespace off saved session names on the command line Simon Tatham 2000-10-20 13:23:24 +0000
  • a80fa10287 Remember to update scrollbar when scrollback is reset Simon Tatham 2000-10-20 12:31:02 +0000
  • 0432fabf20 Replace the 8859-2 -> Win1250 translation which I accidentally blew away Simon Tatham 2000-10-20 11:16:58 +0000
  • 26ff0d4e75 A couple of UI tweaks in puttygen Simon Tatham 2000-10-20 10:47:46 +0000
  • 450905f02c Removed TODO comment after verifying that generated keys work Simon Tatham 2000-10-20 10:44:17 +0000
  • 58cdc03c68 Entropy fix after better statistical analysis Simon Tatham 2000-10-20 10:42:31 +0000
  • 92deca11dd Variable key size in PuTTYgen. Also required adding WM_VSCROLL to the window style in bigeditctrl() in winctrls.c. Simon Tatham 2000-10-20 10:07:53 +0000
  • 2743ab90f5 Add a PuTTYgen icon Simon Tatham 2000-10-20 09:50:56 +0000
  • 8c138ebd41 Check whether key was actually saved, and warn if not Simon Tatham 2000-10-20 09:43:58 +0000
  • 918c9ddfc5 Save Key now prompts before overwriting an existing file Simon Tatham 2000-10-20 09:41:13 +0000
  • e0ad00f264 Adjust the title of the PuTTYgen window Simon Tatham 2000-10-20 09:36:11 +0000
  • 76638e62be Add a second passphrase prompt to protect against typos Simon Tatham 2000-10-20 09:31:16 +0000
  • 0210709520 We must InitCommonControls() or the progress bar doesn't work on 95 Simon Tatham 2000-10-20 09:24:44 +0000
  • 8d0bee8629 PuTTYgen initial version. Still to do are basic user-friendliness features (prompt for passphrase twice, prompt before overwriting a file, check the key file was actually saved OK), testing of the generated keys to make sure I got the file format right, and support for a variable key size. I think what's already here is basically sound though. Simon Tatham 2000-10-19 15:43:08 +0000
  • 8e7a270f7f Miscellaneous cleanups and reorgs in preparation for building PuTTYgen. In particular, moved self-managing controls stuff out of windlg.c into the new and reusable winctrls.c. Simon Tatham 2000-10-18 15:36:32 +0000
  • f543b08ca5 Add some more commented-out diagnostics for ssh1 Simon Tatham 2000-10-18 15:33:05 +0000
  • e41344c544 RSA key generation routines, and the bignum enhancements required to support them. A key generation tool will be forthcoming soon. Simon Tatham 2000-10-18 15:00:36 +0000
  • 633ae5a22b Add an "Add Key" option to the systray menu in Pageant 0.50 Simon Tatham 2000-10-12 15:26:40 +0000
  • 95697270b5 Implement MD5 MAC for the benefit of old SSH2 servers Simon Tatham 2000-10-12 14:24:58 +0000
  • fd3e15f328 Miscellaneous fixes for better interoperation with commercial SSH 2 Simon Tatham 2000-10-12 13:34:46 +0000
  • e67f143e61 Implement a much more visually appealing, but much more internally grotty, hack to get around Explorer maximising the config box. Simon Tatham 2000-10-12 12:56:33 +0000
  • 3e83d75154 Add a config option to emulate the HMAC bug in commercial SSH v2.3.x and earlier (namely, it uses only 16 bytes of key rather than 20). Simon Tatham 2000-10-12 12:39:44 +0000
  • 421aafb4c0 Stop the SSH panel appearing in PuTTYtel Simon Tatham 2000-10-12 09:10:45 +0000
  • d6a97056a1 Stop plink's key verification locking up on input Simon Tatham 2000-10-12 09:10:31 +0000
  • fa731eaf82 Add UNE 10053 to the cleartext ones Simon Tatham 2000-10-11 19:56:22 +0000
  • fe2ee468e6 Turn off paste-as-poorman for line drawing chars until it's configurable Simon Tatham 2000-10-10 16:02:08 +0000
  • cc306c6d9d ISO8859-2 to CP852 output translation wants to have Win1250 to ISO8859-2 input translation as its counterpart, not CP852 to ISO8859-2. Because the reason you want this translation is if your _font_ is coded CP852 - in which case your keymap will not follow suit but will still be in Win1250. Simon Tatham 2000-10-10 12:43:24 +0000