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