Commit Graph

3184 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 4e0dbd07cf Whitespace 1999-12-09 10:57:00 +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 6646badaa6 Prepare for 1.2pre17 1999-12-09 10:42:10 +11:00
Damien Miller 50945fa861 - OpenBSD CVS updates:
- [readpass.c]
     avoid stdio; based on work by markus, millert, and I
   - [sshd.c]
     make sure the client selects a supported cipher
   - [sshd.c]
     fix sighup handling.  accept would just restart and daemon handled
     sighup only after the next connection was accepted. use poll on
     listen sock now.
   - [sshd.c]
     make that a fatal
1999-12-09 10:31:37 +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 fce1648681 - Compile fix for Solaris with /dev/ptmx from
David Agraz <dagraz@jahoopa.com>
1999-12-08 08:53:52 +11:00
Damien Miller 05ec5c6425 Third time lucky 1999-12-07 17:03:33 +11:00
Damien Miller a3c6090061 Third time lucky 1999-12-07 17:02:57 +11:00
Damien Miller 1b3dfe32b6 undone silly changes 1999-12-07 17:01:13 +11:00
Damien Miller dc88b4d37b Vicarious (sp?) changes to try to fix -k option 1999-12-07 17:00:20 +11:00
Damien Miller f5d69a521f doc 1999-12-07 16:55:04 +11:00
Damien Miller 145fdca36d forgot -kb when imported 1999-12-07 16:51:32 +11:00
Damien Miller 81b25cf0a9 Forgot -kb 1999-12-07 16:47:28 +11:00
Damien Miller 23aa96edca Reimport with -kb set 1999-12-07 16:45:20 +11:00
Damien Miller 534115826b Forgot -kb when checking in 1999-12-07 16:45:00 +11:00
Damien Miller 871f3ca1e7 Quiet untar 1999-12-07 16:32:10 +11:00
Damien Miller aca55fe73c Add buildprereq 1999-12-07 16:31:18 +11:00
Damien Miller af2604a57e *** empty log message *** 1999-12-07 16:21:40 +11:00
Damien Miller f6b290dc15 Tweak 1999-12-07 16:21:32 +11:00
Damien Miller 93168eb274 Updated spec 1999-12-07 16:20:49 +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 eabf3417bc - Fix PAM account and session being called multiple times. Problem
reported by Adrian Baugh <adrian@merlin.keble.ox.ac.uk>
1999-12-07 14:56:27 +11:00
Damien Miller 3bc14dde05 Fixed default SSH_ASKPASS 1999-12-07 14:54:53 +11:00
Damien Miller 0c078c6633 - sshd Redhat init script patch from Jim Knoble <jmknoble@pobox.com>
fixes compatability with 4.x and 5.x
1999-12-07 14:53:57 +11:00
Damien Miller aae6c614da - Merged OpenBSD CVS changes:
- [auth-krb4.c auth-passwd.c auth-skey.c ssh.
     move skey-auth from auth-passwd.c to auth-s
   - [auth-rsa.c]
     warn only about mismatch if key is _used_
     warn about keysize-mismatch with log() not
     channels.c readconf.c readconf.h ssh.c ssh.
     ports are u_short
   - [hostfile.c]
     indent, shorter warning
   - [nchan.c]
     use error() for internal errors
   - [packet.c]
     set loglevel for SSH_MSG_DISCONNECT to log(
     serverloop.c
     indent
   - [ssh-add.1 ssh-add.c ssh.h]
     document , reasonable default
   - [ssh.1]
     CheckHostIP is not available for connects v
   - [sshconnect.c]
     typo
     easier to read client code for passwd and s
     turn of checkhostip for proxy connects, sin
1999-12-06 11:47:28 +11:00
Damien Miller dc33fc3910 Small cleanup of PAM code 1999-12-04 20:24:48 +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 bf3f6ef19b Doc updates 1999-11-25 13:50:10 +11:00
Damien Miller 16dae4cf2a disable buildprereqs for Suse RPM 1999-11-25 13:41:09 +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 297dc42c1c Update SPEC files 1999-11-25 13:24:58 +11:00
Damien Miller 98ac007ad9 Removed old with-askpass option 1999-11-25 13:19:55 +11:00
Damien Miller 063fdf8275 - Merged beginnings of AIX support from Tor-Ake Fransson <torake@hotmail.com> 1999-11-25 13:08:31 +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 78224a0665 - More reformatting merged from OpenBSD CVS
- Merged OpenBSD CVS changes:
   - [channels.c]
     fix packet_integrity_check() for !have_hostname_in_open.
     report from mrwizard@psu.edu via djm@ibs.com.au
   - [channels.c]
     set SO_REUSEADDR and SO_LINGER for forwarded ports.
     chip@valinux.com via damien@ibs.com.au
   - [nchan.c]
     it's not an error() if shutdown_write failes in nchan.
   - [readconf.c]
     remove dead #ifdef-0-code
   - [readconf.c servconf.c]
     strcasecmp instead of tolower
   - [scp.c]
     progress meter overflow fix from damien@ibs.com.au
   - [ssh-add.1 ssh-add.c]
     SSH_ASKPASS support
   - [ssh.1 ssh.c]
     postpone fork_after_authentication until command execution,
     request/patch from jahakala@cc.jyu.fi via damien@ibs.com.au
     plus: use daemon() for backgrounding
1999-11-25 11:55:45 +11:00
Damien Miller 5428f646ad - More reformatting merged from OpenBSD CVS
- Merged OpenBSD CVS changes:
   - [channels.c]
     report from mrwizard@psu.edu via djm@ibs.com.au
   - [channels.c]
     set SO_REUSEADDR and SO_LINGER for forwarded ports.
     chip@valinux.com via damien@ibs.com.au
   - [nchan.c]
     it's not an error() if shutdown_write failes in nchan.
   - [readconf.c]
     remove dead #ifdef-0-code
   - [readconf.c servconf.c]
     strcasecmp instead of tolower
   - [scp.c]
     progress meter overflow fix from damien@ibs.com.au
   - [ssh-add.1 ssh-add.c]
     SSH_ASKPASS support
   - [ssh.1 ssh.c]
     postpone fork_after_authentication until command execution,
     request/patch from jahakala@cc.jyu.fi via damien@ibs.com.au
     plus: use daemon() for backgrounding
1999-11-25 11:54:57 +11:00
Damien Miller 9072e18896 *** empty log message *** 1999-11-25 10:42:08 +11:00
Damien Miller 95def09838 - Merged very large OpenBSD source code reformat
- OpenBSD CVS updates
   - [channels.c cipher.c compat.c log-client.c scp.c serverloop.c]
     [ssh.h sshd.8 sshd.c]
     syslog changes:
     * Unified Logmessage for all auth-types, for success and for failed
     * Standard connections get only ONE line in the LOG when level==LOG:
       Auth-attempts are logged only, if authentication is:
          a) successfull or
          b) with passwd or
          c) we had more than AUTH_FAIL_LOG failues
     * many log() became verbose()
     * old behaviour with level=VERBOSE
   - [readconf.c readconf.h ssh.1 ssh.h sshconnect.c sshd.c]
     tranfer s/key challenge/response data in SSH_SMSG_AUTH_TIS_CHALLENGE
     messages. allows use of s/key in windows (ttssh, securecrt) and
     ssh-1.2.27 clients without 'ssh -v', ok: niels@
   - [sshd.8]
     -V, for fallback to openssh in SSH2 compatibility mode
   - [sshd.c]
     fix sigchld race; cjc5@po.cwru.edu
1999-11-25 00:26:21 +11:00
Damien Miller 4d2f15f895 - Add recommendation to use GNU make to INSTALL document 1999-11-23 12:36:29 +11:00
Damien Miller 3744b51918 - Numerous little Solaris fixes 1999-11-23 11:24:32 +11:00
Damien Miller 294df785b8 - Added SuSE package files from Chris Saia <csaia@wtower.com>
- Restructured package-related files under packages/
 - Added generic PAM config
1999-11-23 10:11:29 +11:00
Damien Miller 24e83aa312 Use puts instead of printf 1999-11-22 22:42:17 +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 66c14888e3 prepare for 1.2pre14 1999-11-22 18:13:13 +11:00
Damien Miller d733c91bf3 Only display comment for ssh-askpass 1999-11-22 18:11:23 +11:00