mirror of git://git.tartarus.org/simon/putty.git, used for client testing
Перейти к файлу
Simon Tatham 38714cecf3 Null out the socket pointers in X- and port-forwarding channels for
which we close the socket without destroying the channel. John
Peterson reports periodic crashes under heavy load which appear to
be fixed by this, though I don't know the exact circumstances
induced by that load.

[originally from svn r8871]
2010-02-17 19:02:04 +00:00
charset Propagate my ctype fixes (r8404) from libcharset. 2009-01-11 14:20:34 +00:00
contrib Ansgar Wiechers points out that known_hosts (at least OpenSSH's) has grown a 2009-04-26 23:44:28 +00:00
doc It's a new year. 2010-01-17 17:27:27 +00:00
icons Stop using physical tabs in Python. (I was goaded into doing this by 2009-02-28 23:04:58 +00:00
mac It's a new year. 2010-01-17 17:27:27 +00:00
macosx r8305 made platform_x11_best_transport[] obsolete, but there still seem to be a 2009-01-04 23:36:24 +00:00
testdata
unix ...and the rest of r8854. 2010-01-25 14:33:39 +00:00
windows It's a new year. 2010-01-17 17:27:27 +00:00
Buildscr
CHECKLST.txt
LATEST.VER
LICENCE It's a new year. 2010-01-17 17:27:27 +00:00
README Mention Makefile.ux. 2009-07-28 23:30:38 +00:00
Recipe Add a 'unix' Makefile type, for building the non-GUI parts of the 2009-05-11 18:48:43 +00:00
be_all.c
be_all_s.c
be_none.c
be_nos_s.c
be_nossh.c
cmdgen.c Arguments to ctype functions are required to be either EOF or representable 2009-01-11 14:26:27 +00:00
cmdline.c Plug a few minor memory leaks, based on a patch by Sirp Potijk. 2010-01-17 16:20:45 +00:00
config.c Add a keyboard shortcut for the "serial" protocol to the GUI. 2009-11-13 13:24:32 +00:00
cproxy.c
dialog.c
dialog.h Update all the list box code in gtkdlg.c to use the new-style GTK2 2008-04-02 14:48:06 +00:00
import.c
int64.c Further correction: on reflection, after examining all the call 2008-09-16 22:56:08 +00:00
int64.h
ldisc.c
ldisc.h
ldiscucs.c Support in the cross-platform code for translating to and from 2009-03-24 22:24:31 +00:00
logging.c Minor improvements to error reporting in logging. 2009-08-30 11:09:22 +00:00
minibidi.c Patch from Aidan Kehoe to extend the Arabic shaping code to Urdu and 2008-06-29 09:14:26 +00:00
misc.c Bah, I've bumped into this often enough. Change one unsatisfactory cast for 2009-01-04 22:24:08 +00:00
misc.h
mkauto.sh Merge from trunk up to r8020. 2008-05-28 19:28:17 +00:00
mkfiles.pl Avoid compiling autoconf test programs with -Wall -Werror; doing so causes 2009-08-30 13:16:50 +00:00
mksrcarc.sh
mkunxarc.sh
network.h Since r8305, Unix PuTTY has always "upgraded" an X11 display like "localhost:0" 2009-02-24 01:01:23 +00:00
nocproxy.c
noprint.c
notiming.c
pinger.c
portfwd.c When starting a SOCKS connection in dynamic forwarding, freeze the 2009-04-23 17:33:42 +00:00
pproxy.c
proxy.c
proxy.h
pscp.c Workarounds for compiling with -D_FORTIFY_SOURCE=2 (as Ubuntu does), which 2009-08-07 00:19:04 +00:00
psftp.c Workarounds for compiling with -D_FORTIFY_SOURCE=2 (as Ubuntu does), which 2009-08-07 00:19:04 +00:00
psftp.h
putty.h New option to allow use of the local OS username for login to the remote side 2008-11-24 17:51:42 +00:00
puttymem.h
puttyps.h
raw.c Been meaning to do this for years: introduce a configuration option 2008-06-01 11:16:32 +00:00
resource.h
rlogin.c New option to allow use of the local OS username for login to the remote side 2008-11-24 17:51:42 +00:00
sercfg.c Add a keyboard shortcut for the "serial" protocol to the GUI. 2009-11-13 13:24:32 +00:00
settings.c r5080 didn't go far enough -- since 0.58, anyone on Unix who didn't previously 2009-01-05 19:39:27 +00:00
sftp.c
sftp.h
sign.sh
ssh.c Null out the socket pointers in X- and port-forwarding channels for 2010-02-17 19:02:04 +00:00
ssh.h Mitigation for VU#958563: When using a CBC-mode server-to-client cipher 2008-11-26 12:49:25 +00:00
sshaes.c
ssharcf.c
sshblowf.c
sshbn.c
sshcrc.c
sshcrcda.c
sshdes.c Replace mentions of SSH-2 I-Ds with references to the corresponding RFCs. 2007-10-03 21:21:18 +00:00
sshdh.c
sshdss.c Replace mentions of SSH-2 I-Ds with references to the corresponding RFCs. 2007-10-03 21:21:18 +00:00
sshdssg.c
sshgss.h Change the Unix version of Ssh_gss_name to be a gss_name_t rather than 2008-12-01 21:18:29 +00:00
sshmd5.c Mitigation for VU#958563: When using a CBC-mode server-to-client cipher 2008-11-26 12:49:25 +00:00
sshprime.c
sshpubk.c Make key file import robust against a PPK file that has somehow lost its 2008-11-23 20:11:12 +00:00
sshrand.c Plug a few minor memory leaks, based on a patch by Sirp Potijk. 2010-01-17 16:20:45 +00:00
sshrsa.c Ahem. Make sure I NULL out any unused pointer field that I later 2008-10-08 18:09:56 +00:00
sshrsag.c
sshsh256.c
sshsh512.c Patch from Tim Kosse to fix 64-bit-cleanness in SHA-512. 2009-11-10 19:14:15 +00:00
sshsha.c Mitigation for VU#958563: When using a CBC-mode server-to-client cipher 2008-11-26 12:49:25 +00:00
sshzlib.c
storage.h
telnet.c New option to allow use of the local OS username for login to the remote side 2008-11-24 17:51:42 +00:00
terminal.c Support in the cross-platform code for translating to and from 2009-03-24 22:24:31 +00:00
terminal.h Cosmetic: clarify that term->xterm_mouse is not boolean, etc. 2008-12-20 18:52:09 +00:00
testback.c
time.c
timing.c Revert r8847, which was bilge; I can't magically change the order of a tree 2010-01-17 23:53:29 +00:00
tree234.c
tree234.h
version.c
wcwidth.c
wildcard.c
x11fwd.c When giving authorisation errors from the proxy code in x11fwd.c, 2009-04-23 17:39:36 +00:00

README

This is the README for the source archive of PuTTY, a free Win32
and Unix Telnet and SSH client.

If you want to rebuild PuTTY from source, we provide a variety of
Makefiles and equivalents. (If you have fetched the source from
Subversion, you'll have to generate the Makefiles yourself -- see
below.)

There are various compile-time directives that you can use to
disable or modify certain features; it may be necessary to do this
in some environments. They are documented in `Recipe', and in
comments in many of the generated Makefiles.

For building on Windows:

 - windows/Makefile.vc is for command-line builds on MS Visual C++
   systems. Change into the `windows' subdirectory and type `nmake
   -f Makefile.vc' to build all the PuTTY binaries.

   Last time we checked, PuTTY built with vanilla VC7, or VC6 with
   an up-to-date Platform SDK. (It might still be possible to build
   with vanilla VC6, but you'll certainly have to remove some
   functionality with directives such as NO_IPV6.)

   (We've also had reports of success building with the
   OpenWatcom compiler -- www.openwatcom.org -- using Makefile.vc
   with `wmake -ms -f makefile.vc' and NO_MULTIMON, although we
   haven't tried this ourselves. Version 1.3 is reported to work.)

 - Inside the windows/MSVC subdirectory are MS Visual Studio project
   files for doing GUI-based builds of the various PuTTY utilities.
   These have been tested on Visual Studio 6.

   You should be able to build each PuTTY utility by loading the
   corresponding .dsp file in Visual Studio. For example,
   MSVC/putty/putty.dsp builds PuTTY itself, MSVC/plink/plink.dsp
   builds Plink, and so on.

 - windows/Makefile.bor is for the Borland C compiler. Type `make -f
   Makefile.bor' while in the `windows' subdirectory to build all
   the PuTTY binaries.

 - windows/Makefile.cyg is for Cygwin / mingw32 installations. Type
   `make -f Makefile.cyg' while in the `windows' subdirectory to
   build all the PuTTY binaries.

   You'll probably need quite a recent version of the w32api package.
   Note that by default the multiple monitor and HTML Help support are
   excluded from the Cygwin build, since at the time of writing Cygwin
   doesn't include the necessary headers.

 - windows/Makefile.lcc is for lcc-win32. Type `make -f
   Makefile.lcc' while in the `windows' subdirectory. (You will
   probably need to specify COMPAT=-DNO_MULTIMON.)

 - Inside the windows/DEVCPP subdirectory are Dev-C++ project
   files for doing GUI-based builds of the various PuTTY utilities.

The PuTTY team actively use Makefile.vc (with VC7) and Makefile.cyg
(with mingw32), so we'll probably notice problems with those
toolchains fairly quickly. Please report any problems with the other
toolchains mentioned above.

For building on Unix:

 - unix/configure is for Unix and GTK. If you don't have GTK, you
   should still be able to build the command-line utilities (PSCP,
   PSFTP, Plink, PuTTYgen) using this script. To use it, change
   into the `unix' subdirectory, run `./configure' and then `make'.

   Note that Unix PuTTY has mostly only been tested on Linux so far;
   portability problems such as BSD-style ptys or different header file
   requirements are expected.

 - unix/Makefile.gtk and unix/Makefile.ux are for non-autoconfigured
   builds. These makefiles expect you to change into the `unix'
   subdirectory, then run `make -f Makefile.gtk' or `make -f
   Makefile.ux' respectively. Makefile.gtk builds all the programs but
   relies on Gtk, whereas Makefile.ux builds only the command-line
   utilities and has no Gtk dependence.

 - For the graphical utilities, Gtk+-1.2 and Gtk+-2.0 should both be
   supported.

 - Both Unix Makefiles have an `install' target. Note that by default
   it tries to install `man' pages, which you may need to have built
   using Halibut first -- see below.

All of the Makefiles are generated automatically from the file
`Recipe' by the Perl script `mkfiles.pl'. Additions and corrections
to Recipe and the mkfiles.pl are much more useful than additions and
corrections to the alternative Makefiles themselves.

The Unix `configure' script and its various requirements are generated
by the shell script `mkauto.sh', which requires GNU Autoconf, GNU
Automake, and Gtk; if you've got the source from Subversion rather
than using one of our source snapshots, you'll need to run this
yourself.

Documentation (in various formats including Windows Help and Unix
`man' pages) is built from the Halibut (`.but') files in the `doc'
subdirectory using `doc/Makefile'. If you aren't using one of our
source snapshots, you'll need to do this yourself. Halibut can be
found at <http://www.chiark.greenend.org.uk/~sgtatham/halibut/>.

The PuTTY home web site is

    http://www.chiark.greenend.org.uk/~sgtatham/putty/

If you want to send bug reports or feature requests, please read the
Feedback section of the web site before doing so. Sending one-line
reports saying `it doesn't work' will waste your time as much as
ours.

See the file LICENCE for the licence conditions.