Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/maikebing/putty

PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
https://github.com/maikebing/putty

Patch from Alan Clucas (somewhat polished) providing command-line

options to select and configure serial port mode.

[originally from svn r8617]

f3ac927d3339224a0d978f6c29d497b7676e895e authored over 15 years ago
Fixes for re-entrant calls in the serial configuration list boxes.

(I'm starting to think I made an egregious design error somewhere in
this mechanism.)

[originall...

1e81efc2db2efb9b79fb946ef2eeb21086611019 authored over 15 years ago
Workarounds for compiling with -D_FORTIFY_SOURCE=2 (as Ubuntu does), which

doesn't like you to ignore the return value from read()/write()/etc (and
apparently can't be shut...

4bddcc2b5dd6467ce9aa8bebea9ceedcda8903e5 authored over 15 years ago
More use of sockaddr_union (above and beyond that necessary to remove current

warnings).

[originally from svn r8613]

9c1f81dd94245154e058ac5e21d6ee52e581ec94 authored over 15 years ago
Avoid "dereferencing pointer 'sa' does break strict-aliasing rules" warnings

from recent versions of GCC.

[originally from svn r8612]

16eeab4066c22747ea6cac72b6a34abd44799b52 authored over 15 years ago
Alex Besogonov suggests that our Unix autoconf GSSAPI library search order is

sub-optimal -- apparently it prefers shishi above Heimdal, and apparently
that's bad.

[originall...

0abd192e83997834f56841f3c325d22459c5eca9 authored over 15 years ago
Mention Makefile.ux.

Be less certain about the possibility of building with vanilla VC6.
Provide more details of activ...

506a81d5ba2d5b177a749f8d738b3d373bc556e0 authored over 15 years ago
Include putty.h (and hence uxconfig.h) before testing for NO_GSSAPI, so that

"./configure --without-gssapi" actually works. Spotted by Rob Shinn.

[originally from svn r8608]

37678713007a4169a5439d14a2cf2251e3ba82ba authored over 15 years ago
Typo: replace a \i with a \I.

[originally from svn r8607]

fece1b69f56d9f1252b54a431030d4bb3ae4dbbe authored over 15 years ago
Clearing and refilling the code-pages list box can cause a

re-entrant call to its handler in config.c, which destroys the
previous value in cfg->line_codepa...

b024b57644994a0f12d73250abee6f22c82cf0d1 authored over 15 years ago
Add a 'unix' Makefile type, for building the non-GUI parts of the

PuTTY suite on non-GTK-enabled build platforms.

[originally from svn r8577]

f8a260d59fbc9e25efde99d7c0d5a91596d0a74a authored over 15 years ago
Pango-based font handling: combine display of adjacent characters

into a single gdk_draw_layout() where conveniently feasible, after
some work with xtrace revealed...

4c0b7ba7e488d5ffd25785989bf42c0792940e56 authored over 15 years ago
Ansgar Wiechers points out that known_hosts (at least OpenSSH's) has grown a

means of specifying port numbers, so we should support that.

[originally from svn r8519]

8b88d653de81fd36d3a519172413f673a548d8e9 authored almost 16 years ago
Discard hashed hostnames from input.

[originally from svn r8518]

54c3773c91c600f703cce8b4c949db2618c1c9ff authored almost 16 years ago
Reported by Tim Kosse: on Unix, read_random_seed() wasn't correctly checking

the return from open() and behaved wrongly in the absence of a seed file.

[originally from svn r...

542fc983bbbaa674007669b3ae99967c852c1ebf authored almost 16 years ago
Several people have spotted an uninitialised structure member leading to a

potential crash on "reget" in Unix PSFTP.

[originally from svn r8516]

19e47863de300cb330af0fc32469c3d448e042ce authored almost 16 years ago
Richard Clark points out a missing check for ssh->mainchan being NULL.

[originally from svn r8502]

d58d1692b8fca54fa2a2bebc60ebcda386b71895 authored almost 16 years ago
When giving authorisation errors from the proxy code in x11fwd.c,

name the proxy using the global 'appname' variable, instead of
statically calling it PuTTY.

(Kno...

c7ac5745ab6cc8580dc0de914319d2c99c4a3d1e authored almost 16 years ago
When starting a SOCKS connection in dynamic forwarding, freeze the

local socket _before_ calling the SSH setup functions. This makes no
difference to ssh.c itself, ...

74baacffa38725284c9cd8e3d327bcf9cebf5c4b authored almost 16 years ago
Support in the cross-platform code for translating to and from

UTF-16 when exchanging wchar_t strings with the front end. Enabled
by a #define in the platform's...

87aafaa89a5c39bfe121a5bedfc84887bdeb9f20 authored almost 16 years ago
Fix cosmetic keyboard-interactive issue: at the end of a normal k-i session,

some servers (Debian in particular seems prone to this) send a k-i packet with
no prompts and not...

713df723ae3b467a56cd3ea4a2548339d4b9dd5d authored almost 16 years ago
Handle more gracefully the possibility of a keyboard-interactive

prompts packet containing no actual prompts (perhaps due to odd
server organisation, or perhaps s...

d0661ca94e1c70c1e8c46d2717a34e21f0806e10 authored almost 16 years ago
Stop using physical tabs in Python. (I was goaded into doing this by

my editor, which has defaulted to showing them as explicit ^I for a
while now, but it seems like ...

80623557c651e97a80c6023bb6eaad7664f35bc2 authored almost 16 years ago
Debian bug #517535: we were unconditionally interpreting the

'string' field in a GdkEventKey structure as ISO-8859-1, which was
correct for GTK 1.2 but in 2.0...

99782a4066e7ca8cd9630db49bd002017c7a0895 authored almost 16 years ago
Fix inaccurate error message.

[originally from svn r8466]

031bfe129d8f7a8b9617eaf7680182ba4a7820e0 authored almost 16 years ago
Since r8305, Unix PuTTY has always "upgraded" an X11 display like "localhost:0"

to a Unix-domain socket. This typically works fine when PuTTY is run on the
same machine as the X...

d699530e4c46c383a6dbbf0b051e3966f0274a9a authored almost 16 years ago
Stop attempting to make session logs private on Unix. This was introduced in

r7084 at the same time as sensible permissions when writing private key files;
however, it causes...

40be9eeedda9e79130231180b9a02397fba015bf authored almost 16 years ago
The Windows config option to point at an X authority file is only

read at connection setup time, so don't offer it in the Change
Settings dialog box.

(In particul...

35e004ffeea741024affb2b167c6011ab1a6a470 authored about 16 years ago
Don't call ReleaseCapture() on any mouse-button-up event. Instead,

only call it when the _last_ mouse button comes back up. Otherwise,
xterm mouse tracking will los...

9b2515f97ec2353480d2f1a9cb8d404eeeae1d80 authored about 16 years ago
Check the two popen() calls in noise_get_heavy for NULL.

[originally from svn r8411]

464aa76aaf9e7d9e13b9c0e9c5fd3baaf58c5aea authored about 16 years ago
Patch from Gert-Jan Vons: create an event handle to go in the

OVERLAPPED structure in output threads, as we already do for input
threads. This apparently sorts...

201c2c295bd7b573d17480990c847553507da540 authored about 16 years ago
Arguments to ctype functions are required to be either EOF or representable

as unsigned char. This means that passing in a bare char is incorrect on
systems where char is s...

36f502fa9311a62923cf83b34a4016ad68aaa33f authored about 16 years ago
Propagate my ctype fixes (r8404) from libcharset.

[originally from svn r8405]
[r8404 == 7fce7161db885ed7f0fa0c06f27d58d789a23b62 in charset reposi...

91496d37c72b040ae899058564e71814a501e53b authored about 16 years ago
Weaken the assertion in general_textout(). It was failing in the

case of double-width text (ESC # 3, ESC # 4, ESC # 6), because the
string passed to it was not tr...

75913faf822f458511cae39e934441d767292383 authored about 16 years ago
Another patch from Colin, providing a "make distclean" target in the

autoconf makefile.

[originally from svn r8401]

6d9f007684d3029f8cab2ac678112c43db9027d9 authored about 16 years ago
Colin also suggests that we can replace the backticks in the GTK

makefile with make's own $(shell ...) function, which means that
gtk-config and krb5-config and s...

1bb22cfa1f6e95f9af67b08c25d8ba46777ec62e authored about 16 years ago
Colin Watson reports a strange problem whereby krb5-config

incorporates the environment variable CFLAGS into its output. Avoid
exporting our version of it f...

98c4b69b08a852629a741984fe3b2a4a8c38fdbd authored about 16 years ago
Rejig windlg.c:verify_ssh_host_key() to silence a warning.

[originally from svn r8394]

fbbec4c23a060996601e24b195fb6b28960aef32 authored about 16 years ago
Remove a couple of unused variables.

[originally from svn r8393]

2550cd617cb837ce14f85f0c564470568f292a06 authored about 16 years ago
It's a new year (and there have even been checkins).

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

e4027368fda58351d6f583a6c2f61b548a2ed8bc authored about 16 years ago
sk_address_is_local() failed to cope when presented with a Unix-domain socket.

This could cause Unix PuTTY to segfault when X forwarding over an SSH session
through a proxy.
(s...

e0deac8960ed4b79c0f29185cffef66040b8abee authored about 16 years ago
Be prepared for x11_setup_display() to return NULL (for instance, if DISPLAY

has invalid contents). Simply refuse to try X forwarding in this circumstance.

[originally from ...

7843fb79d11a59a262cfa437e8555e708154eb10 authored about 16 years ago
r5080 didn't go far enough -- since 0.58, anyone on Unix who didn't previously

have default settings for "bell overload" mode will have inherited a twitchy
set of defaults wher...

3e6111243c7e6fd2ece62cf29d6b5fe8d8a32aba authored about 16 years ago
Add some hard-coded textual literal-IP representations of localhost to

sk_hostname_is_local(), to catch the case where we're doing something like X11
forwarding over SS...

bd5cec280a989ce8228ea01193f48d185b7f29eb authored about 16 years ago
...and fix an unlikely memory leak.

[originally from svn r8384]

51bceb0c9ae16dda950429a3f7c71654c885c176 authored about 16 years ago
Cope with a (non-standard) ENAMETOOLONG return from gethostname(); glibc will

do this if the supplied buffer isn't big enough, which shouldn't lead to
complete abandonment of ...

030046a2a81213921d9ad61b102f63343a9a4e57 authored about 16 years ago
r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a

few instances around; expunge them.

[originally from svn r8382]
[r8305 == ca6fc3a4daf51166a15693...

07a876ce1e7164c40192f36a9159e9445356d3d1 authored about 16 years ago
r8305 seems to have made Unix PuTTY rather over-keen on Unix-domain sockets;

unless a protocol is explicitly specified with "tcp/foovax:0", it assume a
Unix-domain socket, th...

db6ad48673c00e86d5b39b101e468bcb9659b52f authored about 16 years ago
Bah, I've bumped into this often enough. Change one unsatisfactory cast for

another to shut up "warning: cast from pointer to integer of different size"
(and hence a -Werror...

81287fb7ad260537e0e1de0973c6b3d262356303 authored about 16 years ago
Log reason for failure to create a connection to a local X display.

[originally from svn r8379]

6b5f874552107576c8c069ba11aebfd8e4864d15 authored about 16 years ago
r8338 broke pasting with Shift-Ins and from the context menu on Windows.

Divert these to use the request_paste() interface.

[originally from svn r8377]
[r8338 == 54835a9...

561125946817c5ff1df40c3c8a76f8aed01849d1 authored about 16 years ago
"Derek" reports that the DECSLPP report of window-size-in-pixels (CSI 14 t)

has width and height swapped. Since both a random xterm I have and
<http://invisible-island.net/x...

cf3b45392d8e5a09f05c540a8084ee4560c2ad38 authored about 16 years ago
"Derek" points out that reporting of wheel event coordinates to the host on

Windows was relative to the screen origin, not the window origin.

[originally from svn r8375]

8d19864dc93adcd770125c3d99ae88e1c218c340 authored about 16 years ago
Cosmetic: clarify that term->xterm_mouse is not boolean, etc.

[originally from svn r8374]

0e202b3dcc952a070510a0e1d117fc046eb7b06d authored about 16 years ago
gtk_selection_clear_targets() does not exist on GTK 1, so ifdef it.

[originally from svn r8371]

742e65d66b1d9ee0e0fe5719275f46f25f137290 authored about 16 years ago
At some point recently, Unix PuTTY started suffering build errors

using -DNO_GSSAPI. Move some ifdefs around so it stops.

[originally from svn r8370]

e6fee2636d15a46c9d50f8e25d7224c0fbd50ca4 authored about 16 years ago
Add missing call to gtk_selection_clear_targets(), without which the

list of selection targets offered by GTK PuTTY/pterm grows an extra
copy of each of the three sup...

5fec8bd8976eea122208e1a5de202a536bbcc4ac authored about 16 years ago
Change the Unix version of Ssh_gss_name to be a gss_name_t rather than

void *, and hence eliminate a few casts. The Windows definition is
unchanged, but I daresay I've...

5d0d5e0466d19627405dc8ea5f0513afcd2edb27 authored about 16 years ago
As far as I can tell, "[email protected]" has always been

implemented as a channel request, not a global one. Change documentation to
match implementation....

70df860c8d20337907033722ad923ae8519b35ce authored about 16 years ago
Move the code that reads the Windows clipboard into a trivial

subthread, so that it won't deadlock if fetching the content of the
clipboard turns out to depend...

54835a9838b7122eaa53d61966ffb8537c9362b0 authored about 16 years ago
Jacob correctly points out that I accidentally lost a clearing of

s->gss_sndtok in r8326. I'm not sure it was strictly necessary, since
even if there's no send to...

b892d451eed24f1b90912ed8839df0452397bbdf authored about 16 years ago
Fix a Windows-specific GSS crash introduced in r8326, which (again) apparently

triggers in failure cases. Patch by Iain Patterson.

[originally from svn r8336]
[r8326 == 81dafd...

62cad154f4e71d5ae4800ec13d4174f49b9aeb2c authored about 16 years ago
Mitigation for VU#958563: When using a CBC-mode server-to-client cipher

under SSH-2, don't risk looking at the length field of an incoming packet
until we've successfull...

86c183f8e884f32ae3b1a6091e9043acfd43df94 authored about 16 years ago
Now that we use real gss_buffer_ts, there's no need to muck about with

casts when passing them to GSS-API functions. Removing them makes the code
more readable and all...

e5eabee3c0473a5c10367e1d91264a3db1b977e2 authored about 16 years ago
Have wingss.c include <windows.h> by way of putty.h rather than

directly. Fixes a build failure involving name clashes between
winsock2.h and winsock.h, which ha...

8b45210f63a0b25961910b7cc2d93c8626309456 authored about 16 years ago
Fixed a PuTTYtel startup assertion failure introduced in r8305.

While I'm here, a cosmetic PuTTYtel change: remove a reference to SSH from the
"logical host name...

01a7673ae9b20274184c3a7dac690055ba2cd24c authored about 16 years ago
I think sshgss.h needs puttyps.h for Ssh_gss_buf. Makes it compile for Windows,

anyway.

[originally from svn r8327]

caf4100ff3ce7a18e6149f1a205f1531255b2f7e authored about 16 years ago
Change how we handle the Ssh_gss_buf type. Previously, we defined it

ourselves, but on Unix then assumed it was compatible with the system's
gss_buffer_desc, which wa...

81dafd906eb4817393fabe4d408c16de8586de8b authored about 16 years ago
Treat lines starting with '#' as comments in PSFTP.

[originally from svn r8325]

a6cbfd974d1187695454bb563c907c9893ff0b7b authored about 16 years ago
New option to allow use of the local OS username for login to the remote side

if we have no better ideas, with UI shamelessly stolen from Quest PuTTY.

Off by default, which e...

dc896b79aff6222173c516d9d7febed0b967ff33 authored about 16 years ago
Make key file import robust against a PPK file that has somehow lost its

final newline. From Debian bug #414784, based on a patch by Justin Pryzby.

[originally from svn ...

c9326ad81b352076f29ceeb98dbaa7f368ed4d91 authored about 16 years ago
Autoconfiscate GSS-API support, including support for manually disabling it.

[originally from svn r8318]

7da40ece760186b15c0c99c44c9e84bc5c7b9e2a authored about 16 years ago
Changes to make this compile on Solaris 9: use <gssapi/gssapi.h> rather

than <gssapi/gssapi_krb5.h> and provide the OID for Kerberos 5 ourselves
(since it's a known cons...

f45bfdbf1fbaaeb83cffbb8cd515f03b47c2b2f1 authored about 16 years ago
Revamp of the local X11 connection code. We now parse X display

strings more rigorously, and then we look up the local X authority
data in .Xauthority _ourself_ ...

ca6fc3a4daf51166a15693feffc967bee9e3f59a authored about 16 years ago
Avoid freeing the backend in notify_remote_exit(), since that's

called from within a backend function which will expect its own
backend pointer to still be valid...

0cef8a897d47c5f6127ebd56291addbad170aa7d authored about 16 years ago
In SSH packet logging mode, log SSH-2 packet sequence numbers, in

both directions. We had a bug report yesterday about a Cisco router
sending SSH2_MSG_UNIMPLEMENTE...

3a3abd211be17cf46074554133257af4d8e7e4be authored about 16 years ago
Implement sk_addr_dup().

[originally from svn r8294]

59691d28a3c1ef9b1031382a76bd5c672cebae90 authored about 16 years ago
Move out of the SockAddr structure the mutable fields "ai" and

"curraddr", and turn "family" into a macro-derived property of the
other fields. The idea is that...

6e2501be77c79cb93850399502a10ca864932bab authored about 16 years ago
Patch from Iain Patterson: fix crash on Windows when GSSAPI auth is attempted

but fails for some reason (such as not having a tgt for the server's realm).

[originally from sv...

50abe3567bfaa5a7ebc60e6377f85c0534526454 authored over 16 years ago
Rejig the Translation panel controls and documentation to remove the emphasis

on received data. Experiment and suggestion suggest that the character set
configuration applies ...

02f7ccbb96ff2919dda95e569f9a8f6d3be19d69 authored over 16 years ago
Erroneously invisible index term.

[originally from svn r8208]

df63143752a5f9fe6f11d9e8aec9e9dbabdbbc3d authored over 16 years ago
Fix inability to save session on Unix when ~/.putty doesn't exist introduced

in r7934.

[originally from svn r8204]
[r7934 == 087adb167e9e25a09839ca802707c11565468e11]

e415865e58a5560310baba3efbb38acafb9995c1 authored over 16 years ago
Ahem. Make sure I NULL out any unused pointer field that I later

plan to free if it isn't NULL.

[originally from svn r8202]

ff294f4ffd306558dade2aa1192ac29ab440d454 authored over 16 years ago
sshrsa.c now obeys the RFC793 Robustness Principle when it comes to

the ordering of the primes in a fully specified RSA private key:
when the key format typically ha...

a59c4e9486a9762ee7eae46754fae743931fa6da authored over 16 years ago
The "server refused our key" bit didn't link to the public-key auth chapter,

which has some hints on server-side setup. Now it does.

[originally from svn r8194]

c26dbd0337be81b2ee9fa44a98498ba277f03fbe authored over 16 years ago
Document that PSFTP's "open" command allows an optional port number.

[originally from svn r8193]

b74920fe82b869c9d40ac3b264f19783c7c54b81 authored over 16 years ago
Further correction: on reflection, after examining all the call

sites for uint64_make(), we _shouldn't_ attempt to preserve high
bits in the low-order argument; ...

338cb9fa0d4e25e48011fadbb5ca954b2b5e7280 authored over 16 years ago
64-bit cleanliness in int64.c. This is all hideous; really I ought

to be trying harder to find a 32-bit type rather than making a
uint64 structure out of two potent...

bdeebc992f2ef925773571fe524cbdb649ece1c8 authored over 16 years ago
Tim Kosse points out that xfer_upload_gotpkt can return a negative

value on error, so the check at the call site shouldn't test for
exactly zero.

[originally from ...

2a0cf16c3373af9aabb05a447e4ebe1ae3f07149 authored over 16 years ago
Some Windows keymaps, it turns out, don't translate the key

combination Ctrl + \ as the Ctrl-\ character. All of mine have, but
at least one laptop turns out...

9c6a1127b47fcecee6e5e37186068304d5065aaf authored over 16 years ago
If we got a keyboard-interactive INFO_REQUEST with an "instruction" string but

no actual prompts, we weren't displaying the former, which was wrong. We
should now (although I h...

211fdb9f46377b0f3052c0a29f6934cce3dbfb02 authored over 16 years ago
Fix punctuation in the large print statements. In particular, one

semicolon which crept in in r8138 was causing a lot of the "make
install" implementation to be mi...

922ae3845042ce4e40835ba370caba549d1f6255 authored over 16 years ago
Good grief. When I originally wrote the local proxy code two years

ago, I apparently caused all data received from local proxies to be
unconditionally tagged as TCP...

4829802c43d46584cd2292785d77552fb94bfa4e authored over 16 years ago
Colin Watson points out an apparently erroneous cast: Ssh_gss_name

and gss_name_t are supposed to be congruent types, so a pointer to
one should never be cast to a ...

0251dbf13ef1e5bae91d16dabe40f1585e02746c authored over 16 years ago
Minor code cleanup: I just happened to be looking at this file for

other reasons and I noticed that the list of TELOPTs is given twice
and hence needs to be kept in...

c87697a00fffdaf0942ccf7a9a84eaf4b20e5dd4 authored over 16 years ago
Fix for portfwd-addr-family: on Unix, when a tunnel is specified as "Auto"

(rather than IPv4 or IPv6-only; this is the default), try to open up listening
sockets on both ad...

6e2bd31d32b38f78e89513ada283315f50bc0a68 authored over 16 years ago
James has made the URL syntax for http://svn.tartarus.org/ more

sensible. Update the FAQ link to it.

[originally from svn r8142]

ea09aca2d1f4352cac4b57556e1bd246ee37c5d3 authored over 16 years ago
Link to pTerm, an SSH client for the iPhone that's apparently based on PuTTY.

Attempts at damage limitation from the name similarity with pterm.

Also try to refresh the ports...

72176f56f1f8cc4a6be469987fe3ddb5720c7230 authored over 16 years ago
Initial commit of GSSAPI Kerberos support.

[originally from svn r8138]

de5dd9d65c0e2ffa9bc9cab038bf0be77efbf820 authored over 16 years ago
www.winputty.com

[originally from svn r8121]
[this svn revision also touched putty-website,putty-wishlist]

0677c73c1a85afa0faec019d7fa72c034042c9de authored over 16 years ago