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