Commit Graph

293 Commits

Author SHA1 Message Date
Damien Miller c6b3bbe2b9 - Fix compilation on systems with AFS. Reported by
aloomis@glue.umd.edu
 - Fix installation on Solaris. Reported by
   Gordon Rowell <gordonr@gormand.com.au>
 - Fix gccisms (__attribute__ and inline). Report by edgy@us.ibm.com,
   patch from Markus Friedl <markus.friedl@informatik.uni-erlangen.de>
 - Auto-locate xauth. Patch from David Agraz <dagraz@jahoopa.com>
 - Compile fix from David Agraz <dagraz@jahoopa.com>
 - Avoid compiler warning in bsd-snprintf.c
 - Added pam_limits.so to default PAM config. Suggested by
   Jim Knoble <jmknoble@pobox.com>
1999-12-13 08:27:33 +11:00
Damien Miller d7f6615e78 - Applied patch from David Rankin <drankin@bohemians.lexington.ky.us>
to fix libwrap support on NetBSD
1999-12-09 10:48:58 +11:00
Damien Miller bf1c9b2012 - Import of patch from Ben Taylor <bent@clark.net>:
- Improved PAM support
   - "uninstall" rule for Makefile
   - utmpx support
   - Should fix PAM problems on Solaris
1999-12-09 10:16:54 +11:00
Damien Miller 037a0dc083 - Merged more OpenBSD changes:
- [atomicio.c authfd.c scp.c serverloop.c ssh.h sshconnect.c sshd.c]
     move atomicio into it's own file.  wrap all socket write()s which
     were doing write(sock, buf, len) != len, with atomicio() calls.
   - [auth-skey.c]
     fd leak
   - [authfile.c]
     properly name fd variable
   - [channels.c]
     display great hatred towards strcpy
   - [pty.c pty.h sshd.c]
     use openpty() if it exists (it does on BSD4_4)
   - [tildexpand.c]
     check for ~ expansion past MAXPATHLEN
 - Modified helper.c to use new atomicio function.
 - Reformat Makefile a little
 - Moved RC4 routines from rc4.[ch] into helper.c
 - Added autoconf code to detect /dev/ptmx (Solaris) and /dev/ptc (AIX)
1999-12-07 15:38:31 +11:00
Damien Miller 3bc14dde05 Fixed default SSH_ASKPASS 1999-12-07 14:54:53 +11:00
Damien Miller 1f7833deba Fix symlinks on Solaris 1999-11-30 09:47:52 +11:00
Damien Miller 42b81ffe7d - Add definition for __P()
- Added [v]snprintf() replacement for systems that lack it
1999-11-26 12:21:24 +11:00
Damien Miller f066d6e5b0 install fix 1999-11-25 13:40:22 +11:00
Damien Miller f958fab2c9 install cleanup 1999-11-25 13:36:42 +11:00
Damien Miller 34d207f870 Install correct askpass 1999-11-25 13:32:34 +11:00
Damien Miller c0f129a95f Don't need to #define ASKPASS_PROGRAM any more 1999-11-25 13:26:36 +11:00
Damien Miller 98ac007ad9 Removed old with-askpass option 1999-11-25 13:19:55 +11:00
Damien Miller d8087f62d6 - Added BSD compatible install program and autoconf test, thanks to
Niels Kristian Bech Jensen <nkbj@image.dk>
 - Solaris fixing, thanks to Ben Taylor <bent@clark.net>
1999-11-25 12:31:26 +11:00
Damien Miller f7c0f82cee - Configure, Make and changelog corrections from Tudor Bosman
<tudorb@jm.nu> and Niels Kristian Bech Jensen <nkbj@image.dk>
1999-11-22 22:31:49 +11:00
Damien Miller b3ca3aa12f - Added OpenBSD bsd-strlcat.c, created bsd-strlcat.h
- Added timersum() macro
 - Tidy RCSIDs of bsd-*.c
1999-11-22 13:57:07 +11:00
Damien Miller e232455ed9 Fix libexecdir 1999-11-19 17:18:57 +11:00
Damien Miller dd1c7baf1a - Added non-PAM MD5 password support patch from Tudor Bosman <tudorb@jm.nu> 1999-11-19 15:53:20 +11:00
Damien Miller 04f801456a - Renamed BSD helper function files to bsd-*
- Added tests for login and daemon and OpenBSD replacements for when they
   are absent.
1999-11-19 15:32:34 +11:00
Damien Miller 8029775b77 - Added autoconf option to enable Kerberos 4 support (untested)
- Added autoconf option to enable AFS support (untested)
 - Added autoconf option to enable S/Key support (untested)
 - Added autoconf option to enable TCP wrappers support (compiles OK)
1999-11-19 13:03:25 +11:00
Damien Miller 18ac171968 - Move scp from ${libdir}/ssh to ${libexecdir}/ssh at request of
David Rankin <drankin@bohemians.lexington.ky.us>
1999-11-19 12:43:19 +11:00
Damien Miller 10f6f6ba9e - Merged OpenBSD CVS changes
- [ChangeLog.Ylonen] noone needs this anymore
   - [authfd.c] close-on-exec for auth-socket, ok deraadt
   - [hostfile.c]
     in known_hosts key lookup the entry for the bits does not need
     to match, all the information is contained in n and e. This
     solves the problem with buggy servers announcing the wrong
     modulus length.  markus and me.
   - [serverloop.c]
     bugfix: check for space if child has terminated, from:
     iedowse@maths.tcd.ie
   - [ssh-add.1 ssh-add.c ssh-keygen.1 ssh-keygen.c sshconnect.c]
     [fingerprint.c fingerprint.h]
     rsa key fingerprints, idea from Bjoern Groenvall <bg@sics.se>
   - [ssh-agent.1] typo
   - [ssh.1] add OpenSSH information to AUTHOR section. okay markus@
   - [sshd.c]
     force logging to stderr while loading private key file
     (lost while converting to new log-levels)
1999-11-17 17:29:08 +11:00
Damien Miller d05a247953 - Merged OpenBSD CVS changes:
- [ssh-add.c] change passphrase loop logic and remove ref to
     $DISPLAY, ok niels
 - Changed to ssh-add.c broke askpass support. Revised it to be a little more
   modular.
 - Revised autoconf support for enabling/disabling askpass support.
1999-11-15 14:25:30 +11:00
Damien Miller 296a546476 Don't install config files if they already exist 1999-11-13 10:48:51 +11:00
Damien Miller 06e42932b2 askpass install fix 1999-11-12 16:36:21 +11:00
Damien Miller 3ba1fe1943 Makefile fix 1999-11-12 16:32:17 +11:00
Damien Miller 3d1b22c150 - Make ssh-askpass support optional through autoconf 1999-11-12 15:46:08 +11:00
Damien Miller 5ce662a920 - Merged more OpenBSD CVS changes:
- [auth-krb4.c auth-passwd.c] remove x11- and krb-cleanup from fatal()
     + krb-cleanup cleanup
   - [clientloop.c log-client.c log-server.c ]
     [readconf.c readconf.h servconf.c servconf.h ]
     [ssh.1 ssh.c ssh.h sshd.8]
     add LogLevel {QUIET, FATAL, ERROR, INFO, CHAT, DEBUG} to ssh/sshd,
     obsoletes QuietMode and FascistLogging in sshd.
1999-11-11 17:57:39 +11:00
Damien Miller b77870fa73 - Merged several minor fixed:
- ssh-agent commandline parsing
   - RPM spec file now installs ssh setuid root
   - Makefile creates libdir
1999-11-10 12:48:08 +11:00
Damien Miller 5104762f4a bugfix 1999-11-09 14:54:14 +11:00
Damien Miller 43d0fdf1c6 bugfix 1999-11-09 14:52:31 +11:00
Damien Miller 3267355d98 bugfix 1999-11-09 14:50:10 +11:00
Damien Miller 2b72a4a659 Build fixes 1999-11-09 14:34:31 +11:00
Damien Miller cdb8b1d349 Build fixes 1999-11-09 14:31:49 +11:00
Damien Miller e0d444c4ba Added GNOME passphrase requester support 1999-11-09 14:23:45 +11:00
Damien Miller d3dcfaf14d Added GNOME passphrase requester 1999-11-09 13:52:33 +11:00
Damien Miller c7b38ceed6 - Autodetection of SSL/Crypto library location via autoconf
- Fixed location of ssh-askpass to follow autoconf
 - Integrated Makefile patch from Niels Kristian Bech Jensen <nkbj@image.dk>
 - Autodetection of RSAref library for US users
 - Minor doc updates
1999-11-09 10:28:04 +11:00
Damien Miller 356a0b004a Lots of changes:
- Removed lots of unnecessary checks from autoconf
 - Added support and autoconf test for openpty() function (Unix98 pty support)
 - Fix for scp not finding ssh if not installed as /usr/bin/ssh
 - Added TODO file
 - Merged parts of Debian patch From Phil Hands <phil@hands.com>:
   - Added ssh-askpass program
   - Added ssh-askpass support to ssh-add.c
   - Create symlinks for slogin on install
   - Fix "distclean" target in makefile
   - Added example for ssh-agent to manpage
   - Added support for PAM_TEXT_INFO messages
   - Disable internal /etc/nologin support if PAM enabled
 - Merged latest OpenBSD CVS changes:
   - [sshd.c] don't send fail-msg but disconnect if too many authentication
     failures
   - [sshd.c] replace assert() with error, fatal or packet_disconnect
   - [sshd.c] remove unused argument. ok dugsong
   - [sshd.c] typo
   - [rsa.c] clear buffers used for encryption. ok: niels
   - [rsa.c] replace assert() with error, fatal or packet_disconnect
 - Fixed coredump after merge of OpenBSD rsa.c patch
1999-11-08 15:30:59 +11:00
Damien Miller 3c5cb3857b - Remove autoconf generated Makefile from CVS
- Stripped subdirectories from CVS server
 - Fixed makefile to suit
1999-10-29 12:06:53 +10:00
Damien Miller 07a826d854 - Make distclean now removed configure script
- Improved PAM logging
 - Added some debug() calls for PAM
1999-10-29 11:49:20 +10:00
Damien Miller 9438816a5c Integrated PAM environment patch from Nalin Dahyabhai <nalin@thermo.stat.ncsu.edu>
Integrated make install patch from Niels Kristian Bech Jensen <nkbj@image.dk>
1999-10-29 09:57:31 +10:00
Damien Miller a37010e466 Renamed open* -> * at request of Theo de Raadt <deraadt@cvs.openbsd.org> 1999-10-29 09:18:29 +10:00
Damien Miller 062307657e Big rename ssh* -> openssh* 1999-10-28 14:03:14 +10:00
Damien Miller 7f6ea0264d - Integrated patch from Dan Brosemer <odin@linuxfreak.com>
- Build fixes
   - Autoconf
   - Change binary names to open*

 - Fixed autoconf script to detect PAM on RH6.1
 - Added tests for libpwdb, and OpenBSD functions to autoconf (not used yet)
1999-10-28 13:25:17 +10:00