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