- (djm) [openbsd-compat/port-linux.c] Check whether SELinux is enabled
[openssh-git.git] / ChangeLog
bloba69ed9fdeee9bc0bc7702bdc13b7837ba8fb6359
1 20110128
2  - (djm) [openbsd-compat/port-linux.c] Check whether SELinux is enabled
3    before attempting setfscreatecon(). Check whether matchpathcon()
4    succeeded before using its result. Patch from cjwatson AT debian.org;
5    bz#1851
7 20110127
8  - (tim) [config.guess config.sub] Sync with upstream.
9  - (tim) [configure.ac] Consistent M4 quoting throughout, updated obsolete
10    AC_TRY_COMPILE with AC_COMPILE_IFELSE, updated obsolete AC_TRY_LINK with
11    AC_LINK_IFELSE, updated obsolete AC_TRY_RUN with AC_RUN_IFELSE, misc white
12    space changes for consistency/readability. Makes autoconf 2.68 happy.
13    "Nice work" djm
15 20110125
16  - (djm) [configure.ac Makefile.in ssh.c openbsd-compat/port-linux.c
17    openbsd-compat/port-linux.h] Move SELinux-specific code from ssh.c to
18    port-linux.c to avoid compilation errors. Add -lselinux to ssh when
19    building with SELinux support to avoid linking failure; report from
20    amk AT spamfence.net; ok dtucker
22 20110122
23  - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}] Add
24    RSA_get_default_method() for the benefit of openssl versions that don't
25    have it (at least openssl-engine-0.9.6b).  Found and tested by Kevin Brott,
26    ok djm@.
27  - OpenBSD CVS Sync
28    - djm@cvs.openbsd.org 2011/01/22 09:18:53
29      [version.h]
30      crank to OpenSSH-5.7
31  - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
32    [contrib/suse/openssh.spec] update versions in docs and spec files.
33  - (djm) Release 5.7p1
35 20110119
36  - (tim) [contrib/caldera/openssh.spec] Use CFLAGS from Makefile instead
37    of RPM so build completes. Signatures were changed to .asc since 4.1p1.
38  - (djm) [configure.ac] Disable ECC on OpenSSL <0.9.8g. Releases prior to
39    0.9.8 lacked it, and 0.9.8a through 0.9.8d have proven buggy in pre-
40    release testing (random crashes and failure to load ECC keys).
41    ok dtucker@
43 20110117
44  - (djm) [regress/Makefile] use $TEST_SSH_KEYGEN instead of the one in
45    $PATH, fix cleanup of droppings; reported by openssh AT
46    roumenpetrov.info; ok dtucker@
47  - (djm) [regress/agent-ptrace.sh] Fix false failure on OS X by adding
48    its unique snowflake of a gdb error to the ones we look for.
49  - (djm) [regress/agent-getpeereid.sh] leave stdout attached when running
50    ssh-add to avoid $SUDO failures on Linux
51  - (dtucker) [openbsd-compat/port-linux.c] Bug #1838: Add support for the new
52    Linux OOM-killer magic values that changed in 2.6.36 kernels, with fallback
53    to the old values.  Feedback from vapier at gentoo org and djm, ok djm.
54  - (djm) [configure.ac regress/agent-getpeereid.sh regress/multiplex.sh]
55    [regress/sftp-glob.sh regress/test-exec.sh] Rework how feature tests are
56    disabled on platforms that do not support them; add a "config_defined()"
57    shell function that greps for defines in config.h and use them to decide
58    on feature tests.
59    Convert a couple of existing grep's over config.h to use the new function
60    Add a define "FILESYSTEM_NO_BACKSLASH" for filesystem that can't represent
61    backslash characters in filenames, enable it for Cygwin and use it to turn
62    of tests for quotes backslashes in sftp-glob.sh.
63    based on discussion with vinschen AT redhat.com and dtucker@; ok dtucker@
64  - (tim) [regress/agent-getpeereid.sh] shell portability fix.
65  - (dtucker) [openbsd-compat/port-linux.c] Fix minor bug caught by -Werror on
66    the tinderbox.
67  - (dtucker) [LICENCE Makefile.in audit-bsm.c audit-linux.c audit.c audit.h
68    configure.ac defines.h loginrec.c]  Bug #1402: add linux audit subsystem
69    support, based on patches from Tomas Mraz and jchadima at redhat.
71 20110116
72  - (dtucker) [Makefile.in configure.ac regress/kextype.sh] Skip sha256-based
73    on configurations that don't have it.
74  - OpenBSD CVS Sync
75    - djm@cvs.openbsd.org 2011/01/16 11:50:05
76      [clientloop.c]
77      Use atomicio when flushing protocol 1 std{out,err} buffers at
78      session close. This was a latent bug exposed by setting a SIGCHLD
79      handler and spotted by kevin.brott AT gmail.com; ok dtucker@
80    - djm@cvs.openbsd.org 2011/01/16 11:50:36
81      [sshconnect.c]
82      reset the SIGPIPE handler when forking to execute child processes;
83      ok dtucker@
84    - djm@cvs.openbsd.org 2011/01/16 12:05:59
85      [clientloop.c]
86      a couple more tweaks to the post-close protocol 1 stderr/stdout flush:
87      now that we use atomicio(), convert them from while loops to if statements
88      add test and cast to compile cleanly with -Wsigned
90 20110114
91  - OpenBSD CVS Sync
92    - djm@cvs.openbsd.org 2011/01/13 21:54:53
93      [mux.c]
94      correct error messages; patch from bert.wesarg AT googlemail.com
95    - djm@cvs.openbsd.org 2011/01/13 21:55:25
96      [PROTOCOL.mux]
97      correct protocol names and add a couple of missing protocol number
98      defines; patch from bert.wesarg AT googlemail.com
99  - (djm) [Makefile.in] Use shell test to disable ecdsa key generating in
100    host-key-force target rather than a substitution that is replaced with a
101    comment so that the Makefile.in is still a syntactically valid Makefile
102    (useful to run the distprep target)
103  - (tim) [regress/cert-hostkey.sh] Typo. Missing $ on variable name.
104  - (tim) [regress/cert-hostkey.sh] Add missing TEST_SSH_ECC guard around some
105    ecdsa bits.
107 20110113
108  - (djm) [misc.c] include time.h for nanosleep() prototype
109  - (tim) [Makefile.in] test the ECC bits if we have the capability. ok djm
110  - (tim) [Makefile.in configure.ac opensshd.init.in] Add support for generating
111    ecdsa keys. ok djm.
112  - (djm) [entropy.c] cast OPENSSL_VERSION_NUMBER to u_long to avoid
113    gcc warning on platforms where it defaults to int
114  - (djm) [regress/Makefile] add a few more generated files to the clean
115    target
116  - (djm) [myproposal.h] Fix reversed OPENSSL_VERSION_NUMBER test and bad
117    #define that was causing diffie-hellman-group-exchange-sha256 to be
118    incorrectly disabled
119  - (djm) [regress/kextype.sh] Testing diffie-hellman-group-exchange-sha256
120    should not depend on ECC support
122 20110112
123  - OpenBSD CVS Sync
124    - nicm@cvs.openbsd.org 2010/10/08 21:48:42
125      [openbsd-compat/glob.c]
126      Extend GLOB_LIMIT to cover readdir and stat and bump the malloc limit
127      from ARG_MAX to 64K.
128      Fixes glob-using programs (notably ftp) able to be triggered to hit
129      resource limits.
130      Idea from a similar NetBSD change, original problem reported by jasper@.
131      ok millert tedu jasper
132    - djm@cvs.openbsd.org 2011/01/12 01:53:14
133      avoid some integer overflows mostly with GLOB_APPEND and GLOB_DOOFFS
134      and sanity check arguments (these will be unnecessary when we switch
135      struct glob members from being type into to size_t in the future);
136      "looks ok" tedu@ feedback guenther@
137  - (djm) [configure.ac] Turn on -Wno-unused-result for gcc >= 4.4 to avoid
138    silly warnings on write() calls we don't care succeed or not.
139  - (djm) [configure.ac] Fix broken test for gcc >= 4.4 with per-compiler
140    flag tests that don't depend on gcc version at all; suggested by and
141    ok dtucker@
143 20110111
144  - (tim) [regress/host-expand.sh] Fix for building outside of read only
145    source tree.
146  - (djm) [platform.c] Some missing includes that show up under -Werror
147  - OpenBSD CVS Sync
148    - djm@cvs.openbsd.org 2011/01/08 10:51:51
149      [clientloop.c]
150      use host and not options.hostname, as the latter may have unescaped
151      substitution characters
152    - djm@cvs.openbsd.org 2011/01/11 06:06:09
153      [sshlogin.c]
154      fd leak on error paths; from zinovik@
155      NB. Id sync only; we use loginrec.c that was also audited and fixed
156      recently
157    - djm@cvs.openbsd.org 2011/01/11 06:13:10
158      [clientloop.c ssh-keygen.c sshd.c]
159      some unsigned long long casts that make things a bit easier for
160      portable without resorting to dropping PRIu64 formats everywhere
162 20110109
163  - (djm) [Makefile.in] list ssh_host_ecdsa key in PATHSUBS; spotted by
164    openssh AT roumenpetrov.info
166 20110108
167  - (djm) [regress/keytype.sh] s/echo -n/echon/ to repair failing regress
168    test on OSX and others. Reported by imorgan AT nas.nasa.gov
170 20110107
171  - (djm) [regress/cert-hostkey.sh regress/cert-userkey.sh] fix shell test
172    for no-ECC case. Patch from cristian.ionescu-idbohrn AT axis.com
173    - djm@cvs.openbsd.org 2011/01/06 22:23:53
174      [ssh.c]
175      unbreak %n expansion in LocalCommand; patch from bert.wesarg AT
176      googlemail.com; ok markus@
177    - djm@cvs.openbsd.org 2011/01/06 22:23:02
178      [clientloop.c]
179      when exiting due to ServerAliveTimeout, mention the hostname that caused
180      it (useful with backgrounded controlmaster)
181    - djm@cvs.openbsd.org 2011/01/06 22:46:21
182      [regress/Makefile regress/host-expand.sh]
183      regress test for LocalCommand %n expansion from bert.wesarg AT
184      googlemail.com; ok markus@
185    - djm@cvs.openbsd.org 2011/01/06 23:01:35
186      [sshconnect.c]
187      reset SIGCHLD handler to SIG_DFL when execuring LocalCommand;
188      ok markus@
190 20110106
191  - (djm) OpenBSD CVS Sync
192    - markus@cvs.openbsd.org 2010/12/08 22:46:03
193      [scp.1 scp.c]
194      add a new -3 option to scp: Copies between two remote hosts are
195      transferred through the local host.  Without this option the data
196      is copied directly between the two remote hosts. ok djm@ (bugzilla #1837)
197    - jmc@cvs.openbsd.org 2010/12/09 14:13:33
198      [scp.1 scp.c]
199      scp.1: grammer fix
200      scp.c: add -3 to usage()
201    - markus@cvs.openbsd.org 2010/12/14 11:59:06
202      [sshconnect.c]
203      don't mention key type in key-changed-warning, since we also print
204      this warning if a new key type appears. ok djm@
205    - djm@cvs.openbsd.org 2010/12/15 00:49:27
206      [readpass.c]
207      fix ControlMaster=ask regression
208      reset SIGCHLD handler before fork (and restore it after) so we don't miss
209      the the askpass child's exit status. Correct test for exit status/signal to
210      account for waitpid() failure; with claudio@ ok claudio@ markus@
211    - djm@cvs.openbsd.org 2010/12/24 21:41:48
212      [auth-options.c]
213      don't send the actual forced command in a debug message; ok markus deraadt
214    - otto@cvs.openbsd.org 2011/01/04 20:44:13
215      [ssh-keyscan.c]
216      handle ecdsa-sha2 with various key lengths; hint and ok djm@
218 20110104
219  - (djm) [configure.ac Makefile.in] Use mandoc as preferred manpage
220    formatter if it is present, followed by nroff and groff respectively.
221    Fixes distprep target on OpenBSD (which has bumped groff/nroff to ports
222    in favour of mandoc). feedback and ok tim
224 20110103
225  - (djm) [Makefile.in] revert local hack I didn't intend to commit
227 20110102
228  - (djm) [loginrec.c] Fix some fd leaks on error paths. ok dtucker
229  - (djm) [configure.ac] Check whether libdes is needed when building
230    with Heimdal krb5 support. On OpenBSD this library no longer exists,
231    so linking it unconditionally causes a build failure; ok dtucker
233 20101226
234  - (dtucker) OpenBSD CVS Sync
235    - djm@cvs.openbsd.org 2010/12/08 04:02:47
236      [ssh_config.5 sshd_config.5]
237      explain that IPQoS arguments are separated by whitespace; iirc requested
238      by jmc@ a while back
240 20101205
241  - (dtucker) openbsd-compat/openssl-compat.c] remove sleep leftover from
242    debugging.  Spotted by djm.
243  - (dtucker) OpenBSD CVS Sync
244    - djm@cvs.openbsd.org 2010/12/03 23:49:26
245      [schnorr.c]
246      check that g^x^q === 1 mod p; recommended by JPAKE author Feng Hao
247      (this code is still disabled, but apprently people are treating it as
248      a reference implementation)
249    - djm@cvs.openbsd.org 2010/12/03 23:55:27
250      [auth-rsa.c]
251      move check for revoked keys to run earlier (in auth_rsa_key_allowed)
252      bz#1829; patch from ldv AT altlinux.org; ok markus@
253    - djm@cvs.openbsd.org 2010/12/04 00:18:01
254      [sftp-server.c sftp.1 sftp-client.h sftp.c PROTOCOL sftp-client.c]
255      add a protocol extension to support a hard link operation. It is
256      available through the "ln" command in the client. The old "ln"
257      behaviour of creating a symlink is available using its "-s" option
258      or through the preexisting "symlink" command; based on a patch from
259      miklos AT szeredi.hu in bz#1555; ok markus@
260    - djm@cvs.openbsd.org 2010/12/04 13:31:37
261      [hostfile.c]
262      fix fd leak; spotted and ok dtucker
263    - djm@cvs.openbsd.org 2010/12/04 00:21:19
264      [regress/sftp-cmds.sh]
265      adjust for hard-link support
266  - (dtucker) [regress/Makefile] Id sync.
268 20101204
269  - (djm) [openbsd-compat/bindresvport.c] Use arc4random_uniform(range)
270    instead of (arc4random() % range)
271  - (dtucker) [configure.ac moduli.c openbsd-compat/openssl-compat.{c,h}]  Add
272    shims for the new, non-deprecated OpenSSL key generation functions for
273    platforms that don't have the new interfaces.
275 20101201
276  - OpenBSD CVS Sync
277    - deraadt@cvs.openbsd.org 2010/11/20 05:12:38
278      [auth2-pubkey.c]
279      clean up cases of ;;
280    - djm@cvs.openbsd.org 2010/11/21 01:01:13
281      [clientloop.c misc.c misc.h ssh-agent.1 ssh-agent.c]
282      honour $TMPDIR for client xauth and ssh-agent temporary directories;
283      feedback and ok markus@
284    - djm@cvs.openbsd.org 2010/11/21 10:57:07
285      [authfile.c]
286      Refactor internals of private key loading and saving to work on memory
287      buffers rather than directly on files. This will make a few things
288      easier to do in the future; ok markus@
289    - djm@cvs.openbsd.org 2010/11/23 02:35:50
290      [auth.c]
291      use strict_modes already passed as function argument over referencing
292      global options.strict_modes
293    - djm@cvs.openbsd.org 2010/11/23 23:57:24
294      [clientloop.c]
295      avoid NULL deref on receiving a channel request on an unknown or invalid
296      channel; report bz#1842 from jchadima AT redhat.com; ok dtucker@
297    - djm@cvs.openbsd.org 2010/11/24 01:24:14
298      [channels.c]
299      remove a debug() that pollutes stderr on client connecting to a server
300      in debug mode (channel_close_fds is called transitively from the session
301      code post-fork); bz#1719, ok dtucker
302    - djm@cvs.openbsd.org 2010/11/25 04:10:09
303      [session.c]
304      replace close() loop for fds 3->64 with closefrom();
305      ok markus deraadt dtucker
306    - djm@cvs.openbsd.org 2010/11/26 05:52:49
307      [scp.c]
308      Pass through ssh command-line flags and options when doing remote-remote
309      transfers, e.g. to enable agent forwarding which is particularly useful
310      in this case; bz#1837 ok dtucker@
311    - markus@cvs.openbsd.org 2010/11/29 18:57:04
312      [authfile.c]
313      correctly load comment for encrypted rsa1 keys;
314      report/fix Joachim Schipper; ok djm@
315    - djm@cvs.openbsd.org 2010/11/29 23:45:51
316      [auth.c hostfile.c hostfile.h ssh.c ssh_config.5 sshconnect.c]
317      [sshconnect.h sshconnect2.c]
318      automatically order the hostkeys requested by the client based on
319      which hostkeys are already recorded in known_hosts. This avoids
320      hostkey warnings when connecting to servers with new ECDSA keys
321      that are preferred by default; with markus@
323 20101124
324  - (dtucker) [platform.c session.c] Move the getluid call out of session.c and
325    into the platform-specific code  Only affects SCO, tested by and ok tim@.
326  - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow
327    group read/write. ok dtucker@
328  - (dtucker) [packet.c] Remove redundant local declaration of "int tos".
329  - (djm) [defines.h] Add IP DSCP defines
331 20101122
332  - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch
333    from vapier at gentoo org.
335 20101120
336  - OpenBSD CVS Sync
337    - djm@cvs.openbsd.org 2010/11/05 02:46:47
338      [packet.c]
339      whitespace KNF
340    - djm@cvs.openbsd.org 2010/11/10 01:33:07
341      [kexdhc.c kexdhs.c kexgexc.c kexgexs.c key.c moduli.c]
342      use only libcrypto APIs that are retained with OPENSSL_NO_DEPRECATED.
343      these have been around for years by this time. ok markus
344    - djm@cvs.openbsd.org 2010/11/13 23:27:51
345      [clientloop.c misc.c misc.h packet.c packet.h readconf.c readconf.h]
346      [servconf.c servconf.h session.c ssh.c ssh_config.5 sshd_config.5]
347      allow ssh and sshd to set arbitrary TOS/DSCP/QoS values instead of
348      hardcoding lowdelay/throughput.
349      
350      bz#1733 patch from philipp AT redfish-solutions.com; ok markus@ deraadt@
351    - jmc@cvs.openbsd.org 2010/11/15 07:40:14
352      [ssh_config.5]
353      libary -> library;
354    - jmc@cvs.openbsd.org 2010/11/18 15:01:00
355      [scp.1 sftp.1 ssh.1 sshd_config.5]
356      add IPQoS to the various -o lists, and zap some trailing whitespace;
358 20101111
359  - (djm) [servconf.c ssh-add.c ssh-keygen.c] don't look for ECDSA keys on
360    platforms that don't support ECC. Fixes some spurious warnings reported
361    by tim@
363 20101109
364  - (tim) [regress/kextype.sh] Not all platforms have time in /usr/bin.
365    Feedback from dtucker@
366  - (tim) [configure.ac openbsd-compat/bsd-misc.h openbsd-compat/bsd-misc.c] Add
367    support for platforms missing isblank(). ok djm@
369 20101108
370  - (tim) [regress/Makefile] Fixes to allow building/testing outside source
371    tree.
372  - (tim) [regress/kextype.sh] Shell portability fix.
374 20101107
375  - (dtucker) [platform.c] includes.h instead of defines.h so that we get
376    the correct typedefs.
378 20101105
379  - (djm) [loginrec.c loginrec.h] Use correct uid_t/pid_t types instead of
380    int. Should fix bz#1817 cleanly; ok dtucker@
381  - OpenBSD CVS Sync
382    - djm@cvs.openbsd.org 2010/09/22 12:26:05
383      [regress/Makefile regress/kextype.sh]
384      regress test for each of the key exchange algorithms that we support
385    - djm@cvs.openbsd.org 2010/10/28 11:22:09
386      [authfile.c key.c key.h ssh-keygen.c]
387      fix a possible NULL deref on loading a corrupt ECDH key
388      
389      store ECDH group information in private keys files as "named groups"
390      rather than as a set of explicit group parameters (by setting
391      the OPENSSL_EC_NAMED_CURVE flag). This makes for shorter key files and
392      retrieves the group's OpenSSL NID that we need for various things.
393    - jmc@cvs.openbsd.org 2010/10/28 18:33:28
394      [scp.1 ssh-add.1 ssh-keygen.1 ssh.1 ssh_config.5 sshd.8 sshd_config.5]
395      knock out some "-*- nroff -*-" lines;
396    - djm@cvs.openbsd.org 2010/11/04 02:45:34
397      [sftp-server.c]
398      umask should be parsed as octal. reported by candland AT xmission.com;
399      ok markus@
400  - (dtucker) [configure.ac platform.{c,h} session.c
401    openbsd-compat/port-solaris.{c,h}] Bug #1824: Add Solaris Project support.
402    Patch from cory.erickson at csu mnscu edu with a bit of rework from me.
403    ok djm@
404  - (dtucker) [platform.c platform.h session.c] Add a platform hook to run
405    after the user's groups are established and move the selinux calls into it.
406  - (dtucker) [platform.c session.c] Move the AIX setpcred+chroot hack into
407    platform.c
408  - (dtucker) [platform.c session.c] Move the BSDI setpgrp into platform.c.
409  - (dtucker) [platform.c] Only call setpgrp on BSDI if running as root to
410    retain previous behavior.
411  - (dtucker) [platform.c session.c] Move the PAM credential establishment for
412    the LOGIN_CAP case into platform.c.
413  - (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into
414    platform.c
415  - (dtucker) [platform.c session.c] Move aix_usrinfo frament into platform.c.
416  - (dtucker) [platform.c session.c] Move irix setusercontext fragment into
417    platform.c.
418  - (dtucker) [platform.c session.c] Move PAM credential establishment for the
419    non-LOGIN_CAP case into platform.c.
420  - (dtucker) [platform.c platform.h session.c] Move the Cygwin special-case
421    check into platform.c
422  - (dtucker) [regress/keytype.sh] Import new test.
423  - (dtucker) [Makefile configure.ac regress/Makefile regress/keytype.sh]
424    Import recent changes to regress/Makefile, pass a flag to enable ECC tests
425    from configure through to regress/Makefile and use it in the tests.
426  - (dtucker) [regress/kextype.sh] Add missing "test".
427  - (dtucker) [regress/kextype.sh] Make sha256 test depend on ECC.  This is not
428    strictly correct since while ECC requires sha256 the reverse is not true
429    however it does prevent spurious test failures.
430  - (dtucker) [platform.c] Need servconf.h and extern options.
432 20101025
433  - (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with
434    1.12 to unbreak Solaris build.
435    ok djm@
436  - (dtucker) [defines.h] Use SIZE_T_MAX for SIZE_MAX for platforms that have a
437    native one.
439 20101024
440  - (dtucker) [includes.h] Add missing ifdef GLOB_HAS_GL_STATV to fix build.
441  - (dtucker) [regress/cert-hostkey.sh] Disable ECC-based tests on platforms
442    which don't have ECC support in libcrypto.
443  - (dtucker) [regress/cert-userkey.sh] Disable ECC-based tests on platforms
444    which don't have ECC support in libcrypto.
445  - (dtucker) [defines.h] Add SIZE_MAX for the benefit of platforms that don't
446    have it.
447  - (dtucker) OpenBSD CVS Sync
448    - sthen@cvs.openbsd.org 2010/10/23 22:06:12
449      [sftp.c]
450      escape '[' in filename tab-completion; fix a type while there.
451      ok djm@
453 20101021
454  - OpenBSD CVS Sync
455    - dtucker@cvs.openbsd.org 2010/10/12 02:22:24
456      [mux.c]
457      Typo in confirmation message.  bz#1827, patch from imorgan at
458      nas nasa gov
459    - djm@cvs.openbsd.org 2010/08/31 12:24:09
460      [regress/cert-hostkey.sh regress/cert-userkey.sh]
461      tests for ECDSA certificates
463 20101011
464  - (djm) [canohost.c] Zero a4 instead of addr to better match type.
465    bz#1825, reported by foo AT mailinator.com
466  - (djm) [sshconnect.c] Need signal.h for prototype for kill(2)
468 20101011
469  - (djm) [configure.ac] Use = instead of == in shell tests. Patch from
470    dr AT vasco.com
472 20101007
473  - (djm) [ssh-agent.c] Fix type for curve name.
474  - (djm) OpenBSD CVS Sync
475    - matthew@cvs.openbsd.org 2010/09/24 13:33:00
476      [misc.c misc.h configure.ac openbsd-compat/openbsd-compat.h]
477      [openbsd-compat/timingsafe_bcmp.c]
478      Add timingsafe_bcmp(3) to libc, mention that it's already in the
479      kernel in kern(9), and remove it from OpenSSH.
480      ok deraadt@, djm@
481      NB. re-added under openbsd-compat/ for portable OpenSSH
482    - djm@cvs.openbsd.org 2010/09/25 09:30:16
483      [sftp.c configure.ac openbsd-compat/glob.c openbsd-compat/glob.h]
484      make use of new glob(3) GLOB_KEEPSTAT extension to save extra server
485      rountrips to fetch per-file stat(2) information.
486      NB. update openbsd-compat/ glob(3) implementation from OpenBSD libc to
487      match.
488    - djm@cvs.openbsd.org 2010/09/26 22:26:33
489      [sftp.c]
490      when performing an "ls" in columnated (short) mode, only call
491      ioctl(TIOCGWINSZ) once to get the window width instead of per-
492      filename
493    - djm@cvs.openbsd.org 2010/09/30 11:04:51
494      [servconf.c]
495      prevent free() of string in .rodata when overriding AuthorizedKeys in
496      a Match block; patch from rein AT basefarm.no
497    - djm@cvs.openbsd.org 2010/10/01 23:05:32
498      [cipher-3des1.c cipher-bf1.c cipher-ctr.c openbsd-compat/openssl-compat.h]
499      adapt to API changes in openssl-1.0.0a
500      NB. contains compat code to select correct API for older OpenSSL
501    - djm@cvs.openbsd.org 2010/10/05 05:13:18
502      [sftp.c sshconnect.c]
503      use default shell /bin/sh if $SHELL is ""; ok markus@
504    - djm@cvs.openbsd.org 2010/10/06 06:39:28
505      [clientloop.c ssh.c sshconnect.c sshconnect.h]
506      kill proxy command on fatal() (we already kill it on clean exit);
507      ok markus@
508    - djm@cvs.openbsd.org 2010/10/06 21:10:21
509      [sshconnect.c]
510      swapped args to kill(2)
511  - (djm) [openbsd-compat/glob.c] restore ARG_MAX compat code.
512  - (djm) [cipher-acss.c] Add missing header.
513  - (djm) [openbsd-compat/Makefile.in] Actually link timingsafe_bcmp
515 20100924
516  - (djm) OpenBSD CVS Sync
517    - naddy@cvs.openbsd.org 2010/09/10 15:19:29
518      [ssh-keygen.1]
519      * mention ECDSA in more places
520      * less repetition in FILES section
521      * SSHv1 keys are still encrypted with 3DES
522      help and ok jmc@
523    - djm@cvs.openbsd.org 2010/09/11 21:44:20
524      [ssh.1]
525      mention RFC 5656 for ECC stuff
526    - jmc@cvs.openbsd.org 2010/09/19 21:30:05
527      [sftp.1]
528      more wacky macro fixing;
529    - djm@cvs.openbsd.org 2010/09/20 04:41:47
530      [ssh.c]
531      install a SIGCHLD handler to reap expiried child process; ok markus@
532    - djm@cvs.openbsd.org 2010/09/20 04:50:53
533      [jpake.c schnorr.c]
534      check that received values are smaller than the group size in the
535      disabled and unfinished J-PAKE code.
536      avoids catastrophic security failure found by Sebastien Martini
537    - djm@cvs.openbsd.org 2010/09/20 04:54:07
538      [jpake.c]
539      missing #include
540    - djm@cvs.openbsd.org 2010/09/20 07:19:27
541      [mux.c]
542      "atomically" create the listening mux socket by binding it on a temorary
543      name and then linking it into position after listen() has succeeded.
544      this allows the mux clients to determine that the server socket is
545      either ready or stale without races. stale server sockets are now
546      automatically removed
547      ok deraadt
548    - djm@cvs.openbsd.org 2010/09/22 05:01:30
549      [kex.c kex.h kexecdh.c kexecdhc.c kexecdhs.c readconf.c readconf.h]
550      [servconf.c servconf.h ssh_config.5 sshconnect2.c sshd.c sshd_config.5]
551      add a KexAlgorithms knob to the client and server configuration to allow
552      selection of which key exchange methods are used by ssh(1) and sshd(8)
553      and their order of preference.
554      ok markus@
555    - jmc@cvs.openbsd.org 2010/09/22 08:30:08
556      [ssh.1 ssh_config.5]
557      ssh.1: add kexalgorithms to the -o list
558      ssh_config.5: format the kexalgorithms in a more consistent
559      (prettier!) way
560      ok djm
561    - djm@cvs.openbsd.org 2010/09/22 22:58:51
562      [atomicio.c atomicio.h misc.c misc.h scp.c sftp-client.c]
563      [sftp-client.h sftp.1 sftp.c]
564      add an option per-read/write callback to atomicio
566      factor out bandwidth limiting code from scp(1) into a generic bandwidth
567      limiter that can be attached using the atomicio callback mechanism
569      add a bandwidth limit option to sftp(1) using the above
570      "very nice" markus@
571    - jmc@cvs.openbsd.org 2010/09/23 13:34:43
572      [sftp.c]
573      add [-l limit] to usage();
574    - jmc@cvs.openbsd.org 2010/09/23 13:36:46
575      [scp.1 sftp.1]
576      add KexAlgorithms to the -o list;
578 20100910
579  - (dtucker) [openbsd-compat/port-linux.c] Check is_selinux_enabled for exact
580    return code since it can apparently return -1 under some conditions.  From
581    openssh bugs werbittewas de, ok djm@
582  - OpenBSD CVS Sync
583    - djm@cvs.openbsd.org 2010/08/31 12:33:38
584      [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
585      reintroduce commit from tedu@, which I pulled out for release
586      engineering:
587        OpenSSL_add_all_algorithms is the name of the function we have a
588        man page for, so use that.  ok djm
589    - jmc@cvs.openbsd.org 2010/08/31 17:40:54
590      [ssh-agent.1]
591      fix some macro abuse;
592    - jmc@cvs.openbsd.org 2010/08/31 21:14:58
593      [ssh.1]
594      small text tweak to accommodate previous;
595    - naddy@cvs.openbsd.org 2010/09/01 15:21:35
596      [servconf.c]
597      pick up ECDSA host key by default; ok djm@
598    - markus@cvs.openbsd.org 2010/09/02 16:07:25
599      [ssh-keygen.c]
600      permit -b 256, 384 or 521 as key size for ECDSA; ok djm@
601    - markus@cvs.openbsd.org 2010/09/02 16:08:39
602      [ssh.c]
603      unbreak ControlPersist=yes for ControlMaster=yes; ok djm@
604    - naddy@cvs.openbsd.org 2010/09/02 17:21:50
605      [ssh-keygen.c]
606      Switch ECDSA default key size to 256 bits, which according to RFC5656
607      should still be better than our current RSA-2048 default.
608      ok djm@, markus@
609    - jmc@cvs.openbsd.org 2010/09/03 11:09:29
610      [scp.1]
611      add an EXIT STATUS section for /usr/bin;
612    - jmc@cvs.openbsd.org 2010/09/04 09:38:34
613      [ssh-add.1 ssh.1]
614      two more EXIT STATUS sections;
615    - naddy@cvs.openbsd.org 2010/09/06 17:10:19
616      [sshd_config]
617      add ssh_host_ecdsa_key to /etc; from Mattieu Baptiste
618      <mattieu.b@gmail.com>
619      ok deraadt@
620    - djm@cvs.openbsd.org 2010/09/08 03:54:36
621      [authfile.c]
622      typo
623    - deraadt@cvs.openbsd.org 2010/09/08 04:13:31
624      [compress.c]
625      work around name-space collisions some buggy compilers (looking at you
626      gcc, at least in earlier versions, but this does not forgive your current
627      transgressions) seen between zlib and openssl
628      ok djm
629    - djm@cvs.openbsd.org 2010/09/09 10:45:45
630      [kex.c kex.h kexecdh.c key.c key.h monitor.c ssh-ecdsa.c]
631      ECDH/ECDSA compliance fix: these methods vary the hash function they use
632      (SHA256/384/512) depending on the length of the curve in use. The previous
633      code incorrectly used SHA256 in all cases.
634      
635      This fix will cause authentication failure when using 384 or 521-bit curve
636      keys if one peer hasn't been upgraded and the other has. (256-bit curve
637      keys work ok). In particular you may need to specify HostkeyAlgorithms
638      when connecting to a server that has not been upgraded from an upgraded
639      client.
640      
641      ok naddy@
642  - (djm) [authfd.c authfile.c bufec.c buffer.h configure.ac kex.h kexecdh.c]
643    [kexecdhc.c kexecdhs.c key.c key.h myproposal.h packet.c readconf.c]
644    [ssh-agent.c ssh-ecdsa.c ssh-keygen.c ssh.c] Disable ECDH and ECDSA on
645    platforms that don't have the requisite OpenSSL support. ok dtucker@
646  - (dtucker) [kex.h key.c packet.h ssh-agent.c ssh.c] A few more ECC ifdefs
647    for missing headers and compiler warnings.
649 20100831
650  - OpenBSD CVS Sync
651    - jmc@cvs.openbsd.org 2010/08/08 19:36:30
652      [ssh-keysign.8 ssh.1 sshd.8]
653      use the same template for all FILES sections; i.e. -compact/.Pp where we
654      have multiple items, and .Pa for path names;
655    - tedu@cvs.openbsd.org 2010/08/12 23:34:39
656      [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
657      OpenSSL_add_all_algorithms is the name of the function we have a man page
658      for, so use that.  ok djm
659    - djm@cvs.openbsd.org 2010/08/16 04:06:06
660      [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
661      backout previous temporarily; discussed with deraadt@
662    - djm@cvs.openbsd.org 2010/08/31 09:58:37
663      [auth-options.c auth1.c auth2.c bufaux.c buffer.h kex.c key.c packet.c]
664      [packet.h ssh-dss.c ssh-rsa.c]
665      Add buffer_get_cstring() and related functions that verify that the
666      string extracted from the buffer contains no embedded \0 characters*
667      This prevents random (possibly malicious) crap from being appended to
668      strings where it would not be noticed if the string is used with
669      a string(3) function.
670      
671      Use the new API in a few sensitive places.
672      
673      * actually, we allow a single one at the end of the string for now because
674      we don't know how many deployed implementations get this wrong, but don't
675      count on this to remain indefinitely.
676    - djm@cvs.openbsd.org 2010/08/31 11:54:45
677      [PROTOCOL PROTOCOL.agent PROTOCOL.certkeys auth2-jpake.c authfd.c]
678      [authfile.c buffer.h dns.c kex.c kex.h key.c key.h monitor.c]
679      [monitor_wrap.c myproposal.h packet.c packet.h pathnames.h readconf.c]
680      [ssh-add.1 ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.1 ssh-keygen.c]
681      [ssh-keyscan.1 ssh-keyscan.c ssh-keysign.8 ssh.1 ssh.c ssh2.h]
682      [ssh_config.5 sshconnect.c sshconnect2.c sshd.8 sshd.c sshd_config.5]
683      [uuencode.c uuencode.h bufec.c kexecdh.c kexecdhc.c kexecdhs.c ssh-ecdsa.c]
684      Implement Elliptic Curve Cryptography modes for key exchange (ECDH) and
685      host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA offer
686      better performance than plain DH and DSA at the same equivalent symmetric
687      key length, as well as much shorter keys.
688      
689      Only the mandatory sections of RFC5656 are implemented, specifically the
690      three REQUIRED curves nistp256, nistp384 and nistp521 and only ECDH and
691      ECDSA. Point compression (optional in RFC5656 is NOT implemented).
692      
693      Certificate host and user keys using the new ECDSA key types are supported.
694      
695      Note that this code has not been tested for interoperability and may be
696      subject to change.
697      
698      feedback and ok markus@
699  - (djm) [Makefile.in] Add new ECC files
700  - (djm) [bufec.c kexecdh.c kexecdhc.c kexecdhs.c ssh-ecdsa.c] include
701    includes.h
703 20100827
704  - (dtucker) [contrib/redhat/sshd.init] Bug #1810: initlog is deprecated,
705    remove.  Patch from martynas at venck us 
707 20100823
708  - (djm) Release OpenSSH-5.6p1
710 20100816
711  - (dtucker) [configure.ac openbsd-compat/Makefile.in
712    openbsd-compat/openbsd-compat.h openbsd-compat/strptime.c] Add strptime to
713    the compat library which helps on platforms like old IRIX.  Based on work
714    by djm, tested by Tom Christensen.
715  - OpenBSD CVS Sync
716    - djm@cvs.openbsd.org 2010/08/12 21:49:44
717      [ssh.c]
718      close any extra file descriptors inherited from parent at start and
719      reopen stdin/stdout to /dev/null when forking for ControlPersist.
720      
721      prevents tools that fork and run a captive ssh for communication from
722      failing to exit when the ssh completes while they wait for these fds to
723      close. The inherited fds may persist arbitrarily long if a background
724      mux master has been started by ControlPersist. cvs and scp were effected
725      by this.
726      
727      "please commit" markus@
728  - (djm) [regress/README.regress] typo
730 20100812
731  - (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh
732    regress/test-exec.sh] Under certain conditions when testing with sudo
733    tests would fail because the pidfile could not be read by a regular user.
734    "cat: cannot open ...../regress/pidfile: Permission denied (error 13)"
735    Make sure cat is run by $SUDO.  no objection from me. djm@
736  - (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.
738 20100809
739  - (djm) bz#1561: don't bother setting IFF_UP on tun(4) device if it is
740    already set. Makes FreeBSD user openable tunnels useful; patch from
741    richard.burakowski+ossh AT mrburak.net, ok dtucker@
742  - (dtucker) bug #1530: strip trailing ":" from hostname in ssh-copy-id.
743    based in part on a patch from Colin Watson, ok djm@
745 20100809
746  - OpenBSD CVS Sync
747    - djm@cvs.openbsd.org 2010/08/08 16:26:42
748      [version.h]
749      crank to 5.6
750  - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
751    [contrib/suse/openssh.spec] Crank version numbers
753 20100805
754  - OpenBSD CVS Sync
755    - djm@cvs.openbsd.org 2010/08/04 05:37:01
756      [ssh.1 ssh_config.5 sshd.8]
757      Remove mentions of weird "addr/port" alternate address format for IPv6
758      addresses combinations. It hasn't worked for ages and we have supported
759      the more commen "[addr]:port" format for a long time. ok jmc@ markus@
760    - djm@cvs.openbsd.org 2010/08/04 05:40:39
761      [PROTOCOL.certkeys ssh-keygen.c]
762      tighten the rules for certificate encoding by requiring that options
763      appear in lexical order and make our ssh-keygen comply. ok markus@
764    - djm@cvs.openbsd.org 2010/08/04 05:42:47
765      [auth.c auth2-hostbased.c authfile.c authfile.h ssh-keysign.8]
766      [ssh-keysign.c ssh.c]
767      enable certificates for hostbased authentication, from Iain Morgan;
768      "looks ok" markus@
769    - djm@cvs.openbsd.org 2010/08/04 05:49:22
770      [authfile.c]
771      commited the wrong version of the hostbased certificate diff; this
772      version replaces some strlc{py,at} verbosity with xasprintf() at
773      the request of markus@
774    - djm@cvs.openbsd.org 2010/08/04 06:07:11
775      [ssh-keygen.1 ssh-keygen.c]
776      Support CA keys in PKCS#11 tokens; feedback and ok markus@
777    - djm@cvs.openbsd.org 2010/08/04 06:08:40
778      [ssh-keysign.c]
779      clean for -Wuninitialized (Id sync only; portable had this change)
780    - djm@cvs.openbsd.org 2010/08/05 13:08:42
781      [channels.c]
782      Fix a trio of bugs in the local/remote window calculation for datagram
783      data channels (i.e. TunnelForward):
784      
785      Calculate local_consumed correctly in channel_handle_wfd() by measuring
786      the delta to buffer_len(c->output) from when we start to when we finish.
787      The proximal problem here is that the output_filter we use in portable
788      modified the length of the dequeued datagram (to futz with the headers
789      for !OpenBSD).
790      
791      In channel_output_poll(), don't enqueue datagrams that won't fit in the
792      peer's advertised packet size (highly unlikely to ever occur) or which
793      won't fit in the peer's remaining window (more likely).
794      
795      In channel_input_data(), account for the 4-byte string header in
796      datagram packets that we accept from the peer and enqueue in c->output.
797      
798      report, analysis and testing 2/3 cases from wierbows AT us.ibm.com;
799      "looks good" markus@
801 20100803
802  - (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned from
803    PAM to sane values in case the PAM method doesn't write to them.  Spotted by
804    Bitman Zhou, ok djm@.
805  - OpenBSD CVS Sync
806    - djm@cvs.openbsd.org 2010/07/16 04:45:30
807      [ssh-keygen.c]
808      avoid bogus compiler warning
809    - djm@cvs.openbsd.org 2010/07/16 14:07:35
810      [ssh-rsa.c]
811      more timing paranoia - compare all parts of the expected decrypted
812      data before returning. AFAIK not exploitable in the SSH protocol.
813      "groovy" deraadt@
814    - djm@cvs.openbsd.org 2010/07/19 03:16:33
815      [sftp-client.c]
816      bz#1797: fix swapped args in upload_dir_internal(), breaking recursive
817      upload depth checks and causing verbose printing of transfers to always
818      be turned on; patch from imorgan AT nas.nasa.gov
819    - djm@cvs.openbsd.org 2010/07/19 09:15:12
820      [clientloop.c readconf.c readconf.h ssh.c ssh_config.5]
821      add a "ControlPersist" option that automatically starts a background
822      ssh(1) multiplex master when connecting. This connection can stay alive
823      indefinitely, or can be set to automatically close after a user-specified
824      duration of inactivity. bz#1330 - patch by dwmw2 AT infradead.org, but
825      further hacked on by wmertens AT cisco.com, apb AT cequrux.com,
826      martin-mindrot-bugzilla AT earth.li and myself; "looks ok" markus@
827    - djm@cvs.openbsd.org 2010/07/21 02:10:58
828      [misc.c]
829      sync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern
830    - dtucker@cvs.openbsd.org 2010/07/23 08:49:25
831      [ssh.1]
832      Ciphers is documented in ssh_config(5) these days
834 20100819
835  - (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more
836    details about its behaviour WRT existing directories.  Patch from
837    asguthrie at gmail com, ok djm.
839 20100716
840  - (djm) OpenBSD CVS Sync
841    - djm@cvs.openbsd.org 2010/07/02 04:32:44
842      [misc.c]
843      unbreak strdelim() skipping past quoted strings, e.g.
844      AllowUsers "blah blah" blah
845      was broken; report and fix in bz#1757 from bitman.zhou AT centrify.com
846      ok dtucker;
847    - djm@cvs.openbsd.org 2010/07/12 22:38:52
848      [ssh.c]
849      Make ExitOnForwardFailure work with fork-after-authentication ("ssh -f")
850      for protocol 2. ok markus@
851    - djm@cvs.openbsd.org 2010/07/12 22:41:13
852      [ssh.c ssh_config.5]
853      expand %h to the hostname in ssh_config Hostname options. While this
854      sounds useless, it is actually handy for working with unqualified
855      hostnames:
856      
857      Host *.*
858         Hostname %h
859      Host *
860         Hostname %h.example.org
861      
862      "I like it" markus@
863    - djm@cvs.openbsd.org 2010/07/13 11:52:06
864      [auth-rsa.c channels.c jpake.c key.c misc.c misc.h monitor.c]
865      [packet.c ssh-rsa.c]
866      implement a timing_safe_cmp() function to compare memory without leaking
867      timing information by short-circuiting like memcmp() and use it for
868      some of the more sensitive comparisons (though nothing high-value was
869      readily attackable anyway); "looks ok" markus@
870    - djm@cvs.openbsd.org 2010/07/13 23:13:16
871      [auth-rsa.c channels.c jpake.c key.c misc.c misc.h monitor.c packet.c]
872      [ssh-rsa.c]
873      s/timing_safe_cmp/timingsafe_bcmp/g
874    - jmc@cvs.openbsd.org 2010/07/14 17:06:58
875      [ssh.1]
876      finally ssh synopsis looks nice again! this commit just removes a ton of
877      hacks we had in place to make it work with old groff;
878    - schwarze@cvs.openbsd.org 2010/07/15 21:20:38
879      [ssh-keygen.1]
880      repair incorrect block nesting, which screwed up indentation;
881      problem reported and fix OK by jmc@
883 20100714
884  - (tim) [contrib/redhat/openssh.spec] Bug 1796: Test for skip_x11_askpass
885    (line 77) should have been for no_x11_askpass. 
887 20100702
888  - (djm) OpenBSD CVS Sync
889    - jmc@cvs.openbsd.org 2010/06/26 00:57:07
890      [ssh_config.5]
891      tweak previous;
892    - djm@cvs.openbsd.org 2010/06/26 23:04:04
893      [ssh.c]
894      oops, forgot to #include <canohost.h>; spotted and patch from chl@
895    - djm@cvs.openbsd.org 2010/06/29 23:15:30
896      [ssh-keygen.1 ssh-keygen.c]
897      allow import (-i) and export (-e) of PEM and PKCS#8 encoded keys;
898      bz#1749; ok markus@
899    - djm@cvs.openbsd.org 2010/06/29 23:16:46
900      [auth2-pubkey.c sshd_config.5]
901      allow key options (command="..." and friends) in AuthorizedPrincipals;
902      ok markus@
903    - jmc@cvs.openbsd.org 2010/06/30 07:24:25
904      [ssh-keygen.1]
905      tweak previous;
906    - jmc@cvs.openbsd.org 2010/06/30 07:26:03
907      [ssh-keygen.c]
908      sort usage();
909    - jmc@cvs.openbsd.org 2010/06/30 07:28:34
910      [sshd_config.5]
911      tweak previous;
912    - millert@cvs.openbsd.org 2010/07/01 13:06:59
913      [scp.c]
914      Fix a longstanding problem where if you suspend scp at the
915      password/passphrase prompt the terminal mode is not restored.
916      OK djm@
917    - phessler@cvs.openbsd.org 2010/06/27 19:19:56
918      [regress/Makefile]
919      fix how we run the tests so we can successfully use SUDO='sudo -E'
920      in our env
921    - djm@cvs.openbsd.org 2010/06/29 23:59:54
922      [cert-userkey.sh]
923      regress tests for key options in AuthorizedPrincipals
925 20100627
926  - (tim) [openbsd-compat/port-uw.c] Reorder includes. auth-options.h now needs
927    key.h.
929 20100626
930  - (djm) OpenBSD CVS Sync
931    - djm@cvs.openbsd.org 2010/05/21 05:00:36
932      [misc.c]
933      colon() returns char*, so s/return (0)/return NULL/
934    - markus@cvs.openbsd.org 2010/06/08 21:32:19
935      [ssh-pkcs11.c]
936      check length of value returned  C_GetAttributValue for != 0
937      from mdrtbugzilla@codefive.co.uk; bugzilla #1773; ok dtucker@
938    - djm@cvs.openbsd.org 2010/06/17 07:07:30
939      [mux.c]
940      Correct sizing of object to be allocated by calloc(), replacing
941      sizeof(state) with sizeof(*state). This worked by accident since
942      the struct contained a single int at present, but could have broken
943      in the future. patch from hyc AT symas.com
944    - djm@cvs.openbsd.org 2010/06/18 00:58:39
945      [sftp.c]
946      unbreak ls in working directories that contains globbing characters in
947      their pathnames. bz#1655 reported by vgiffin AT apple.com
948    - djm@cvs.openbsd.org 2010/06/18 03:16:03
949      [session.c]
950      Missing check for chroot_director == "none" (we already checked against
951      NULL); bz#1564 from Jan.Pechanec AT Sun.COM
952    - djm@cvs.openbsd.org 2010/06/18 04:43:08
953      [sftp-client.c]
954      fix memory leak in do_realpath() error path; bz#1771, patch from
955      anicka AT suse.cz
956    - djm@cvs.openbsd.org 2010/06/22 04:22:59
957      [servconf.c sshd_config.5]
958      expose some more sshd_config options inside Match blocks:
959        AuthorizedKeysFile AuthorizedPrincipalsFile
960        HostbasedUsesNameFromPacketOnly PermitTunnel
961      bz#1764; feedback from imorgan AT nas.nasa.gov; ok dtucker@
962    - djm@cvs.openbsd.org 2010/06/22 04:32:06
963      [ssh-keygen.c]
964      standardise error messages when attempting to open private key
965      files to include "progname: filename: error reason"
966      bz#1783; ok dtucker@
967    - djm@cvs.openbsd.org 2010/06/22 04:49:47
968      [auth.c]
969      queue auth debug messages for bad ownership or permissions on the user's
970      keyfiles. These messages will be sent after the user has successfully
971      authenticated (where our client will display them with LogLevel=debug).
972      bz#1554; ok dtucker@
973    - djm@cvs.openbsd.org 2010/06/22 04:54:30
974      [ssh-keyscan.c]
975      replace verbose and overflow-prone Linebuf code with read_keyfile_line()
976      based on patch from joachim AT joachimschipper.nl; bz#1565; ok dtucker@
977    - djm@cvs.openbsd.org 2010/06/22 04:59:12
978      [session.c]
979      include the user name on "subsystem request for ..." log messages;
980      bz#1571; ok dtucker@
981    - djm@cvs.openbsd.org 2010/06/23 02:59:02
982      [ssh-keygen.c]
983      fix printing of extensions in v01 certificates that I broke in r1.190
984    - djm@cvs.openbsd.org 2010/06/25 07:14:46
985      [channels.c mux.c readconf.c readconf.h ssh.h]
986      bz#1327: remove hardcoded limit of 100 permitopen clauses and port
987      forwards per direction; ok markus@ stevesk@
988    - djm@cvs.openbsd.org 2010/06/25 07:20:04
989      [channels.c session.c]
990      bz#1750: fix requirement for /dev/null inside ChrootDirectory for
991      internal-sftp accidentally introduced in r1.253 by removing the code
992      that opens and dup /dev/null to stderr and modifying the channels code
993      to read stderr but discard it instead; ok markus@
994    - djm@cvs.openbsd.org 2010/06/25 08:46:17
995      [auth1.c auth2-none.c]
996      skip the initial check for access with an empty password when
997      PermitEmptyPasswords=no; bz#1638; ok markus@
998    - djm@cvs.openbsd.org 2010/06/25 23:10:30
999      [ssh.c]
1000      log the hostname and address that we connected to at LogLevel=verbose
1001      after authentication is successful to mitigate "phishing" attacks by
1002      servers with trusted keys that accept authentication silently and
1003      automatically before presenting fake password/passphrase prompts;
1004      "nice!" markus@
1005    - djm@cvs.openbsd.org 2010/06/25 23:10:30
1006      [ssh.c]
1007      log the hostname and address that we connected to at LogLevel=verbose
1008      after authentication is successful to mitigate "phishing" attacks by
1009      servers with trusted keys that accept authentication silently and
1010      automatically before presenting fake password/passphrase prompts;
1011      "nice!" markus@
1013 20100622
1014  - (djm) [loginrec.c] crank LINFO_NAMESIZE (username length) to 512
1015    bz#1579; ok dtucker
1017 20100618
1018  - (djm) [contrib/ssh-copy-id] Update key file explicitly under ~
1019    rather than assuming that $CWD == $HOME. bz#1500, patch from
1020    timothy AT gelter.com
1022 20100617
1023  - (tim) [contrib/cygwin/README] Remove a reference to the obsolete
1024    minires-devel package, and to add the reference to the libedit-devel
1025    package since CYgwin now provides libedit. Patch from Corinna Vinschen.
1027 20100521
1028  - (djm) OpenBSD CVS Sync
1029    - djm@cvs.openbsd.org 2010/05/07 11:31:26
1030      [regress/Makefile regress/cert-userkey.sh]
1031      regress tests for AuthorizedPrincipalsFile and "principals=" key option.
1032      feedback and ok markus@
1033    - djm@cvs.openbsd.org 2010/05/11 02:58:04
1034      [auth-rsa.c]
1035      don't accept certificates marked as "cert-authority" here; ok markus@
1036    - djm@cvs.openbsd.org 2010/05/14 00:47:22
1037      [ssh-add.c]
1038      check that the certificate matches the corresponding private key before
1039      grafting it on
1040    - djm@cvs.openbsd.org 2010/05/14 23:29:23
1041      [channels.c channels.h mux.c ssh.c]
1042      Pause the mux channel while waiting for reply from aynch callbacks.
1043      Prevents misordering of replies if new requests arrive while waiting.
1044      
1045      Extend channel open confirm callback to allow signalling failure
1046      conditions as well as success. Use this to 1) fix a memory leak, 2)
1047      start using the above pause mechanism and 3) delay sending a success/
1048      failure message on mux slave session open until we receive a reply from
1049      the server.
1050      
1051      motivated by and with feedback from markus@
1052    - markus@cvs.openbsd.org 2010/05/16 12:55:51
1053      [PROTOCOL.mux clientloop.h mux.c readconf.c readconf.h ssh.1 ssh.c]
1054      mux support for remote forwarding with dynamic port allocation,
1055      use with
1056         LPORT=`ssh -S muxsocket -R0:localhost:25 -O forward somehost`
1057      feedback and ok djm@
1058    - djm@cvs.openbsd.org 2010/05/20 11:25:26
1059      [auth2-pubkey.c]
1060      fix logspam when key options (from="..." especially) deny non-matching
1061      keys; reported by henning@ also bz#1765; ok markus@ dtucker@
1062    - djm@cvs.openbsd.org 2010/05/20 23:46:02
1063      [PROTOCOL.certkeys auth-options.c ssh-keygen.c]
1064      Move the permit-* options to the non-critical "extensions" field for v01
1065      certificates. The logic is that if another implementation fails to
1066      implement them then the connection just loses features rather than fails
1067      outright.
1068      
1069      ok markus@
1071 20100511
1072  - (dtucker) [Makefile.in] Bug #1770: Link libopenbsd-compat twice to solve
1073    circular dependency problem on old or odd platforms.  From Tom Lane, ok
1074    djm@.
1075  - (djm) [openbsd-compat/openssl-compat.h] Fix build breakage on older
1076    libcrypto by defining OPENSSL_[DR]SA_MAX_MODULUS_BITS if they aren't
1077    already. ok dtucker@
1079 20100510
1080  - OpenBSD CVS Sync
1081    - djm@cvs.openbsd.org 2010/04/23 01:47:41
1082      [ssh-keygen.c]
1083      bz#1740: display a more helpful error message when $HOME is
1084      inaccessible while trying to create .ssh directory. Based on patch
1085      from jchadima AT redhat.com; ok dtucker@
1086    - djm@cvs.openbsd.org 2010/04/23 22:27:38
1087      [mux.c]
1088      set "detach_close" flag when registering channel cleanup callbacks.
1089      This causes the channel to close normally when its fds close and
1090      hangs when terminating a mux slave using ~. bz#1758; ok markus@
1091    - djm@cvs.openbsd.org 2010/04/23 22:42:05
1092      [session.c]
1093      set stderr to /dev/null for subsystems rather than just closing it.
1094      avoids hangs if a subsystem or shell initialisation writes to stderr.
1095      bz#1750; ok markus@
1096    - djm@cvs.openbsd.org 2010/04/23 22:48:31
1097      [ssh-keygen.c]
1098      refuse to generate keys longer than OPENSSL_[RD]SA_MAX_MODULUS_BITS,
1099      since we would refuse to use them anyway. bz#1516; ok dtucker@
1100    - djm@cvs.openbsd.org 2010/04/26 22:28:24
1101      [sshconnect2.c]
1102      bz#1502: authctxt.success is declared as an int, but passed by
1103      reference to function that accepts sig_atomic_t*. Convert it to
1104      the latter; ok markus@ dtucker@
1105    - djm@cvs.openbsd.org 2010/05/01 02:50:50
1106      [PROTOCOL.certkeys]
1107      typo; jmeltzer@
1108    - dtucker@cvs.openbsd.org 2010/05/05 04:22:09
1109      [sftp.c]
1110      restore mput and mget which got lost in the tab-completion changes.
1111      found by Kenneth Whitaker, ok djm@
1112    - djm@cvs.openbsd.org 2010/05/07 11:30:30
1113      [auth-options.c auth-options.h auth.c auth.h auth2-pubkey.c]
1114      [key.c servconf.c servconf.h sshd.8 sshd_config.5]
1115      add some optional indirection to matching of principal names listed
1116      in certificates. Currently, a certificate must include the a user's name
1117      to be accepted for authentication. This change adds the ability to
1118      specify a list of certificate principal names that are acceptable.
1119      
1120      When authenticating using a CA trusted through ~/.ssh/authorized_keys,
1121      this adds a new principals="name1[,name2,...]" key option.
1122      
1123      For CAs listed through sshd_config's TrustedCAKeys option, a new config
1124      option "AuthorizedPrincipalsFile" specifies a per-user file containing
1125      the list of acceptable names.
1126      
1127      If either option is absent, the current behaviour of requiring the
1128      username to appear in principals continues to apply.
1129      
1130      These options are useful for role accounts, disjoint account namespaces
1131      and "user@realm"-style naming policies in certificates.
1132      
1133      feedback and ok markus@
1134    - jmc@cvs.openbsd.org 2010/05/07 12:49:17
1135      [sshd_config.5]
1136      tweak previous;
1138 20100423
1139  - (dtucker) [configure.ac] Bug #1756: Check for the existence of a lib64 dir
1140    in the openssl install directory (some newer openssl versions do this on at
1141    least some amd64 platforms).
1143 20100418
1144  - OpenBSD CVS Sync
1145    - jmc@cvs.openbsd.org 2010/04/16 06:45:01
1146      [ssh_config.5]
1147      tweak previous; ok djm
1148    - jmc@cvs.openbsd.org 2010/04/16 06:47:04
1149      [ssh-keygen.1 ssh-keygen.c]
1150      tweak previous; ok djm
1151    - djm@cvs.openbsd.org 2010/04/16 21:14:27
1152      [sshconnect.c]
1153      oops, %r => remote username, not %u
1154    - djm@cvs.openbsd.org 2010/04/16 01:58:45
1155      [regress/cert-hostkey.sh regress/cert-userkey.sh]
1156      regression tests for v01 certificate format
1157      includes interop tests for v00 certs
1158  - (dtucker) [contrib/aix/buildbff.sh] Fix creation of ssh_prng_cmds.default
1159    file.
1161 20100416
1162  - (djm) Release openssh-5.5p1
1163  - OpenBSD CVS Sync
1164    - djm@cvs.openbsd.org 2010/03/26 03:13:17
1165      [bufaux.c]
1166      allow buffer_get_int_ret/buffer_get_int64_ret to take a NULL pointer
1167      argument to allow skipping past values in a buffer
1168    - jmc@cvs.openbsd.org 2010/03/26 06:54:36
1169      [ssh.1]
1170      tweak previous;
1171    - jmc@cvs.openbsd.org 2010/03/27 14:26:55
1172      [ssh_config.5]
1173      tweak previous; ok dtucker
1174    - djm@cvs.openbsd.org 2010/04/10 00:00:16
1175      [ssh.c]
1176      bz#1746 - suppress spurious tty warning when using -O and stdin
1177      is not a tty; ok dtucker@ markus@
1178    - djm@cvs.openbsd.org 2010/04/10 00:04:30
1179      [sshconnect.c]
1180      fix terminology: we didn't find a certificate in known_hosts, we found
1181      a CA key
1182    - djm@cvs.openbsd.org 2010/04/10 02:08:44
1183      [clientloop.c]
1184      bz#1698: kill channel when pty allocation requests fail. Fixed
1185      stuck client if the server refuses pty allocation.
1186      ok dtucker@ "think so" markus@
1187    - djm@cvs.openbsd.org 2010/04/10 02:10:56
1188      [sshconnect2.c]
1189      show the key type that we are offering in debug(), helps distinguish
1190      between certs and plain keys as the path to the private key is usually
1191      the same.
1192    - djm@cvs.openbsd.org 2010/04/10 05:48:16
1193      [mux.c]
1194      fix NULL dereference; from matthew.haub AT alumni.adelaide.edu.au
1195    - djm@cvs.openbsd.org 2010/04/14 22:27:42
1196      [ssh_config.5 sshconnect.c]
1197      expand %r => remote username in ssh_config:ProxyCommand;
1198      ok deraadt markus
1199    - markus@cvs.openbsd.org 2010/04/15 20:32:55
1200      [ssh-pkcs11.c]
1201      retry lookup for private key if there's no matching key with CKA_SIGN
1202      attribute enabled; this fixes fixes MuscleCard support (bugzilla #1736)
1203      ok djm@
1204    - djm@cvs.openbsd.org 2010/04/16 01:47:26
1205      [PROTOCOL.certkeys auth-options.c auth-options.h auth-rsa.c]
1206      [auth2-pubkey.c authfd.c key.c key.h myproposal.h ssh-add.c]
1207      [ssh-agent.c ssh-dss.c ssh-keygen.1 ssh-keygen.c ssh-rsa.c]
1208      [sshconnect.c sshconnect2.c sshd.c]
1209      revised certificate format ssh-{dss,rsa}-cert-v01@openssh.com with the
1210      following changes:
1211      
1212      move the nonce field to the beginning of the certificate where it can
1213      better protect against chosen-prefix attacks on the signature hash
1214      
1215      Rename "constraints" field to "critical options"
1216      
1217      Add a new non-critical "extensions" field
1218      
1219      Add a serial number
1220      
1221      The older format is still support for authentication and cert generation
1222      (use "ssh-keygen -t v00 -s ca_key ..." to generate a v00 certificate)
1223      
1224      ok markus@