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