20040224 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2004/02/19 21:15:04 [sftp-server.c] switch to new license.template - markus@cvs.openbsd.org 2004/02/23 12:02:33 [sshd.c] backout revision 1.279; set listen socket to non-block; ok henning. - markus@cvs.openbsd.org 2004/02/23 15:12:46 [bufaux.c] encode 0 correctly in buffer_put_bignum2; noted by Mikulas Patocka and drop support for negative BNs; ok otto@ - markus@cvs.openbsd.org 2004/02/23 15:16:46 [version.h] enter 3.8 - (dtucker) [configure.ac gss-serv-krb5.c ssh-gss.h] Define GSSAPI when found with krb5-config, hunt down gssapi.h and friends. Based partially on patch from deengert at anl.gov. ok djm@ - (djm) [groupaccess.c uidswap.c] Bug #787: Size group arrays at runtime using sysconf() if available Based on patches from holger AT van-lengerich.de and openssh_bugzilla AT hockin.org - (dtucker) [uidswap.c] Minor KNF. ok djm@ - (tim) [openbsd-compat/getrrsetbyname.c] Make gcc 2.7.2.3 happy. ok djm@ - (djm) Crank RPM spec versions - (dtucker) [README] Add pointer to release notes. ok djm@ - (dtucker) {README.platform] Add platform-specific notes. 20040223 - (dtucker) [session.c] Bug #789: Only make setcred call for !privsep in the non-interactive path. ok djm@ 20040222 - (dtucker) [auth-shadow.c auth.c auth.h] Move shadow account expiry test to auth-shadow.c, no functional change. ok djm@ - (dtucker) [auth-shadow.c auth.h] Provide warnings of impending account or password expiry. ok djm@ - (dtucker) [auth-passwd.c] Only check password expiry once. Prevents multiple warnings if a wrong password is entered. - (dtucker) [configure.ac] Apply krb5-config --libs fix to non-gssapi path too. 20040220 - (djm) [openbsd-compat/setproctitle.c] fix comments; from grange@ 20040218 - (dtucker) [configure.ac] Handle case where krb5-config --libs returns a path with a "-" in it. From Sergio.Gelato at astro.su.se. - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2004/02/17 07:17:29 [sftp-glob.c sftp.c] Remove useless headers; ok deraadt@ - djm@cvs.openbsd.org 2004/02/17 11:03:08 [sftp.c] sftp.c and sftp-int.c, together at last; ok markus@ - jmc@cvs.openbsd.org 2004/02/17 19:35:21 [sshd_config.5] remove cruft left over from RhostsAuthentication removal; ok markus@ - (djm) [log.c] Correct use of HAVE_OPENLOG_R - (djm) [log.c] Tighten openlog_r tests 20040217 - (djm) Simplify the license on code I have written. No code changes. - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2004/02/17 05:39:51 [sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c] [sftp-int.h sftp.c] switch to license.template for code written by me (belated, I know...) - (djm) Bug #698: Specify FILE: for KRB5CCNAME; patch from stadal@suse.cz and simon@sxw.org.uk - (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@ - (dtucker) [auth-pam.c] Store output from pam_session and pam_setcred for display after login. Should fix problems like pam_motd not displaying anything, noticed by cjwatson at debian.org. ok djm@ 20040212 - (tim) [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] Portablity fixes. Data sftp transfers needs to be world readable. Some older shells hang on while loops when doing sh -n some_script. OK dtucker@ - (tim) [configure.ac] Make sure -lcrypto is before -lsocket for sco3. ok mouring@ 20040211 - (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check if HAS_SHADOW_EXPIRY is set. - (tim) [configure.ac] Fix comment to match code changes in ver 1.117 20040210 - (dtucker) [auth-passwd.c auth.h openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #14: Use do_pwchange to support AIX's native password expiry. - (dtucker) [LICENCE Makefile.in auth-passwd.c auth-shadow.c auth.c auth.h defines.h] Bug #14: Use do_pwchange to support password expiry and force change for platforms using /etc/shadow. ok djm@ - (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #563: Prepend ssh_ to compat functions to avoid conflicts with Heimdal's libroken. ok djm@ - (dtucker) [auth-pam.c auth-pam.h session.c] Bug #14: Use do_pwchange to change expired PAM passwords for SSHv1 connections without privsep. pam_chauthtok is still used when privsep is disabled. ok djm@ - (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Move include from port-aix.h to port-aix.c and remove unnecessary function definition. Fixes build errors on AIX. - (dtucker) [configure.ac loginrec.c] Bug #464: Use updwtmpx on platforms that support it. from & ok mouring@ - (dtucker) [configure.ac] Bug #345: Do not disable utmp on HP-UX 10.x. ok djm@ 20040207 - (dtucker) OpenBSD CVS Sync - dtucker@cvs.openbsd.org 2004/02/06 23:41:13 [cipher-ctr.c] Use EVP_CIPHER_CTX_key_length for key length. ok markus@ (This will fix builds with OpenSSL 0.9.5) - (dtucker) [cipher.c] enable AES counter modes with OpenSSL 0.9.5. ok djm@, markus@ 20040206 - (dtucker) [acss.c acss.h] Fix $Id tags. - (dtucker) [cipher-acss.c cipher.c] Enable acss only if building with OpenSSL >= 0.9.7. ok djm@ - (dtucker) [session.c] Bug #789: Do not call do_pam_setcred as a non-root user, since some modules might fail due to lack of privilege. ok djm@ - (dtucker) [configure.ac] Bug #748: Always define BROKEN_GETADDRINFO for HP-UX 11.11. If there are known-good configs where this is not required, please report them. ok djm@ - (dtucker) [sshd.c] Bug #757: Clear child's environment to prevent accidentally inheriting from root's environment. ok djm@ - (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #796: Restore previous authdb setting after auth calls. Fixes problems with setpcred failing on accounts that use AFS or NIS password registries. - (dtucker) [configure.ac includes.h] Include if present, required on Solaris 2.5.1 for queue_t, which is used by . - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2004/01/30 09:48:57 [auth-passwd.c auth.h pathnames.h session.c] support for password change; ok dtucker@ (set password-dead=1w in login.conf to use this). In -Portable, this is currently only platforms using bsdauth. - dtucker@cvs.openbsd.org 2004/02/05 05:37:17 [monitor.c sshd.c] Pass SIGALRM through to privsep child if LoginGraceTime expires. ok markus@ - markus@cvs.openbsd.org 2004/02/05 15:33:33 [progressmeter.c] fix ETA for > 4GB; bugzilla #791; ok henning@ deraadt@ 20040129 - (dtucker) OpenBSD CVS Sync regress/ - dtucker@cvs.openbsd.org 2003/10/11 11:49:49 [Makefile banner.sh] Test missing banner file, suppression of banner with ssh -q, check return code from ssh. ok markus@ - jmc@cvs.openbsd.org 2003/11/07 10:16:44 [ssh-com.sh] adress -> address, and a few more; all from Jonathon Gray; - djm@cvs.openbsd.org 2004/01/13 09:49:06 [sftp-batch.sh] - (dtucker) [configure.ac] Add --without-zlib-version-check. Feedback from tim@, ok several - (dtucker) [configure.ac openbsd-compat/bsd-cray.c openbsd-compat/bsd-cray.h] Bug #775: Cray fixes from wendy at cray.com 20040128 - (dtucker) [regress/README.regress] Add tcpwrappers issue, noted by tim@ - (dtucker) [moduli] Import new moduli file from OpenBSD. 20040127 - (djm) OpenBSD CVS Sync - hshoexer@cvs.openbsd.org 2004/01/23 17:06:03 [cipher.c] enable acss for ssh ok deraadt@ markus@ - mouring@cvs.openbsd.org 2004/01/23 17:57:48 [sftp-int.c] Fix issue pointed out with ls not handling large directories with embeded paths correctly. OK damien@ - hshoexer@cvs.openbsd.org 2004/01/23 19:26:33 [cipher.c] rename acss@opebsd.org to acss@openssh.org ok deraadt@ - djm@cvs.openbsd.org 2004/01/25 03:49:09 [sshconnect.c] reset nonblocking flag after ConnectTimeout > 0 connect; (bugzilla #785) from jclonguet AT free.fr; ok millert@ - djm@cvs.openbsd.org 2004/01/27 10:08:10 [sftp.c] reorder parsing so user:skey@host:file works (bugzilla #777) patch from admorten AT umich.edu; ok markus@ - (djm) [acss.c acss.h cipher-acss.c] Portable support for ACSS if libcrypto lacks it 20040126 - (tim) Typo in regress/README.regress - (tim) [regress/test-exec.sh] RhostsAuthentication is deprecated. - (tim) [defines.h] Add defines for HFIXEDSZ and T_SIG - (tim) [configure.ac includes.h] add for grantpt() and friends. - (tim) [defines.h openbsd-compat/getrrsetbyname.h] Move defines for HFIXEDSZ and T_SIG to getrrsetbyname.h 20040124 - (djm) Typo in openbsd-compat/bsd-openpty.c; from wendyp AT cray.com 20040123 - (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from ralf.hack AT pipex.net; ok dtucker@ - (djm) Bug #776: Update contrib/redhat/openssh.spec to dynamically detect Kerberos location (and thus work with Fedora Core 1); from jason AT devrandom.org - (dtucker) [configure.ac] Bug #788: Test for zlib.h presence and for zlib >= 1.1.4. Partly from jbasney at ncsa.uiuc.edu. ok djm@ - (dtucker) [contrib/cygwin/README] Document new ssh-host-config options. Patch from vinschen at redhat.com. - (dtucker) [acconfig.h configure.ac includes.h servconf.c session.c] Change AFS symbol to USE_AFS to prevent namespace collisions, do not include kafs.h unless necessary. From deengert at anl.gov. - (tim) [configure.ac] Remove hard coded -L/usr/local/lib and -I/usr/local/include. Users can do LDFLAGS="-L/usr/local/lib" \ CPPFLAGS="-I/usr/local/include" ./configure if needed. 20040122 - (dtucker) [configure.ac] Use krb5-config where available for Kerberos/ GSSAPI detection, libs and includes. ok djm@ - (dtucker) [session.c] Enable AFS support in conjunction with KRB5 not just HEIMDAL. - (tim) [contrib/solaris/buildpkg.sh] Allow for the possibility of /usr/local being a symbolic link. Fixes problem reported by Henry Grebler. 20040121 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2004/01/13 09:25:05 [sftp-int.c sftp.1 sftp.c] Tidy sftp batchmode handling, eliminate junk to stderr (bugzilla #754) and enable use of "-b -" to accept batchfile from stdin; ok markus@ - jmc@cvs.openbsd.org 2004/01/13 12:17:33 [sftp.1] remove unnecessary Ic's; kill whitespace at EOL; ok djm@ - markus@cvs.openbsd.org 2004/01/13 19:23:15 [compress.c session.c] -Wall; ok henning - markus@cvs.openbsd.org 2004/01/13 19:45:15 [compress.c] cast for portability; millert@ - markus@cvs.openbsd.org 2004/01/19 09:24:21 [channels.c] fake consumption for half closed channels since the peer is waiting for window adjust messages; bugzilla #790 Matthew Dillon; test + ok dtucker@ reproduce with sh -c 'ulimit -f 10; ssh host -n od /bsd | cat > foo' - markus@cvs.openbsd.org 2004/01/19 21:25:15 [auth2-hostbased.c auth2-pubkey.c serverloop.c ssh-keysign.c sshconnect2.c] fix mem leaks; some fixes from Pete Flugstad; tested dtucker@ - djm@cvs.openbsd.org 2004/01/21 03:07:59 [sftp.c] initialise infile in main, rather than statically - from portable - deraadt@cvs.openbsd.org 2004/01/11 21:55:06 [sshpty.c] for pty opening, only use the openpty() path. the other stuff only needs to be in openssh-p; markus ok - (djm) [openbsd-compat/bsd-openpty.c] Rework old sshpty.c code into an openpty() replacement 20040114 - (dtucker) [auth-pam.c] Have monitor die if PAM authentication thread exits unexpectedly. with & ok djm@ - (dtucker) [auth-pam.c] Reset signal handler in pthread_cancel too, add test for case where cleanup has already run. - (dtucker) [auth-pam.c] Add minor debugging. 20040113 - (dtucker) [auth-pam.c] Relocate struct pam_ctxt and prototypes. No functional changes. 20040108 - (dtucker) [auth-pam.c defines.h] Bug #783: move __unused to defines.h and only define if not already. From des at freebsd.org. - (dtucker) [configure.ac] Remove extra (typo) comma. 20040105 - (dtucker) [contrib/ssh-copy-id] Bug #781: exit if ssh fails. Patch from cjwatson at debian.org. - (dtucker) [acconfig.h configure.ac includes.h servconf.c session.c] Only enable KerberosGetAFSToken if Heimdal's libkafs is found. with jakob@ 20040102 - (djm) OSX/Darwin needs BIND_8_COMPAT to build getrrsetbyname. Report from jakob@ - (djm) Remove useless DNS support configure summary message. from jakob@ - (djm) OSX/Darwin put the PAM headers in a different place, detect this. Report from jakob@ 20031231 - (dtucker) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/12/22 09:16:58 [moduli.c ssh-keygen.1 ssh-keygen.c] tidy up moduli generation debugging, add -v (verbose/debug) option to ssh-keygen; ok markus@ - markus@cvs.openbsd.org 2003/12/22 20:29:55 [cipher-3des1.c] EVP_CIPHER_CTX_cleanup() for the des contexts; pruiksma@freesurf.fr - jakob@cvs.openbsd.org 2003/12/23 16:12:10 [servconf.c servconf.h session.c sshd_config] implement KerberosGetAFSToken server option. ok markus@, beck@ - millert@cvs.openbsd.org 2003/12/29 16:39:50 [sshd_config] KeepAlive has been obsoleted, use TCPKeepAlive instead; markus@ OK - dtucker@cvs.openbsd.org 2003/12/31 00:24:50 [auth2-passwd.c] Ignore password change request during password auth (which we currently don't support) and discard proposed new password. corrections/ok markus@ - (dtucker) [configure.ac] Only test setresuid and setresgid if they exist. 20031219 - (dtucker) [defines.h] Bug #458: Define SIZE_T_MAX as UINT_MAX if we typedef size_t ourselves. 20031218 - (dtucker) [configure.ac] Don't use setre[ug]id on DG-UX, from Tom Orban. - (dtucker) [auth-pam.c] Do PAM chauthtok during SSH2 keyboard-interactive authentication. Partially fixes bug #423. Feedback & ok djm@ 20031217 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/12/09 15:28:43 [serverloop.c] make ClientKeepAlive work for ssh -N, too (no login shell requested). 1) send a bogus channel request if we find a channel 2) send a bogus global request if we don't have a channel ok + test beck@ - markus@cvs.openbsd.org 2003/12/09 17:29:04 [sshd.c] fix -o and HUP; ok henning@ - markus@cvs.openbsd.org 2003/12/09 17:30:05 [ssh.c] don't modify argv for ssh -o; similar to sshd.c 1.283 - markus@cvs.openbsd.org 2003/12/09 21:53:37 [readconf.c readconf.h scp.1 servconf.c servconf.h sftp.1 ssh.1] [ssh_config.5 sshconnect.c sshd.c sshd_config.5] rename keepalive to tcpkeepalive; the old name causes too much confusion; ok djm, dtucker; with help from jmc@ - dtucker@cvs.openbsd.org 2003/12/09 23:45:32 [clientloop.c] Clear exit code when ssh -N is terminated with a SIGTERM. ok markus@ - markus@cvs.openbsd.org 2003/12/14 12:37:21 [ssh_config.5] we don't support GSS KEX; from Simon Wilkinson - markus@cvs.openbsd.org 2003/12/16 15:49:51 [clientloop.c clientloop.h readconf.c readconf.h scp.1 sftp.1 ssh.1] [ssh.c ssh_config.5] application layer keep alive (ServerAliveInterval ServerAliveCountMax) for ssh(1), similar to the sshd(8) option; ok beck@; with help from jmc and dtucker@ - markus@cvs.openbsd.org 2003/12/16 15:51:54 [dh.c] use <= instead of < in dh_estimate; ok provos/hshoexer; do not return < DH_GRP_MIN - (dtucker) [acconfig.h configure.ac uidswap.c] Bug #645: Check for setres[ug]id() present but not implemented (eg some Linux/glibc combinations). - (bal) [openbsd-compat/bsd-misc.c] unset 'signal' defined if we are using a real 'signal()' (Noticed by a NeXT Compile) 20031209 - (dtucker) OpenBSD CVS Sync - matthieu@cvs.openbsd.org 2003/11/25 23:10:08 [ssh-add.1] ssh-add doesn't need to be a descendant of ssh-agent. Ok markus@, jmc@. - djm@cvs.openbsd.org 2003/11/26 21:44:29 [cipher-aes.c] fix #ifdef before #define; ok markus@ (RCS ID sync only, Portable already had this) - markus@cvs.openbsd.org 2003/12/02 12:15:10 [progressmeter.c] improvments from andreas@: * saner speed estimate for transfers that takes less than a second by rounding the time to 1 second. * when the transfer is finished calculate the actual total speed rather than the current speed which is given during the transfer - markus@cvs.openbsd.org 2003/12/02 17:01:15 [channels.c session.c ssh-agent.c ssh.h sshd.c] use SSH_LISTEN_BACKLOG (=128) in listen(2). - djm@cvs.openbsd.org 2003/12/07 06:34:18 [moduli.c] remove unused debugging #define templates - markus@cvs.openbsd.org 2003/12/08 11:00:47 [kexgexc.c] print requested group size in debug; ok djm - dtucker@cvs.openbsd.org 2003/12/09 13:52:55 [moduli.c] Prevent ssh-keygen -T from outputting moduli with a generator of 0, since they can't be used for Diffie-Hellman. Assistance and ok djm@ - (dtucker) [ssh-keyscan.c] Sync RCSIDs, missed in SSH_SSFDMAX change below. 20031208 - (tim) [configure.ac] Bug 770. Fix --without-rpath. 20031123 - (djm) [canohost.c] Move IPv4inV6 mapped address normalisation to its own function and call it unconditionally - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/11/23 23:17:34 [ssh-keyscan.c] from portable - use sysconf to detect fd limit; ok markus@ (tidy diff by adding SSH_SSFDMAX macro to defines.h) - djm@cvs.openbsd.org 2003/11/23 23:18:45 [ssh-keygen.c] consistency PATH_MAX -> MAXPATHLEN; ok markus@ (RCS ID sync only) - djm@cvs.openbsd.org 2003/11/23 23:21:21 [scp.c] from portable: rename clashing variable limit-> limit_rate; ok markus@ (RCS ID sync only) - dtucker@cvs.openbsd.org 2003/11/24 00:16:35 [ssh.1 ssh.c] Make ssh -k mean GSSAPIDelegateCredentials=no. Suggestion & ok markus@ - (djm) Annotate OpenBSD-derived files in openbsd-compat/ with original source file path (in OpenBSD tree). 20031122 - (dtucker) [channels.c] Make AIX write limit code clearer. Suggested by djm@ - (dtucker) [auth-passwd.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Move AIX specific password authentication code to port-aix.c, call authenticate() until reenter flag is clear. - (dtucker) [auth-sia.c configure.ac] Tru64 update from cmadams at hiwaay.net. Use permanently_set_uid for SIA, only define DISABLE_FD_PASSING when SIA is enabled, rely on SIA to check for locked accounts if enabled. ok djm@ - (djm) [scp.c] Rename limitbw -> limit_rate to match upstreamed patch - (djm) [sftp-int.c] Remove duplicated code from bogus sync - (djm) [packet.c] Shuffle #ifdef to reduce conditionally compiled code 20031121 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/11/20 11:39:28 [progressmeter.c] fix rounding errors; from andreas@ - djm@cvs.openbsd.org 2003/11/21 11:57:03 [everything] unexpand and delete whitespace at EOL; ok markus@ (done locally and RCS IDs synced) 20031118 - (djm) Fix early exit for root auth success when UsePAM=yes and PermitRootLogin=no - (dtucker) [auth-pam.c] Convert chauthtok_conv into a generic tty_conv, and use it for do_pam_session. Fixes problems like pam_motd not displaying anything. ok djm@ - (dtucker) [auth-pam.c] Only use pam_putenv if our platform has it. ok djm@ - (djm) OpenBSD CVS Sync - dtucker@cvs.openbsd.org 2003/11/18 00:40:05 [serverloop.c] Correct check for authctxt->valid. ok djm@ - djm@cvs.openbsd.org 2003/11/18 10:53:07 [monitor.c] unbreak fake authloop for non-existent users (my screwup). Spotted and tested by dtucker@; ok markus@ 20031117 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/11/03 09:03:37 [auth-chall.c] make this a little more idiot-proof; ok markus@ (includes portable-specific changes) - jakob@cvs.openbsd.org 2003/11/03 09:09:41 [sshconnect.c] move changed key warning into warn_changed_key(). ok markus@ - jakob@cvs.openbsd.org 2003/11/03 09:37:32 [sshconnect.c] do not free static type pointer in warn_changed_key() - djm@cvs.openbsd.org 2003/11/04 08:54:09 [auth1.c auth2.c auth2-pubkey.c auth.h auth-krb5.c auth-passwd.c] [auth-rhosts.c auth-rh-rsa.c auth-rsa.c monitor.c serverloop.c] [session.c] standardise arguments to auth methods - they should all take authctxt. check authctxt->valid rather then pw != NULL; ok markus@ - jakob@cvs.openbsd.org 2003/11/08 16:02:40 [auth1.c] remove unused variable (pw). ok djm@ (id sync only - still used in portable) - jmc@cvs.openbsd.org 2003/11/08 19:17:29 [sftp-int.c] typos from Jonathon Gray; - jakob@cvs.openbsd.org 2003/11/10 16:23:41 [bufaux.c bufaux.h cipher.c cipher.h hostfile.c hostfile.h key.c] [key.h sftp-common.c sftp-common.h sftp-server.c sshconnect.c sshd.c] [ssh-dss.c ssh-rsa.c uuencode.c uuencode.h] constify. ok markus@ & djm@ - dtucker@cvs.openbsd.org 2003/11/12 10:12:15 [scp.c] When called with -q, pass -q to ssh; suppresses SSH2 banner. ok markus@ - jakob@cvs.openbsd.org 2003/11/12 16:39:58 [dns.c dns.h readconf.c ssh_config.5 sshconnect.c] update SSHFP validation. ok markus@ - jmc@cvs.openbsd.org 2003/11/12 20:14:51 [ssh_config.5] make verb agree with subject, and kill some whitespace; - markus@cvs.openbsd.org 2003/11/14 13:19:09 [sshconnect2.c] cleanup and minor fixes for the client code; from Simon Wilkinson - djm@cvs.openbsd.org 2003/11/17 09:45:39 [msg.c msg.h sshconnect2.c ssh-keysign.c] return error on msg send/receive failure (rather than fatal); ok markus@ - markus@cvs.openbsd.org 2003/11/17 11:06:07 [auth2-gss.c gss-genr.c gss-serv.c monitor.c monitor.h monitor_wrap.c] [monitor_wrap.h sshconnect2.c ssh-gss.h] replace "gssapi" with "gssapi-with-mic"; from Simon Wilkinson; test + ok jakob. - (djm) Bug #632: Don't call pam_end indirectly from within kbd-int conversation function - (djm) Export environment variables from authentication subprocess to parent. Part of Bug #717 20031115 - (dtucker) [regress/agent-ptrace.sh] Test for GDB output from Solaris and HP-UX, skip test on AIX. 20031113 - (dtucker) [auth-pam.c] Append newlines to lines output by the pam_chauthtok_conv(). - (dtucker) [README ssh-host-config ssh-user-config Makefile] (All contrib/cygwin). Major update from vinschen at redhat.com. - Makefile provides a `cygwin-postinstall' target to run right after `make install'. - Better support for Windows 2003 Server. - Try to get permissions as correct as possible. - New command line options to allow full automated host configuration. - Create configs from skeletons in /etc/defaults/etc. - Use /bin/bash, allows reading user input with readline support. - Remove really old configs from /usr/local. - (dtucker) [auth-pam.c] Add newline to accumulated PAM_TEXT_INFO and PAM_ERROR_MSG messages. 20031106 - (djm) Clarify UsePAM consequences a little more 20031103 - (dtucker) [contrib/cygwin/ssh-host-config] Ensure entries in /etc/services are created correctly with CRLF line terminations. Patch from vinschen at redhat.com. - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/10/15 09:48:45 [monitor_wrap.c] check pmonitor != NULL - markus@cvs.openbsd.org 2003/10/21 09:50:06 [auth2-gss.c] make sure the doid is larger than 2 - avsm@cvs.openbsd.org 2003/10/26 16:57:43 [sshconnect2.c] rename 'supported' static var in userauth_gssapi() to 'gss_supported' to avoid shadowing the global version. markus@ ok - markus@cvs.openbsd.org 2003/10/28 09:08:06 [misc.c] error->debug for getsockopt+TCP_NODELAY; several requests - markus@cvs.openbsd.org 2003/11/02 11:01:03 [auth2-gss.c compat.c compat.h sshconnect2.c] remove support for SSH_BUG_GSSAPI_BER; simon@sxw.org.uk - (dtucker) [regress/agent-ptrace.sh] Use numeric uid and gid. 20031021 - (dtucker) [INSTALL] Some system crypt() functions support MD5 passwords directly. Noted by Darren.Moffat at sun.com. - (dtucker) [regress/agent-ptrace.sh] Skip agent-test unless SUDO is set, make agent setgid during test. 20031017 - (dtucker) [INSTALL] Note that --with-md5 is now required on platforms with MD5 passwords even if PAM support is enabled. From steev at detritus.net. 20031015 - (dtucker) OpenBSD CVS Sync - jmc@cvs.openbsd.org 2003/10/08 08:27:36 [scp.1 scp.c sftp-server.8 sftp.1 sftp.c ssh.1 sshd.8] scp and sftp: add options list and sort options. options list requested by deraadt@ sshd: use same format as ssh ssh: remove wrong option from list sftp-server: Subsystem is documented in ssh_config(5), not sshd(8) ok deraadt@ markus@ - markus@cvs.openbsd.org 2003/10/08 15:21:24 [readconf.c ssh_config.5] default GSS API to no in client, too; ok jakob, deraadt@ - markus@cvs.openbsd.org 2003/10/11 08:24:08 [readconf.c readconf.h ssh.1 ssh.c ssh_config.5] remote x11 clients are now untrusted by default, uses xauth(8) to generate untrusted cookies; ForwardX11Trusted=yes restores old behaviour. ok deraadt; feedback and ok djm/fries - markus@cvs.openbsd.org 2003/10/11 08:26:43 [sshconnect2.c] search keys in reverse order; fixes #684 - markus@cvs.openbsd.org 2003/10/11 11:36:23 [monitor_wrap.c] return NULL for missing banner; ok djm@ - jmc@cvs.openbsd.org 2003/10/12 13:12:13 [ssh_config.5] note that EnableSSHKeySign should be in the non-hostspecific section; remove unnecessary .Pp; ok markus@ - markus@cvs.openbsd.org 2003/10/13 08:22:25 [scp.1 sftp.1] don't refer to options related to forwarding; ok jmc@ - jakob@cvs.openbsd.org 2003/10/14 19:42:10 [dns.c dns.h readconf.c ssh-keygen.c sshconnect.c] include SSHFP lookup code (not enabled by default). ok markus@ - jakob@cvs.openbsd.org 2003/10/14 19:43:23 [README.dns] update - markus@cvs.openbsd.org 2003/10/14 19:54:39 [session.c ssh-agent.c] 10X for mkdtemp; djm@ - (dtucker) [acconfig.h configure.ac dns.c openbsd-compat/getrrsetbyname.c openbsd-compat/getrrsetbyname.h] DNS fingerprint support is now always compiled in but disabled in config. - (dtucker) [auth.c] Check for disabled password expiry on HP-UX Trusted Mode. - (tim) [regress/banner.sh] portability fix. 20031009 - (dtucker) [sshd_config.5] UsePAM defaults to "no". ok djm@ 20031008 - (dtucker) OpenBSD CVS Sync - dtucker@cvs.openbsd.org 2003/10/07 01:47:27 [sshconnect2.c] Don't use logit for banner, since it truncates to MSGBUFSIZ; bz #668 & #707. ok markus@ - djm@cvs.openbsd.org 2003/10/07 07:04:16 [sftp-int.c] sftp quoting fix from admorten AT umich.edu; ok markus@ - deraadt@cvs.openbsd.org 2003/10/07 21:58:28 [sshconnect2.c] set ptr to NULL after free - dtucker@cvs.openbsd.org 2003/10/07 01:52:13 [regress/Makefile regress/banner.sh] Test SSH2 banner. ok markus@ - djm@cvs.openbsd.org 2003/10/07 07:04:52 [regress/sftp-cmds.sh] more sftp quoting regress tests; ok markus 20031007 - (djm) Delete autom4te.cache after autoreconf - (dtucker) [auth-pam.c auth-pam.h session.c] Make PAM use the new static cleanup functions. With & ok djm@ - (dtucker) [contrib/redhat/openssh.spec] Bug #714: Now that UsePAM is a run-time switch, always build --with-md5-passwords. - (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoul.c] Bug #670: add strtoul() to openbsd-compat for platforms lacking it. ok djm@ - (dtucker) [configure.ac] Bug #715: Set BROKEN_SETREUID and BROKEN_SETREGID on Reliant Unix. Patch from Robert.Dahlem at siemens.com. - (dtucker) [configure.ac] Bug #710: Check for dlsym() in libdl on Reliant Unix. Based on patch from Robert.Dahlem at siemens.com. 20031003 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/10/02 10:41:59 [sshd.c] print openssl version, too, several requests; ok henning/djm. - markus@cvs.openbsd.org 2003/10/02 08:26:53 [ssh-gss.h] missing $OpenBSD:; dtucker - (tim) [contrib/caldera/openssh.spec] Remove obsolete --with-ipv4-default option. 20031002 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/09/23 20:17:11 [Makefile.in auth1.c auth2.c auth.c auth.h auth-krb5.c canohost.c cleanup.c clientloop.c fatal.c gss-serv.c log.c log.h monitor.c monitor.h monitor_wrap.c monitor_wrap.h packet.c serverloop.c session.c session.h ssh-agent.c sshd.c] replace fatal_cleanup() and linked list of fatal callbacks with static cleanup_exit() function. re-refine cleanup_exit() where appropriate, allocate sshd's authctxt eary to allow simpler cleanup in sshd. tested by many, ok deraadt@ - markus@cvs.openbsd.org 2003/09/23 20:18:52 [progressmeter.c] don't print trailing \0; bug #709; Robert.Dahlem@siemens.com ok millert/deraadt@ - markus@cvs.openbsd.org 2003/09/23 20:41:11 [channels.c channels.h clientloop.c] move client only agent code to clientloop.c - markus@cvs.openbsd.org 2003/09/26 08:19:29 [sshd.c] no need to set the listen sockets to non-block; ok deraadt@ - jmc@cvs.openbsd.org 2003/09/29 11:40:51 [ssh.1] - add list of options to -o and .Xr ssh_config(5) - some other cleanup requested by deraadt@; ok deraadt@ markus@ - markus@cvs.openbsd.org 2003/09/29 20:19:57 [servconf.c sshd_config] GSSAPICleanupCreds -> GSSAPICleanupCredentials - (dtucker) [configure.ac] Don't set DISABLE_SHADOW when configuring --with-pam. ok djm@ - (dtucker) [ssh-gss.h] Prototype change missed in sync. - (dtucker) [session.c] Fix bus errors on some 64-bit Solaris configurations. Based on patches by Matthias Koeppe and Thomas Baden. ok djm@ 20030930 - (bal) Fix issues in openbsd-compat/realpath.c 20030925 - (dtucker) [configure.ac openbsd-compat/xcrypt.c] Bug #633: Remove DISABLE_SHADOW for HP-UX, use getspnam instead of getprpwnam. Patch from michael_steffens at hp.com, ok djm@ - (tim) [sshd_config] UsePAM defaults to no. 20030924 - (djm) Update version.h and spec files for HEAD - (dtucker) [configure.ac] IRIX5 needs the same setre[ug]id defines as IRIX6. 20030923 - (dtucker) [Makefile.in] Bug #644: Fix "make clean" for out-of-tree builds. Portability corrections from tim@. - (dtucker) [configure.ac] Bug #665: uid swapping issues on Mac OS X. Patch from max at quendi.de. - (dtucker) [configure.ac] Bug #657: uid swapping issues on BSDi. - (dtucker) [configure.ac] Bug #653: uid swapping issues on Tru64. - (dtucker) [configure.ac] Bug #693: uid swapping issues on NCR MP-RAS. Patch from david.haughton at ncr.com - (dtucker) [configure.ac] Bug #659: uid swapping issues on IRIX 6. Part of patch supplied by bugzilla-openssh at thewrittenword.com - (dtucker) [configure.ac openbsd-compat/fake-rfc2553.c openbsd-compat/fake-rfc2553.h] Bug #659: Test for and handle systems with where gai_strerror is defined as "const char *". Part of patch supplied by bugzilla-openssh at thewrittenword.com - (dtucker) [contrib/cygwin/README contrib/cygwin/ssh-host-config] Update ssh-host-config to match current defaults, bump README version. Patch from vinschen at redhat.com. - (dtucker) [uidswap.c] Don't test restoration of uid on Cygwin since the OS does not support permanently dropping privileges. Patch from vinschen at redhat.com. - (dtucker) [openbsd-compat/port-aix.c] Use correct include for xmalloc.h, add canohost.h to stop warning. Based on patch from openssh-unix-dev at thewrittenword.com - (dtucker) [INSTALL] Bug #686: Document requirement for zlib 1.1.4 or higher. - (tim) Fix typo. s/SETEIUD_BREAKS_SETUID/SETEUID_BREAKS_SETUID/ - (tim) [configure.ac] Bug 665: move 3 new AC_DEFINES outside of AC_TRY_RUN. Report by distler AT golem ph utexas edu. - (dtucker) [contrib/aix/pam.conf] Include example pam.conf for AIX from article by genty at austin.ibm.com, included with the author's permission. - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/09/18 07:52:54 [sshconnect.c] missing {}; bug #656; jclonguet at free.fr - markus@cvs.openbsd.org 2003/09/18 07:54:48 [buffer.c] protect against double free; #660; zardoz at users.sf.net - markus@cvs.openbsd.org 2003/09/18 07:56:05 [authfile.c] missing buffer_free(&encrypted); #662; zardoz at users.sf.net - markus@cvs.openbsd.org 2003/09/18 08:49:45 [deattack.c misc.c session.c ssh-agent.c] more buffer allocation fixes; from Solar Designer; CAN-2003-0682; ok millert@ - miod@cvs.openbsd.org 2003/09/18 13:02:21 [authfd.c bufaux.c dh.c mac.c ssh-keygen.c] A few signedness fixes for harmless situations; markus@ ok - markus@cvs.openbsd.org 2003/09/19 09:02:02 [packet.c] buffer_dump only if PACKET_DEBUG is defined; Jedi/Sector One; pr 3471 - markus@cvs.openbsd.org 2003/09/19 09:03:00 [buffer.c] sign fix in buffer_dump; Jedi/Sector One; pr 3473 - markus@cvs.openbsd.org 2003/09/19 11:29:40 [ssh-agent.c] provide a ssh-agent specific fatal() function; ok deraadt - markus@cvs.openbsd.org 2003/09/19 11:30:39 [ssh-keyscan.c] avoid fatal_cleanup, just call exit(); ok deraadt - markus@cvs.openbsd.org 2003/09/19 11:31:33 [channels.c] do not call channel_free_all on fatal; ok deraadt - markus@cvs.openbsd.org 2003/09/19 11:33:09 [packet.c sshd.c] do not call packet_close on fatal; ok deraadt - markus@cvs.openbsd.org 2003/09/19 17:40:20 [scp.c] error handling for remote-remote copy; #638; report Harald Koenig; ok millert, fgs, henning, deraadt - markus@cvs.openbsd.org 2003/09/19 17:43:35 [clientloop.c sshtty.c sshtty.h] remove fatal callbacks from client code; ok deraadt - (bal) "extration" -> "extraction" in ssh-rand-helper.c; repoted by john on #unixhelp@efnet - (tim) [configure.ac] add --disable-etc-default-login option. ok djm - (djm) Sync with V_3_7 branch: - (djm) Fix SSH1 challenge kludge - (djm) Bug #671: Fix builds on OpenBSD - (djm) Bug #676: Fix PAM stack corruption - (djm) Fix bad free() in PAM code - (djm) Don't call pam_end before pam_init - (djm) Enable build with old OpenSSL again - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 20030919 - (djm) Bug #683: Remove reference to --with-ipv4-default from INSTALL; djast AT cs.toronto.edu - (djm) Bug #661: Remove duplicate check for basename; from bugzilla-openssh AT thewrittenword.com - (djm) Bug #641: Allow RedHat RPM building without GTK-2; Patch from jason AT devrandom.org - (djm) Bug #646: Fix location of x11-ssh-askpass; Jim - (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.h unless required. Reorder to reduce warnings. - (dtucker) [session.c] Bug #643: Fix size_t -> u_int and fix null deref when /etc/default/login doesn't exist or isn't readable. Fixes from jparsons-lists at saffron.net and georg.oppenberg at deu mci com. - (dtucker) [acconfig.h] Updated basename test needs HAVE_BASENAME 20030918 - (djm) Bug #652: Fix empty password auth 20030917 - (djm) Sync with V_3_7 branch - (djm) OpenBSD Sync - markus@cvs.openbsd.org 2003/09/16 21:02:40 [buffer.c channels.c version.h] more malloc/fatal fixes; ok millert/deraadt; ghudson at MIT.EDU - (djm) Crank RPM spec file versions - (tim) [openbsd-compat/inet_ntoa.c] 20030917 "Sync with V_3_7 branch" undid 20030916 "Missed dead header in inet_ntoa.c" 20030916 - (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it (eg Solaris, Reliant Unix). Patch from Robert.Dahlem at siemens.com. ok djm@ - (bal) OpenBSD Sync - deraadt@cvs.openbsd.org 2003/09/16 03:03:47 [buffer.c] do not expand buffer before attempting to reallocate it; markus ok - (tim) [configure.ac] Fix portability issues. - (bal) Missed dead header in inet_ntoa.c 20030914 - (dtucker) [Makefile regress/Makefile] Fix portability issues preventing the regression tests from running with Solaris' make. Patch from Brian Poole (raj at cerias.purdue.edu). - (dtucker) [regress/Makefile] AIX's make doesn't like " +=", so replace with vanilla "=". 20030913 - (dtucker) [regress/agent-timeout.sh] Timeout of 5 sec is borderline for slower hosts, increase to 10 sec. - (dtucker) [auth-passwd.c] On AIX, call setauthdb() before loginsuccess(), required to correctly reset failed login count when using a password registry other than "files" (eg LDAP, see bug #543). - (tim) [configure.ac] define WITH_ABBREV_NO_TTY for SCO. Report by Roger Cornelius. - (dtucker) [auth-pam.c] Use SSHD_PAM_SERVICE for PAM service name, patch from cjwatson at debian.org. 20030912 - (tim) [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then". - (tim) [Makefile.in] only mkdir regress if it does not exist. - (tim) [regress/yes-head.sh] shell portability fix. 20030911 - (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after the dirname test, to allow a broken dirname to be detected correctly. Based partially on patch supplied by alex.kiernan at thus.net. ok djm@ - (tim) [configure.ac] Move libgen tests to before libwrap to unbreak UnixWare 2.03 using --with-tcp-wrappers. - (tim) [configure.ac] Prefer setuid/setgid on UnixWare and Open Server. - (tim) [regress/agent-ptrace.sh regress/dynamic-forward.sh regress/sftp-cmds.sh regress/stderr-after-eof.sh regress/test-exec.sh] no longer depends on which(1). patch by dtucker@ 20030910 - (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine. Patch from wendyp at cray.com. - (dtucker) [configure.ac] Part of bug #615: tcsendbreak might be a macro. - (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have "yes". 20030909 - (tim) [regress/Makefile] Fixes for building outside of a read-only source tree. - (tim) [regress/agent-timeout.sh] s/TIMEOUT/SSHAGENT_TIMEOUT/ Fixes conflict with shell read-only variable. - (tim) [regress/sftp-badcmds.sh regress/sftp-cmds.sh] Fix errors like UX:rm: ERROR: Cannot remove '.' or '..' 20030908 - (tim) [configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and _getlong in #ifndef - (tim) [configure.ac acconfig.h openbsd-compat/getrrsetbyname.c] test for HEADER.ad in arpa/nameser.h - (tim) [ssh-keygen.c] s/PATH_MAX/MAXPATHLEN/ ok mouring@ 20030907 - (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)] Put "which" inside quotes. - (dtucker) [dynamic-forward.sh forwarding.sh sftp-batch.sh (all regress/)] Add ${EXEEXT}: required to work on Cygwin. - (dtucker) [regress/sftp-batch.sh] Make temporary batch file name more distinctive, so "rm ${BATCH}.*" doesn't match the script itself. - (dtucker) [regress/sftp-cmds.sh] Skip quoted file test on Cygwin. - (dtucker) [openbsd-compat/xcrypt.c] #elsif -> #elif - (dtucker) [acconfig.h] Typo. - (dtucker) [CREDITS Makefile.in configure.ac mdoc2man.awk mdoc2man.pl] Replace mdoc2man.pl with mdoc2man.awk, provided by Peter Stuge. 20030906 - (dtucker) [acconfig.h configure.ac uidswap.c] Prefer setuid/setgid on AIX. 20030905 - (dtucker) [Makefile.in] Add distclean target for regress/, fix clean target. 20030904 - (dtucker) Portablize regression tests. Parts contributed by Roumen Petrov, David M. Williams and Corinna Vinschen. - [Makefile.in] Add "make tests" target and "make clean" hooks. - [regress/agent-getpeereid.sh] Skip test on platforms that don't support getpeereid. - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or gdb cannot be found. - [regress/reconfigure/sh] Make path to sshd fully qualified if required. - [regress/rekey.sh] Remove dependence on /dev/zero (not all platforms have it). The sparse file will take less disk space too. - [regress/sftp-cmds.sh] Ensure files used for test are readable. - [regress/stderr-after-eof.sh] Search for a usable checksum program. - [regress/sftp-badcmds.sh regress/sftp-cmds.sh regress/sftp.sh regress/ssh-com-client.sh regress/ssh-com-sftp.sh regress/stderr-data.sh regress/transfer.sh] Use ${EXEEXT} where appropriate. - [regress/sftp.sh regress/ssh-com-sftp.sh] Remove dependency on /dev/stdin. - [regress/agent-ptrace.sh regress/agent-timeout.sh] "grep -q" -> "grep >/dev/null" - [regress/agent.sh regress/proto-version.sh regress/ssh-com.sh regress/test-exec.sh] Handle different ways of echoing without newlines. - [regress/dynamic-forward.sh] Some "which" programs output on stderr. - [regress/sftp-cmds.sh] Use portable "test" option. - [regress/test-exec.sh] Use sudo, search for "whoami" equivalent, always use Strictmodes no, wait longer for sshd startup. - [regress/Makefile] Remove BSDisms. - [regress/README.regress] Add a basic readme. - [Makefile.in regress/agent-getpeereid.sh] config.h is now in $BUILDDIR not $OBJ. - [Makefile.in regress/agent-ptrace] Fix minor regress issues on Cygwin. 20030903 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/08/26 09:58:43 [auth-passwd.c auth.c auth.h auth1.c auth2-none.c auth2-passwd.c] [auth2.c monitor.c] fix passwd auth for 'username leaks via timing'; with djm@, original patches from solar - markus@cvs.openbsd.org 2003/08/28 12:54:34 [auth.h] remove kerberos support from ssh1, since it has been replaced with GSSAPI; but keep kerberos passwd auth for ssh1 and 2; ok djm, hin, henning, ... - markus@cvs.openbsd.org 2003/09/02 16:40:29 [version.h] enter 3.7 - jmc@cvs.openbsd.org 2003/09/02 18:50:06 [sftp.1 ssh_config.5] escape punctuation; ok deraadt@ 20030902 - (djm) OpenBSD CVS Sync - deraadt@cvs.openbsd.org 2003/08/24 17:36:51 [auth2-gss.c] 64 bit cleanups; markus ok - markus@cvs.openbsd.org 2003/08/28 12:54:34 [auth-krb5.c auth.h auth1.c monitor.c monitor.h monitor_wrap.c] [monitor_wrap.h readconf.c servconf.c session.c ssh_config.5] [sshconnect1.c sshd.c sshd_config sshd_config.5] remove kerberos support from ssh1, since it has been replaced with GSSAPI; but keep kerberos passwd auth for ssh1 and 2; ok djm, hin, henning, ... - markus@cvs.openbsd.org 2003/08/29 10:03:15 [compat.c compat.h] SSH_BUG_K5USER is unused; ok henning@ - markus@cvs.openbsd.org 2003/08/29 10:04:36 [channels.c nchan.c] be less chatty; debug -> debug2, cleanup; ok henning@ - markus@cvs.openbsd.org 2003/08/31 10:26:04 [progressmeter.c] pass file_size + 1 to snprintf: fixes printing of truncated file names; fix based on patch/report from sturm@; - markus@cvs.openbsd.org 2003/08/31 12:14:22 [progressmeter.c] do write to buf[-1] - markus@cvs.openbsd.org 2003/08/31 13:29:05 [session.c] call ssh_gssapi_storecreds conditionally from do_exec(); with sxw@inf.ed.ac.uk - markus@cvs.openbsd.org 2003/08/31 13:30:18 [gss-serv.c] correct string termination in parse_ename(); sxw@inf.ed.ac.uk - markus@cvs.openbsd.org 2003/08/31 13:31:57 [gss-serv.c] whitspace KNF - markus@cvs.openbsd.org 2003/09/01 09:50:04 [sshd_config.5] gss kex is not supported; sxw@inf.ed.ac.uk - markus@cvs.openbsd.org 2003/09/01 12:50:46 [readconf.c] rm gssapidelegatecreds alias; never supported before - markus@cvs.openbsd.org 2003/09/01 13:52:18 [ssh.h] rm whitespace - markus@cvs.openbsd.org 2003/09/01 18:15:50 [readconf.c readconf.h servconf.c servconf.h ssh.c] remove unused kerberos code; ok henning@ - markus@cvs.openbsd.org 2003/09/01 20:44:54 [auth2-gss.c] fix leak - (djm) Don't initialise pam_conv structures inline. Avoids HP/UX compiler error. Part of Bug #423, patch from michael_steffens AT hp.com - (djm) Bug #423: reorder setting of PAM_TTY and calling of PAM session management (now done in do_setusercontext). Largely from michael_steffens AT hp.com - (djm) Fix openbsd-compat/ again - remove references to strl(cpy|cat).h 20030829 - (bal) openbsd-compat/ clean up. Considate headers, add in Id on our files, and added missing license to header. 20030826 - (djm) Bug #629: Mark ssh_config option "pamauthenticationviakbdint" as deprecated. Remove mention from README.privsep. Patch from aet AT cc.hut.fi - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/08/22 10:56:09 [auth2.c auth2-gss.c auth.h compat.c compat.h gss-genr.c gss-serv-krb5.c gss-serv.c monitor.c monitor.h monitor_wrap.c monitor_wrap.h readconf.c readconf.h servconf.c servconf.h session.c session.h ssh-gss.h ssh_config.5 sshconnect2.c sshd_config sshd_config.5] support GSS API user authentication; patches from Simon Wilkinson, stripped down and tested by Jakob and myself. - markus@cvs.openbsd.org 2003/08/22 13:20:03 [sshconnect2.c] remove support for "kerberos-2@ssh.com" - markus@cvs.openbsd.org 2003/08/22 13:22:27 [auth2.c] (auth2-krb5.c removed) nuke "kerberos-2@ssh.com" - markus@cvs.openbsd.org 2003/08/22 20:55:06 [LICENCE] add Simon Wilkinson - deraadt@cvs.openbsd.org 2003/08/24 17:36:52 [monitor.c monitor_wrap.c sshconnect2.c] 64 bit cleanups; markus ok - fgsch@cvs.openbsd.org 2003/08/25 08:13:09 [sftp-int.c] fix div by zero when listing for filename lengths longer than width. markus@ ok. - djm@cvs.openbsd.org 2003/08/25 10:33:33 [sshconnect2.c] fprintf->logit to silence login banner with "ssh -q"; ok markus@ - (dtucker) [Makefile.in acconfig.h auth-krb5.c auth-pam.c auth-pam.h configure.ac defines.h gss-serv-krb5.c session.c ssh-gss.h sshconnect1.c sshconnect2.c] Add Portable GSSAPI support, patch by Simon Wilkinson. - (dtucker) [Makefile.in] Remove auth2-krb5. - (dtucker) [contrib/aix/inventory.sh] Add public domain notice. ok mouring@ (the original author) - (dtucker) [auth.c] Do not check for locked accounts when PAM is enabled. 20030825 - (djm) Bug #621: Select OpenSC keys by usage attributes. Patch from larsch@trustcenter.de - (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications and minor fixes. OK djm@ - (bal) redo how we handle 'mysignal()'. Move it to openbsd-compat/bsd-misc.c, s/mysignal/signal/ and #define signal to be our 'mysignal' by default. OK djm@ - (dtucker) [acconfig.h auth.c configure.ac sshd.8] Bug #422 again: deny any access to locked accounts. ok djm@ - (djm) Bug #564: Perform PAM account checks for all authentications when UsePAM=yes; ok dtucker - (dtucker) [configure.ac] Bug #533, #551: define BROKEN_GETADDRINFO on Tru64, solves getnameinfo and "bad addr or host" errors. ok djm@ - (dtucker) [README buildbff.sh inventory.sh] (all in contrib/aix) Update package builder: correctly handle config variables, use lsuser rather than /etc/passwd, fix typos, add Id's. 20030822 - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal -lbroken; ok dtucker - (dtucker) [contrib/cygwin/ssh-user-config] Put keys in authorized_keys rather that authorized_keys2. Patch from vinschen@redhat.com. 20030821 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/08/14 16:08:58 [ssh-keygen.c] exit after primetest, ok djm@ - (dtucker) [defines.h] Put CMSG_DATA, CMSG_FIRSTHDR with other CMSG* macros, change CMSG_DATA to use __CMSG_ALIGN (and thus work properly), reformat for consistency. - (dtucker) [configure.ac] Move openpty/ctty test outside of case statement and after normal openpty test. 20030813 - (dtucker) [session.c] Remove #ifdef TIOCSBRK kludge. - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/08/13 08:33:02 [session.c] use more portable tcsendbreak(3) and ignore break_length; ok deraadt, millert - markus@cvs.openbsd.org 2003/08/13 08:46:31 [auth1.c readconf.c readconf.h servconf.c servconf.h ssh.c ssh_config ssh_config.5 sshconnect1.c sshd.8 sshd.c sshd_config sshd_config.5] remove RhostsAuthentication; suggested by djm@ before; ok djm@, deraadt@, fgsch@, miod@, henning@, jakob@ and others - markus@cvs.openbsd.org 2003/08/13 09:07:10 [readconf.c ssh.c] socks4->socks, since with support both 4 and 5; dtucker@zip.com.au - (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] Add a tcsendbreak function for platforms that don't have one, based on the one from OpenBSD. 20030811 - (dtucker) OpenBSD CVS Sync (thanks to Simon Wilkinson for help with this -dt) - markus@cvs.openbsd.org 2003/07/16 15:02:06 [auth-krb5.c] mcc -> fcc; from Love Hörnquist Åstrand otherwise the kerberos credentinal is stored in a memory cache in the privileged sshd. ok jabob@, hin@ (some time ago) - (dtucker) [openbsd-compat/xcrypt.c] Remove Cygwin #ifdef block (duplicate in bsd-cygwin_util.h). 20030808 - (dtucker) [openbsd-compat/fake-rfc2553.h] Older Linuxes have AI_PASSIVE and AI_CANONNAME in netdb.h but not AI_NUMERICHOST, so check each definition separately before defining them. - (dtucker) [auth-pam.c] Don't set PAM_TTY if tty is null. ok djm@ 20030807 - (dtucker) [session.c] Have session_break_req not attempt to send a break if TIOCSBRK and TIOCCBRK are not defined (eg Cygwin). - (dtucker) [canohost.c] Bug #336: Only check ip options if IP_OPTIONS is defined (fixes compile error on really old Linuxes). - (dtucker) [defines.h] Bug #336: Add CMSG_DATA and CMSG_FIRSTHDR macros if not already defined (eg Linux with some versions of libc5), based on those from OpenBSD. - (dtucker) [openbsd-compat/bsd-cygwin_util.c openbsd-compat/bsd-cygwin_util.h] Remove incorrect filenames from comments (file names are in Id tags). - (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin specific defines and includes to bsd-cygwin_util.h. Fixes build error too. 20030802 - (dtucker) [monitor.h monitor_wrap.h] Remove excess ident tags. - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/07/22 13:35:22 [auth1.c auth.h auth-passwd.c monitor.c monitor.h monitor_wrap.c monitor_wrap.h readconf.c readconf.h servconf.c servconf.h session.c ssh.1 ssh.c ssh_config.5 sshconnect1.c sshd.c sshd_config.5 ssh.h] remove (already disabled) KRB4/AFS support, re-enable -k in ssh(1); test+ok henning@ - (dtucker) [Makefile.in acconfig.h configure.ac] Remove KRB4/AFS support. - (dtucker) [auth-krb4.c radix.c radix.h] Remove KRB4/AFS specific files. - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/07/23 07:42:43 [sshd_config] remove AFS; itojun@ - djm@cvs.openbsd.org 2003/07/28 09:49:56 [ssh-keygen.1 ssh-keygen.c] Support for generating Diffie-Hellman groups (/etc/moduli) from ssh-keygen. Based on code from Phil Karn, William Allen Simpson and Niels Provos. ok markus@, thanks jmc@ - markus@cvs.openbsd.org 2003/07/29 18:24:00 [LICENCE progressmeter.c] replace 4 clause BSD licensed progressmeter code with a replacement from Nils Nordman and myself; ok deraadt@ (copied from OpenBSD an re-applied portable changes) - markus@cvs.openbsd.org 2003/07/29 18:26:46 [progressmeter.c] fix length for "- stalled -" (included with previous import) - markus@cvs.openbsd.org 2003/07/30 07:44:14 [progressmeter.c] use only 4 digits in format_size (included with previous import) - markus@cvs.openbsd.org 2003/07/30 07:53:27 [progressmeter.c] whitespace (included with previous import) - markus@cvs.openbsd.org 2003/07/31 09:21:02 [auth2-none.c] check whether passwd auth is allowd, similar to proto 1; rob@pitman.co.za ok henning - avsm@cvs.openbsd.org 2003/07/31 15:50:16 [atomicio.c] correct comment: atomicio takes vwrite, not write; deraadt@ ok - markus@cvs.openbsd.org 2003/07/31 22:34:03 [progressmeter.c] print rate similar old version; round instead truncate; (included in previous progressmeter.c commit) - (dtucker) [openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] Add a tcgetpgrp function. - (dtucker) [Makefile.in moduli.c moduli.h] Add new files and to Makefile. - (dtucker) [openbsd-compat/bsd-misc.c] Fix cut-and-paste bug in tcgetpgrp. 20030730 - (djm) [auth-pam.c] Don't use crappy APIs like sprintf. Thanks bal 20030726 - (dtucker) [openbsd-compat/xcrypt.c] Fix typo: DISABLED_SHADOW -> DISABLE_SHADOW. Fixes HP-UX compile error. 20030724 - (bal) [auth-passwd.c openbsd-compat/Makefile.in openbsd-compat/xcrypt.c openbsd-compat/xcrypt.h] Split off encryption into xcrypt() interface, and isolate shadow password functions. Tested in Solaris, but should not break other platforms too badly (except maybe HP =). Also brings auth-passwd.c into full sync with OpenBSD tree. 20030723 - (dtucker) [configure.ac] Back out change for bug #620. 20030719 - (dtucker) [configure.ac] Bug #620: Define BROKEN_GETADDRINFO for Solaris/x86. Patch from jrhett at isite.net. - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/07/14 12:36:37 [sshd.c] remove undocumented -V option. would be only useful if openssh is used as ssh v1 server for ssh.com's ssh v2. - markus@cvs.openbsd.org 2003/07/16 10:34:53 [ssh.c sshd.c] don't exit on multiple -v or -d; ok deraadt@ - markus@cvs.openbsd.org 2003/07/16 10:36:28 [sshtty.c] clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@ - deraadt@cvs.openbsd.org 2003/07/18 01:54:25 [scp.c] userid is unsigned, but well, force it anyways; andrushock@korovino.net - djm@cvs.openbsd.org 2003/07/19 00:45:53 [sftp-int.c] fix sftp filename parsing for arguments with escaped quotes. bz #517; ok markus - djm@cvs.openbsd.org 2003/07/19 00:46:31 [regress/sftp-cmds.sh] regress test for sftp arguments with escaped quotes; ok markus 20030714 - (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare loginfailed at all, so assume 3-arg loginfailed if not declared. - (dtucker) [port-aix.h] Work around name collision on AIX for r_type by undef'ing it. - (dtucker) Bug #543: [configure.ac port-aix.c port-aix.h] Call setauthdb() before loginfailed(), which may load password registry- specific functions. Based on patch by cawlfiel at us.ibm.com. - (dtucker) [port-aix.h] Fix prototypes. - (dtucker) OpenBSD CVS Sync - avsm@cvs.openbsd.org 2003/07/09 13:58:19 [key.c] minor tweak: when generating the hex fingerprint, give strlcat the full bound to the buffer, and add a comment below explaining why the zero-termination is one less than the bound. markus@ ok - markus@cvs.openbsd.org 2003/07/10 14:42:28 [packet.c] the 2^(blocksize*2) rekeying limit is too expensive for 3DES, blowfish, etc, so enforce a 1GB limit for small blocksizes. - markus@cvs.openbsd.org 2003/07/10 20:05:55 [sftp.c] sync usage with manpage, add missing -R 20030708 - (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]] Include AIX headers for authentication functions and make calls match prototypes. Test for and handle 3-arg and 4-arg variants of loginfailed. - (dtucker) [session.c] Check return value of setpcred(). - (dtucker) [auth-passwd.c auth.c session.c sshd.c port-aix.c port-aix.h] Convert aixloginmsg into platform-independant Buffer loginmsg. 20030707 - (dtucker) [configure.ac] Bug #600: Check that getrusage is declared before searching libraries for it. Fixes build errors on NCR MP-RAS. 20030706 - (dtucker) [ssh-rand-helper.c loginrec.c] Apply atomicio typing change to these too. 20030703 - (dtucker) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/06/28 07:48:10 [sshd.c] report pidfile creation errors, based on patch from Roumen Petrov; ok markus@ - deraadt@cvs.openbsd.org 2003/06/28 16:23:06 [atomicio.c atomicio.h authfd.c clientloop.c monitor_wrap.c msg.c progressmeter.c scp.c sftp-client.c ssh-keyscan.c ssh.h sshconnect.c sshd.c] deal with typing of write vs read in atomicio - markus@cvs.openbsd.org 2003/06/29 12:44:38 [sshconnect.c] memset 0, not \0; andrushock@korovino.net - markus@cvs.openbsd.org 2003/07/02 12:56:34 [channels.c] deny dynamic forwarding with -R for v1, too; ok djm@ - markus@cvs.openbsd.org 2003/07/02 14:51:16 [channels.c ssh.1 ssh_config.5] (re)add socks5 suppport to -D; ok djm@ now ssh(1) can act both as a socks 4 and socks 5 server and dynamically forward ports. - markus@cvs.openbsd.org 2003/07/02 20:37:48 [ssh.c] convert hostkeyalias to lowercase, otherwise uppercase aliases will not match at all; ok henning@ - markus@cvs.openbsd.org 2003/07/03 08:21:46 [regress/dynamic-forward.sh] add socks5; speedup; reformat; based on patch from dtucker@zip.com.au - markus@cvs.openbsd.org 2003/07/03 08:24:13 [regress/Makefile] enable tests for dynamic fwd via socks (-D), uses nc(1) - djm@cvs.openbsd.org 2003/07/03 08:09:06 [readconf.c readconf.h ssh-keysign.c ssh.c] fix AddressFamily option in config file, from brent@graveland.net; ok markus@ 20030630 - (djm) Search for support functions necessary to build our getrrsetbyname() replacement. Patch from Roumen Petrov 20030629 - (dtucker) [includes.h] Bug #602: move #include of netdb.h to after in.h (fixes compiler warnings on Solaris 2.5.1). - (dtucker) [configure.ac] Add sanity test after system-dependant compiler flag modifications. 20030628 - (djm) Bug #591: use PKCS#15 private key label as a comment in case of OpenSC. Report and patch from larsch@trustcenter.de - (djm) Bug #593: Sanity check OpenSC card reader number; patch from aj@dungeon.inka.de - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/06/23 09:02:44 [ssh_config.5] document EnableSSHKeysign; bugzilla #599; ok deraadt@, jmc@ - markus@cvs.openbsd.org 2003/06/24 08:23:46 [auth2-hostbased.c auth2-pubkey.c auth2.c channels.c key.c key.h monitor.c packet.c packet.h serverloop.c sshconnect2.c sshd.c] int -> u_int; ok djm@, deraadt@, mouring@ - miod@cvs.openbsd.org 2003/06/25 22:39:36 [sftp-server.c] Typo police: attribute is better written with an 'r'. - markus@cvs.openbsd.org 2003/06/26 20:08:33 [readconf.c] do not dump core for 'ssh -o proxycommand host'; ok deraadt@ - (dtucker) [regress/dynamic-forward.sh] Import new regression test. - (dtucker) [configure.ac] Bug #570: Have ./configure --enable-FEATURE actually enable the feature, for those normally disabled. Patch by openssh (at) roumenpetrov.info. 20030624 - (dtucker) Have configure refer the user to config.log and contrib/findssl.sh for OpenSSL header/library mismatches. 20030622 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/06/21 09:14:05 [regress/reconfigure.sh] missing $SUDO; from dtucker@zip.com.au - markus@cvs.openbsd.org 2003/06/18 11:28:11 [ssh-rsa.c] backout last change, since it violates pkcs#1 switch to share/misc/license.template - djm@cvs.openbsd.org 2003/06/20 05:47:58 [sshd_config.5] sync description of protocol 2 cipher proposal; ok markus - djm@cvs.openbsd.org 2003/06/20 05:48:21 [sshd_config] sync some implemented options; ok markus@ - (dtucker) [regress/authorized_keys_root] Remove temp data file from CVS. - (dtucker) [openbsd-compat/setproctitle.c] Ensure SPT_TYPE is defined before testing its value. 20030618 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/06/12 07:57:38 [monitor.c sshlogin.c sshpty.c] typos; dtucker at zip.com.au - djm@cvs.openbsd.org 2003/06/12 12:22:47 [LICENCE] mention more copyright holders; ok markus@ - nino@cvs.openbsd.org 2003/06/12 15:34:09 [scp.c] Typo. Ok markus@. - markus@cvs.openbsd.org 2003/06/12 19:12:03 [scard.c scard.h ssh-agent.c ssh.c] add sc_get_key_label; larsch at trustcenter.de; bugzilla#591 - markus@cvs.openbsd.org 2003/06/16 08:22:35 [ssh-rsa.c] make sure the signature has at least the expected length (don't insist on len == hlen + oidlen, since this breaks some smartcards) bugzilla #592; ok djm@ - markus@cvs.openbsd.org 2003/06/16 10:22:45 [ssh-add.c] print out key comment on each prompt; make ssh-askpass more useable; ok djm@ - markus@cvs.openbsd.org 2003/06/17 18:14:23 [cipher-ctr.c] use license from /usr/share/misc/license.template for new code - (dtucker) [reconfigure.sh rekey.sh sftp-badcmds.sh] Import new regression tests from OpenBSD - (dtucker) [regress/copy.1 regress/copy.2] Remove temp data files from CVS. - (dtucker) OpenBSD CVS Sync (regress/) - markus@cvs.openbsd.org 2003/04/02 12:21:13 [Makefile] enable rekey test - djm@cvs.openbsd.org 2003/04/04 09:34:22 [Makefile sftp-cmds.sh] More regression tests, including recent directory rename bug; ok markus@ - markus@cvs.openbsd.org 2003/05/14 22:08:27 [ssh-com-client.sh ssh-com-keygen.sh ssh-com-sftp.sh ssh-com.sh] test against some new commerical versions - mouring@cvs.openbsd.org 2003/05/15 04:07:12 [sftp-cmds.sh] Advanced put/get testing for sftp. OK @djm - markus@cvs.openbsd.org 2003/06/12 15:40:01 [try-ciphers.sh] add ctr - markus@cvs.openbsd.org 2003/06/12 15:43:32 [Makefile] test -HUP; dtucker at zip.com.au 20030614 - (djm) Update license on fake-rfc2553.[ch]; ok itojun@ 20030611 - (djm) Mention portable copyright holders in LICENSE - (djm) Put licenses on substantial header files - (djm) Sync LICENSE against OpenBSD - (djm) OpenBSD CVS Sync - jmc@cvs.openbsd.org 2003/06/10 09:12:11 [scp.1 sftp-server.8 ssh.1 ssh-add.1 ssh-agent.1 ssh_config.5] [sshd.8 sshd_config.5 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8] - section reorder - COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ - deraadt@cvs.openbsd.org 2003/06/10 22:20:52 [packet.c progressmeter.c] mostly ansi cleanup; pval ok - jakob@cvs.openbsd.org 2003/06/11 10:16:16 [sshconnect.c] clean up check_host_key() and improve SSHFP feedback. ok markus@ - jakob@cvs.openbsd.org 2003/06/11 10:18:47 [dns.c] sync with check_host_key() change - djm@cvs.openbsd.org 2003/06/11 11:18:38 [authfd.c authfd.h ssh-add.c ssh-agent.c] make agent constraints (lifetime, confirm) work with smartcard keys; ok markus@ 20030609 - (djm) Sync README.smartcard with OpenBSD -current - (djm) Re-merge OpenSC info into README.smartcard 20030606 - (dtucker) [uidswap.c] Fix setreuid and add missing args to fatal(). ok djm@ 20030605 - (djm) Support AI_NUMERICHOST in fake-getaddrinfo.c. Needed for recent canohost.c changes. - (djm) Implement paranoid priv dropping checks, based on: "SetUID demystified" - Hao Chen, David Wagner and Drew Dean Proceedings of USENIX Security Symposium 2002 - (djm) Don't use xmalloc() or pull in toplevel headers in fake-* code - (djm) Merge all the openbsd/fake-* into fake-rfc2553.[ch] - (djm) Bug #588 - Add scard-opensc.o back to Makefile.in Patch from larsch@trustcenter.de - (djm) Bug #589 - scard-opensc: load only keys with a private keys Patch from larsch@trustcenter.de - (dtucker) Add includes.h to fake-rfc2553.c so it will build. - (dtucker) Define EAI_NONAME in fake-rfc2553.h (used by fake-rfc2553.c). 20030604 - (djm) Bug #573 - Remove unneeded Krb headers and compat goop. Patch from simon@sxw.org.uk (Also matches a change in OpenBSD a while ago) - (djm) Bug #577 - wrong flag in scard-opensc.c sc_private_decrypt. Patch from larsch@trustcenter.de; ok markus@ - (djm) Bug #584: scard-opensc.c doesn't work without PIN. Patch from larsch@trustcenter.de; ok markus@ - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/06/04 08:25:18 [sshconnect.c] disable challenge/response and keyboard-interactive auth methods upon hostkey mismatch. based on patch from fcusack AT fcusack.com. bz #580; ok markus@ - djm@cvs.openbsd.org 2003/06/04 10:23:48 [sshd.c] remove duplicated group-dropping code; ok markus@ - djm@cvs.openbsd.org 2003/06/04 12:03:59 [serverloop.c] remove bitrotten commet; ok markus@ - djm@cvs.openbsd.org 2003/06/04 12:18:49 [scp.c] ansify; ok markus@ - djm@cvs.openbsd.org 2003/06/04 12:40:39 [scp.c] kill ssh process upon receipt of signal, bz #241. based on patch from esb AT hawaii.edu; ok markus@ - djm@cvs.openbsd.org 2003/06/04 12:41:22 [sftp.c] kill ssh process on receipt of signal; ok markus@ - (djm) Update to fix of bug #584: lock card before return. From larsch@trustcenter.de - (djm) Always use mysignal() for SIGALRM 20030603 - (djm) Replace setproctitle replacement with code derived from UCB sendmail - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/06/02 09:17:34 [auth2-hostbased.c auth.c auth-options.c auth-rhosts.c auth-rh-rsa.c] [canohost.c monitor.c servconf.c servconf.h session.c sshd_config] [sshd_config.5] deprecate VerifyReverseMapping since it's dangerous if combined with IP based access control as noted by Mike Harding; replace with a UseDNS option, UseDNS is on by default and includes the VerifyReverseMapping check; with itojun@, provos@, jakob@ and deraadt@ ok deraadt@, djm@ - millert@cvs.openbsd.org 2003/06/03 02:56:16 [scp.c] Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo. - (djm) Fix portable-specific uses of verify_reverse_mapping too - (djm) Sync openbsd-compat with OpenBSD CVS. - No more 4-term BSD licenses in linked code - (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping. 20030602 - (djm) Fix segv from bad reordering in auth-pam.c - (djm) Always use saved_argv in sshd.c as compat_init_setproctitle may clobber - (tim) openbsd-compat/xmmap.[ch] License clarifications. Add missing CVS ID. - (djm) Remove "noip6" option from RedHat spec file. This may now be set at runtime using AddressFamily option. - (djm) Fix use of macro before #define in cipher-aes.c - (djm) Sync license on openbsd-compat/bindresvport.c with OpenBSD CVS - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/05/26 12:54:40 [sshconnect.c] fix format strings; ok markus@ - deraadt@cvs.openbsd.org 2003/05/29 16:58:45 [sshd.c uidswap.c] seteuid and setegid; markus ok - jakob@cvs.openbsd.org 2003/06/02 08:31:10 [ssh_config.5] VerifyHostKeyDNS is v2 only. ok markus@ 20030530 - (dtucker) Add missing semicolon in md5crypt.c, patch from openssh at roumenpetrov.info - (dtucker) Define SSHD_ACQUIRES_CTTY for NCR MP-RAS and Reliant Unix. 20030526 - (djm) Avoid auth2-chall.c warning when compiling without PAM, BSD_AUTH and SKEY 20030525 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/05/24 09:02:22 [log.c] pass logged data through strnvis; ok markus - djm@cvs.openbsd.org 2003/05/24 09:30:40 [authfile.c monitor.c sftp-common.c sshpty.c] cast some types for printing; ok markus@ 20030524 - (dtucker) Correct --osfsia in INSTALL. Patch by skeleten at shillest.net 20030523 - (djm) Use VIS_SAFE on logged strings rather than default strnvis encoding (which encodes many more characters) - OpenBSD CVS Sync - jmc@cvs.openbsd.org 2003/05/20 12:03:35 [sftp.1] - new sentence, new line - added .Xr's - typos ok djm@ - jmc@cvs.openbsd.org 2003/05/20 12:09:31 [ssh.1 ssh_config.5 sshd.8 sshd_config.5 ssh-keygen.1] new sentence, new line - djm@cvs.openbsd.org 2003/05/23 08:29:30 [sshconnect.c] fix leak; ok markus@ 20030520 - (djm) OpenBSD CVS Sync - deraadt@cvs.openbsd.org 2003/05/18 23:22:01 [log.c] use syslog_r() in a signal handler called place; markus ok - (djm) Configure logic to detect syslog_r and friends 20030519 - (djm) Sync auth-pam.h with what we actually implement 20030518 - (djm) Return of the dreaded PAM_TTY_KLUDGE, which went missing in recent merge - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/05/16 03:27:12 [readconf.c ssh_config ssh_config.5 ssh-keysign.c] add AddressFamily option to ssh_config (like -4, -6 on commandline). Portable bug #534; ok markus@ - itojun@cvs.openbsd.org 2003/05/17 03:25:58 [auth-rhosts.c] just in case, put numbers to sscanf %s arg. - markus@cvs.openbsd.org 2003/05/17 04:27:52 [cipher.c cipher-ctr.c myproposal.h] experimental support for aes-ctr modes from http://www.ietf.org/internet-drafts/draft-ietf-secsh-newmodes-00.txt ok djm@ - (djm) Remove IPv4 by default hack now that we can specify AF in config - (djm) Tidy and trim TODO - (djm) Sync openbsd-compat/ with OpenBSD CVS head - (djm) Big KNF on openbsd-compat/ - (djm) KNF on md5crypt.[ch] - (djm) KNF on auth-sia.[ch] 20030517 - (bal) strcat -> strlcat on openbsd-compat/realpath.c (rev 1.8 OpenBSD) 20030516 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/05/15 13:52:10 [ssh.c] Make "ssh -V" print the OpenSSL version in a human readable form. Patch from Craig Leres (mindrot at ee.lbl.gov); ok markus@ - jakob@cvs.openbsd.org 2003/05/15 14:02:47 [readconf.c servconf.c] warn for unsupported config option. ok markus@ - markus@cvs.openbsd.org 2003/05/15 14:09:21 [auth2-krb5.c] fix 64bit issue; report itojun@ - djm@cvs.openbsd.org 2003/05/15 14:55:25 [readconf.c readconf.h ssh_config ssh_config.5 sshconnect.c] add a ConnectTimeout option to ssh, based on patch from Jean-Charles Longuet (jclonguet at free.fr); portable #207 ok markus@ - (djm) Add warning for UsePAM when built without PAM support - (djm) A few type mismatch fixes from Bug #565 - (djm) Guard free_pam_environment against NULL argument. Works around HP/UX PAM problems debugged by dtucker 20030515 - (djm) OpenBSD CVS Sync - jmc@cvs.openbsd.org 2003/05/14 13:11:56 [ssh-agent.1] setup -> set up; from wiz@netbsd - jakob@cvs.openbsd.org 2003/05/14 18:16:20 [key.c key.h readconf.c readconf.h ssh_config.5 sshconnect.c] [dns.c dns.h README.dns ssh-keygen.1 ssh-keygen.c] add experimental support for verifying hos keys using DNS as described in draft-ietf-secsh-dns-xx.txt. more information in README.dns. ok markus@ and henning@ - markus@cvs.openbsd.org 2003/05/14 22:24:42 [clientloop.c session.c ssh.1] allow to send a BREAK to the remote system; ok various - markus@cvs.openbsd.org 2003/05/15 00:28:28 [sshconnect2.c] cleanup unregister of per-method packet handlers; ok djm@ - jakob@cvs.openbsd.org 2003/05/15 01:48:10 [readconf.c readconf.h servconf.c servconf.h] always parse kerberos options. ok djm@ markus@ - jakob@cvs.openbsd.org 2003/05/15 02:27:15 [dns.c] add missing freerrset - markus@cvs.openbsd.org 2003/05/15 03:08:29 [cipher.c cipher-bf1.c cipher-aes.c cipher-3des1.c] split out custom EVP ciphers - djm@cvs.openbsd.org 2003/05/15 03:10:52 [ssh-keygen.c] avoid warning; ok jakob@ - mouring@cvs.openbsd.org 2003/05/15 03:39:07 [sftp-int.c] Make put/get (globed and nonglobed) code more consistant. OK djm@ - mouring@cvs.openbsd.org 2003/05/15 03:43:59 [sftp-int.c sftp.c] Teach ls how to display multiple column display and allow users to return to single column format via 'ls -1'. OK @djm - jakob@cvs.openbsd.org 2003/05/15 04:08:44 [readconf.c servconf.c] disable kerberos when not supported. ok markus@ - markus@cvs.openbsd.org 2003/05/15 04:08:41 [ssh.1] ~B is ssh2 only - (djm) Always parse UsePAM - (djm) Configure glue for DNS support (code doesn't work in portable yet) - (djm) Import getrrsetbyname() function from OpenBSD libc (for DNS support) - (djm) Tidy Makefile clean targets - (djm) Adapt README.dns for portable - (djm) Avoid uuencode.c warnings - (djm) Enable UsePAM when built --with-pam - (djm) Only build getrrsetbyname replacement when using --with-dns - (djm) Bug #529: sshd doesn't work correctly after SIGHUP (copy argv correctly) - (djm) Bug #444: Wrong paths after reconfigure - (dtucker) HP-UX needs to include for TIOCSBRK 20030514 - (djm) Bug #117: Don't lie to PAM about username - (djm) RCSID sync w/ OpenBSD - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/04/09 12:00:37 [readconf.c] strip trailing whitespace from config lines before parsing. Fixes bz 528; ok markus@ - markus@cvs.openbsd.org 2003/04/12 10:13:57 [cipher.c] hide cipher details; ok djm@ - markus@cvs.openbsd.org 2003/04/12 10:15:36 [misc.c] debug->debug2 - naddy@cvs.openbsd.org 2003/04/12 11:40:15 [ssh.1] document -V switch, fix wording; ok markus@ - markus@cvs.openbsd.org 2003/04/14 14:17:50 [channels.c sshconnect.c sshd.c ssh-keyscan.c] avoid hardcoded SOCK_xx; with itojun@; should allow ssh over SCTP - mouring@cvs.openbsd.org 2003/04/14 21:31:27 [sftp-int.c] Missing globfree(&g) in process_put() spotted by Vince Brimhall . ok@ Theo - markus@cvs.openbsd.org 2003/04/16 14:35:27 [auth.h] document struct Authctxt; with solar - deraadt@cvs.openbsd.org 2003/04/26 04:29:49 [ssh-keyscan.c] -t in usage(); rogier@quaak.org - mouring@cvs.openbsd.org 2003/04/30 01:16:20 [sshd.8 sshd_config.5] Escape ?, * and ! in .Ql for nroff compatibility. OpenSSH Portable Bug #550 and * escaping suggested by jmc@. - david@cvs.openbsd.org 2003/04/30 20:41:07 [sshd.8] fix invalid .Pf macro usage introduced in previous commit ok jmc@ mouring@ - markus@cvs.openbsd.org 2003/05/11 16:56:48 [authfile.c ssh-keygen.c] change key_load_public to try to read a public from: rsa1 private or rsa1 public and ssh2 keys. this makes ssh-keygen -e fail for ssh1 keys more gracefully for example; report from itojun (netbsd pr 20550). - markus@cvs.openbsd.org 2003/05/11 20:30:25 [channels.c clientloop.c serverloop.c session.c ssh.c] make channel_new() strdup the 'remote_name' (not the caller); ok theo - markus@cvs.openbsd.org 2003/05/12 16:55:37 [sshconnect2.c] for pubkey authentication try the user keys in the following order: 1. agent keys that are found in the config file 2. other agent keys 3. keys that are only listed in the config file this helps when an agent has many keys, where the server might close the connection before the correct key is used. report & ok pb@ - markus@cvs.openbsd.org 2003/05/12 18:35:18 [ssh-keyscan.1] typo: DSA keys are of type ssh-dss; Brian Poole - markus@cvs.openbsd.org 2003/05/14 00:52:59 [ssh2.h] ranges for per auth method messages - djm@cvs.openbsd.org 2003/05/14 01:00:44 [sftp.1] emphasise the batchmode functionality and make reference to pubkey auth, both of which are FAQs; ok markus@ - markus@cvs.openbsd.org 2003/05/14 02:15:47 [auth2.c monitor.c sshconnect2.c auth2-krb5.c] implement kerberos over ssh2 ("kerberos-2@ssh.com"); tested with jakob@ server interops with commercial client; ok jakob@ djm@ - jmc@cvs.openbsd.org 2003/05/14 08:25:39 [sftp.1] - better formatting in SYNOPSIS - whitespace at EOL ok djm@ - markus@cvs.openbsd.org 2003/05/14 08:57:49 [monitor.c] http://bugzilla.mindrot.org/show_bug.cgi?id=560 Privsep child continues to run after monitor killed. Pass monitor signals through to child; Darren Tucker - (djm) Make portable build with MIT krb5 (some issues remain) - (djm) Add new UsePAM configuration directive to allow runtime control over usage of PAM. This allows non-root use of sshd when built with --with-pam - (djm) Die screaming if start_pam() is called when UsePAM=no - (djm) Avoid KrbV leak for MIT Kerberos - (dtucker) Set ai_socktype and ai_protocol in fake-getaddrinfo.c. ok djm@ - (djm) Bug #258: sscanf("[0-9]") -> sscanf("[0123456789]") for portability 20030512 - (djm) Redhat spec: Don't install profile.d scripts when not building with GNOME/GTK askpass (patch from bet@rahul.net) 20030510 - (dtucker) Bug #318: Create ssh_prng_cmds.out during "make" rather than "make install". Patch by roth@feep.net. - (dtucker) Bug #536: Test for and work around openpty/controlling tty problem on Linux (fixes "could not set controlling tty" errors). - (djm) Merge FreeBSD PAM code: replaces PAM password auth kludge with proper challenge-response module - (djm) 2-clause license on loginrec.c, with permission from andre@ae-35.com 20030504 - (dtucker) Bug #497: Move #include of bsd-cygwin_util.h to openbsd-compat.h. Patch from vinschen@redhat.com. 20030503 - (dtucker) Add missing "void" to record_failed_login in bsd-cray.c. Noted by wendyp@cray.com. 20030502 - (dtucker) Bug #544: ignore invalid cmsg_type on Linux 2.0 kernels, privsep should now work. - (dtucker) Move handling of bad password authentications into a platform specific record_failed_login() function (affects AIX & Unicos). ok mouring@ 20030429 - (djm) Add back radix.o (used by AFS support), after it went missing from Makefile many moons ago - (djm) Apply "owl-always-auth" patch from Openwall/Solar Designer - (djm) Fix blibpath specification for AIX/gcc - (djm) Some systems have basename in -lgen. Fix from ayamura@ayamura.org 20030428 - (bal) [defines.h progressmeter.c scp.c] Some more culling of non 64bit hacked code. 20030427 - (bal) Bug #541: return; was dropped by mistake. Reported by furrier@iglou.com - (bal) Since we don't support platforms lacking u_int_64. We may as well clean out some of those evil #ifdefs - (bal) auth1.c minor resync while looking at the code. - (bal) auth2.c same changed as above. 20030409 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report from matth@eecs.berkeley.edu - (djm) Make the spec work with Redhat 9.0 (which renames sharutils) - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/04/02 09:48:07 [clientloop.c monitor.c monitor_wrap.c packet.c packet.h readconf.c] [readconf.h serverloop.c sshconnect2.c] reapply rekeying chage, tested by henning@, ok djm@ - markus@cvs.openbsd.org 2003/04/02 14:36:26 [ssh-keysign.c] potential segfault if KEY_UNSPEC; cjwatson@debian.org; bug #526 - itojun@cvs.openbsd.org 2003/04/03 07:25:27 [progressmeter.c] $OpenBSD$ - itojun@cvs.openbsd.org 2003/04/03 10:17:35 [progressmeter.c] remove $OpenBSD$, as other *.c does not have it. - markus@cvs.openbsd.org 2003/04/07 08:29:57 [monitor_wrap.c] typo: get correct counters; introduced during rekeying change. - millert@cvs.openbsd.org 2003/04/07 21:58:05 [progressmeter.c] The UCB copyright here is incorrect. This code did not originate at UCB, it was written by Luke Mewburn. Updated the copyright at the author's request. markus@ OK - itojun@cvs.openbsd.org 2003/04/08 20:21:29 [*.c *.h] rename log() into logit() to avoid name conflict. markus ok, from netbsd - (djm) XXX - Performed locally using: "perl -p -i -e 's/(\s|^)log\(/$1logit\(/g' *.c *.h" - hin@cvs.openbsd.org 2003/04/09 08:23:52 [servconf.c] Don't include when compiling with Kerberos 5 support - (djm) Fix up missing include for packet.c - (djm) Fix missed log => logit occurance (reference by function pointer) 20030402 - (bal) if IP_TOS is not found or broken don't try to compile in packet_set_tos() function call. bug #527 20030401 - (djm) OpenBSD CVS Sync - jmc@cvs.openbsd.org 2003/03/28 10:11:43 [scp.1 sftp.1 ssh.1 ssh-add.1 ssh-agent.1 ssh_config.5 sshd_config.5] [ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8] - killed whitespace - new sentence new line - .Bk for arguments ok markus@ - markus@cvs.openbsd.org 2003/04/01 10:10:23 [clientloop.c monitor.c monitor_wrap.c packet.c packet.h readconf.c] [readconf.h serverloop.c sshconnect2.c] rekeying bugfixes and automatic rekeying: * both client and server rekey _automatically_ (a) after 2^31 packets, because after 2^32 packets the sequence number for packets wraps (b) after 2^(blocksize_in_bits/4) blocks (see: draft-ietf-secsh-newmodes-00.txt) (a) and (b) are _enabled_ by default, and only disabled for known openssh versions, that don't support rekeying properly. * client option 'RekeyLimit' * do not reply to requests during rekeying - markus@cvs.openbsd.org 2003/04/01 10:22:21 [clientloop.c monitor.c monitor_wrap.c packet.c packet.h readconf.c] [readconf.h serverloop.c sshconnect2.c] backout rekeying changes (for 3.6.1) - markus@cvs.openbsd.org 2003/04/01 10:31:26 [compat.c compat.h kex.c] bugfix causes stalled connections for ssh.com < 3.0; noticed by ho@; tested by ho@ and myself - markus@cvs.openbsd.org 2003/04/01 10:56:46 [version.h] 3.6.1 - (djm) Crank spec file versions - (djm) Release 3.6.1p1 20030326 - (djm) OpenBSD CVS Sync - deraadt@cvs.openbsd.org 2003/03/26 04:02:51 [sftp-server.c] one last fix to the tree: race fix broke stuff; pr 3169; srp@srparish.net, help from djm 20030325 - (djm) Fix getpeerid support for 64 bit BE systems. From Arnd Bergmann 20030324 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2003/03/23 19:02:00 [monitor.c] unbreak rekeying for privsep; ok millert@ - Release 3.6p1 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au $Id: ChangeLog,v 1.3255 2004/02/24 05:14:41 dtucker Exp $