Commit Graph

5873 Commits

Author SHA1 Message Date
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
Damien Miller 755c90c34c Doc updates 1999-11-22 16:12:31 +11:00
Damien Miller d770252d3a - Added a setenv replacement for systems which lack it 1999-11-22 16:11:05 +11:00
Damien Miller d71b12ee5b - Fix EGD problems (Thanks to Ben Taylor <bent@clark.net>)
- Retry /dev/urandom reads interrupted by signal (report from
   Robert Hardy <rhardy@webcon.net>)
1999-11-22 15:24:34 +11:00
Damien Miller 859cec0250 - Added autoconf test and macro to deal with old PAM libraries
pam_strerror definition (one arg vs two).
1999-11-22 14:27:24 +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 a75cb96662 error message fix 1999-11-22 13:55:36 +11:00
Damien Miller 83df069333 - OpenBSD CVS Changes
- [ssh-keygen.c]
     don't create ~/.ssh only if the user wants to store the private
     key there. show fingerprint instead of public-key after
     keygeneration. ok niels@
1999-11-22 13:22:29 +11:00
Damien Miller 22218727fd - Make <enter> close gnome-ssh-askpass (Debian bug #50299) 1999-11-22 12:51:42 +11:00
Damien Miller 431f66b68c - [OVERVIEW README] typos; green@freebsd
- [ssh-keygen.c]
      replace xstrdup+strcat with strlcat+fixed buffer, fixes OF (bad me)
      exit if writing the key fails (no infinit loop)
      print usage() everytime we get bad options
    - [ssh-keygen.c] overflow, djm@mindrot.org
    - [sshd.c] fix sigchld race; cjc5@po.cwru.edu
1999-11-21 18:31:57 +11:00
Damien Miller 6162d1215b - OpenBSD CVS Changes
- [channels.c]
      make this compile, bad markus
    - [log.c readconf.c servconf.c ssh.h]
      bugfix: loglevels are per host in clientconfig,
      factor out common log-level parsing code.
    - [servconf.c]
      remove unused index (-Wall)
    - [ssh-agent.c]
      only one 'extern char *__progname'
    - [sshd.8]
      document SIGHUP, -Q to synopsis
    - [sshconnect.c serverloop.c sshd.c packet.c packet.h]
      [channels.c clientloop.c]
      SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@
      [hope this time my ISP stays alive during commit]
1999-11-21 13:23:52 +11:00
Damien Miller f58db38f8d Fix segfault 1999-11-20 17:02:56 +11:00