- (dtucker) OpenBSD CVS Sync
[openssh-git.git] / ChangeLog
blob16f45c8ffb5b70e4920fe22d77152958706ddf70
1 20091024
2  - (dtucker) OpenBSD CVS Sync
3    - djm@cvs.openbsd.org 2009/10/11 23:03:15
4      [hostfile.c]
5      mention the host name that we are looking for in check_host_in_hostfile()
7 20091011
8  - (dtucker) [configure.ac sftp-client.c] Remove the gyrations required for
9    dirent d_type and DTTOIF as we've switched OpenBSD to the more portable
10    lstat.
11  - (dtucker) OpenBSD CVS Sync
12    - markus@cvs.openbsd.org 2009/10/08 14:03:41
13      [sshd_config readconf.c ssh_config.5 servconf.c sshd_config.5]
14      disable protocol 1 by default (after a transition period of about 10 years)
15      ok deraadt
16    - jmc@cvs.openbsd.org 2009/10/08 20:42:12
17      [sshd_config.5 ssh_config.5 sshd.8 ssh.1]
18      some tweaks now that protocol 1 is not offered by default; ok markus
19    - dtucker@cvs.openbsd.org 2009/10/11 10:41:26
20      [sftp-client.c]
21      d_type isn't portable so use lstat to get dirent modes.  Suggested by and
22      "looks sane" deraadt@
23    - markus@cvs.openbsd.org 2009/10/08 18:04:27
24      [regress/test-exec.sh]
25      re-enable protocol v1 for the tests.
27 20091007
28  - (dtucker) OpenBSD CVS Sync
29    - djm@cvs.openbsd.org 2009/08/12 00:13:00
30      [sftp.c sftp.1]
31      support most of scp(1)'s commandline arguments in sftp(1), as a first
32      step towards making sftp(1) a drop-in replacement for scp(1).
33      One conflicting option (-P) has not been changed, pending further
34      discussion.
35      Patch from carlosvsilvapt@gmail.com as part of his work in the
36      Google Summer of Code
37   - jmc@cvs.openbsd.org 2009/08/12 06:31:42
38      [sftp.1]
39      sort options;
40    - djm@cvs.openbsd.org 2009/08/13 01:11:19
41      [sftp.1 sftp.c]
42      Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
43      add "-P port" to match scp(1). Fortunately, the -P option is only really
44      used by our regression scripts.
45      part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
46      of Code work; ok deraadt markus
47    - jmc@cvs.openbsd.org 2009/08/13 13:39:54
48      [sftp.1 sftp.c]
49      sync synopsis and usage();
50    - djm@cvs.openbsd.org 2009/08/14 18:17:49
51      [sftp-client.c]
52      make the "get_handle: ..." error messages vaguely useful by allowing
53      callers to specify their own error message strings.
54    - fgsch@cvs.openbsd.org 2009/08/15 18:56:34
55      [auth.h]
56      remove unused define. markus@ ok.
57      (Id sync only, Portable still uses this.)
58    - dtucker@cvs.openbsd.org 2009/08/16 23:29:26
59      [sshd_config.5]
60      Add PubkeyAuthentication to the list allowed in a Match block (bz #1577)
61    - djm@cvs.openbsd.org 2009/08/18 18:36:21
62      [sftp-client.h sftp.1 sftp-client.c sftp.c]
63      recursive transfer support for get/put and on the commandline
64      work mostly by carlosvsilvapt@gmail.com for the Google Summer of Code
65      with some tweaks by me; "go for it" deraadt@
66   - djm@cvs.openbsd.org 2009/08/18 21:15:59
67      [sftp.1]
68      fix "get" command usage, spotted by jmc@
69    - jmc@cvs.openbsd.org 2009/08/19 04:56:03
70      [sftp.1]
71      ether -> either;
72    - dtucker@cvs.openbsd.org 2009/08/20 23:54:28
73      [mux.c]
74      subsystem_flag is defined in ssh.c so it's extern; ok djm
75    - djm@cvs.openbsd.org 2009/08/27 17:28:52
76      [sftp-server.c]
77      allow setting an explicit umask on the commandline to override whatever
78      default the user has. bz#1229; ok dtucker@ deraadt@ markus@
79    - djm@cvs.openbsd.org 2009/08/27 17:33:49
80      [ssh-keygen.c]
81      force use of correct hash function for random-art signature display
82      as it was inheriting the wrong one when bubblebabble signatures were
83      activated; bz#1611 report and patch from fwojcik+openssh AT besh.com;
84      ok markus@
85    - djm@cvs.openbsd.org 2009/08/27 17:43:00
86      [sftp-server.8]
87      allow setting an explicit umask on the commandline to override whatever
88      default the user has. bz#1229; ok dtucker@ deraadt@ markus@
89    - djm@cvs.openbsd.org 2009/08/27 17:44:52
90      [authfd.c ssh-add.c authfd.h]
91      Do not fall back to adding keys without contraints (ssh-add -c / -t ...)
92      when the agent refuses the constrained add request. This was a useful
93      migration measure back in 2002 when constraints were new, but just
94      adds risk now.
95      bz #1612, report and patch from dkg AT fifthhorseman.net; ok markus@
96    - djm@cvs.openbsd.org 2009/08/31 20:56:02
97      [sftp-server.c]
98      check correct variable for error message, spotted by martynas@
99    - djm@cvs.openbsd.org 2009/08/31 21:01:29
100      [sftp-server.8]
101      document -e and -h; prodded by jmc@
102    - djm@cvs.openbsd.org 2009/09/01 14:43:17
103      [ssh-agent.c]
104      fix a race condition in ssh-agent that could result in a wedged or
105      spinning agent: don't read off the end of the allocated fd_sets, and
106      don't issue blocking read/write on agent sockets - just fall back to
107      select() on retriable read/write errors. bz#1633 reported and tested
108      by "noodle10000 AT googlemail.com"; ok dtucker@ markus@
109    - grunk@cvs.openbsd.org 2009/10/01 11:37:33
110      [dh.c]
111      fix a cast
112      ok djm@ markus@
113    - djm@cvs.openbsd.org 2009/10/06 04:46:40
114      [session.c]
115      bz#1596: fflush(NULL) before exec() to ensure that everying (motd
116      in particular) has made it out before the streams go away.
117    - djm@cvs.openbsd.org 2008/12/07 22:17:48
118      [regress/addrmatch.sh]
119      match string "passwordauthentication" only at start of line, not anywhere
120      in sshd -T output
121    - dtucker@cvs.openbsd.org 2009/05/05 07:51:36
122      [regress/multiplex.sh]
123      Always specify ssh_config for multiplex tests: prevents breakage caused
124      by options in ~/.ssh/config.  From Dan Peterson.
125    - djm@cvs.openbsd.org 2009/08/13 00:57:17
126      [regress/Makefile]
127      regression test for port number parsing. written as part of the a2port
128      change that went into 5.2 but I forgot to commit it at the time...
129    - djm@cvs.openbsd.org 2009/08/13 01:11:55
130      [regress/sftp-batch.sh regress/sftp-badcmds.sh regress/sftp.sh
131      regress/sftp-cmds.sh regres/sftp-glob.sh]
132      date: 2009/08/13 01:11:19;  author: djm;  state: Exp;  lines: +10 -7
133      Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",
134      add "-P port" to match scp(1). Fortunately, the -P option is only really
135      used by our regression scripts.
136      part of larger patch from carlosvsilvapt@gmail.com for his Google Summer
137      of Code work; ok deraadt markus
138    - djm@cvs.openbsd.org 2009/08/20 18:43:07
139      [regress/ssh-com-sftp.sh]
140      fix one sftp -D ... => sftp -P ... conversion that I missed; from Carlos
141      Silva for Google Summer of Code
142    - dtucker@cvs.openbsd.org 2009/10/06 23:51:49
143      [regress/ssh2putty.sh]
144      Add OpenBSD tag to make syncs easier
145  - (dtucker) [regress/portnum.sh] Import new test.
146  - (dtucker) [configure.ac sftp-client.c] DTOTIF is in fs/ffs/dir.h on at
147    least dragonflybsd.
148  - (dtucker) d_type is not mandated by POSIX, so add fallback code using
149     stat(), needed on at least cygwin.
151 20091002
152  - (djm) [Makefile.in] Mention readconf.o in ssh-keysign's make deps.
153    spotted by des AT des.no
155 20090926
156  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
157          [contrib/suse/openssh.spec] Update for release
158  - (djm) [README] update relnotes URL
159  - (djm) [packet.c] Restore EWOULDBLOCK handling that got lost somewhere
160  - (djm) Release 5.3p1
162 20090911
163  - (dtucker) [configure.ac] Change the -lresolv check so it works on Mac OS X
164    10.6 (which doesn't have BIND8_COMPAT and thus uses res_9_query).  Patch
165    from jbasney at ncsa uiuc edu.
167 20090908
168  - (djm) [serverloop.c] Fix test for server-assigned remote forwarding port
169    (-R 0:...); bz#1578, spotted and fix by gavin AT emf.net; ok dtucker@
171 20090901
172  - (dtucker) [configure.ac] Bug #1639: use AC_PATH_PROG to search the path for
173    krb5-config if it's not in the location specified by --with-kerberos5.
174    Patch from jchadima at redhat.
176 20090829
177  - (dtucker) [README.platform] Add text about development packages, based on
178    text from Chris Pepper in bug #1631.
180 20090828
181  - dtucker [auth-sia.c] Roll back the change for bug #1241 as it apparently
182    causes problems in some Tru64 configurations.
183  - (djm) [sshd_config.5] downgrade mention of login.conf to be an example
184    and mention PAM as another provider for ChallengeResponseAuthentication;
185    bz#1408; ok dtucker@
186  - (djm) [sftp-server.c] bz#1535: accept ENOSYS as a fallback error when
187    attempting atomic rename(); ok dtucker@
188  - (djm) [Makefile.in] bz#1505: Solaris make(1) doesn't accept make variables
189    in argv, so pass them in the environment; ok dtucker@
190  - (dtucker) [channels.c configure.ac] Bug #1528: skip the tcgetattr call on
191     the pty master on Solaris, since it never succeeds and can hang if large
192     amounts of data is sent to the slave (eg a copy-paste).  Based on a patch
193     originally from Doke Scott, ok djm@
194  - (dtucker) [clientloop.c configure.ac defines.h] Make the client's IO buffer
195    size a compile-time option and set it to 64k on Cygwin, since Corinna
196    reports that it makes a significant difference to performance.  ok djm@
197  - (dtucker) [configure.ac] Fix the syntax of the Solaris tcgetattr entry.
199 20090820
200  - (dtucker) [includes.h] Bug #1634: do not include system glob.h if we're not
201    using it since the type conflicts can cause problems on FreeBSD.  Patch
202    from Jonathan Chen.
203  - (dtucker) [session.c openbsd-compat/port-aix.h] Bugs #1249 and #1567: move
204    the setpcred call on AIX to immediately before the permanently_set_uid().
205    Ensures that we still have privileges when we call chroot and
206    pam_open_sesson.  Based on a patch from David Leonard.
208 20090817
209  - (dtucker) [configure.ac] Check for headers before libraries for openssl an
210    zlib, which should make the errors slightly more meaningful on platforms
211    where there's separate "-devel" packages for those.
212  - (dtucker) [sshlogin.c openbsd-compat/port-aix.{c,h}] Bug #1595: make
213    PrintLastLog work on AIX.  Based in part on a patch from Miguel Sanders.
215 20090729
216  - (tim) [contrib/cygwin/ssh-user-config] Change script to call correct error
217    function. Patch from Corinna Vinschen.
219 20090713
220  - (dtucker) [openbsd-compat/getrrsetbyname.c] Reduce answer buffer size so it
221    fits into 16 bits to work around a bug in glibc's resolver where it masks
222    off the buffer size at 16 bits.  Patch from Hauke Lampe, ok djm jakob.
224 20090712
225  - (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test,
226    prevents configure complaining on older BSDs.
227  - (dtucker [contrib/cygwin/ssh-{host,user}-config] Add license text. Patch
228    from Corinna Vinschen.
229  - (dtucker) [auth-pam.c] Bug #1534: move the deletion of PAM credentials on
230    logout to after the session close.  Patch from Anicka Bernathova,
231    originally from Andreas Schwab via Novelll ok djm.
233 20090707
234  - (dtucker) [contrib/cygwin/ssh-host-config] better support for automated
235    scripts and fix usage of eval.  Patch from Corinna Vinschen.
237 20090705
238  - (dtucker) OpenBSD CVS Sync
239    - andreas@cvs.openbsd.org 2009/06/27 09:29:06
240      [packet.h packet.c]
241      packet_bacup_state() and packet_restore_state() will be used to
242      temporarily save the current state ren resuming a suspended connection.
243      ok markus@
244    - andreas@cvs.openbsd.org 2009/06/27 09:32:43
245      [roaming_common.c roaming.h]
246      It may be necessary to retransmit some data when resuming, so add it
247      to a buffer when roaming is enabled.
248      Most of this code was written by Martin Forssen, maf at appgate dot com.
249      ok markus@
250    - andreas@cvs.openbsd.org 2009/06/27 09:35:06
251      [readconf.h readconf.c]
252      Add client option UseRoaming. It doesn't do anything yet but will
253      control whether the client tries to use roaming if enabled on the
254      server. From Martin Forssen.
255      ok markus@
256    - markus@cvs.openbsd.org 2009/06/30 14:54:40
257      [version.h]
258      crank version; ok deraadt
259    - dtucker@cvs.openbsd.org 2009/07/02 02:11:47
260      [ssh.c]
261      allow for long home dir paths (bz #1615).  ok deraadt
262      (based in part on a patch from jchadima at redhat)
263    - stevesk@cvs.openbsd.org 2009/07/05 19:28:33
264      [clientloop.c]
265      only send SSH2_MSG_DISCONNECT if we're in compat20; from dtucker@
266      ok deraadt@ markus@
268 20090622
269  - (dtucker) OpenBSD CVS Sync
270    - dtucker@cvs.openbsd.org 2009/06/22 05:39:28
271      [monitor_wrap.c monitor_mm.c ssh-keygen.c auth2.c gss-genr.c sftp-client.c]
272      alphabetize includes; reduces diff vs portable and style(9).
273      ok stevesk djm
274      (Id sync only; these were already in order in -portable)
276 20090621
277  - (dtucker) OpenBSD CVS Sync
278    - markus@cvs.openbsd.org 2009/03/17 21:37:00
279      [ssh.c]
280      pass correct argv[0] to openlog(); ok djm@
281   - jmc@cvs.openbsd.org 2009/03/19 15:15:09
282      [ssh.1]
283      for "Ciphers", just point the reader to the keyword in ssh_config(5), just
284      as we do for "MACs": this stops us getting out of sync when the lists
285      change;
286      fixes documentation/6102, submitted by Peter J. Philipp
287      alternative fix proposed by djm
288      ok markus
289    - tobias@cvs.openbsd.org 2009/03/23 08:31:19
290      [ssh-agent.c]
291      Fixed a possible out-of-bounds memory access if the environment variable
292      SHELL is shorter than 3 characters.
293      with input by and ok dtucker
294    - tobias@cvs.openbsd.org 2009/03/23 19:38:04
295      [ssh-agent.c]
296      My previous commit didn't fix the problem at all, so stick at my first
297      version of the fix presented to dtucker.
298      Issue notified by Matthias Barkhoff (matthias dot barkhoff at gmx dot de).
299      ok dtucker
300    - sobrado@cvs.openbsd.org 2009/03/26 08:38:39
301      [sftp-server.8 sshd.8 ssh-agent.1]
302      fix a few typographical errors found by spell(1).
303      ok dtucker@, jmc@
304    - stevesk@cvs.openbsd.org 2009/04/13 19:07:44
305      [sshd_config.5]
306      fix possessive; ok djm@
307    - stevesk@cvs.openbsd.org 2009/04/14 16:33:42
308      [sftp-server.c]
309      remove unused option character from getopt() optstring; ok markus@
310    - jj@cvs.openbsd.org 2009/04/14 21:10:54
311      [servconf.c]
312      Fixed a few the-the misspellings in comments. Skipped a bunch in
313      binutils,gcc and so on. ok jmc@
314    - stevesk@cvs.openbsd.org 2009/04/17 19:23:06
315      [session.c]
316      use INTERNAL_SFTP_NAME for setproctitle() of in-process sftp-server;
317      ok djm@ markus@
318    - stevesk@cvs.openbsd.org 2009/04/17 19:40:17
319      [sshd_config.5]
320      clarify that even internal-sftp needs /dev/log for logging to work; ok
321      markus@
322    - jmc@cvs.openbsd.org 2009/04/18 18:39:10
323      [sshd_config.5]
324      tweak previous; ok stevesk
325    - stevesk@cvs.openbsd.org 2009/04/21 15:13:17
326      [sshd_config.5]
327      clarify we cd to user's home after chroot; ok markus@ on
328      earlier version; tweaks and ok jmc@
329    - andreas@cvs.openbsd.org 2009/05/25 06:48:01
330      [channels.c packet.c clientloop.c packet.h serverloop.c monitor_wrap.c
331      monitor.c]
332      Put the globals in packet.c into a struct and don't access it directly
333      from other files. No functional changes.
334      ok markus@ djm@
335    - andreas@cvs.openbsd.org 2009/05/27 06:31:25
336      [canohost.h canohost.c]
337      Add clear_cached_addr(), needed for upcoming changes allowing the peer
338      address to change.
339      ok markus@
340    - andreas@cvs.openbsd.org 2009/05/27 06:33:39
341      [clientloop.c]
342      Send SSH2_MSG_DISCONNECT when the client disconnects. From a larger
343      change from Martin Forssen, maf at appgate dot com.
344      ok markus@
345    - andreas@cvs.openbsd.org 2009/05/27 06:34:36
346      [kex.c kex.h]
347      Move the KEX_COOKIE_LEN define to kex.h
348      ok markus@
349    - andreas@cvs.openbsd.org 2009/05/27 06:36:07
350      [packet.h packet.c]
351      Add packet_put_int64() and packet_get_int64(), part of a larger change
352      from Martin Forssen.
353      ok markus@
354    - andreas@cvs.openbsd.org 2009/05/27 06:38:16
355      [sshconnect.h sshconnect.c]
356      Un-static ssh_exchange_identification(), part of a larger change from
357      Martin Forssen and needed for upcoming changes.
358      ok markus@
359    - andreas@cvs.openbsd.org 2009/05/28 16:50:16
360      [sshd.c packet.c serverloop.c monitor_wrap.c clientloop.c sshconnect.c
361      monitor.c Added roaming.h roaming_common.c roaming_dummy.c]
362      Keep track of number of bytes read and written. Needed for upcoming
363      changes. Most code from Martin Forssen, maf at appgate dot com.
364      ok markus@
365      Also, applied appropriate changes to Makefile.in
366    - andreas@cvs.openbsd.org 2009/06/12 20:43:22
367      [monitor.c packet.c]
368      Fix warnings found by chl@ and djm@ and change roaming_atomicio's
369      return type to match atomicio's
370      Diff from djm@, ok markus@
371    - andreas@cvs.openbsd.org 2009/06/12 20:58:32
372      [packet.c]
373      Move some more statics into session_state
374      ok markus@ djm@
375    - dtucker@cvs.openbsd.org 2009/06/21 07:37:15
376      [kexdhs.c kexgexs.c]
377      abort if key_sign fails, preventing possible null deref.  Based on report
378      from Paolo Ganci, ok markus@ djm@
379    - dtucker@cvs.openbsd.org 2009/06/21 09:04:03
380      [roaming.h roaming_common.c roaming_dummy.c]
381      Add  tags for the benefit of the sync scripts
382      Also: pull in the changes for 1.1->1.2 missed in the previous sync.
383  - (dtucker) [auth2-jpake.c auth2.c canohost.h session.c] Whitespace and
384    header-order changes to reduce diff vs OpenBSD.
385  - (dtucker) [servconf.c sshd.c] More whitespace sync.
386  - (dtucker) [roaming_common.c roaming_dummy.c] Wrap #include <inttypes.h> in
387    ifdef.
389 20090616
390  - (dtucker) [configure.ac defines.h] Bug #1607: handle the case where fsid_t
391    is a struct with a __val member.  Fixes build on, eg, Redhat 6.2.
393 20090504
394  - (dtucker) [sshlogin.c] Move the NO_SSH_LASTLOG #ifndef line to include
395    variable declarations.  Should prevent unused warnings anywhere it's set
396    (only Crays as far as I can tell) and be a no-op everywhere else.
398 20090318
399  - (tim) [configure.ac] Remove setting IP_TOS_IS_BROKEN for Cygwin. The problem
400    that setsockopt(IP_TOS) doesn't work on Cygwin has been fixed since 2005.
401    Based on patch from vinschen at redhat com.
403 20090308
404  - (dtucker) [auth-passwd.c auth1.c auth2-kbdint.c auth2-none.c auth2-passwd.c
405    auth2-pubkey.c session.c openbsd-compat/bsd-cygwin_util.{c,h}
406    openbsd-compat/daemon.c] Remove support for Windows 95/98/ME and very old
407    version of Cygwin.  Patch from vinschen at redhat com.
409 20090307
410  - (dtucker) [contrib/aix/buildbff.sh] Only try to rename ssh_prng_cmds if it
411    exists (it's not created if OpenSSL's PRNG is self-seeded, eg if the OS
412    has a /dev/random).
413  - (dtucker) [schnorr.c openbsd-compat/openssl-compat.{c,h}] Add
414    EVP_DigestUpdate to the OLD_EVP compatibility functions and tell schnorr.c
415    to use them.  Allows building with older OpenSSL versions.
416  - (dtucker) [configure.ac defines.h] Check for in_port_t and typedef if needed.
417  - (dtucker) [configure.ac] Missing comma in type list.
418  - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}]
419    EVP_DigestUpdate does not exactly match the other OLD_EVP functions (eg
420    in openssl 0.9.6) so add an explicit test for it.
422 20090306
423  - (djm) OpenBSD CVS Sync
424    - djm@cvs.openbsd.org 2009/03/05 07:18:19
425      [auth2-jpake.c jpake.c jpake.h monitor_wrap.c monitor_wrap.h schnorr.c]
426      [sshconnect2.c]
427      refactor the (disabled) Schnorr proof code to make it a little more
428      generally useful
429    - djm@cvs.openbsd.org 2009/03/05 11:30:50
430      [uuencode.c]
431      document what these functions do so I don't ever have to recuse into
432      b64_pton/ntop to remember their return values
434 20090223
435  - (djm) OpenBSD CVS Sync
436    - djm@cvs.openbsd.org 2009/02/22 23:50:57
437      [ssh_config.5 sshd_config.5]
438      don't advertise experimental options
439    - djm@cvs.openbsd.org 2009/02/22 23:59:25
440      [sshd_config.5]
441      missing period
442    - djm@cvs.openbsd.org 2009/02/23 00:06:15
443      [version.h]
444      openssh-5.2
445  - (djm) [README] update for 5.2
446  - (djm) Release openssh-5.2p1
448 20090222
449  - (djm) OpenBSD CVS Sync
450    - tobias@cvs.openbsd.org 2009/02/21 19:32:04
451      [misc.c sftp-server-main.c ssh-keygen.c]
452      Added missing newlines in error messages.
453      ok dtucker
455 20090221
456  - (djm) OpenBSD CVS Sync
457    - djm@cvs.openbsd.org 2009/02/17 01:28:32
458      [ssh_config]
459      sync with revised default ciphers; pointed out by dkrause@
460    - djm@cvs.openbsd.org 2009/02/18 04:31:21
461      [schnorr.c]
462      signature should hash over the entire group, not just the generator
463      (this is still disabled code)
464  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
465    [contrib/suse/openssh.spec] Prepare for 5.2p1
467 20090216
468  - (djm) [regress/conch-ciphers.sh regress/putty-ciphers.sh]
469    [regress/putty-kex.sh regress/putty-transfer.sh] Downgrade disabled
470    interop tests from FATAL error to a warning. Allows some interop
471    tests to proceed if others are missing necessary prerequisites.
472  - (djm) [configure.ac] support GNU/kFreeBSD and GNU/kOpensolaris
473    systems; patch from Aurelien Jarno via rmh AT aybabtu.com
475 20090214
476  - (djm) OpenBSD CVS Sync
477    - dtucker@cvs.openbsd.org 2009/02/02 11:15:14
478      [sftp.c]
479      Initialize a few variables to prevent spurious "may be used
480      uninitialized" warnings from newer gcc's.  ok djm@
481    - djm@cvs.openbsd.org 2009/02/12 03:00:56
482      [canohost.c canohost.h channels.c channels.h clientloop.c readconf.c]
483      [readconf.h serverloop.c ssh.c]
484      support remote port forwarding with a zero listen port (-R0:...) to
485      dyamically allocate a listen port at runtime (this is actually
486      specified in rfc4254); bz#1003 ok markus@
487    - djm@cvs.openbsd.org 2009/02/12 03:16:01
488      [serverloop.c]
489      tighten check for -R0:... forwarding: only allow dynamic allocation
490      if want_reply is set in the packet
491    - djm@cvs.openbsd.org 2009/02/12 03:26:22
492      [monitor.c]
493      some paranoia: check that the serialised key is really KEY_RSA before
494      diddling its internals
495    - djm@cvs.openbsd.org 2009/02/12 03:42:09
496      [ssh.1]
497      document -R0:... usage
498    - djm@cvs.openbsd.org 2009/02/12 03:44:25
499      [ssh.1]
500      consistency: Dq => Ql
501    - djm@cvs.openbsd.org 2009/02/12 03:46:17
502      [ssh_config.5]
503      document RemoteForward usage with 0 listen port
504    - jmc@cvs.openbsd.org 2009/02/12 07:34:20
505      [ssh_config.5]
506      kill trailing whitespace;
507    - markus@cvs.openbsd.org 2009/02/13 11:50:21
508      [packet.c]
509      check for enc !=NULL in packet_start_discard
510    - djm@cvs.openbsd.org 2009/02/14 06:35:49
511      [PROTOCOL]
512      mention that eow and no-more-sessions extensions are sent only to
513      OpenSSH peers
515 20090212
516  - (djm) [sshpty.c] bz#1419: OSX uses cloning ptys that automagically
517    set ownership and modes, so avoid explicitly setting them
518  - (djm) [configure.ac loginrec.c] bz#1421: fix lastlog support for OSX.
519    OSX provides a getlastlogxbyname function that automates the reading of
520    a lastlog file. Also, the pututxline function will update lastlog so
521    there is no need for loginrec.c to do it explicitly. Collapse some
522    overly verbose code while I'm in there.
524 20090201
525  - (dtucker) [defines.h sshconnect.c] INET6_ADDRSTRLEN is now needed in
526    channels.c too, so move the definition for non-IP6 platforms to defines.h
527    where it can be shared.
529 20090129
530  - (tim) [contrib/cygwin/ssh-host-config] Patch from Corinna Vinschen.
531    If the CYGWIN environment variable is empty, the installer script
532    should not install the service with an empty CYGWIN variable, but
533    rather without setting CYGWNI entirely.
534  - (tim) [contrib/cygwin/ssh-host-config] Whitespace cleanup. No code changes.
536 20090128
537  - (tim) [contrib/cygwin/ssh-host-config] Patch from Corinna Vinschen.
538    Changes to work on Cygwin 1.5.x as well as on the new Cygwin 1.7.x.
539    The information given for the setting of the CYGWIN environment variable
540    is wrong for both releases so I just removed it, together with the
541    unnecessary (Cygwin 1.5.x) or wrong (Cygwin 1.7.x) default setting.
543 20081228
544  - (djm) OpenBSD CVS Sync
545    - stevesk@cvs.openbsd.org 2008/12/09 03:20:42
546      [channels.c servconf.c]
547      channel_print_adm_permitted_opens() should deal with all the printing
548      for that config option.  suggested by markus@; ok markus@ djm@
549      dtucker@
550    - djm@cvs.openbsd.org 2008/12/09 04:32:22
551      [auth2-chall.c]
552      replace by-hand string building with xasprinf(); ok deraadt@
553    - sobrado@cvs.openbsd.org 2008/12/09 15:35:00
554      [sftp.1 sftp.c]
555      update for the synopses displayed by the 'help' command, there are a
556      few missing flags; add 'bye' to the output of 'help'; sorting and spacing.
557      jmc@ suggested replacing .Oo/.Oc with a single .Op macro.
558      ok jmc@
559    - stevesk@cvs.openbsd.org 2008/12/09 22:37:33
560      [clientloop.c]
561      fix typo in error message
562    - stevesk@cvs.openbsd.org 2008/12/10 03:55:20
563      [addrmatch.c]
564      o cannot be NULL here but use xfree() to be consistent; ok djm@
565    - stevesk@cvs.openbsd.org 2008/12/29 01:12:36
566      [ssh-keyscan.1]
567      fix example, default key type is rsa for 3+ years; from
568      frederic.perrin@resel.fr
569    - stevesk@cvs.openbsd.org 2008/12/29 02:23:26
570      [pathnames.h]
571      no need to escape single quotes in comments
572    - okan@cvs.openbsd.org 2008/12/30 00:46:56
573      [sshd_config.5]
574      add AllowAgentForwarding to available Match keywords list
575      ok djm
576    - djm@cvs.openbsd.org 2009/01/01 21:14:35
577      [channels.c]
578      call channel destroy callbacks on receipt of open failure messages.
579      fixes client hangs when connecting to a server that has MaxSessions=0
580      set spotted by imorgan AT nas.nasa.gov; ok markus@
581    - djm@cvs.openbsd.org 2009/01/01 21:17:36
582      [kexgexs.c]
583      fix hash calculation for KEXGEX: hash over the original client-supplied
584      values and not the sanity checked versions that we acutally use;
585      bz#1540 reported by john.smith AT arrows.demon.co.uk
586      ok markus@
587    - djm@cvs.openbsd.org 2009/01/14 01:38:06
588      [channels.c]
589      support SOCKS4A protocol, from dwmw2 AT infradead.org via bz#1482;
590      "looks ok" markus@
591    - stevesk@cvs.openbsd.org 2009/01/15 17:38:43
592      [readconf.c]
593      1) use obsolete instead of alias for consistency
594      2) oUserKnownHostsFile not obsolete but oGlobalKnownHostsFile2 is
595         so move the comment.
596      3) reorder so like options are together
597      ok djm@
598    - djm@cvs.openbsd.org 2009/01/22 09:46:01
599      [channels.c channels.h session.c]
600      make Channel->path an allocated string, saving a few bytes here and
601      there and fixing bz#1380 in the process; ok markus@
602    - djm@cvs.openbsd.org 2009/01/22 09:49:57
603      [channels.c]
604      oops! I committed the wrong version of the Channel->path diff,
605      it was missing some tweaks suggested by stevesk@
606    - djm@cvs.openbsd.org 2009/01/22 10:02:34
607      [clientloop.c misc.c readconf.c readconf.h servconf.c servconf.h]
608      [serverloop.c ssh-keyscan.c ssh.c sshd.c]
609      make a2port() return -1 when it encounters an invalid port number
610      rather than 0, which it will now treat as valid (needed for future work)
611      adjust current consumers of a2port() to check its return value is <= 0,
612      which in turn required some things to be converted from u_short => int
613      make use of int vs. u_short consistent in some other places too
614      feedback & ok markus@
615    - djm@cvs.openbsd.org 2009/01/22 10:09:16
616      [auth-options.c]
617      another chunk of a2port() diff that got away. wtfdjm??
618    - djm@cvs.openbsd.org 2009/01/23 07:58:11
619      [myproposal.h]
620      prefer CTR modes and revised arcfour (i.e w/ discard) modes to CBC
621      modes; ok markus@
622    - naddy@cvs.openbsd.org 2009/01/24 17:10:22
623      [ssh_config.5 sshd_config.5]
624      sync list of preferred ciphers; ok djm@
625    - markus@cvs.openbsd.org 2009/01/26 09:58:15
626      [cipher.c cipher.h packet.c]
627      Work around the CPNI-957037 Plaintext Recovery Attack by always
628      reading 256K of data on packet size or HMAC errors (in CBC mode only).
629      Help, feedback and ok djm@
630      Feedback from Martin Albrecht and Paterson Kenny
632 20090107
633  - (djm) [uidswap.c] bz#1412: Support >16 supplemental groups in OS X.
634    Patch based on one from vgiffin AT apple.com; ok dtucker@
635  - (djm) [channels.c] bz#1419: support "on demand" X11 forwarding via
636    launchd on OS X; patch from vgiffin AT apple.com, slightly tweaked;
637    ok dtucker@
638  - (djm) [contrib/ssh-copy-id.1 contrib/ssh-copy-id] bz#1492: Make
639    ssh-copy-id copy id_rsa.pub by default (instead of the legacy "identity"
640    key). Patch from cjwatson AT debian.org
642 20090107
643  - (tim) [configure.ac defines.h openbsd-compat/port-uw.c
644    openbsd-compat/xcrypt.c] Add SECUREWARE support to OpenServer 6 SVR5 ABI.
645    OK djm@ dtucker@
646  - (tim) [configure.ac] Move check_for_libcrypt_later=1 in *-*-sysv5*) section.
647    OpenServer 6 doesn't need libcrypt.
649 20081209
650  - (djm) OpenBSD CVS Sync
651    - djm@cvs.openbsd.org 2008/12/09 02:38:18
652      [clientloop.c]
653      The ~C escape handler does not work correctly for multiplexed sessions -
654      it opens a commandline on the master session, instead of on the slave
655      that requested it. Disable it on slave sessions until such time as it
656      is fixed; bz#1543 report from Adrian Bridgett via Colin Watson
657      ok markus@
658    - djm@cvs.openbsd.org 2008/12/09 02:39:59
659      [sftp.c]
660      Deal correctly with failures in remote stat() operation in sftp,
661      correcting fail-on-error behaviour in batchmode. bz#1541 report and
662      fix from anedvedicky AT gmail.com; ok markus@
663    - djm@cvs.openbsd.org 2008/12/09 02:58:16
664      [readconf.c]
665      don't leave junk (free'd) pointers around in Forward *fwd argument on
666      failure; avoids double-free in ~C -L handler when given an invalid
667      forwarding specification; bz#1539 report from adejong AT debian.org
668      via Colin Watson; ok markus@ dtucker@
669    - djm@cvs.openbsd.org 2008/12/09 03:02:37
670      [sftp.1 sftp.c]
671      correct sftp(1) and corresponding usage syntax;
672      bz#1518 patch from imorgan AT nas.nasa.gov; ok deraadt@ improved diff jmc@
674 20081208
675  - (djm) [configure.ac] bz#1538: better test for ProPolice/SSP: actually
676    use some stack in main().
677    Report and suggested fix from vapier AT gentoo.org
678  - (djm) OpenBSD CVS Sync
679    - markus@cvs.openbsd.org 2008/12/02 19:01:07
680      [clientloop.c]
681      we have to use the recipient's channel number (RFC 4254) for
682      SSH2_MSG_CHANNEL_SUCCESS/SSH2_MSG_CHANNEL_FAILURE messages,
683      otherwise we trigger 'Non-public channel' error messages on sshd
684      systems with clientkeepalive enabled; noticed by sturm; ok djm;
685    - markus@cvs.openbsd.org 2008/12/02 19:08:59
686      [serverloop.c]
687      backout 1.149, since it's not necessary and openssh clients send
688      broken CHANNEL_FAILURE/SUCCESS messages since about 2004; ok djm@
689    - markus@cvs.openbsd.org 2008/12/02 19:09:38
690      [channels.c]
691      s/remote_id/id/ to be more consistent with other code; ok djm@
693 20081201
694  - (dtucker) [contrib/cygwin/{Makefile,ssh-host-config}]  Add new doc files
695    and tweak the is-sshd-running check in ssh-host-config.  Patch from
696    vinschen at redhat com.
697  - (dtucker) OpenBSD CVS Sync
698    - markus@cvs.openbsd.org 2008/11/21 15:47:38
699      [packet.c]
700      packet_disconnect() on padding error, too.  should reduce the success
701      probability for the CPNI-957037 Plaintext Recovery Attack to 2^-18
702      ok djm@
703    - dtucker@cvs.openbsd.org 2008/11/30 11:59:26
704      [monitor_fdpass.c]
705      Retry sendmsg/recvmsg on EAGAIN and EINTR; ok djm@
707 20081123
708  - (dtucker) [monitor_fdpass.c] Reduce diff vs OpenBSD by moving some
709     declarations, removing an unnecessary union member and adding whitespace.
710     cmsgbuf.tmp thing spotted by des at des no, ok djm some time ago.
712 20081118
713  - (tim) [addrmatch.c configure.ac] Some platforms do not have sin6_scope_id
714    member of sockaddr_in6. Also reported in Bug 1491 by David Leonard. OK and
715    feedback by djm@
717 20081111
718  - (dtucker) OpenBSD CVS Sync
719    - jmc@cvs.openbsd.org 2008/11/05 11:22:54
720      [servconf.c]
721      passord -> password;
722      fixes user/5975 from Rene Maroufi
723    - stevesk@cvs.openbsd.org 2008/11/07 00:42:12
724      [ssh-keygen.c]
725      spelling/typo in comment
726    - stevesk@cvs.openbsd.org 2008/11/07 18:50:18
727      [nchan.c]
728      add space to some log/debug messages for readability; ok djm@ markus@
729    - dtucker@cvs.openbsd.org 2008/11/07 23:34:48
730      [auth2-jpake.c]
731      Move JPAKE define to make life easier for portable.  ok djm@
732    - tobias@cvs.openbsd.org 2008/11/09 12:34:47
733      [session.c ssh.1]
734      typo fixed (overriden -> overridden)
735      ok espie, jmc
736    - stevesk@cvs.openbsd.org 2008/11/11 02:58:09
737      [servconf.c]
738      USE_AFS not referenced so remove #ifdef.  fixes sshd -T not printing
739      kerberosgetafstoken. ok dtucker@
740      (Id sync only, we still want the ifdef in portable)
741    - stevesk@cvs.openbsd.org 2008/11/11 03:55:11
742      [channels.c]
743      for sshd -T print 'permitopen any' vs. 'permitopen' for case of no
744      permitopen's; ok and input dtucker@
745    - djm@cvs.openbsd.org 2008/11/10 02:06:35
746      [regress/putty-ciphers.sh]
747      PuTTY supports AES CTR modes, so interop test against them too
749 20081105
750  - OpenBSD CVS Sync
751    - djm@cvs.openbsd.org 2008/11/03 08:59:41
752      [servconf.c]
753      include MaxSessions in sshd -T output; patch from imorgan AT nas.nasa.gov
754    - djm@cvs.openbsd.org 2008/11/04 07:58:09
755      [auth.c]
756      need unistd.h for close() prototype
757      (ID sync only)
758    - djm@cvs.openbsd.org 2008/11/04 08:22:13
759      [auth.h auth2.c monitor.c monitor.h monitor_wrap.c monitor_wrap.h]
760      [readconf.c readconf.h servconf.c servconf.h ssh2.h ssh_config.5]
761      [sshconnect2.c sshd_config.5 jpake.c jpake.h schnorr.c auth2-jpake.c]
762      [Makefile.in]
763      Add support for an experimental zero-knowledge password authentication
764      method using the J-PAKE protocol described in F. Hao, P. Ryan,
765      "Password Authenticated Key Exchange by Juggling", 16th Workshop on
766      Security Protocols, Cambridge, April 2008.
767      
768      This method allows password-based authentication without exposing
769      the password to the server. Instead, the client and server exchange
770      cryptographic proofs to demonstrate of knowledge of the password while
771      revealing nothing useful to an attacker or compromised endpoint.
772      
773      This is experimental, work-in-progress code and is presently
774      compiled-time disabled (turn on -DJPAKE in Makefile.inc).
775      
776      "just commit it.  It isn't too intrusive." deraadt@
777    - stevesk@cvs.openbsd.org 2008/11/04 19:18:00
778      [readconf.c]
779      because parse_forward() is now used to parse all forward types (DLR),
780      and it malloc's space for host variables, we don't need to malloc
781      here.  fixes small memory leaks.
782      
783      previously dynamic forwards were not parsed in parse_forward() and
784      space was not malloc'd in that case.
785      
786      ok djm@
787    - stevesk@cvs.openbsd.org 2008/11/05 03:23:09
788      [clientloop.c ssh.1]
789      add dynamic forward escape command line; ok djm@
791 20081103
792  - OpenBSD CVS Sync
793    - sthen@cvs.openbsd.org 2008/07/24 23:55:30
794      [ssh-keygen.1]
795      Add "ssh-keygen -F -l" to synopsis (displays fingerprint from
796      known_hosts).  ok djm@
797    - grunk@cvs.openbsd.org 2008/07/25 06:56:35
798      [ssh_config]
799      Add VisualHostKey to example file, ok djm@
800    - grunk@cvs.openbsd.org 2008/07/25 07:05:16
801      [key.c]
802      In random art visualization, make sure to use the end marker only at the
803      end.  Initial diff by Dirk Loss, tweaks and ok djm@
804   - markus@cvs.openbsd.org 2008/07/31 14:48:28
805      [sshconnect2.c]
806      don't allocate space for empty banners; report t8m at centrum.cz;
807      ok deraadt
808    - krw@cvs.openbsd.org 2008/08/02 04:29:51
809      [ssh_config.5]
810      whitepsace -> whitespace. From Matthew Clarke via bugs@.
811    - djm@cvs.openbsd.org 2008/08/21 04:09:57
812      [session.c]
813      allow ForceCommand internal-sftp with arguments. based on patch from
814      michael.barabanov AT gmail.com; ok markus@
815    - djm@cvs.openbsd.org 2008/09/06 12:24:13
816      [kex.c]
817      OpenSSL 0.9.8h supplies a real EVP_sha256 so we do not need our
818      replacement anymore
819      (ID sync only for portable - we still need this)
820    - markus@cvs.openbsd.org 2008/09/11 14:22:37
821      [compat.c compat.h nchan.c ssh.c]
822      only send eow and no-more-sessions requests to openssh 5 and newer;
823      fixes interop problems with broken ssh v2 implementations; ok djm@
824    - millert@cvs.openbsd.org 2008/10/02 14:39:35
825      [session.c]
826      Convert an unchecked strdup to xstrdup.  OK deraadt@
827   - jmc@cvs.openbsd.org 2008/10/03 13:08:12
828      [sshd.8]
829      do not give an example of how to chmod files: we can presume the user
830      knows that. removes an ambiguity in the permission of authorized_keys;
831      ok deraadt
832    - deraadt@cvs.openbsd.org 2008/10/03 23:56:28
833      [sshconnect2.c]
834      Repair strnvis() buffersize of 4*n+1, with termination gauranteed by the
835      function.
836      spotted by des@freebsd, who commited an incorrect fix to the freebsd tree
837      and (as is fairly typical) did not report the problem to us.  But this fix
838      is correct.
839      ok djm
840    - djm@cvs.openbsd.org 2008/10/08 23:34:03
841      [ssh.1 ssh.c]
842      Add -y option to force logging via syslog rather than stderr.
843      Useful for daemonised ssh connection (ssh -f). Patch originally from
844      and ok'd by markus@
845    - djm@cvs.openbsd.org 2008/10/09 03:50:54
846      [servconf.c sshd_config.5]
847      support setting PermitEmptyPasswords in a Match block
848      requested in PR3891; ok dtucker@
849    - jmc@cvs.openbsd.org 2008/10/09 06:54:22
850      [ssh.c]
851      add -y to usage();
852    - stevesk@cvs.openbsd.org 2008/10/10 04:55:16
853      [scp.c]
854      spelling in comment; ok djm@
855    - stevesk@cvs.openbsd.org 2008/10/10 05:00:12
856      [key.c]
857      typo in error message; ok djm@
858    - stevesk@cvs.openbsd.org 2008/10/10 16:43:27
859      [ssh_config.5]
860      use 'Privileged ports can be forwarded only when logging in as root on
861      the remote machine.' for RemoteForward just like ssh.1 -R.
862      ok djm@ jmc@
863    - stevesk@cvs.openbsd.org 2008/10/14 18:11:33
864      [sshconnect.c]
865      use #define ROQUIET here; no binary change. ok dtucker@
866    - stevesk@cvs.openbsd.org 2008/10/17 18:36:24
867      [ssh_config.5]
868      correct and clarify VisualHostKey; ok jmc@
869    - stevesk@cvs.openbsd.org 2008/10/30 19:31:16
870      [clientloop.c sshd.c]
871      don't need to #include "monitor_fdpass.h"
872    - stevesk@cvs.openbsd.org 2008/10/31 15:05:34
873      [dispatch.c]
874      remove unused #define DISPATCH_MIN; ok markus@
875    - djm@cvs.openbsd.org 2008/11/01 04:50:08
876      [sshconnect2.c]
877      sprinkle ARGSUSED on dispatch handlers
878      nuke stale unusued prototype
879    - stevesk@cvs.openbsd.org 2008/11/01 06:43:33
880      [channels.c]
881      fix some typos in log messages; ok djm@
882    - sobrado@cvs.openbsd.org 2008/11/01 11:14:36
883      [ssh-keyscan.1 ssh-keyscan.c]
884      the ellipsis is not an optional argument; while here, improve spacing.
885    - stevesk@cvs.openbsd.org 2008/11/01 17:40:33
886      [clientloop.c readconf.c readconf.h ssh.c]
887      merge dynamic forward parsing into parse_forward();
888      'i think this is OK' djm@
889    - stevesk@cvs.openbsd.org 2008/11/02 00:16:16
890      [ttymodes.c]
891      protocol 2 tty modes support is now 7.5 years old so remove these
892      debug3()s; ok deraadt@
893    - stevesk@cvs.openbsd.org 2008/11/03 01:07:02
894      [readconf.c]
895      remove valueless comment
896    - stevesk@cvs.openbsd.org 2008/11/03 02:44:41
897      [readconf.c]
898      fix comment
899  - (djm) [contrib/caldera/ssh-host-keygen contrib/suse/rc.sshd]
900    Make example scripts generate keys with default sizes rather than fixed,
901    non-default 1024 bits; patch from imorgan AT nas.nasa.gov
902  - (djm) [contrib/sshd.pam.generic contrib/caldera/sshd.pam]
903    [contrib/redhat/sshd.pam] Move pam_nologin to account group from
904    incorrect auth group in example files;
905    patch from imorgan AT nas.nasa.gov
907 20080906
908  - (dtucker) [config.guess config.sub] Update to latest versions from
909    http://git.savannah.gnu.org/gitweb/ (2008-04-14 and 2008-06-16
910    respectively).
912 20080830
913  - (dtucker) [openbsd-compat/bsd-poll.c] correctly check for number of FDs
914    larger than FD_SETSIZE (OpenSSH only ever uses poll with one fd).  Patch
915    from Nicholas Marriott.
917 20080721
918  - (djm) OpenBSD CVS Sync
919    - djm@cvs.openbsd.org 2008/07/23 07:36:55
920      [servconf.c]
921      do not try to print options that have been compile-time disabled
922      in config test mode (sshd -T); report from nix-corp AT esperi.org.uk
923      ok dtucker@
924  - (djm) [servconf.c] Print UsePAM option in config test mode (when it
925    has been compiled in); report from nix-corp AT esperi.org.uk
926    ok dtucker@
928 20080721
929  - (djm) OpenBSD CVS Sync
930    - jmc@cvs.openbsd.org 2008/07/18 22:51:01
931      [sftp-server.8]
932      no need for .Pp before or after .Sh;
933    - djm@cvs.openbsd.org 2008/07/21 08:19:07
934      [version.h]
935      openssh-5.1
936  - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
937    [contrib/suse/openssh.spec] Update version number in README and RPM specs
938  - (djm) Release OpenSSH-5.1
940 20080717
941  - (djm) OpenBSD CVS Sync
942    - djm@cvs.openbsd.org 2008/07/17 08:48:00
943      [sshconnect2.c]
944      strnvis preauth banner; pointed out by mpf@ ok markus@
945    - djm@cvs.openbsd.org 2008/07/17 08:51:07
946      [auth2-hostbased.c]
947      strip trailing '.' from hostname when HostbasedUsesNameFromPacketOnly=yes
948      report and patch from res AT qoxp.net (bz#1200); ok markus@
949  - (dtucker) [openbsd-compat/bsd-cygwin_util.c]  Remove long-unneeded compat
950    code, replace with equivalent cygwin library call.  Patch from vinschen
951    at redhat.com, ok djm@.
952  - (djm) [sshconnect2.c] vis.h isn't available everywhere
954 20080716
955  - OpenBSD CVS Sync
956    - djm@cvs.openbsd.org 2008/07/15 02:23:14
957      [sftp.1]
958      number of pipelined requests is now 64;
959      prodded by Iain.Morgan AT nasa.gov
960    - djm@cvs.openbsd.org 2008/07/16 11:51:14
961      [clientloop.c]
962      rename variable first_gc -> last_gc (since it is actually the last
963      in the list).
964    - djm@cvs.openbsd.org 2008/07/16 11:52:19
965      [channels.c]
966      this loop index should be automatic, not static
968 20080714
969  - (djm) OpenBSD CVS Sync
970    - sthen@cvs.openbsd.org 2008/07/13 21:22:52
971      [ssh-keygen.c]
972      Change "ssh-keygen -F [host] -l" to not display random art unless
973      -v is also specified, making it consistent with the manual and other
974      uses of -l.
975      ok grunk@
976    - djm@cvs.openbsd.org 2008/07/13 22:13:07
977      [channels.c]
978      use struct sockaddr_storage instead of struct sockaddr for accept(2)
979      address argument. from visibilis AT yahoo.com in bz#1485; ok markus@
980    - djm@cvs.openbsd.org 2008/07/13 22:16:03
981      [sftp.c]
982      increase number of piplelined requests so they properly fill the
983      (recently increased) channel window. prompted by rapier AT psc.edu;
984      ok markus@
985    - djm@cvs.openbsd.org 2008/07/14 01:55:56
986      [sftp-server.8]
987      mention requirement for /dev/log inside chroot when using sftp-server
988      with ChrootDirectory
989  - (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to
990    avoid clash with sin(3) function; reported by
991    cristian.ionescu-idbohrn AT axis.com
992  - (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close()
993    prototype; reported by cristian.ionescu-idbohrn AT axis.com
994  - (djm) [umac.c] Rename variable s/buffer_ptr/bufp/ to avoid clash;
995    reported by cristian.ionescu-idbohrn AT axis.com
996  - (djm) [contrib/cygwin/Makefile contrib/cygwin/ssh-host-config]
997    [contrib/cygwin/ssh-user-config contrib/cygwin/sshd-inetd]
998    Revamped and simplified Cygwin ssh-host-config script that uses
999    unified csih configuration tool. Requires recent Cygwin.
1000    Patch from vinschen AT redhat.com
1002 20080712
1003  - (djm) OpenBSD CVS Sync
1004    - djm@cvs.openbsd.org 2008/07/12 04:52:50
1005      [channels.c]
1006      unbreak; move clearing of cctx struct to before first use
1007      reported by dkrause@
1008    - djm@cvs.openbsd.org 2008/07/12 05:33:41
1009      [scp.1]
1010      better description for -i flag:
1011      s/RSA authentication/public key authentication/
1012  - (djm) [openbsd-compat/fake-rfc2553.c openbsd-compat/fake-rfc2553.h]
1013    return EAI_FAMILY when trying to lookup unsupported address family;
1014    from vinschen AT redhat.com
1016 20080711
1017  - (djm) OpenBSD CVS Sync
1018    - stevesk@cvs.openbsd.org 2008/07/07 00:31:41
1019      [ttymodes.c]
1020      we don't need arg after the debug3() was removed.  from lint.
1021      ok djm@
1022    - stevesk@cvs.openbsd.org 2008/07/07 23:32:51
1023      [key.c]
1024      /*NOTREACHED*/ for lint warning:
1025        warning: function key_equal falls off bottom without returning value
1026      ok djm@
1027    - markus@cvs.openbsd.org 2008/07/10 18:05:58
1028      [channels.c]
1029      missing bzero; from mickey; ok djm@
1030    - markus@cvs.openbsd.org 2008/07/10 18:08:11
1031      [clientloop.c monitor.c monitor_wrap.c packet.c packet.h sshd.c]
1032      sync v1 and v2 traffic accounting; add it to sshd, too;
1033      ok djm@, dtucker@
1035 20080709
1036  - (djm) [Makefile.in] Print "all tests passed" when all regress tests pass
1037  - (djm) [auth1.c] Fix format string vulnerability in protocol 1 PAM
1038    account check failure path. The vulnerable format buffer is supplied
1039    from PAM and should not contain attacker-supplied data.
1040  - (djm) [auth.c] Missing unistd.h for close()
1041  - (djm) [configure.ac] Add -Wformat-security to CFLAGS for gcc 3.x and 4.x
1043 20080705
1044  - (djm) [auth.c] Fixed test for locked account on HP/UX with shadowed
1045    passwords disabled. bz#1083 report & patch from senthilkumar_sen AT
1046    hotpop.com, w/ dtucker@
1047  - (djm) [atomicio.c configure.ac] Disable poll() fallback in atomiciov for
1048    Tru64. readv doesn't seem to be a comparable object there.
1049    bz#1386, patch from dtucker@ ok me
1050  - (djm) [Makefile.in] Pass though pass to conch for interop tests
1051  - (djm) [configure.ac] unbreak: remove extra closing brace
1052  - (djm) OpenBSD CVS Sync
1053    - djm@cvs.openbsd.org 2008/07/04 23:08:25
1054      [packet.c]
1055      handle EINTR in packet_write_poll()l ok dtucker@
1056    - djm@cvs.openbsd.org 2008/07/04 23:30:16
1057      [auth1.c auth2.c]
1058      Make protocol 1 MaxAuthTries logic match protocol 2's.
1059      Do not treat the first protocol 2 authentication attempt as
1060      a failure IFF it is for method "none".
1061      Makes MaxAuthTries' user-visible behaviour identical for
1062      protocol 1 vs 2.
1063      ok dtucker@
1064    - djm@cvs.openbsd.org 2008/07/05 05:16:01
1065      [PROTOCOL]
1066      grammar
1068 20080704
1069  - (dtucker) OpenBSD CVS Sync
1070    - djm@cvs.openbsd.org 2008/07/02 13:30:34
1071      [auth2.c]
1072      really really remove the freebie "none" auth try for protocol 2
1073    - djm@cvs.openbsd.org 2008/07/02 13:47:39
1074      [ssh.1 ssh.c]
1075      When forking after authentication ("ssh -f") with ExitOnForwardFailure
1076      enabled, delay the fork until after replies for any -R forwards have
1077      been seen. Allows for robust detection of -R forward failure when
1078      using -f (similar to bz#92); ok dtucker@
1079    - otto@cvs.openbsd.org 2008/07/03 21:46:58
1080      [auth2-pubkey.c]
1081      avoid nasty double free; ok dtucker@ djm@
1082    - djm@cvs.openbsd.org 2008/07/04 03:44:59
1083      [servconf.c groupaccess.h groupaccess.c]
1084      support negation of groups in "Match group" block (bz#1315); ok dtucker@
1085    - dtucker@cvs.openbsd.org 2008/07/04 03:47:02
1086      [monitor.c]
1087      Make debug a little clearer.  ok djm@
1088    - djm@cvs.openbsd.org 2008/06/30 08:07:34
1089      [regress/key-options.sh]
1090      shell portability: use "=" instead of "==" in test(1) expressions,
1091      double-quote string with backslash escaped /
1092    - djm@cvs.openbsd.org 2008/06/30 10:31:11
1093      [regress/{putty-transfer,putty-kex,putty-ciphers}.sh]
1094      remove "set -e" left over from debugging
1095    - djm@cvs.openbsd.org 2008/06/30 10:43:03
1096      [regress/conch-ciphers.sh]
1097      explicitly disable conch options that could interfere with the test
1098  - (dtucker) [sftp-server.c] Bug #1447: fall back to racy rename if link
1099    returns EXDEV.  Patch from Mike Garrison, ok djm@
1100  - (djm) [atomicio.c channels.c clientloop.c defines.h includes.h]
1101    [packet.c scp.c serverloop.c sftp-client.c ssh-agent.c ssh-keyscan.c]
1102    [sshd.c] Explicitly handle EWOULDBLOCK wherever we handle EAGAIN, on
1103    some platforms (HP nonstop) it is a distinct errno;
1104    bz#1467 reported by sconeu AT yahoo.com; ok dtucker@
1106 20080702
1107  - (dtucker) OpenBSD CVS Sync
1108     - djm@cvs.openbsd.org 2008/06/30 08:05:59
1109       [PROTOCOL.agent]
1110       typo: s/constraint_date/constraint_data/
1111    - djm@cvs.openbsd.org 2008/06/30 12:15:39
1112      [serverloop.c]
1113      only pass channel requests on session channels through to the session
1114      channel handler, avoiding spurious log messages; ok! markus@
1115    - djm@cvs.openbsd.org 2008/06/30 12:16:02
1116      [nchan.c]
1117      only send eow@openssh.com notifications for session channels; ok! markus@
1118    - djm@cvs.openbsd.org 2008/06/30 12:18:34
1119      [PROTOCOL]
1120      clarify that eow@openssh.com is only sent on session channels
1121    - dtucker@cvs.openbsd.org 2008/07/01 07:20:52
1122      [sshconnect.c]
1123      Check ExitOnForwardFailure if forwardings are disabled due to a failed
1124      host key check.  ok djm@
1125    - dtucker@cvs.openbsd.org 2008/07/01 07:24:22
1126      [sshconnect.c sshd.c]
1127      Send CR LF during protocol banner exchanges, but only for Protocol 2 only,
1128      in order to comply with RFC 4253.  bz #1443, ok djm@
1129    - stevesk@cvs.openbsd.org 2008/07/01 23:12:47
1130      [PROTOCOL.agent]
1131      fix some typos; ok djm@
1132    - djm@cvs.openbsd.org 2008/07/02 02:24:18
1133      [sshd_config sshd_config.5 sshd.8 servconf.c]
1134      increase default size of ssh protocol 1 ephemeral key from 768 to 1024
1135      bits; prodded by & ok dtucker@ ok deraadt@
1136    - dtucker@cvs.openbsd.org 2008/07/02 12:03:51
1137      [auth-rsa.c auth.c auth2-pubkey.c auth.h]
1138      Merge duplicate host key file checks, based in part on a patch from Rob
1139      Holland via bz #1348 .  Also checks for non-regular files during protocol
1140      1 RSA auth.  ok djm@
1141    - djm@cvs.openbsd.org 2008/07/02 12:36:39
1142      [auth2-none.c auth2.c]
1143      Make protocol 2 MaxAuthTries behaviour a little more sensible:
1144      Check whether client has exceeded MaxAuthTries before running
1145      an authentication method and skip it if they have, previously it
1146      would always allow one try (for "none" auth).
1147      Preincrement failure count before post-auth test - previously this
1148      checked and postincremented, also to allow one "none" try.
1149      Together, these two changes always count the "none" auth method
1150      which could be skipped by a malicious client (e.g. an SSH worm)
1151      to get an extra attempt at a real auth method. They also make
1152      MaxAuthTries=0 a useful way to block users entirely (esp. in a
1153      sshd_config Match block).
1154      Also, move sending of any preauth banner from "none" auth method
1155      to the first call to input_userauth_request(), so worms that skip
1156      the "none" method get to see it too.
1158 20080630
1159  - (djm) OpenBSD CVS Sync
1160    - dtucker@cvs.openbsd.org 2008/06/10 23:13:43
1161      [regress/Makefile regress/key-options.sh]
1162      Add regress test for key options.  ok djm@
1163    - dtucker@cvs.openbsd.org 2008/06/11 23:11:40
1164      [regress/Makefile]
1165      Don't run cipher-speed test by default; mistakenly enabled by me
1166    - djm@cvs.openbsd.org 2008/06/28 13:57:25
1167      [regress/Makefile regress/test-exec.sh regress/conch-ciphers.sh]
1168      very basic regress test against Twisted Conch in "make interop"
1169      target (conch is available in ports/devel/py-twisted/conch);
1170      ok markus@
1171  - (djm) [regress/Makefile] search for conch by path, like we do putty
1173 20080629
1174  - (djm) OpenBSD CVS Sync
1175    - martynas@cvs.openbsd.org 2008/06/21 07:46:46
1176      [sftp.c]
1177      use optopt to get invalid flag, instead of return value of getopt,
1178      which is always '?';  ok djm@
1179    - otto@cvs.openbsd.org 2008/06/25 11:13:43
1180      [key.c]
1181      add key length to visual fingerprint; zap magical constants;
1182      ok grunk@ djm@
1183    - djm@cvs.openbsd.org 2008/06/26 06:10:09
1184      [sftp-client.c sftp-server.c]
1185      allow the sftp chmod(2)-equivalent operation to set set[ug]id/sticky
1186      bits. Note that this only affects explicit setting of modes (e.g. via
1187      sftp(1)'s chmod command) and not file transfers. (bz#1310)
1188      ok deraadt@ at c2k8
1189    - djm@cvs.openbsd.org 2008/06/26 09:19:40
1190      [dh.c dh.h moduli.c]
1191      when loading moduli from /etc/moduli in sshd(8), check that they
1192      are of the expected "safe prime" structure and have had
1193      appropriate primality tests performed;
1194      feedback and ok dtucker@
1195    - grunk@cvs.openbsd.org 2008/06/26 11:46:31
1196      [readconf.c readconf.h ssh.1 ssh_config.5 sshconnect.c]
1197      Move SSH Fingerprint Visualization away from sharing the config option
1198      CheckHostIP to an own config option named VisualHostKey.
1199      While there, fix the behaviour that ssh would draw a random art picture
1200      on every newly seen host even when the option was not enabled.
1201      prodded by deraadt@, discussions,
1202      help and ok markus@ djm@ dtucker@
1203    - jmc@cvs.openbsd.org 2008/06/26 21:11:46
1204      [ssh.1]
1205      add VisualHostKey to the list of options listed in -o;
1206    - djm@cvs.openbsd.org 2008/06/28 07:25:07
1207      [PROTOCOL]
1208      spelling fixes
1209    - djm@cvs.openbsd.org 2008/06/28 13:58:23
1210      [ssh-agent.c]
1211      refuse to add a key that has unknown constraints specified;
1212      ok markus
1213    - djm@cvs.openbsd.org 2008/06/28 14:05:15
1214      [ssh-agent.c]
1215      reset global compat flag after processing a protocol 2 signature
1216      request with the legacy DSA encoding flag set; ok markus
1217    - djm@cvs.openbsd.org 2008/06/28 14:08:30
1218      [PROTOCOL PROTOCOL.agent]
1219      document the protocol used by ssh-agent; "looks ok" markus@
1221 20080628
1222  - (djm) [RFC.nroff contrib/cygwin/Makefile contrib/suse/openssh.spec]
1223    RFC.nroff lacks a license, remove it (it is long gone in OpenBSD).
1225 20080626
1226  - (djm) [Makefile.in moduli.5] Include moduli(5) manpage from OpenBSD.
1227    (bz#1372)
1228  - (djm) [ contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
1229    [contrib/suse/openssh.spec] Include moduli.5 in RPM spec files.
1231 20080616
1232  - (dtucker) OpenBSD CVS Sync
1233    - dtucker@cvs.openbsd.org 2008/06/16 13:22:53
1234      [session.c channels.c]
1235      Rename the isatty argument to is_tty so we don't shadow
1236      isatty(3).  ok markus@
1237  - (dtucker) [channels.c] isatty -> is_tty here too.
1239 20080615
1240  - (dtucker) [configure.ac] Enable -fno-builtin-memset when using gcc.
1241  - OpenBSD CVS Sync
1242    - dtucker@cvs.openbsd.org 2008/06/14 15:49:48
1243      [sshd.c]
1244      wrap long line at 80 chars
1245    - dtucker@cvs.openbsd.org 2008/06/14 17:07:11
1246      [sshd.c]
1247      ensure default umask disallows at least group and world write; ok djm@
1248    - djm@cvs.openbsd.org 2008/06/14 18:33:43
1249      [session.c]
1250      suppress the warning message from chdir(homedir) failures
1251      when chrooted (bz#1461); ok dtucker
1252    - dtucker@cvs.openbsd.org 2008/06/14 19:42:10
1253      [scp.1]
1254      Mention that scp follows symlinks during -r.  bz #1466,
1255      from nectar at apple
1256    - dtucker@cvs.openbsd.org 2008/06/15 16:55:38
1257      [sshd_config.5]
1258      MaxSessions is allowed in a Match block too
1259    - dtucker@cvs.openbsd.org 2008/06/15 16:58:40
1260      [servconf.c sshd_config.5]
1261      Allow MaxAuthTries within a Match block.  ok djm@
1262    - djm@cvs.openbsd.org 2008/06/15 20:06:26
1263      [channels.c channels.h session.c]
1264      don't call isatty() on a pty master, instead pass a flag down to
1265      channel_set_fds() indicating that te fds refer to a tty. Fixes a
1266      hang on exit on Solaris (bz#1463) in portable but is actually
1267      a generic bug; ok dtucker deraadt markus
1269 20080614
1270  - (djm) [openbsd-compat/sigact.c] Avoid NULL derefs in ancient sigaction
1271    replacement code; patch from ighighi AT gmail.com in bz#1240;
1272    ok dtucker
1274 20080613
1275  - (dtucker) OpenBSD CVS Sync
1276    - deraadt@cvs.openbsd.org 2008/06/13 09:44:36
1277      [packet.c]
1278      compile on older gcc; no decl after code
1279    - dtucker@cvs.openbsd.org 2008/06/13 13:56:59
1280      [monitor.c]
1281      Clear key options in the monitor on failed authentication, prevents
1282      applying additional restrictions to non-pubkey authentications in
1283      the case where pubkey fails but another method subsequently succeeds.
1284      bz #1472, found by Colin Watson, ok markus@ djm@
1285    - dtucker@cvs.openbsd.org 2008/06/13 14:18:51
1286      [auth2-pubkey.c auth-rhosts.c]
1287      Include unistd.h for close(), prevents warnings in -portable
1288    - dtucker@cvs.openbsd.org 2008/06/13 17:21:20
1289      [mux.c]
1290      Friendlier error messages for mux fallback.  ok djm@
1291    - dtucker@cvs.openbsd.org 2008/06/13 18:55:22
1292      [scp.c]
1293      Prevent -Wsign-compare warnings on LP64 systems.  bz #1192, ok deraadt@
1294    - grunk@cvs.openbsd.org 2008/06/13 20:13:26
1295      [ssh.1]
1296      Explain the use of SSH fpr visualization using random art, and cite the
1297      original scientific paper inspiring that technique.
1298      Much help with English and nroff by jmc@, thanks.
1299  - (dtucker) [configure.ac] Bug #1276: avoid linking against libgssapi, which
1300    despite its name doesn't seem to implement all of GSSAPI.  Patch from
1301    Jan Engelhardt, sanity checked by Simon Wilkinson.
1303 20080612
1304  - (dtucker) OpenBSD CVS Sync
1305    - jmc@cvs.openbsd.org 2008/06/11 07:30:37
1306      [sshd.8]
1307      kill trailing whitespace;
1308    - grunk@cvs.openbsd.org 2008/06/11 21:01:35
1309      [ssh_config.5 key.h readconf.c readconf.h ssh-keygen.1 ssh-keygen.c key.c
1310       sshconnect.c]
1311      Introduce SSH Fingerprint ASCII Visualization, a technique inspired by the
1312      graphical hash visualization schemes known as "random art", and by
1313      Dan Kaminsky's musings on the subject during a BlackOp talk at the
1314      23C3 in Berlin.
1315      Scientific publication (original paper):
1316      "Hash Visualization: a New Technique to improve Real-World Security",
1317      Perrig A. and Song D., 1999, International Workshop on Cryptographic
1318      Techniques and E-Commerce (CrypTEC '99)
1319      http://sparrow.ece.cmu.edu/~adrian/projects/validation/validation.pdf
1320      The algorithm used here is a worm crawling over a discrete plane,
1321      leaving a trace (augmenting the field) everywhere it goes.
1322      Movement is taken from dgst_raw 2bit-wise.  Bumping into walls
1323      makes the respective movement vector be ignored for this turn,
1324      thus switching to the other color of the chessboard.
1325      Graphs are not unambiguous for now, because circles in graphs can be
1326      walked in either direction.
1327      discussions with several people,
1328      help, corrections and ok markus@ djm@
1329    - grunk@cvs.openbsd.org 2008/06/11 21:38:25
1330      [ssh-keygen.c]
1331      ssh-keygen -lv -f /etc/ssh/ssh_host_rsa_key.pub
1332      would not display you the random art as intended, spotted by canacar@
1333    - grunk@cvs.openbsd.org 2008/06/11 22:20:46
1334      [ssh-keygen.c ssh-keygen.1]
1335      ssh-keygen would write fingerprints to STDOUT, and random art to STDERR,
1336      that is not how it was envisioned.
1337      Also correct manpage saying that -v is needed along with -l for it to work.
1338      spotted by naddy@
1339    - otto@cvs.openbsd.org 2008/06/11 23:02:22
1340      [key.c]
1341      simpler way of computing the augmentations; ok grunk@
1342    - grunk@cvs.openbsd.org 2008/06/11 23:03:56
1343      [ssh_config.5]
1344      CheckHostIP set to ``fingerprint'' will display both hex and random art
1345      spotted by naddy@
1346    - grunk@cvs.openbsd.org 2008/06/11 23:51:57
1347      [key.c]
1348      #define statements that are not atoms need braces around them, else they
1349      will cause trouble in some cases.
1350      Also do a computation of -1 once, and not in a loop several times.
1351      spotted by otto@
1352    - dtucker@cvs.openbsd.org 2008/06/12 00:03:49
1353      [dns.c canohost.c sshconnect.c]
1354      Do not pass "0" strings as ports to getaddrinfo because the lookups
1355      can slow things down and we never use the service info anyway. bz
1356      #859, patch from YOSHIFUJI Hideaki and John Devitofranceschi.  ok
1357      deraadt@ djm@
1358      djm belives that the reason for the "0" strings is to ensure that
1359      it's not possible to call getaddrinfo with both host and port being
1360      NULL.  In the case of canohost.c host is a local array.  In the
1361      case of sshconnect.c, it's checked for null immediately before use.
1362      In dns.c it ultimately comes from ssh.c:main() and is guaranteed to
1363      be non-null but it's not obvious, so I added a warning message in
1364      case it is ever passed a null.
1365    - grunk@cvs.openbsd.org 2008/06/12 00:13:55
1366      [sshconnect.c]
1367      Make ssh print the random art also when ssh'ing to a host using IP only.
1368      spotted by naddy@, ok and help djm@ dtucker@
1369    - otto@cvs.openbsd.org 2008/06/12 00:13:13
1370      [key.c]
1371      use an odd number of rows and columns and a separate start marker, looks
1372      better; ok grunk@
1373    - djm@cvs.openbsd.org 2008/06/12 03:40:52
1374      [clientloop.h mux.c channels.c clientloop.c channels.h]
1375      Enable ~ escapes for multiplex slave sessions; give each channel
1376      its own escape state and hook the escape filters up to muxed
1377      channels. bz #1331
1378      Mux slaves do not currently support the ~^Z and ~& escapes.
1379      NB. this change cranks the mux protocol version, so a new ssh
1380      mux client will not be able to connect to a running old ssh
1381      mux master.
1382      ok dtucker@
1383    - djm@cvs.openbsd.org 2008/06/12 04:06:00
1384      [clientloop.h ssh.c clientloop.c]
1385      maintain an ordered queue of outstanding global requests that we
1386      expect replies to, similar to the per-channel confirmation queue.
1387      Use this queue to verify success or failure for remote forward
1388      establishment in a race free way.
1389      ok dtucker@
1390    - djm@cvs.openbsd.org 2008/06/12 04:17:47
1391      [clientloop.c]
1392      thall shalt not code past the eightieth column
1393    - djm@cvs.openbsd.org 2008/06/12 04:24:06
1394      [ssh.c]
1395      thal shalt not code past the eightieth column
1396    - djm@cvs.openbsd.org 2008/06/12 05:15:41
1397      [PROTOCOL]
1398      document tun@openssh.com forwarding method
1399    - djm@cvs.openbsd.org 2008/06/12 05:32:30
1400      [mux.c]
1401      some more TODO for me
1402    - grunk@cvs.openbsd.org 2008/06/12 05:42:46
1403      [key.c]
1404      supply the key type (rsa1, rsa, dsa) as a caption in the frame of the
1405      random art.  while there, stress the fact that the field base should at
1406      least be 8 characters for the pictures to make sense.
1407      comment and ok djm@
1408    - grunk@cvs.openbsd.org 2008/06/12 06:32:59
1409      [key.c]
1410      We already mark the start of the worm, now also mark the end of the worm
1411      in our random art drawings.
1412      ok djm@
1413    - djm@cvs.openbsd.org 2008/06/12 15:19:17
1414      [clientloop.h channels.h clientloop.c channels.c mux.c]
1415      The multiplexing escape char handler commit last night introduced a
1416      small memory leak per session; plug it.
1417    - dtucker@cvs.openbsd.org 2008/06/12 16:35:31
1418      [ssh_config.5 ssh.c]
1419      keyword expansion for localcommand.  ok djm@
1420    - jmc@cvs.openbsd.org 2008/06/12 19:10:09
1421      [ssh_config.5 ssh-keygen.1]
1422      tweak the ascii art text; ok grunk
1423    - dtucker@cvs.openbsd.org 2008/06/12 20:38:28
1424      [sshd.c sshconnect.c packet.h misc.c misc.h packet.c]
1425      Make keepalive timeouts apply while waiting for a packet, particularly
1426      during key renegotiation (bz #1363).  With djm and Matt Day, ok djm@
1427    - djm@cvs.openbsd.org 2008/06/12 20:47:04
1428      [sftp-client.c]
1429      print extension revisions for extensions that we understand
1430    - djm@cvs.openbsd.org 2008/06/12 21:06:25
1431      [clientloop.c]
1432      I was coalescing expected global request confirmation replies at
1433      the wrong end of the queue - fix; prompted by markus@
1434    - grunk@cvs.openbsd.org 2008/06/12 21:14:46
1435      [ssh-keygen.c]
1436      make ssh-keygen -lf show the key type just as ssh-add -l would do it
1437      ok djm@ markus@
1438    - grunk@cvs.openbsd.org 2008/06/12 22:03:36
1439      [key.c]
1440      add my copyright, ok djm@
1441    - ian@cvs.openbsd.org 2008/06/12 23:24:58
1442      [sshconnect.c]
1443      tweak wording in message, ok deraadt@ jmc@
1444    - dtucker@cvs.openbsd.org 2008/06/13 00:12:02
1445      [sftp.h log.h]
1446      replace __dead with __attribute__((noreturn)), makes things
1447      a little easier to port.  Also, add it to sigdie().  ok djm@
1448    - djm@cvs.openbsd.org 2008/06/13 00:16:49
1449      [mux.c]
1450      fall back to creating a new TCP connection on most multiplexing errors
1451      (socket connect fail, invalid version, refused permittion, corrupted
1452      messages, etc.); bz #1329 ok dtucker@
1453    - dtucker@cvs.openbsd.org 2008/06/13 00:47:53
1454      [mux.c]
1455      upcast size_t to u_long to match format arg; ok djm@
1456    - dtucker@cvs.openbsd.org 2008/06/13 00:51:47
1457      [mac.c]
1458      upcast another size_t to u_long to match format
1459    - dtucker@cvs.openbsd.org 2008/06/13 01:38:23
1460      [misc.c]
1461      upcast uid to long with matching %ld, prevents warnings in portable
1462    - djm@cvs.openbsd.org 2008/06/13 04:40:22
1463      [auth2-pubkey.c auth-rhosts.c]
1464      refuse to read ~/.shosts or ~/.ssh/authorized_keys that are not
1465      regular files; report from Solar Designer via Colin Watson in bz#1471
1466      ok dtucker@ deraadt
1467   - (dtucker) [clientloop.c serverloop.c]  channel_register_filter now
1468     takes 2 more args.  with djm@
1469   - (dtucker) [defines.h] Bug #1112: __dead is, well dead. Based on a patch
1470     from Todd Vierling.
1471   - (dtucker) [auth-sia.c] Bug #1241: support password expiry on Tru64 SIA
1472     systems.  Patch from R. Scott Bailey.
1473   - (dtucker) [umac.c] STORE_UINT32_REVERSED and endian_convert are never used
1474     on big endian machines, so ifdef them for little-endian only to prevent
1475     unused function warnings on big-endians.
1476   - (dtucker) [openbsd-compat/setenv.c] Make offsets size_t to prevent
1477     compiler warnings on some platforms.  Based on a discussion with otto@
1479 20080611
1480  - (djm) [channels.c configure.ac]
1481    Do not set SO_REUSEADDR on wildcard X11 listeners (X11UseLocalhost=no)
1482    bz#1464; ok dtucker 
1484 20080610
1485  - (dtucker) OpenBSD CVS Sync
1486    - djm@cvs.openbsd.org 2008/06/10 03:57:27
1487      [servconf.c match.h sshd_config.5]
1488      support CIDR address matching in sshd_config "Match address" blocks, with
1489      full support for negation and fall-back to classic wildcard matching.
1490      For example:
1491      Match address 192.0.2.0/24,3ffe:ffff::/32,!10.*
1492          PasswordAuthentication yes
1493      addrmatch.c code mostly lifted from flowd's addr.c
1494      feedback and ok dtucker@
1495    - djm@cvs.openbsd.org 2008/06/10 04:17:46
1496      [sshd_config.5]
1497      better reference for pattern-list
1498    - dtucker@cvs.openbsd.org 2008/06/10 04:50:25
1499      [sshd.c channels.h channels.c log.c servconf.c log.h servconf.h sshd.8]
1500      Add extended test mode (-T) and connection parameters for test mode (-C).
1501      -T causes sshd to write its effective configuration to stdout and exit.
1502      -C causes any relevant Match rules to be applied before output.  The
1503      combination allows tesing of the parser and config files.  ok deraadt djm
1504    - jmc@cvs.openbsd.org 2008/06/10 07:12:00
1505      [sshd_config.5]
1506      tweak previous;
1507    - jmc@cvs.openbsd.org 2008/06/10 08:17:40
1508      [sshd.8 sshd.c]
1509      - update usage()
1510      - fix SYNOPSIS, and sort options
1511      - some minor additional fixes
1512    - dtucker@cvs.openbsd.org 2008/06/09 18:06:32
1513      [regress/test-exec.sh]
1514      Don't generate putty keys if we're not going to use them.  ok djm
1515    - dtucker@cvs.openbsd.org 2008/06/10 05:23:32
1516      [regress/addrmatch.sh regress/Makefile]
1517      Regress test for Match CIDR rules.  ok djm@
1518    - dtucker@cvs.openbsd.org 2008/06/10 15:21:41
1519      [test-exec.sh]
1520      Use a more portable construct for checking if we're running a putty test
1521    - dtucker@cvs.openbsd.org 2008/06/10 15:28:49
1522      [test-exec.sh]
1523      Add quotes
1524    - dtucker@cvs.openbsd.org 2008/06/10 18:21:24
1525      [ssh_config.5]
1526      clarify that Host patterns are space-separated.  ok deraadt
1527    - djm@cvs.openbsd.org 2008/06/10 22:15:23
1528      [PROTOCOL ssh.c serverloop.c]
1529      Add a no-more-sessions@openssh.com global request extension that the
1530      client sends when it knows that it will never request another session
1531      (i.e. when session multiplexing is disabled). This allows a server to
1532      disallow further session requests and terminate the session.
1533      Why would a non-multiplexing client ever issue additional session
1534      requests? It could have been attacked with something like SSH'jack:
1535      http://www.storm.net.nz/projects/7
1536      feedback & ok markus
1537    - djm@cvs.openbsd.org 2008/06/10 23:06:19
1538      [auth-options.c match.c servconf.c addrmatch.c sshd.8]
1539      support CIDR address matching in .ssh/authorized_keys from="..." stanzas
1540      ok and extensive testing dtucker@
1541    - dtucker@cvs.openbsd.org 2008/06/10 23:21:34
1542      [bufaux.c]
1543      Use '\0' for a nul byte rather than unadorned 0.  ok djm@
1544    - dtucker@cvs.openbsd.org 2008/06/10 23:13:43
1545      [Makefile regress/key-options.sh]
1546      Add regress test for key options.  ok djm@
1547  - (dtucker) [openbsd-compat/fake-rfc2553.h] Add sin6_scope_id to sockaddr_in6
1548    since the new CIDR code in addmatch.c references it.
1549  - (dtucker) [Makefile.in configure.ac regress/addrmatch.sh] Skip IPv6
1550    specific tests on platforms that don't do IPv6.
1551  - (dtucker) [Makefile.in] Define TEST_SSH_IPV6 in make's arguments as well
1552    as environment.
1553  - (dtucker) [Makefile.in] Move addrmatch.o to libssh.a where it's needed now.
1555 20080609
1556  - (dtucker) OpenBSD CVS Sync
1557    - dtucker@cvs.openbsd.org 2008/06/08 17:04:41
1558      [sftp-server.c]
1559      Add case for ENOSYS in errno_to_portable; ok deraadt
1560    - dtucker@cvs.openbsd.org 2008/06/08 20:15:29
1561      [sftp.c sftp-client.c sftp-client.h]
1562      Have the sftp client store the statvfs replies in wire format,
1563      which prevents problems when the server's native sizes exceed the
1564      client's.
1565      Also extends the sizes of the remaining 32bit wire format to 64bit,
1566      they're specified as unsigned long in the standard.
1567    - dtucker@cvs.openbsd.org 2008/06/09 13:02:39
1568      [sftp-server.c]
1569      Extend 32bit -> 64bit values for statvfs extension missed in previous
1570      commit.
1571    - dtucker@cvs.openbsd.org 2008/06/09 13:38:46
1572      [PROTOCOL]
1573      Use a $OpenBSD tag so our scripts will sync changes.
1575 20080608
1576  - (dtucker) [configure.ac defines.h sftp-client.c sftp-server.c sftp.c
1577    openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h
1578    openbsd-compat/bsd-statvfs.{c,h}] Add a null implementation of statvfs and
1579    fstatvfs and remove #defines around statvfs code.  ok djm@
1580  - (dtucker) [configure.ac defines.h sftp-client.c M sftp-server.c] Add a
1581    macro to convert fsid to unsigned long for platforms where fsid is a
1582    2-member array.
1584 20080607
1585  - (dtucker) [mux.c] Include paths.h inside ifdef HAVE_PATHS_H.
1586  - (dtucker) [configure.ac defines.h sftp-client.c sftp-server.c sftp.c]
1587    Do not enable statvfs extensions on platforms that do not have statvfs.
1588  - (dtucker) OpenBSD CVS Sync
1589    - djm@cvs.openbsd.org 2008/05/19 06:14:02
1590      [packet.c] unbreak protocol keepalive timeouts bz#1465; ok dtucker@
1591    - djm@cvs.openbsd.org 2008/05/19 15:45:07
1592      [sshtty.c ttymodes.c sshpty.h]
1593      Fix sending tty modes when stdin is not a tty (bz#1199). Previously
1594      we would send the modes corresponding to a zeroed struct termios,
1595      whereas we should have been sending an empty list of modes.
1596      Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@
1597    - djm@cvs.openbsd.org 2008/05/19 15:46:31
1598      [ssh-keygen.c]
1599      support -l (print fingerprint) in combination with -F (find host) to
1600      search for a host in ~/.ssh/known_hosts and display its fingerprint;
1601      ok markus@
1602    - djm@cvs.openbsd.org 2008/05/19 20:53:52
1603      [clientloop.c]
1604      unbreak tree by committing this bit that I missed from:
1605      Fix sending tty modes when stdin is not a tty (bz#1199). Previously
1606      we would send the modes corresponding to a zeroed struct termios,
1607      whereas we should have been sending an empty list of modes.
1608      Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@ 
1610 20080604
1611  - (djm) [openbsd-compat/bsd-arc4random.c] Fix math bug that caused bias
1612    in arc4random_uniform with upper_bound in (2^30,2*31). Note that 
1613    OpenSSH did not make requests with upper bounds in this range.
1615 20080519
1616  - (djm) [configure.ac mux.c sftp.c openbsd-compat/Makefile.in]
1617    [openbsd-compat/fmt_scaled.c openbsd-compat/openbsd-compat.h]
1618    Fix compilation on Linux, including pulling in fmt_scaled(3)
1619    implementation from OpenBSD's libutil.
1621 20080518
1622  - (djm) OpenBSD CVS Sync
1623    - djm@cvs.openbsd.org 2008/04/04 05:14:38
1624      [sshd_config.5]
1625      ChrootDirectory is supported in Match blocks (in fact, it is most useful
1626      there). Spotted by Minstrel AT minstrel.org.uk
1627    - djm@cvs.openbsd.org 2008/04/04 06:44:26
1628      [sshd_config.5]
1629      oops, some unrelated stuff crept into that commit - backout.
1630      spotted by jmc@
1631    - djm@cvs.openbsd.org 2008/04/05 02:46:02
1632      [sshd_config.5]
1633      HostbasedAuthentication is supported under Match too
1634  - (djm) [openbsd-compat/bsd-arc4random.c openbsd-compat/openbsd-compat.c]
1635      [configure.ac] Implement arc4random_buf(), import implementation of
1636      arc4random_uniform() from OpenBSD
1637  - (djm) [openbsd-compat/bsd-arc4random.c] Warning fixes
1638  - (djm) [openbsd-compat/port-tun.c] needs sys/queue.h
1639  - (djm) OpenBSD CVS Sync
1640    - djm@cvs.openbsd.org 2008/04/13 00:22:17
1641      [dh.c sshd.c]
1642      Use arc4random_buf() when requesting more than a single word of output
1643      Use arc4random_uniform() when the desired random number upper bound
1644      is not a power of two
1645      ok deraadt@ millert@
1646    - djm@cvs.openbsd.org 2008/04/18 12:32:11
1647      [sftp-client.c sftp-client.h sftp-server.c sftp.1 sftp.c sftp.h]
1648      introduce sftp extension methods statvfs@openssh.com and
1649      fstatvfs@openssh.com that implement statvfs(2)-like operations,
1650      based on a patch from miklos AT szeredi.hu (bz#1399)
1651      also add a "df" command to the sftp client that uses the
1652      statvfs@openssh.com to produce a df(1)-like display of filesystem
1653      space and inode utilisation
1654      ok markus@
1655    - jmc@cvs.openbsd.org 2008/04/18 17:15:47
1656      [sftp.1]
1657      macro fixage;
1658    - djm@cvs.openbsd.org 2008/04/18 22:01:33
1659      [session.c]
1660      remove unneccessary parentheses
1661    - otto@cvs.openbsd.org 2008/04/29 11:20:31
1662      [monitor_mm.h]
1663      garbage collect two unused fields in struct mm_master; ok markus@
1664    - djm@cvs.openbsd.org 2008/04/30 10:14:03
1665      [ssh-keyscan.1 ssh-keyscan.c]
1666      default to rsa (protocol 2) keys, instead of rsa1 keys; spotted by
1667      larsnooden AT openoffice.org
1668    - pyr@cvs.openbsd.org 2008/05/07 05:49:37
1669      [servconf.c servconf.h session.c sshd_config.5]
1670      Enable the AllowAgentForwarding option in sshd_config (global and match
1671      context), to specify if agents should be permitted on the server.
1672      As the man page states:
1673      ``Note that disabling Agent forwarding does not improve security
1674      unless users are also denied shell access, as they can always install
1675      their own forwarders.''
1676      ok djm@, ok and a mild frown markus@
1677    - pyr@cvs.openbsd.org 2008/05/07 06:43:35
1678      [sshd_config]
1679      push the sshd_config bits in, spotted by ajacoutot@
1680    - jmc@cvs.openbsd.org 2008/05/07 08:00:14
1681      [sshd_config.5]
1682      sort;
1683    - markus@cvs.openbsd.org 2008/05/08 06:59:01
1684      [bufaux.c buffer.h channels.c packet.c packet.h]
1685      avoid extra malloc/copy/free when receiving data over the net;
1686      ~10% speedup for localhost-scp; ok djm@
1687    - djm@cvs.openbsd.org 2008/05/08 12:02:23
1688      [auth-options.c auth1.c channels.c channels.h clientloop.c gss-serv.c]
1689      [monitor.c monitor_wrap.c nchan.c servconf.c serverloop.c session.c]
1690      [ssh.c sshd.c]
1691      Implement a channel success/failure status confirmation callback
1692      mechanism. Each channel maintains a queue of callbacks, which will
1693      be drained in order (RFC4253 guarantees confirm messages are not
1694      reordered within an channel).
1695      Also includes a abandonment callback to clean up if a channel is
1696      closed without sending confirmation messages. This probably
1697      shouldn't happen in compliant implementations, but it could be
1698      abused to leak memory.
1699      ok markus@ (as part of a larger diff)
1700    - djm@cvs.openbsd.org 2008/05/08 12:21:16
1701      [monitor.c monitor_wrap.c session.h servconf.c servconf.h session.c]
1702      [sshd_config sshd_config.5]
1703      Make the maximum number of sessions run-time controllable via
1704      a sshd_config MaxSessions knob. This is useful for disabling
1705      login/shell/subsystem access while leaving port-forwarding working
1706      (MaxSessions 0), disabling connection multiplexing (MaxSessions 1) or
1707      simply increasing the number of allows multiplexed sessions.
1708      Because some bozos are sure to configure MaxSessions in excess of the
1709      number of available file descriptors in sshd (which, at peak, might be
1710      as many as 9*MaxSessions), audit sshd to ensure that it doesn't leak fds
1711      on error paths, and make it fail gracefully on out-of-fd conditions -
1712      sending channel errors instead of than exiting with fatal().
1713      bz#1090; MaxSessions config bits and manpage from junyer AT gmail.com
1714      ok markus@
1715    - djm@cvs.openbsd.org 2008/05/08 13:06:11
1716      [clientloop.c clientloop.h ssh.c]
1717      Use new channel status confirmation callback system to properly deal
1718      with "important" channel requests that fail, in particular command exec,
1719      shell and subsystem requests. Previously we would optimistically assume
1720      that the requests would always succeed, which could cause hangs if they
1721      did not (e.g. when the server runs out of fds) or were unimplemented by
1722      the server (bz #1384)
1723      Also, properly report failing multiplex channel requests via the mux
1724      client stderr (subject to LogLevel in the mux master) - better than
1725      silently failing.
1726      most bits ok markus@ (as part of a larger diff)
1727    - djm@cvs.openbsd.org 2008/05/09 04:55:56
1728      [channels.c channels.h clientloop.c serverloop.c]
1729      Try additional addresses when connecting to a port forward destination
1730      whose DNS name resolves to more than one address. The previous behaviour
1731      was to try the first address and give up.
1732      Reported by stig AT venaas.com in bz#343
1733      great feedback and ok markus@
1734    - djm@cvs.openbsd.org 2008/05/09 14:18:44
1735      [clientloop.c clientloop.h ssh.c mux.c]
1736      tidy up session multiplexing code, moving it into its own file and
1737      making the function names more consistent - making ssh.c and
1738      clientloop.c a fair bit more readable.
1739      ok markus@
1740    - djm@cvs.openbsd.org 2008/05/09 14:26:08
1741      [ssh.c]
1742      dingo stole my diff hunk
1743    - markus@cvs.openbsd.org 2008/05/09 16:16:06
1744      [session.c]
1745      re-add the USE_PIPES code and enable it.
1746      without pipes shutdown-read from the sshd does not trigger
1747      a SIGPIPE when the forked program does a write.
1748      ok djm@
1749      (Id sync only, USE_PIPES never left portable OpenSSH)
1750    - markus@cvs.openbsd.org 2008/05/09 16:17:51
1751      [channels.c]
1752      error-fd race: don't enable the error fd in the select bitmask
1753      for channels with both in- and output closed, since the channel
1754      will go away before we call select();
1755      report, lots of debugging help and ok djm@
1756    - markus@cvs.openbsd.org 2008/05/09 16:21:13
1757      [channels.h clientloop.c nchan.c serverloop.c]
1758      unbreak
1759         ssh -2 localhost od /bin/ls | true
1760      ignoring SIGPIPE by adding a new channel message (EOW) that signals
1761      the peer that we're not interested in any data it might send.
1762      fixes bz #85; discussion, debugging and ok djm@
1763    - pvalchev@cvs.openbsd.org 2008/05/12 20:52:20
1764      [umac.c]
1765      Ensure nh_result lies on a 64-bit boundary (fixes warnings observed
1766      on Itanium on Linux); from Dale Talcott (bug #1462); ok djm@
1767    - djm@cvs.openbsd.org 2008/05/15 23:52:24
1768      [nchan2.ms]
1769      document eow message in ssh protocol 2 channel state machine;
1770      feedback and ok markus@
1771    - djm@cvs.openbsd.org 2008/05/18 21:29:05
1772      [sftp-server.c]
1773      comment extension announcement
1774    - djm@cvs.openbsd.org 2008/05/16 08:30:42
1775      [PROTOCOL]
1776      document our protocol extensions and deviations; ok markus@
1777    - djm@cvs.openbsd.org 2008/05/17 01:31:56
1778      [PROTOCOL]
1779      grammar and correctness fixes from stevesk@
1781 20080403
1782  - (djm) [openbsd-compat/bsd-poll.c] Include stdlib.h to avoid compile-
1783    time warnings on LynxOS. Patch from ops AT iki.fi
1784  - (djm) Force string arguments to replacement setproctitle() though
1785    strnvis first. Ok dtucker@
1787 20080403
1788  - (djm) OpenBSD CVS sync:
1789    - markus@cvs.openbsd.org 2008/04/02 15:36:51
1790      [channels.c]
1791      avoid possible hijacking of x11-forwarded connections (back out 1.183)
1792      CVE-2008-1483; ok djm@
1793    - jmc@cvs.openbsd.org 2008/03/27 22:37:57
1794      [sshd.8]
1795      remove trailing whitespace;
1796    - djm@cvs.openbsd.org 2008/04/03 09:50:14
1797      [version.h]
1798      openssh-5.0
1799  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
1800    [contrib/suse/openssh.spec] Crank version numbers in RPM spec files
1801  - (djm) [README] Update link to release notes
1802  - (djm) Release 5.0p1