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