Commit Graph

4281 Commits

Author SHA1 Message Date
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
Damien Miller c6398efcba - Merged more Solaris support from Marc G. Fournier
<marc.fournier@acadiau.ca>
 - Wrote autoconf tests for integer bit-types
 - Fixed enabling kerberos support
1999-11-20 12:18:40 +11:00
Damien Miller 36fb30f6dd Die if lastlog not found 1999-11-19 19:14:04 +11:00
Damien Miller 01c114cc80 Fix doc files 1999-11-19 17:25:16 +11:00
Damien Miller 7b5722fe65 Fix askapss files 1999-11-19 17:23:50 +11:00
Damien Miller 73aaa7690a Fix doc files 1999-11-19 17:21:35 +11:00
Damien Miller e232455ed9 Fix libexecdir 1999-11-19 17:18:57 +11:00
Damien Miller a63023b4ff Prepare for pre13 1999-11-19 17:14:16 +11:00
Damien Miller c09672740e Doc updates 1999-11-19 15:53:50 +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 dc9365bf8b Fix progress bar bug 1999-11-19 12:34:14 +11:00
Damien Miller 58fc473907 - EGD uses a socket, not a named pipe. Duh.
- Fix includes in fingerprint.c
1999-11-19 12:05:01 +11:00
Damien Miller 23b783952a - Merged OpenBSD CVS changes
- [auth-rhosts.c auth-rsa.c ssh-agent.c sshconnect.c sshd.c]
     more %d vs. %s in fmt-strings
   - [authfd.c]
     Integers should not be printed with %s
1999-11-19 08:25:48 +11:00
Damien Miller 5bbbd364c9 - Merged PAM buffer overrun patch from Chip Salzenberg <chip@valinux.com> 1999-11-19 07:56:21 +11:00
Damien Miller 6ee9564901 Typo 1999-11-18 11:35:13 +11:00
Damien Miller 81428f9d10 - Merged OpenBSD CVS changes
- [scp.c] foregroundproc() in scp
   - [sshconnect.h] include fingerprint.h
   - [sshd.c] bugfix: the log() for passwd-auth escaped during logging
     changes.
 - Added openssh.com info to README
1999-11-18 09:28:11 +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 d743bba481 Clarify mailing list details 1999-11-16 13:45:26 +11:00
Damien Miller 7e8e820153 - Merged OpenBSD CVS changes:
- [auth-rh-rsa.c auth-rsa.c authfd.c authfd.h hostfile.c mpaux.c]
     [mpaux.h ssh-add.c ssh-agent.c ssh.h ssh.c sshd.c]
     the keysize of rsa-parameter 'n' is passed implizit,
     a few more checks and warnings about 'pretended' keysizes.
   - [cipher.c cipher.h packet.c packet.h sshd.c]
     remove support for cipher RC4
   - [ssh.c]
     a note for legay systems about secuity issues with permanently_set_uid(),
     the private hostkey and ptrace()
   - [sshconnect.c]
     more detailed messages about adding and checking hostkeys
1999-11-16 13:37:16 +11:00
Damien Miller 4874c79a3a - Fix some Linux libc5 problems reported by Miles Wilson <mw@mctitle.com> 1999-11-16 13:29:26 +11:00
Damien Miller a7cafae274 Added upgrade instructions 1999-11-16 08:02:27 +11:00
Damien Miller 2a9d9f6ce4 Doc updates 1999-11-15 23:34:11 +11:00
Damien Miller 2e8b1c8660 OpenBSD CVS: fix .Xr 1999-11-15 23:33:56 +11:00
Damien Miller 3668206da4 - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com> 1999-11-15 17:19:24 +11:00
Damien Miller 3f905872b0 - Merged more Solaris compability from Marc G. Fournier
<marc.fournier@acadiau.ca>
 - Wrote autoconf tests for __progname symbol
1999-11-15 17:10:57 +11:00
Damien Miller c6d5ce86a9 Fixed spello 1999-11-15 16:01:07 +11:00
Damien Miller 3bd49ec5c4 - Various small cleanups to bring diff (against OpenBSD) size down. 1999-11-15 15:40:55 +11:00
Damien Miller 2ccf661cbe - Merged more OpenBSD CVS changes:
[auth-krb4.c]
          - disconnect if getpeername() fails
          - missing xfree(*client)
        [canohost.c]
          - disconnect if getpeername() fails
          - fix comment: we _do_ disconnect if ip-options are set
        [sshd.c]
          - disconnect if getpeername() fails
          - move checking of remote port to central place
        [auth-rhosts.c] move checking of remote port to central place
        [log-server.c] avoid extra fd per sshd, from millert@
        [readconf.c] print _all_ bad config-options in ssh(1), too
        [readconf.h] print _all_ bad config-options in ssh(1), too
        [ssh.c] print _all_ bad config-options in ssh(1), too
        [sshconnect.c] disconnect if getpeername() fails
 - OpenBSD's changes to sshd.c broke the PAM stuff, re-merged it.
1999-11-15 15:25:10 +11:00
Damien Miller cedfecc99e Further cleanup of askpass autoconf support, enable GNOME askpass option
only if askpass has first been enabled.
1999-11-15 14:36:53 +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 44b4e49eb7 Thinko 1999-11-15 10:04:28 +11:00
Damien Miller 0a6e668ac6 Solaris compile fixes 1999-11-15 09:56:06 +11:00
Damien Miller e116a26556 typo 1999-11-15 09:25:59 +11:00
Damien Miller 192bd0120a - Tidied default config file some more
- Revised Redhat initscript to fix bug: sshd (re)start would fail
   if executed from inside a ssh login.
1999-11-13 23:56:35 +11:00
Damien Miller 2cb210f0f7 - Added shadow password patch from Thomas Neumann <tom@smart.ruhr.de>
- Added ifdefs to auth-passwd.c to exclude it when PAM is enabled
1999-11-13 15:40:10 +11:00
Damien Miller b028438668 updated 1999-11-13 13:30:28 +11:00
Damien Miller d46202f0d1 - Delay fork (-f option) in ssh until after port forwarded connections
have been initialised. Patch from Jani Hakala <jahakala@cc.jyu.fi>
1999-11-13 13:28:45 +11:00
Damien Miller a2d6efe013 - Merged OpenBSD CVS changes:
- [bufaux.c] save a view malloc/memcpy/memset/free's, ok niels
   - [scp.c] fix overflow reported by damien@ibs.com.au: off_t
     totalsize, ok niels,aaron
1999-11-13 13:22:46 +11:00
Damien Miller 38c608862b Added obseletes lines to spec 1999-11-13 13:09:31 +11:00
Damien Miller b77485d25d Remove redundant inclusion of config.h 1999-11-13 13:07:45 +11:00