]> andersk Git - openssh.git/blob - ChangeLog
- (djm) [README] Update link to release notes
[openssh.git] / ChangeLog
1 20080403
2  - (djm) OpenBSD CVS sync:
3    - markus@cvs.openbsd.org 2008/04/02 15:36:51
4      [channels.c]
5      avoid possible hijacking of x11-forwarded connections (back out 1.183)
6      CVE-2008-1483; ok djm@
7    - jmc@cvs.openbsd.org 2008/03/27 22:37:57
8      [sshd.8]
9      remove trailing whitespace;
10    - djm@cvs.openbsd.org 2008/04/03 09:50:14
11      [version.h]
12      openssh-5.0
13  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
14    [contrib/suse/openssh.spec] Crank version numbers in RPM spec files
15  - (djm) [README] Update link to release notes
16
17 20080315
18  - (djm) [regress/test-exec.sh] Quote putty-related variables in case they are
19    empty; report and patch from Peter Stuge
20  - (djm) [regress/test-exec.sh] Silence noise from detection of putty
21    commands; report from Peter Stuge
22  - (djm) [session.c] Relocate incorrectly-placed closefrom() that was causing
23    crashes when used with ChrootDirectory
24
25
26 20080327
27  - (dtucker) Cache selinux status earlier so we know if it's enabled after a
28    chroot.  Allows ChrootDirectory to work with selinux support compiled in
29    but not enabled.  Using it with selinux enabled will require some selinux
30    support inside the chroot.  "looks sane" djm@
31  - (djm) Fix RCS ident in sftp-server-main.c
32  - (djm) OpenBSD CVS sync:
33    - jmc@cvs.openbsd.org 2008/02/11 07:58:28
34      [ssh.1 sshd.8 sshd_config.5]
35      bump Mdocdate for pages committed in "febuary", necessary because
36      of a typo in rcs.c;
37    - deraadt@cvs.openbsd.org 2008/03/13 01:49:53
38      [monitor_fdpass.c]
39      Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
40      an extensive discussion with otto, kettenis, millert, and hshoexer
41    - deraadt@cvs.openbsd.org 2008/03/15 16:19:02
42      [monitor_fdpass.c]
43      Repair the simple cases for msg_controllen where it should just be
44      CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
45      of alignment; ok kettenis hshoexer
46    - djm@cvs.openbsd.org 2008/03/23 12:54:01
47      [sftp-client.c]
48      prefer POSIX-style file renaming over filexfer rename behaviour if the
49      server supports the posix-rename@openssh.com extension.
50      Note that the old (filexfer) behaviour would refuse to clobber an
51      existing file. Users who depended on this should adjust their sftp(1)
52      usage.
53      ok deraadt@ markus@
54    - deraadt@cvs.openbsd.org 2008/03/24 16:11:07
55      [monitor_fdpass.c]
56      msg_controllen has to be CMSG_SPACE so that the kernel can account for
57      each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
58      works now that kernel fd passing has been fixed to accept a bit of
59      sloppiness because of this ABI repair.
60      lots of discussion with kettenis
61    - djm@cvs.openbsd.org 2008/03/25 11:58:02
62      [session.c sshd_config.5]
63      ignore ~/.ssh/rc if a sshd_config ForceCommand is specified;
64      from dtucker@ ok deraadt@ djm@
65    - djm@cvs.openbsd.org 2008/03/25 23:01:41
66      [session.c]
67      last patch had backwards test; spotted by termim AT gmail.com
68    - djm@cvs.openbsd.org 2008/03/26 21:28:14
69      [auth-options.c auth-options.h session.c sshd.8]
70      add no-user-rc authorized_keys option to disable execution of ~/.ssh/rc
71    - djm@cvs.openbsd.org 2008/03/27 00:16:49
72      [version.h]
73      openssh-4.9
74    - djm@cvs.openbsd.org 2008/03/24 21:46:54
75      [regress/sftp-badcmds.sh]
76      disable no-replace rename test now that we prefer a POSIX rename; spotted
77      by dkrause@
78  - (djm) [configure.ac] fix alignment of --without-stackprotect description
79  - (djm) [configure.ac] --with-selinux too
80  - (djm) [regress/Makefile] cleanup PuTTY interop test droppings
81  - (djm) [README] Update link to release notes
82  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
83    [contrib/suse/openssh.spec] Crank version numbers in RPM spec files
84  - (djm) Release 4.9p1
85
86 20080315
87  - (djm) [regress/test-exec.sh] Quote putty-related variables in case they are
88    empty; report and patch from Peter Stuge
89  - (djm) [regress/test-exec.sh] Silence noise from detection of putty
90    commands; report from Peter Stuge
91  - (djm) [session.c] Relocate incorrectly-placed closefrom() that was causing
92    crashes when used with ChrootDirectory
93
94 20080314
95  - (tim) [regress/sftp-cmds.sh] s/cd/lcd/ in lls test. Reported by
96    vinschen at redhat.com. Add () to put echo commands in subshell for lls test
97    I mistakenly left out of last commit.
98  - (tim) [regress/localcommand.sh] Shell portability fix. Reported by imorgan at
99    nas.nasa.gov
100
101 20080313
102  - (djm) [Makefile.in regress/Makefile] Fix interop-tests target (note to
103    self: make changes to Makefile.in next time, not the generated Makefile).
104  - (djm) [Makefile.in regress/test-exec.sh] Find installed plink(1) and
105    puttygen(1) by $PATH
106  - (tim) [scp.c] Use poll.h if available, fall back to sys/poll.h if not. Patch
107    by vinschen at redhat.com.
108  - (tim) [regress/sftp-cmds.sh regress/ssh2putty.sh] Shell portability fixes
109    from vinschen at redhat.com and imorgan at nas.nasa.gov
110
111 20080312
112  - (djm) OpenBSD CVS Sync
113    - dtucker@cvs.openbsd.org 2007/10/29 06:57:13
114      [regress/Makefile regress/localcommand.sh]
115      Add simple regress test for LocalCommand; ok djm@
116    - jmc@cvs.openbsd.org 2007/11/25 15:35:09
117      [regress/agent-getpeereid.sh regress/agent.sh]
118      more existant -> existent, from Martynas Venckus;
119      pfctl changes: ok henning
120      ssh changes: ok deraadt
121    - djm@cvs.openbsd.org 2007/12/12 05:04:03
122      [regress/sftp-cmds.sh]
123      unbreak lls command and add a regress test that would have caught the
124      breakage; spotted by mouring@
125      NB. sftp code change already committed.
126    - djm@cvs.openbsd.org 2007/12/21 04:13:53
127      [regress/Makefile regress/test-exec.sh regress/putty-ciphers.sh]
128      [regress/putty-kex.sh regress/putty-transfer.sh regress/ssh2putty.sh]
129      basic (crypto, kex and transfer) interop regression tests against putty
130      To run these, install putty and run "make interop-tests" from the build
131      directory - the tests aren't run by default yet.
132
133 20080311
134  - (dtucker) [auth-pam.c monitor.c session.c sshd.c] Bug #926: Move
135    pam_open_session and pam_close_session into the privsep monitor, which
136    will ensure that pam_session_close is called as root.  Patch from Tomas
137    Mraz.
138
139 20080309
140  - (dtucker) [configure.ac] It turns out gcc's -fstack-protector-all doesn't
141    always work for all platforms and versions, so test what we can and
142    add a configure flag to turn it of if needed.  ok djm@
143  - (dtucker) [openbsd-compat/port-aix.{c,h}] Remove AIX specific initgroups
144    implementation.  It's not needed to fix bug #1081 and breaks the build
145    on some AIX configurations.
146  - (dtucker) [openbsd-compat/regress/strtonumtest.c] Bug #1347: Use platform's
147    equivalent of LLONG_MAX for the compat regression tests, which makes them
148    run on AIX and HP-UX.  Patch from David Leonard.
149  - (dtucker) [configure.ac] Run stack-protector tests with -Werror to catch
150    platforms where gcc understands the option but it's not supported (and
151    thus generates a warning).
152
153 20080307
154  - (djm) OpenBSD CVS Sync
155    - jmc@cvs.openbsd.org 2008/02/11 07:58:28
156      [ssh.1 sshd.8 sshd_config.5]
157      bump Mdocdate for pages committed in "febuary", necessary because
158      of a typo in rcs.c;
159    - djm@cvs.openbsd.org 2008/02/13 22:38:17
160      [servconf.h session.c sshd.c]
161      rekey arc4random and OpenSSL RNG in postauth child
162      closefrom fds > 2 before shell/command execution
163      ok markus@
164    - mbalmer@cvs.openbsd.org 2008/02/14 13:10:31
165      [sshd.c]
166      When started in configuration test mode (-t) do not check that sshd is
167      being started with an absolute path.
168      ok djm
169    - markus@cvs.openbsd.org 2008/02/20 15:25:26
170      [session.c]
171      correct boolean encoding for coredump; der Mouse via dugsong
172    - djm@cvs.openbsd.org 2008/02/22 05:58:56
173      [session.c]
174      closefrom() call was too early, delay it until just before we execute
175      the user's rc files (if any).
176    - dtucker@cvs.openbsd.org 2008/02/22 20:44:02
177      [clientloop.c packet.c packet.h serverloop.c]
178      Allow all SSH2 packet types, including UNIMPLEMENTED to reset the
179      keepalive timer (bz #1307).  ok markus@
180    - djm@cvs.openbsd.org 2008/02/27 20:21:15
181      [sftp-server.c]
182      add an extension method "posix-rename@openssh.com" to perform POSIX atomic
183      rename() operations. based on patch from miklos AT szeredi.hu in bz#1400;
184      ok dtucker@ markus@
185    - deraadt@cvs.openbsd.org 2008/03/02 18:19:35
186      [monitor_fdpass.c]
187      use a union to ensure alignment of the cmsg (pay attention: various other
188      parts of the tree need this treatment too); ok djm
189    - deraadt@cvs.openbsd.org 2008/03/04 21:15:42
190      [version.h]
191      crank version; from djm
192  - (tim) [regress/sftp-glob.sh] Shell portability fix.
193
194 20080302
195  - (dtucker) [configure.ac] FreeBSD's glob() doesn't behave the way we expect
196    either, so use our own.
197
198 20080229
199  - (dtucker) [openbsd-compat/bsd-poll.c] We don't check for select(2) in
200    configure (and there's not much point, as openssh won't work without it)
201    so HAVE_SELECT is not defined and the poll(2) compat code doesn't get
202    built in.  Remove HAVE_SELECT so we can build on platforms without poll.
203  - (dtucker) [scp.c] Include sys/poll.h inside HAVE_SYS_POLL_H.
204  - (djm) [contrib/gnome-ssh-askpass2.h] Keep askpass windown on top. From
205    Debian patch via bernd AT openbsd.org
206
207 20080228
208  - (dtucker) [configure.ac] Add -fstack-protector to LDFLAGS too, fixes
209    linking problems on AIX with gcc 4.1.x.
210  - (dtucker) [includes.h ssh-add.c ssh-agent.c ssh-keygen.c ssh.c sshd.c
211    openbsd-compat/openssl-compat.{c,h}] Bug #1437 Move the OpenSSL compat
212    header to after OpenSSL headers, since some versions of OpenSSL have
213    SSLeay_add_all_algorithms as a macro already.
214  - (dtucker) [key.c defines.h openbsd-compat/openssl-compat.h] Move old OpenSSL
215    compat glue into openssl-compat.h.
216  - (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Bug #1081: Implement
217    getgrouplist via getgrset on AIX, rather than iterating over getgrent.
218    This allows, eg, Match and AllowGroups directives to work with NIS and
219    LDAP groups.
220  - (dtucker) [sshd.c] Bug #1042: make log messages for tcpwrappers use the
221    same SyslogFacility as the rest of sshd.  Patch from William Knox,
222    ok djm@.
223
224 20080225
225  - (dtucker) [openbsd-compat/fake-rfc2553.h] rename ssh_gai_strerror hack
226    since it now conflicts with the helper function in misc.c.  From
227    vinschen AT redhat.com.
228  - (dtucker) [configure.ac audit-bsm.c] Bug #1420: Add a local implementation
229    of aug_get_machine for systems that don't have their own (eg OS X, FreeBSD).
230    Help and testing from csjp at FreeBSD org, vgiffin at apple com.  ok djm@
231  - (dtucker) [includes.h openbsd-compat/openssl-compat.c] Bug #1437: reshuffle
232    headers so ./configure --with-ssl-engine actually works.  Patch from
233    Ian Lister.
234
235 20080224
236  - (tim) [contrib/cygwin/ssh-host-config]
237    Grammar changes on SYSCONFDIR LOCALSTATEDIR messages.
238    Check more thoroughly that it's possible to create the /var/empty directory.
239    Patch by vinschen AT redhat.com
240
241 20080210
242  - OpenBSD CVS Sync
243    - chl@cvs.openbsd.org 2008/01/11 07:22:28
244      [sftp-client.c sftp-client.h]
245      disable unused functions
246      initially from tobias@, but disabled them by placing them in
247      "#ifdef notyet" which was asked by djm@
248      ok djm@ tobias@
249    - djm@cvs.openbsd.org 2008/01/19 19:13:28
250      [ssh.1]
251      satisfy the pedants: -q does not suppress all diagnostic messages (e.g.
252      some commandline parsing warnings go unconditionally to stdout).
253    - djm@cvs.openbsd.org 2008/01/19 20:48:53
254      [clientloop.c]
255      fd leak on session multiplexing error path. Report and patch from
256      gregory_shively AT fanniemae.com
257    - djm@cvs.openbsd.org 2008/01/19 20:51:26
258      [ssh.c]
259      ignore SIGPIPE in multiplex client mode - we can receive this if the
260      server runs out of fds on us midway. Report and patch from
261      gregory_shively AT fanniemae.com
262    - djm@cvs.openbsd.org 2008/01/19 22:04:57
263      [sftp-client.c]
264      fix remote handle leak in do_download() local file open error path;
265      report and fix from sworley AT chkno.net
266    - djm@cvs.openbsd.org 2008/01/19 22:22:58
267      [ssh-keygen.c]
268      when hashing individual hosts (ssh-keygen -Hf hostname), make sure we
269      hash just the specified hostname and not the entire hostspec from the
270      keyfile. It may be of the form "hostname,ipaddr", which would lead to
271      a hash that never matches. report and fix from jp AT devnull.cz
272    - djm@cvs.openbsd.org 2008/01/19 22:37:19
273      [ssh-keygen.c]
274      unbreak line numbering (broken in revision 1.164), fix error message
275    - djm@cvs.openbsd.org 2008/01/19 23:02:40
276      [channels.c]
277      When we added support for specified bind addresses for port forwards, we
278      added a quirk SSH_OLD_FORWARD_ADDR. There is a bug in our handling of
279      this for -L port forwards that causes the client to listen on both v4
280      and v6 addresses when connected to a server with this quirk, despite
281      having set 0.0.0.0 as a bind_address.
282      report and patch from Jan.Pechanec AT Sun.COM; ok dtucker@
283    - djm@cvs.openbsd.org 2008/01/19 23:09:49
284      [readconf.c readconf.h sshconnect2.c]
285      promote rekeylimit to a int64 so it can hold the maximum useful limit
286      of 2^32; report and patch from Jan.Pechanec AT Sun.COM, ok dtucker@
287    - djm@cvs.openbsd.org 2008/01/20 00:38:30
288      [sftp.c]
289      When uploading, correctly handle the case of an unquoted filename with
290      glob metacharacters that match a file exactly but not as a glob, e.g. a
291      file called "[abcd]". report and test cases from duncan2nd AT gmx.de
292    - djm@cvs.openbsd.org 2008/01/21 17:24:30
293      [sftp-server.c]
294      Remove the fixed 100 handle limit in sftp-server and allocate as many
295      as we have available file descriptors. Patch from miklos AT szeredi.hu;
296      ok dtucker@ markus@
297    - djm@cvs.openbsd.org 2008/01/21 19:20:17
298      [sftp-client.c]
299      when a remote write error occurs during an upload, ensure that ACKs for
300      all issued requests are properly drained. patch from t8m AT centrum.cz
301    - dtucker@cvs.openbsd.org 2008/01/23 01:56:54
302      [clientloop.c packet.c serverloop.c]
303      Revert the change for bz #1307 as it causes connection aborts if an IGNORE
304      packet arrives while we're waiting in packet_read_expect (and possibly
305      elsewhere).
306    - jmc@cvs.openbsd.org 2008/01/31 20:06:50
307      [scp.1]
308      explain how to handle local file names containing colons;
309      requested by Tamas TEVESZ
310      ok dtucker
311    - markus@cvs.openbsd.org 2008/02/04 21:53:00
312      [session.c sftp-server.c sftp.h]
313      link sftp-server into sshd; feedback and ok djm@
314    - mcbride@cvs.openbsd.org 2008/02/09 12:15:43
315      [ssh.1 sshd.8]
316      Document the correct permissions for the ~/.ssh/ directory.
317      ok jmc
318    - djm@cvs.openbsd.org 2008/02/10 09:55:37
319      [sshd_config.5]
320      mantion that "internal-sftp" is useful with ForceCommand too
321    - djm@cvs.openbsd.org 2008/02/10 10:54:29
322      [servconf.c session.c]
323      delay ~ expansion for ChrootDirectory so it expands to the logged-in user's
324      home, rather than the user who starts sshd (probably root)
325
326 20080119
327  - (djm) Silence noice from expr in ssh-copy-id; patch from
328    mikel AT mikelward.com
329  - (djm) Only listen for IPv6 connections on AF_INET6 sockets; patch from
330    tsr2600 AT gmail.com
331
332 20080102
333  - (dtucker) [configure.ac] Fix message for -fstack-protector-all test.
334
335 20080101
336  - (dtucker) OpenBSD CVS Sync
337    - dtucker@cvs.openbsd.org 2007/12/31 10:41:31
338      [readconf.c servconf.c]
339      Prevent strict-aliasing warnings on newer gcc versions.  bz #1355, patch
340      from Dmitry V. Levin, ok djm@
341    - dtucker@cvs.openbsd.org 2007/12/31 15:27:04
342      [sshd.c]
343      When in inetd mode, have sshd generate a Protocol 1 ephemeral server
344      key only for connections where the client chooses Protocol 1 as opposed
345      to when it's enabled in the server's config.  Speeds up Protocol 2
346      connections to inetd-mode servers that also allow Protocol 1.  bz #440,
347      based on a patch from bruno at wolff.to, ok markus@
348    - dtucker@cvs.openbsd.org 2008/01/01 08:47:04
349      [misc.c]
350      spaces -> tabs from my previous commit
351    - dtucker@cvs.openbsd.org 2008/01/01 09:06:39
352      [scp.c]
353      If scp -p encounters a pre-epoch timestamp, use the epoch which is
354      as close as we can get given that it's used unsigned.  Add a little
355      debugging while there.  bz #828, ok djm@
356    - dtucker@cvs.openbsd.org 2008/01/01 09:27:33
357      [sshd_config.5 servconf.c]
358      Allow PermitRootLogin in a Match block.  Allows for, eg, permitting root
359      only from the local network.  ok markus@, man page bit ok jmc@
360    - dtucker@cvs.openbsd.org 2008/01/01 08:51:20
361      [moduli]
362      Updated moduli file; ok djm@
363
364 20071231
365  - (dtucker) [configure.ac openbsd-compat/glob.{c,h}] Bug #1407: force use of
366    builtin glob implementation on Mac OS X.  Based on a patch from
367    vgiffin at apple.
368
369 20071229
370  - (dtucker) OpenBSD CVS Sync
371    - djm@cvs.openbsd.org 2007/12/12 05:04:03
372      [sftp.c]
373      unbreak lls command and add a regress test that would have caught the
374      breakage; spotted by mouring@
375    - dtucker@cvs.openbsd.org 2007/12/27 14:22:08
376      [servconf.c canohost.c misc.c channels.c sshconnect.c misc.h ssh-keyscan.c
377       sshd.c]
378      Add a small helper function to consistently handle the EAI_SYSTEM error
379      code of getaddrinfo.  Prompted by vgiffin at apple com via bz #1417.
380      ok markus@ stevesk@
381    - dtucker@cvs.openbsd.org 2007/12/28 15:32:24
382      [clientloop.c serverloop.c packet.c]
383      Make SSH2_MSG_UNIMPLEMENTED and SSH2_MSG_IGNORE messages reset the
384      ServerAlive and ClientAlive timers.  Prevents dropping a connection
385      when these are enabled but the peer does not support our keepalives.
386      bz #1307, ok djm@.
387    - dtucker@cvs.openbsd.org 2007/12/28 22:34:47
388      [clientloop.c]
389      Use the correct packet maximum sizes for remote port and agent forwarding.
390      Prevents the server from killing the connection if too much data is queued
391      and an excessively large packet gets sent.  bz #1360, ok djm@.
392
393 20071202
394  - (dtucker) [configure.ac] Enable -fstack-protector-all on systems where
395    gcc supports it.  ok djm@
396  - (dtucker) [scp.c] Update $OpenBSD tag missing from rev 1.175 and remove
397    leftover debug code.
398  - (dtucker) OpenBSD CVS Sync
399    - dtucker@cvs.openbsd.org 2007/10/29 00:52:45
400      [auth2-gss.c]
401      Allow build without -DGSSAPI; ok deraadt@
402      (Id sync only, Portable already has the ifdefs)
403    - dtucker@cvs.openbsd.org 2007/10/29 01:55:04
404      [ssh.c]
405      Plug tiny mem leaks in ControlPath and ProxyCommand option processing;
406      ok djm@
407    - dtucker@cvs.openbsd.org 2007/10/29 04:08:08
408      [monitor_wrap.c monitor.c]
409      Send config block back to slave for invalid users too so options
410      set by a Match block (eg Banner) behave the same for non-existent
411      users.  Found by and ok djm@
412    - dtucker@cvs.openbsd.org 2007/10/29 06:51:59
413      [ssh_config.5]
414      ProxyCommand and LocalCommand use the user's shell, not /bin/sh; ok djm@
415    - dtucker@cvs.openbsd.org 2007/10/29 06:54:50
416      [ssh.c]
417      Make LocalCommand work for Protocol 1 too; ok djm@
418    - jmc@cvs.openbsd.org 2007/10/29 07:48:19
419      [ssh_config.5]
420      clean up after previous macro removal;
421    - djm@cvs.openbsd.org 2007/11/03 00:36:14
422      [clientloop.c]
423      fix memory leak in process_cmdline(), patch from Jan.Pechanec AT Sun.COM;
424      ok dtucker@
425    - deraadt@cvs.openbsd.org 2007/11/03 01:24:06
426      [ssh.c]
427      bz #1377: getpwuid results were being clobbered by another getpw* call
428      inside tilde_expand_filename(); save the data we need carefully
429      ok djm
430    - dtucker@cvs.openbsd.org 2007/11/03 02:00:32
431      [ssh.c]
432      Use xstrdup/xfree when saving pwname and pwdir; ok deraadt@
433    - deraadt@cvs.openbsd.org 2007/11/03 02:03:49
434      [ssh.c]
435      avoid errno trashing in signal handler; ok dtucker
436
437 20071030
438  - (djm) OpenBSD CVS Sync
439    - djm@cvs.openbsd.org 2007/10/29 23:49:41
440      [openbsd-compat/sys-tree.h]
441      remove extra backslash at the end of RB_PROTOTYPE, report from
442      Jan.Pechanec AT Sun.COM; ok deraadt@
443
444 20071026
445  - (djm) OpenBSD CVS Sync
446    - stevesk@cvs.openbsd.org 2007/09/11 23:49:09
447      [sshpty.c]
448      remove #if defined block not needed; ok markus@ dtucker@
449      (NB. RCD ID sync only for portable)
450    - djm@cvs.openbsd.org 2007/09/21 03:05:23
451      [ssh_config.5]
452      document KbdInteractiveAuthentication in ssh_config.5;
453      patch from dkg AT fifthhorseman.net
454    - djm@cvs.openbsd.org 2007/09/21 08:15:29
455      [auth-bsdauth.c auth-passwd.c auth.c auth.h auth1.c auth2-chall.c]
456      [monitor.c monitor_wrap.c]
457      unifdef -DBSD_AUTH
458      unifdef -USKEY
459      These options have been in use for some years;
460      ok markus@ "no objection" millert@
461      (NB. RCD ID sync only for portable)
462    - canacar@cvs.openbsd.org 2007/09/25 23:48:57
463      [ssh-agent.c]
464      When adding a key that already exists, update the properties
465      (time, confirm, comment) instead of discarding them. ok djm@ markus@
466    - ray@cvs.openbsd.org 2007/09/27 00:15:57
467      [dh.c]
468      Don't return -1 on error in dh_pub_is_valid(), since it evaluates
469      to true.
470      Also fix a typo.
471      Initial diff from Matthew Dempsky, input from djm.
472      OK djm, markus.
473    - dtucker@cvs.openbsd.org 2007/09/29 00:25:51
474      [auth2.c]
475      Remove unused prototype.  ok djm@
476    - chl@cvs.openbsd.org 2007/10/02 17:49:58
477      [ssh-keygen.c]
478      handles zero-sized strings that fgets can return
479      properly removes trailing newline
480      removes an unused variable
481      correctly counts line number
482      "looks ok" ray@ markus@
483    - markus@cvs.openbsd.org 2007/10/22 19:10:24
484      [readconf.c]
485      make sure that both the local and remote port are correct when
486      parsing -L; Jan Pechanec (bz #1378)
487    - djm@cvs.openbsd.org 2007/10/24 03:30:02
488      [sftp.c]
489      rework argument splitting and parsing to cope correctly with common
490      shell escapes and make handling of escaped characters consistent
491      with sh(1) and between sftp commands (especially between ones that
492      glob their arguments and ones that don't).
493      parse command flags using getopt(3) rather than hand-rolled parsers.
494      ok dtucker@
495   - djm@cvs.openbsd.org 2007/10/24 03:44:02
496      [scp.c]
497      factor out network read/write into an atomicio()-like function, and
498      use it to handle short reads, apply bandwidth limits and update
499      counters. make network IO non-blocking, so a small trickle of
500      reads/writes has a chance of updating the progress meter; bz #799
501      ok dtucker@
502    - djm@cvs.openbsd.org 2006/08/29 09:44:00
503      [regress/sftp-cmds.sh]
504      clean up our mess
505    - markus@cvs.openbsd.org 2006/11/06 09:27:43
506      [regress/cfgmatch.sh]
507      fix quoting for non-(c)sh login shells.
508    - dtucker@cvs.openbsd.org 2006/12/13 08:36:36
509      [regress/cfgmatch.sh]
510      Additional test for multiple PermitOpen entries.  ok djm@
511    - pvalchev@cvs.openbsd.org 2007/06/07 19:41:46
512      [regress/cipher-speed.sh regress/try-ciphers.sh]
513      test umac-64@openssh.com
514      ok djm@
515    - djm@cvs.openbsd.org 2007/10/24 03:32:35
516      [regress/sftp-cmds.sh regress/sftp-glob.sh regress/test-exec.sh]
517      comprehensive tests for sftp escaping its interaction with globbing;
518      ok dtucker@
519    - djm@cvs.openbsd.org 2007/10/26 05:30:01
520      [regress/sftp-glob.sh regress/test-exec.sh]
521      remove "echo -E" crap that I added in last commit and use printf(1) for
522      cases where we strictly require echo not to reprocess escape characters.
523    - deraadt@cvs.openbsd.org 2005/11/28 17:50:12
524      [openbsd-compat/glob.c]
525      unused arg in internal static API
526    - jakob@cvs.openbsd.org 2007/10/11 18:36:41
527      [openbsd-compat/getrrsetbyname.c openbsd-compat/getrrsetbyname.h]
528      use RRSIG instead of SIG for DNSSEC. ok djm@
529    - otto@cvs.openbsd.org 2006/10/21 09:55:03
530      [openbsd-compat/base64.c]
531      remove calls to abort(3) that can't happen anyway; from
532      <bret dot lambert at gmail.com>; ok millert@ deraadt@
533    - frantzen@cvs.openbsd.org 2004/04/24 18:11:46
534      [openbsd-compat/sys-tree.h]
535      sync to Niels Provos' version.  avoid unused variable warning in
536      RB_NEXT()
537    - tdeval@cvs.openbsd.org 2004/11/24 18:10:42
538      [openbsd-compat/sys-tree.h]
539      typo
540    - grange@cvs.openbsd.org 2004/05/04 16:59:32
541      [openbsd-compat/sys-queue.h]
542      Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.
543      This matches our SLIST behaviour and NetBSD's SIMPLEQ as well.
544      ok millert krw deraadt
545    - deraadt@cvs.openbsd.org 2005/02/25 13:29:30
546      [openbsd-compat/sys-queue.h]
547      minor white spacing
548    - otto@cvs.openbsd.org 2005/10/17 20:19:42
549      [openbsd-compat/sys-queue.h]
550      Performing certain operations on queue.h data structurs produced
551      funny results.  An example is calling  LIST_REMOVE on the same
552      element twice. This will not fail, but result in a data structure
553      referencing who knows what. Prevent these accidents by NULLing some
554      fields on remove and replace. This way, either a panic or segfault
555      will be produced on the faulty operation.
556    - otto@cvs.openbsd.org 2005/10/24 20:25:14
557      [openbsd-compat/sys-queue.h]
558      Partly backout. NOLIST, used in LISTs is probably interfering.
559      requested by deraadt@
560    - otto@cvs.openbsd.org 2005/10/25 06:37:47
561      [openbsd-compat/sys-queue.h]
562      Some uvm problem is being exposed with the more strict macros.
563      Revert until we've found out what's causing the panics.
564    - otto@cvs.openbsd.org 2005/11/25 08:06:25
565      [openbsd-compat/sys-queue.h]
566      Introduce debugging aid for queue macros. Disabled by default; but
567      developers are encouraged to run with this enabled.
568      ok krw@ fgsch@ deraadt@
569    - otto@cvs.openbsd.org 2007/04/30 18:42:34
570      [openbsd-compat/sys-queue.h]
571      Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels.
572      Input and okays from krw@, millert@, otto@, deraadt@, miod@.
573    - millert@cvs.openbsd.org 2004/10/07 16:56:11
574      GLOB_NOESCAPE is POSIX so move it out of the #ifndef _POSIX_SOURCE
575      block.
576      (NB. mostly an RCS ID sync, as portable strips out the conditionals)
577  - (djm) [regress/sftp-cmds.sh]
578    Use more restrictive glob to pick up test files from /bin - some platforms
579    ship broken symlinks there which could spoil the test.
580  - (djm) [openbsd-compat/bindresvport.c]
581    Sync RCS ID after irrelevant (for portable OpenSSH) header shuffling
582
583 20070927
584  - (dtucker) [configure.ac atomicio.c] Fall back to including <sys/poll.h> if
585    we don't have <poll.h> (eq QNX).  From bacon at cs nyu edu.
586  - (dtucker) [configure.ac defines.h] Shadow expiry does not work on QNX6
587    so disable it for that platform.  From bacon at cs nyu edu.
588
589 20070921
590  - (djm) [atomicio.c] Fix spin avoidance for platforms that define
591    EWOULDBLOCK; patch from ben AT psc.edu
592
593 20070917
594  - (djm) OpenBSD CVS Sync
595    - djm@cvs.openbsd.org 2007/08/23 02:49:43
596      [auth-passwd.c auth.c session.c]
597      unifdef HAVE_LOGIN_CAP; ok deraadt@ millert@
598      NB. RCS ID sync only for portable
599    - djm@cvs.openbsd.org 2007/08/23 02:55:51
600      [auth-passwd.c auth.c session.c]
601      missed include bits from last commit
602      NB. RCS ID sync only for portable
603    - djm@cvs.openbsd.org 2007/08/23 03:06:10
604      [auth.h]
605      login_cap.h doesn't belong here
606      NB. RCS ID sync only for portable
607    - djm@cvs.openbsd.org 2007/08/23 03:22:16
608      [auth2-none.c sshd_config sshd_config.5]
609      Support "Banner=none" to disable displaying of the pre-login banner;
610      ok dtucker@ deraadt@
611    - djm@cvs.openbsd.org 2007/08/23 03:23:26
612      [sshconnect.c]
613      Execute ProxyCommands with $SHELL rather than /bin/sh unconditionally
614    - djm@cvs.openbsd.org 2007/09/04 03:21:03
615      [clientloop.c monitor.c monitor_fdpass.c monitor_fdpass.h]
616      [monitor_wrap.c ssh.c]
617      make file descriptor passing code return an error rather than call fatal()
618      when it encounters problems, and use this to make session multiplexing
619      masters survive slaves failing to pass all stdio FDs; ok markus@
620    - djm@cvs.openbsd.org 2007/09/04 11:15:56
621      [ssh.c sshconnect.c sshconnect.h]
622      make ssh(1)'s ConnectTimeout option apply to both the TCP connection and
623      SSH banner exchange (previously it just covered the TCP connection).
624      This allows callers of ssh(1) to better detect and deal with stuck servers
625      that accept a TCP connection but don't progress the protocol, and also
626      makes ConnectTimeout useful for connections via a ProxyCommand;
627      feedback and "looks ok" markus@
628    - sobrado@cvs.openbsd.org 2007/09/09 11:38:01
629      [ssh-add.c ssh-agent.1 ssh-agent.c ssh-keygen.c]
630      sort synopsis and options in ssh-agent(1); usage is lowercase
631      ok jmc@
632    - stevesk@cvs.openbsd.org 2007/09/11 04:36:29
633      [sshpty.c]
634      sort #include
635      NB. RCS ID sync only
636    - gilles@cvs.openbsd.org 2007/09/11 15:47:17
637      [session.c ssh-keygen.c sshlogin.c]
638      use strcspn to properly overwrite '\n' in fgets returned buffer
639      ok pyr@, ray@, millert@, moritz@, chl@
640    - stevesk@cvs.openbsd.org 2007/09/11 23:49:09
641      [sshpty.c]
642      remove #if defined block not needed; ok markus@ dtucker@
643      NB. RCS ID sync only
644    - stevesk@cvs.openbsd.org 2007/09/12 19:39:19
645      [umac.c]
646      use xmalloc() and xfree(); ok markus@ pvalchev@
647    - djm@cvs.openbsd.org 2007/09/13 04:39:04
648      [sftp-server.c]
649      fix incorrect test when setting syslog facility; from Jan Pechanec
650    - djm@cvs.openbsd.org 2007/09/16 00:55:52
651      [sftp-client.c]
652      use off_t instead of u_int64_t for file offsets, matching what the
653      progressmeter code expects; bz #842
654  - (tim) [defines.h] Fix regression in long password support on OpenServer 6.
655    Problem report and additional testing rac AT tenzing.org.
656
657 20070914
658  - (dtucker) [openbsd-compat/bsd-asprintf.c] Plug mem leak in error path.
659    Patch from Jan.Pechanec at sun com.
660
661 20070910
662  - (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1358: Always
663    return 0 on successful test.  From David.Leonard at quest com.
664  - (tim) [configure.ac] Autoconf didn't define HAVE_LIBIAF because we
665    did a AC_CHECK_FUNCS within the AC_CHECK_LIB test.
666
667 20070817
668  - (dtucker) [sshd.8] Many Linux variants use a single "!" to denote locked
669    accounts and that's what the code looks for, so make man page and code
670    agree.  Pointed out by Roumen Petrov.
671  - (dtucker) [INSTALL] Group the parts describing random options and PAM
672    implementations together which is hopefully more coherent.
673  - (dtucker) [INSTALL] the pid file is sshd.pid not ssh.pid.
674  - (dtucker) [INSTALL] Give PAM its own heading.
675  - (dtucker) [INSTALL] Link to tcpwrappers.
676
677 20070816
678  - (dtucker) [session.c] Call PAM cleanup functions for unauthenticated
679    connections too.  Based on a patch from Sandro Wefel, with & ok djm@
680
681 20070815
682  - (dtucker) OpenBSD CVS Sync
683    - markus@cvs.openbsd.org 2007/08/15 08:14:46
684      [clientloop.c]
685      do NOT fall back to the trused x11 cookie if generation of an untrusted
686      cookie fails; from Jan Pechanec, via security-alert at sun.com;
687      ok dtucker
688    - markus@cvs.openbsd.org 2007/08/15 08:16:49
689      [version.h]
690      openssh 4.7
691    - stevesk@cvs.openbsd.org 2007/08/15 12:13:41
692      [ssh_config.5]
693      tun device forwarding now honours ExitOnForwardFailure; ok markus@
694  - (dtucker) [openbsd-compat/bsd-cray.c] Remove debug from signal handler.
695    ok djm@
696  - (dtucker) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec
697    contrib/suse/openssh.spec] Crank version.
698
699 20070813
700  - (dtucker) [session.c] Bug #1339: ensure that pam_setcred() is always
701    called with PAM_ESTABLISH_CRED at least once, which resolves a problem
702    with pam_dhkeys.  Patch from David Leonard, ok djm@
703
704 20070810
705  - (dtucker) [auth-pam.c] Use sigdie here too.  ok djm@
706  - (dtucker) [configure.ac] Bug #1343: Set DISABLE_FD_PASSING for QNX6. From 
707    Matt Kraai, ok djm@ 
708
709 20070809
710  - (dtucker) [openbsd-compat/port-aix.c] Comment typo.
711  - (dtucker) [README.platform] Document the interaction between PermitRootLogin
712    and the AIX native login restrictions.
713  - (dtucker) [defines.h] Remove _PATH_{CSHELL,SHELLS} which aren't
714    used anywhere and are a potential source of warnings.
715
716 20070808
717  - (djm) OpenBSD CVS Sync
718    - ray@cvs.openbsd.org 2007/07/12 05:48:05
719      [key.c]
720      Delint: remove some unreachable statements, from Bret Lambert.
721      OK markus@ and dtucker@.
722    - sobrado@cvs.openbsd.org 2007/08/06 19:16:06
723      [scp.1 scp.c]
724      the ellipsis is not an optional argument; while here, sync the usage
725      and synopsis of commands
726      lots of good ideas by jmc@
727      ok jmc@
728    - djm@cvs.openbsd.org 2007/08/07 07:32:53
729      [clientloop.c clientloop.h ssh.c]
730      bz#1232: ensure that any specified LocalCommand is executed after the
731      tunnel device is opened. Also, make failures to open a tunnel device
732      fatal when ExitOnForwardFailure is active.
733      Reported by h.goebel AT goebel-consult.de; ok dtucker markus reyk deraadt
734
735 20070724
736  - (tim) [openssh.xml.in] make FMRI match what package scripts use.
737  - (tim) [openbsd-compat/regress/closefromtest.c] Bug 1345: fix open() call.
738    Report/patch by David.Leonard AT quest.com (and Bernhard Simon)
739  - (tim) [buildpkg.sh.in openssh.xml.in] Allow more flexibility where smf(5)
740  - (tim) [buildpkg.sh.in] s|$FAKE_ROOT/${sysconfdir}|$FAKE_ROOT${sysconfdir}|
741
742 20070628
743  - (djm) bz#1325: Fix SELinux in permissive mode where it would
744    incorrectly fatal() on errors. patch from cjwatson AT debian.org;
745    ok dtucker
746
747 20070625
748  - (dtucker) OpenBSD CVS Sync
749    - djm@cvs.openbsd.org 2007/06/13 00:21:27
750      [scp.c]
751      don't ftruncate() non-regular files; bz#1236 reported by wood AT
752      xmission.com; ok dtucker@
753    - djm@cvs.openbsd.org 2007/06/14 21:43:25
754      [ssh.c]
755      handle EINTR when waiting for mux exit status properly
756    - djm@cvs.openbsd.org 2007/06/14 22:48:05
757      [ssh.c]
758      when waiting for the multiplex exit status, read until the master end
759      writes an entire int of data *and* closes the client_fd; fixes mux
760      regression spotted by dtucker, ok dtucker@
761    - djm@cvs.openbsd.org 2007/06/19 02:04:43
762      [atomicio.c]
763      if the fd passed to atomicio/atomiciov() is non blocking, then poll() to
764      avoid a spin if it is not yet ready for reading/writing; ok dtucker@
765    - dtucker@cvs.openbsd.org 2007/06/25 08:20:03
766      [channels.c]
767      Correct test for window updates every three packets; prevents sending
768      window updates for every single packet.  ok markus@
769    - dtucker@cvs.openbsd.org 2007/06/25 12:02:27
770      [atomicio.c]
771      Include <poll.h> like the man page says rather than <sys/poll.h>.  ok djm@
772  - (dtucker) [atomicio.c] Test for EWOULDBLOCK in atomiciov to match
773    atomicio.
774  - (dtucker) [atomicio.c configure.ac openbsd-compat/Makefile.in
775    openbsd-compat/bsd-poll.{c,h} openbsd-compat/openbsd-compat.h]
776    Add an implementation of poll() built on top of select(2).  Code from
777    OpenNTPD with changes suggested by djm.  ok djm@
778
779 20070614
780  - (dtucker) [cipher-ctr.c umac.c openbsd-compat/openssl-compat.h] Move the
781    USE_BUILTIN_RIJNDAEL compat goop to openssl-compat.h so it can be
782    shared with umac.c.  Allows building with OpenSSL 0.9.5 again including
783    umac support.  With tim@ djm@, ok djm.
784  - (dtucker) [openbsd-compat/openssl-compat.h] Merge USE_BUILTIN_RIJNDAEL
785    sections.  Fixes builds with early OpenSSL 0.9.6 versions.
786  - (dtucker) [openbsd-compat/openssl-compat.h] Remove redundant definition
787    of USE_BUILTIN_RIJNDAEL since the <0.9.6 test is covered by the
788    subsequent <0.9.7 test.
789
790 20070612
791  - (dtucker) OpenBSD CVS Sync
792    - markus@cvs.openbsd.org 2007/06/11 09:14:00
793      [channels.h]
794      increase default channel windows; ok djm
795    - djm@cvs.openbsd.org 2007/06/12 07:41:00
796      [ssh-add.1]
797      better document ssh-add's -d option (delete identies from agent), bz#1224
798      new text based on some provided by andrewmc-debian AT celt.dias.ie;
799      ok dtucker@
800    - djm@cvs.openbsd.org 2007/06/12 08:20:00
801      [ssh-gss.h gss-serv.c gss-genr.c]
802      relocate server-only GSSAPI code from libssh to server; bz #1225
803      patch from simon AT sxw.org.uk; ok markus@ dtucker@
804    - djm@cvs.openbsd.org 2007/06/12 08:24:20
805      [scp.c]
806      make scp try to skip FIFOs rather than blocking when nothing is listening.
807      depends on the platform supporting sane O_NONBLOCK semantics for open
808      on FIFOs (apparently POSIX does not mandate this), which OpenBSD does.
809      bz #856; report by cjwatson AT debian.org; ok markus@
810    - djm@cvs.openbsd.org 2007/06/12 11:11:08
811      [ssh.c]
812      fix slave exit value when a control master goes away without passing the
813      full exit status by ensuring that the slave reads a full int. bz#1261
814      reported by frekko AT gmail.com; ok markus@ dtucker@
815    - djm@cvs.openbsd.org 2007/06/12 11:15:17
816      [ssh.c ssh.1]
817      Add "-K" flag for ssh to set GSSAPIAuthentication=yes and
818      GSSAPIDelegateCredentials=yes. This is symmetric with -k (disable GSSAPI)
819      and is useful for hosts with /home on Kerberised NFS; bz #1312
820      patch from Markus.Kuhn AT cl.cam.ac.uk; ok dtucker@ markus@
821    - djm@cvs.openbsd.org 2007/06/12 11:45:27
822      [ssh.c]
823      improved exit message from multiplex slave sessions; bz #1262
824      reported by alexandre.nunes AT gmail.com; ok dtucker@
825    - dtucker@cvs.openbsd.org 2007/06/12 11:56:15
826      [gss-genr.c]
827      Pass GSS OID to gss_display_status to provide better information in
828      error messages.  Patch from Simon Wilkinson via bz 1220.  ok djm@
829    - jmc@cvs.openbsd.org 2007/06/12 13:41:03
830      [ssh-add.1]
831      identies -> identities;
832    - jmc@cvs.openbsd.org 2007/06/12 13:43:55
833      [ssh.1]
834      add -K to SYNOPSIS;
835    - dtucker@cvs.openbsd.org 2007/06/12 13:54:28
836      [scp.c]
837      Encode filename with strnvis if the name contains a newline (which can't
838      be represented in the scp protocol), from bz #891.  ok markus@
839
840 20070611
841  - (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit
842    fix; tested by dtucker@ and jochen.kirn AT gmail.com
843    - pvalchev@cvs.openbsd.org 2007/06/07 19:37:34
844      [kex.h mac.c mac.h monitor_wrap.c myproposal.h packet.c ssh.1]
845      [ssh_config.5 sshd.8 sshd_config.5]
846      Add a new MAC algorithm for data integrity, UMAC-64 (not default yet,
847      must specify umac-64@openssh.com). Provides about 20% end-to-end speedup
848      compared to hmac-md5. Represents a different approach to message
849      authentication to that of HMAC that may be beneficial if HMAC based on
850      one of its underlying hash algorithms is found to be vulnerable to a
851      new attack.  http://www.ietf.org/rfc/rfc4418.txt
852      in conjunction with and OK djm@
853    - pvalchev@cvs.openbsd.org 2007/06/08 04:40:40
854      [ssh_config]
855      Add a "MACs" line after "Ciphers" with the default MAC algorithms,
856      to ease people who want to tweak both (eg. for performance reasons).
857      ok deraadt@ djm@ dtucker@
858    - jmc@cvs.openbsd.org 2007/06/08 07:43:46
859      [ssh_config.5]
860      put the MAC list into a display, like we do for ciphers,
861      since groff has trouble handling wide lines;
862    - jmc@cvs.openbsd.org 2007/06/08 07:48:09
863      [sshd_config.5]
864      oops, here too: put the MAC list into a display, like we do for
865      ciphers, since groff has trouble with wide lines;
866    - markus@cvs.openbsd.org 2007/06/11 08:04:44
867      [channels.c]
868      send 'window adjust' messages every tree packets and do not wait
869      until 50% of the window is consumed.  ok djm dtucker
870  - (djm) [configure.ac umac.c] If platform doesn't provide swap32(3), then
871    fallback to provided bit-swizzing functions
872  - (dtucker) [openbsd-compat/bsd-misc.c] According to the spec the "remainder"
873    argument to nanosleep may be NULL.  Currently this never happens in OpenSSH,
874    but check anyway in case this changes or the code gets used elsewhere.
875  - (dtucker) [includes.h] Bug #1243: HAVE_PATHS -> HAVE_PATHS_H.  Should
876    prevent warnings about redefinitions of various things in paths.h.
877    Spotted by cartmanltd at hotmail.com.
878
879 20070605
880  - (dtucker) OpenBSD CVS Sync
881    - djm@cvs.openbsd.org 2007/05/22 10:18:52
882      [sshd.c]
883      zap double include; from p_nowaczyk AT o2.pl
884      (not required in -portable, Id sync only)
885    - djm@cvs.openbsd.org 2007/05/30 05:58:13
886      [kex.c]
887      tidy: KNF, ARGSUSED and u_int
888    - jmc@cvs.openbsd.org 2007/05/31 19:20:16
889      [scp.1 ssh_config.5 sftp-server.8 ssh-agent.1 sshd_config.5 sftp.1
890      ssh-keygen.1 ssh-keyscan.1 ssh-add.1 sshd.8 ssh.1 ssh-keysign.8]
891      convert to new .Dd format;
892      (We will need to teach mdoc2man.awk to understand this too.)
893    - djm@cvs.openbsd.org 2007/05/31 23:34:29
894      [packet.c]
895      gc unreachable code; spotted by Tavis Ormandy
896    - djm@cvs.openbsd.org 2007/06/02 09:04:58
897      [bufbn.c]
898      memory leak on error path; from arnaud.lacombe.1 AT ulaval.ca
899    - djm@cvs.openbsd.org 2007/06/05 06:52:37
900      [kex.c monitor_wrap.c packet.c mac.h kex.h mac.c]
901      Preserve MAC ctx between packets, saving 2xhash calls per-packet.
902      Yields around a 12-16% end-to-end speedup for arcfour256/hmac-md5
903      patch from markus@ tested dtucker@ and myself, ok markus@ and me (I'm
904      committing at his request)
905  - (dtucker) [mdoc2man.awk] Teach it to deal with $Mdocdate tags that
906    OpenBSD's cvs now adds.
907  - (dtucker) [mdoc2man.awk] Remove trailing "$" from Mdocdate regex so
908    mindrot's cvs doesn't expand it on us.
909  - (dtucker) [mdoc2man.awk] Add support for %R references, used for RFCs.
910
911 20070520
912  - (dtucker) OpenBSD CVS Sync
913    - stevesk@cvs.openbsd.org 2007/04/14 22:01:58
914      [auth2.c]
915      remove unused macro; from Dmitry V. Levin <ldv@altlinux.org>
916    - stevesk@cvs.openbsd.org 2007/04/18 01:12:43
917      [sftp-server.c]
918      cast "%llu" format spec to (unsigned long long); do not assume a
919      u_int64_t arg is the same as 'unsigned long long'.
920      from Dmitry V. Levin <ldv@altlinux.org>
921      ok markus@ 'Yes, that looks correct' millert@
922    - dtucker@cvs.openbsd.org 2007/04/23 10:15:39
923      [servconf.c]
924      Remove debug() left over from development.  ok deraadt@
925    - djm@cvs.openbsd.org 2007/05/17 07:50:31
926      [log.c]
927      save and restore errno when logging; ok deraadt@
928    - djm@cvs.openbsd.org 2007/05/17 07:55:29
929      [sftp-server.c]
930      bz#1286 stop reading and processing commands when input or output buffer
931      is nearly full, otherwise sftp-server would happily try to grow the
932      input/output buffers past the maximum supported by the buffer API and
933      promptly fatal()
934      based on patch from Thue Janus Kristensen; feedback & ok dtucker@
935    - djm@cvs.openbsd.org 2007/05/17 20:48:13
936      [sshconnect2.c]
937      fall back to gethostname() when the outgoing connection is not
938      on a socket, such as is the case when ProxyCommand is used.
939      Gives hostbased auth an opportunity to work; bz#616, report
940      and feedback stuart AT kaloram.com; ok markus@
941    - djm@cvs.openbsd.org 2007/05/17 20:52:13
942      [monitor.c]
943      pass received SIGINT from monitor to postauth child so it can clean
944      up properly. bz#1196, patch from senthilkumar_sen AT hotpop.com;
945      ok markus@
946    - jolan@cvs.openbsd.org 2007/05/17 23:53:41
947      [sshconnect2.c]
948      djm owes me a vb and a tism cd for breaking ssh compilation
949  - (dtucker) [auth-pam.c] malloc+memset -> calloc.  Patch from
950    ldv at altlinux.org.
951  - (dtucker) [auth-pam.c] Return empty string if fgets fails in
952    sshpam_tty_conv.  Patch from ldv at altlinux.org.
953
954 20070509
955  - (tim) [configure.ac] Bug #1287: Add missing test for ucred.h.
956
957 20070429
958  - (dtucker) [openbsd-compat/bsd-misc.c] Include unistd.h and sys/types.h
959    for select(2) prototype.
960  - (dtucker) [auth-shadow.c loginrec.c] Include time.h for time(2) prototype.
961  - (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1299: Use the
962    platform's _res if it has one.  Should fix problem of DNSSEC record lookups
963    on NetBSD as reported by Curt Sampson.
964  - (dtucker) [openbsd-compat/xmmap.c] Include stdlib.h for mkstemp prototype.
965  - (dtucker) [configure.ac defines.h] Have configure check for MAXSYMLINKS
966    so we don't get redefinition warnings.
967  - (dtucker) [openbsd-compat/xmmap.c] Include stdlib.h for mkstemp prototype.
968  - (dtucker) [configure.ac defines.h] Prevent warnings about __attribute__
969    __nonnull__ for versions of GCC that don't support it.
970  - (dtucker) [configure.ac defines.h] Have configure check for offsetof
971    to prevent redefinition warnings.
972
973 20070406
974  - (dtucker) [INSTALL] Update the systems that have PAM as standard.  Link
975    to OpenPAM too.
976  - (dtucker) [INSTALL] prngd lives at sourceforge these days.
977
978 20070326
979  - (tim) [auth.c configure.ac defines.h session.c openbsd-compat/port-uw.c
980    openbsd-compat/port-uw.h openbsd-compat/xcrypt.c] Rework libiaf test/defines
981    to account for IRIX having libiaf but not set_id(). Patch with & ok dtucker@
982
983 20070325
984  - (dtucker) [Makefile.in configure.ac] Replace single-purpose LIBSELINUX,
985    LIBWRAP and LIBPAM variables in Makefile with the general-purpose
986    SSHDLIBS.  "I like" djm@
987
988 20070321
989  - (dtucker) OpenBSD CVS Sync
990    - dtucker@cvs.openbsd.org 2007/03/09 05:20:06
991      [servconf.c sshd.c]
992      Move C/R -> kbdint special case to after the defaults have been
993      loaded, which makes ChallengeResponse default to yes again.  This
994      was broken by the Match changes and not fixed properly subsequently.
995      Found by okan at demirmen.com, ok djm@ "please do it" deraadt@
996    - djm@cvs.openbsd.org 2007/03/19 01:01:29
997      [sshd_config]
998      Disable the legacy SSH protocol 1 for new installations via
999      a configuration override. In the future, we will change the
1000      server's default itself so users who need the legacy protocol
1001      will need to turn it on explicitly
1002    - dtucker@cvs.openbsd.org 2007/03/19 12:16:42
1003      [ssh-agent.c]
1004      Remove the signal handler that checks if the agent's parent process
1005      has gone away, instead check when the select loop returns.  Record when
1006      the next key will expire when scanning for expired keys.  Set the select
1007      timeout to whichever of these two things happens next.  With djm@, with &
1008      ok deraadt@ markus@
1009    - tedu@cvs.openbsd.org 2007/03/20 03:56:12
1010      [readconf.c clientloop.c]
1011      remove some bogus *p tests from charles longeau
1012      ok deraadt millert
1013    - jmc@cvs.openbsd.org 2007/03/20 15:57:15
1014      [sshd.8]
1015      - let synopsis and description agree for -f
1016      - sort FILES
1017      - +.Xr ssh-keyscan 1 ,
1018      from Igor Sobrado
1019  - (dtucker) [configure.ac openbsd-compat/bsd-getpeereid.c] Bug #1287: Use
1020    getpeerucred to implement getpeereid (currently only Solaris 10 and up).
1021    Patch by Jan.Pechanec at Sun.
1022  - (dtucker) [regress/agent-getpeereid.sh] Do peereid test if we have
1023    HAVE_GETPEERUCRED too.  Also from Jan Pechanec.
1024
1025 20070313
1026  - (dtucker) [entropy.c scard-opensc.c ssh-rand-helper.c] Bug #1294: include
1027    string.h to prevent warnings, from vapier at gentoo.org.
1028  - (dtucker) [LICENCE] Add Daniel Walsh as a copyright holder for the
1029    selinux bits in -portable.
1030  - (dtucker) [cipher-3des1.c cipher-bf1.c] The OpenSSL 0.9.8e problem in
1031    bug #1291 also affects Protocol 1 3des.  While at it, use compat-openssl.h
1032    in cipher-bf1.c.  Patch from Juan Gallego.
1033  - (dtucker) [README.platform] Info about blibpath on AIX.
1034
1035 20070306
1036  - (djm) OpenBSD CVS Sync
1037    - jmc@cvs.openbsd.org 2007/03/01 16:19:33
1038      [sshd_config.5]
1039      sort the `match' keywords;
1040    - djm@cvs.openbsd.org 2007/03/06 10:13:14
1041      [version.h]
1042      openssh-4.6; "please" deraadt@
1043  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
1044    [contrib/suse/openssh.spec] crank spec files for release
1045  - (djm) [README] correct link to release notes
1046  - (djm) Release 4.6p1
1047
1048 20070304
1049  - (djm) [configure.ac] add a --without-openssl-header-check option to
1050    configure, as some platforms (OS X) ship OpenSSL headers whose version
1051    does not match that of the shipping library. ok dtucker@
1052  - (dtucker) [openbsd-compat/openssl-compat.h] Bug #1291: Work around a
1053    bug in OpenSSL 0.9.8e that prevents aes256-ctr, aes192-ctr and arcfour256
1054    ciphers from working correctly (disconnects with "Bad packet length"
1055    errors) as found by Ben Harris.  ok djm@
1056
1057 20070303
1058  - (dtucker) [regress/agent-ptrace.sh] Make ttrace gdb error a little more
1059    general to cover newer gdb versions on HP-UX.
1060
1061 20070302
1062  - (dtucker) [configure.ac] For Cygwin, read files in textmode (which allows
1063    CRLF as well as LF lineendings) and write in binary mode.  Patch from
1064    vinschen at redhat.com.
1065  - (dtucker) [INSTALL] Update to autoconf-2.61.
1066
1067 20070301
1068  - (dtucker) OpenBSD CVS Sync
1069    - dtucker@cvs.openbsd.org 2007/03/01 10:28:02
1070      [auth2.c sshd_config.5 servconf.c]
1071      Remove ChallengeResponseAuthentication support inside a Match
1072      block as its interaction with KbdInteractive makes it difficult to
1073      support.  Also, relocate the CR/kbdint option special-case code into
1074      servconf.  "please commit" djm@, ok markus@ for the relocation.
1075  - (tim) [buildpkg.sh.in openssh.xml.in] Clean up Solaris 10 smf(5) bits.
1076    "Looks sane" dtucker@
1077
1078 20070228
1079  - (dtucker) OpenBSD CVS Sync
1080    - dtucker@cvs.openbsd.org 2007/02/28 00:55:30
1081      [ssh-agent.c]
1082      Remove expired keys periodically so they don't remain in memory when
1083      the agent is entirely idle, as noted by David R. Piegdon.  This is the
1084      simple fix, a more efficient one will be done later.  With markus,
1085      deraadt, with & ok djm.
1086
1087 20070225
1088  - (dtucker) OpenBSD CVS Sync
1089    - djm@cvs.openbsd.org 2007/02/20 10:25:14
1090      [clientloop.c]
1091      set maximum packet and window sizes the same for multiplexed clients
1092      as normal connections; ok markus@
1093    - dtucker@cvs.openbsd.org 2007/02/21 11:00:05
1094      [sshd.c]
1095      Clear alarm() before restarting sshd on SIGHUP.  Without this, if there's
1096      a SIGALRM pending (for SSH1 key regeneration) when sshd is SIGHUP'ed, the
1097      newly exec'ed sshd will get the SIGALRM and not have a handler for it,
1098      and the default action will terminate the listening sshd.  Analysis and
1099      patch from andrew at gaul.org.
1100    - dtucker@cvs.openbsd.org 2007/02/22 12:58:40
1101      [servconf.c]
1102      Check activep so Match and GatewayPorts work together; ok markus@
1103    - ray@cvs.openbsd.org 2007/02/24 03:30:11
1104      [moduli.c]
1105      - strlen returns size_t, not int.
1106      - Pass full buffer size to fgets.
1107      OK djm@, millert@, and moritz@.
1108
1109 20070219
1110   - (dtucker) OpenBSD CVS Sync
1111    - jmc@cvs.openbsd.org 2007/01/10 13:23:22
1112      [ssh_config.5]
1113      do not use a list for SYNOPSIS;
1114      this is actually part of a larger report sent by eric s. raymond
1115      and forwarded by brad, but i only read half of it. spotted by brad.
1116    - jmc@cvs.openbsd.org 2007/01/12 20:20:41
1117      [ssh-keygen.1 ssh-keygen.c]
1118      more secsh -> rfc 4716 updates;
1119      spotted by wiz@netbsd
1120      ok markus
1121    - dtucker@cvs.openbsd.org 2007/01/17 23:22:52
1122      [readconf.c]
1123      Honour activep for times (eg ServerAliveInterval) while parsing
1124      ssh_config and ~/.ssh/config so they work properly with Host directives.
1125      From mario.lorenz@wincor-nixdorf.com via bz #1275.  ok markus@
1126    - stevesk@cvs.openbsd.org 2007/01/21 01:41:54
1127      [auth-skey.c kex.c ssh-keygen.c session.c clientloop.c]
1128      spaces
1129    - stevesk@cvs.openbsd.org 2007/01/21 01:45:35
1130      [readconf.c]
1131      spaces
1132    - djm@cvs.openbsd.org 2007/01/22 11:32:50
1133      [sftp-client.c]
1134      return error from do_upload() when a write fails. fixes bz#1252: zero
1135      exit status from sftp when uploading to a full device. report from
1136      jirkat AT atlas.cz; ok dtucker@
1137    - djm@cvs.openbsd.org 2007/01/22 13:06:21
1138      [scp.c]
1139      fix detection of whether we should show progress meter or not: scp
1140      tested isatty(stderr) but wrote the progress meter to stdout. This patch
1141      makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com;
1142      of dtucker@
1143    - stevesk@cvs.openbsd.org 2007/02/14 14:32:00
1144      [bufbn.c]
1145      typos in comments; ok jmc@
1146    - dtucker@cvs.openbsd.org 2007/02/19 10:45:58
1147      [monitor_wrap.c servconf.c servconf.h monitor.c sshd_config.5]
1148      Teach Match how handle config directives that are used before
1149      authentication.  This allows configurations such as permitting password
1150      authentication from the local net only while requiring pubkey from
1151      offsite.  ok djm@, man page bits ok jmc@
1152  - (dtucker) [contrib/findssl.sh] Add "which" as a shell function since some
1153    platforms don't have it.  Patch from dleonard at vintela.com.
1154  - (dtucker) [openbsd-compat/getrrsetbyname.c] Don't attempt to calloc
1155    an array for signatures when there are none since "calloc(0, n) returns
1156    NULL on some platforms (eg Tru64), which is explicitly permitted by
1157    POSIX.  Diagnosis and patch by svallet genoscope.cns.fr.
1158
1159 20070128
1160  - (djm) [channels.c serverloop.c] Fix so-called "hang on exit" (bz #52)
1161    when closing a tty session when a background process still holds tty
1162    fds open. Great detective work and patch by Marc Aurele La France,
1163    slightly tweaked by me; ok dtucker@
1164
1165 20070123
1166  - (dtucker) [openbsd-compat/bsd-snprintf.c] Static declarations for public
1167    library interfaces aren't very helpful. Fix up the DOPR_OUTCH macro
1168    so it works properly and modify its callers so that they don't pre or
1169    post decrement arguments that are conditionally evaluated. While there,
1170    put SNPRINTF_CONST back as it prevents build failures in some
1171    configurations.  ok djm@ (for most of it)
1172
1173 20070122
1174  - (djm) [ssh-rand-helper.8] manpage nits;
1175    from dleonard AT vintela.com (bz#1529)
1176
1177 20070117
1178  - (dtucker) [packet.c] Re-remove in_systm.h since it's already in includes.h
1179    and multiple including it causes problems on old IRIXes.  (It snuck back
1180    in during a sync.)  Found (again) by Georg Schwarz.
1181
1182 20070114
1183  - (dtucker) [ssh-keygen.c] av -> argv to match earlier sync.
1184  - (djm) [openbsd-compat/bsd-snprintf.c] Fix integer overflow in return
1185    value of snprintf replacement, similar to bugs in various libc
1186    implementations. This overflow is not exploitable in OpenSSH. 
1187    While I'm fiddling with it, make it a fair bit faster by inlining the
1188    append-char routine; ok dtucker@
1189
1190 20070105
1191  - (djm) OpenBSD CVS Sync
1192    - deraadt@cvs.openbsd.org 2006/11/14 19:41:04
1193      [ssh-keygen.c]
1194      use argc and argv not some made up short form
1195    - ray@cvs.openbsd.org 2006/11/23 01:35:11
1196      [misc.c sftp.c]
1197      Don't access buf[strlen(buf) - 1] for zero-length strings.
1198      ``ok by me'' djm@.
1199    - markus@cvs.openbsd.org 2006/12/11 21:25:46
1200      [ssh-keygen.1 ssh.1]
1201      add rfc 4716 (public key format); ok jmc
1202    - djm@cvs.openbsd.org 2006/12/12 03:58:42
1203      [channels.c compat.c compat.h]
1204      bz #1019: some ssh.com versions apparently can't cope with the
1205      remote port forwarding bind_address being a hostname, so send
1206      them an address for cases where they are not explicitly
1207      specified (wildcard or localhost bind).  reported by daveroth AT
1208      acm.org; ok dtucker@ deraadt@
1209    - dtucker@cvs.openbsd.org 2006/12/13 08:34:39
1210      [servconf.c]
1211      Make PermitOpen work with multiple values like the man pages says.
1212      bz #1267 with details from peter at dmtz.com, with & ok djm@
1213    - dtucker@cvs.openbsd.org 2006/12/14 10:01:14
1214      [servconf.c]
1215      Make "PermitOpen all" first-match within a block to match the way other
1216      options work.  ok markus@ djm@
1217    - jmc@cvs.openbsd.org 2007/01/02 09:57:25
1218      [sshd_config.5]
1219      do not use lists for SYNOPSIS;
1220      from eric s. raymond via brad
1221    - stevesk@cvs.openbsd.org 2007/01/03 00:53:38
1222      [ssh-keygen.c]
1223      remove small dead code; arnaud.lacombe.1@ulaval.ca via Coverity scan
1224    - stevesk@cvs.openbsd.org 2007/01/03 03:01:40
1225      [auth2-chall.c channels.c dns.c sftp.c ssh-keygen.c ssh.c]
1226      spaces
1227    - stevesk@cvs.openbsd.org 2007/01/03 04:09:15
1228      [sftp.c]
1229      ARGSUSED for lint
1230    - stevesk@cvs.openbsd.org 2007/01/03 07:22:36
1231      [sftp-server.c]
1232      spaces
1233
1234 20061205
1235  - (djm) [auth.c] Fix NULL pointer dereference in fakepw().  Crash would
1236    occur if the server did not have the privsep user and an invalid user
1237    tried to login and both privsep and krb5 auth are disabled; ok dtucker@
1238  - (djm) [bsd-asprintf.c] Better test for bad vsnprintf lengths; ok dtucker@
1239
1240 20061108
1241  - (dtucker) OpenBSD CVS Sync
1242    - markus@cvs.openbsd.org 2006/11/07 13:02:07
1243      [dh.c]
1244      BN_hex2bn returns int; from dtucker@
1245
1246 20061107
1247  - (dtucker) [sshd.c] Use privsep_pw if we have it, but only require it
1248    if we absolutely need it.  Pointed out by Corinna, ok djm@
1249  - (dtucker) OpenBSD CVS Sync
1250    - markus@cvs.openbsd.org 2006/11/06 21:25:28
1251      [auth-rsa.c kexgexc.c kexdhs.c key.c ssh-dss.c sshd.c kexgexs.c
1252      ssh-keygen.c bufbn.c moduli.c scard.c kexdhc.c sshconnect1.c dh.c rsa.c]
1253      add missing checks for openssl return codes; with & ok djm@
1254    - markus@cvs.openbsd.org 2006/11/07 10:31:31
1255      [monitor.c version.h]
1256      correctly check for bad signatures in the monitor, otherwise the monitor
1257      and the unpriv process can get out of sync. with dtucker@, ok djm@,
1258      dtucker@
1259  - (dtucker) [README contrib/{caldera,redhat,contrib}/openssh.spec] Bump
1260    versions.
1261  - (dtucker) Release 4.5p1.
1262
1263 20061105
1264  - (djm) OpenBSD CVS Sync
1265    - otto@cvs.openbsd.org 2006/10/28 18:08:10
1266      [ssh.1]
1267      correct/expand example of usage of -w; ok jmc@ stevesk@
1268    - markus@cvs.openbsd.org 2006/10/31 16:33:12
1269      [kexdhc.c kexdhs.c kexgexc.c kexgexs.c]
1270      check DH_compute_key() for -1 even if it should not happen because of
1271      earlier calls to dh_pub_is_valid(); report krahmer at suse.de; ok djm
1272
1273 20061101
1274  - (dtucker) [openbsd-compat/port-solaris.c] Bug #1255: Make only hwerr
1275    events fatal in Solaris process contract support and tell it to signal
1276    only processes in the same process group when something happens.
1277    Based on information from andrew.benham at thus.net and similar to
1278    a patch from Chad Mynhier.  ok djm@
1279
1280 20061027
1281 - (djm) [auth.c] gc some dead code
1282
1283 20061023
1284  - (djm) OpenBSD CVS Sync
1285    - ray@cvs.openbsd.org 2006/09/30 17:48:22
1286      [sftp.c]
1287      Clear errno before calling the strtol functions.
1288      From Paul Stoeber <x0001 at x dot de1 dot cc>.
1289      OK deraadt@.
1290    - djm@cvs.openbsd.org 2006/10/06 02:29:19
1291      [ssh-agent.c ssh-keyscan.c ssh.c]
1292      sys/resource.h needs sys/time.h; prompted by brad@
1293      (NB. Id sync only for portable)
1294    - djm@cvs.openbsd.org 2006/10/09 23:36:11
1295      [session.c]
1296      xmalloc -> xcalloc that was missed previously, from portable
1297      (NB. Id sync only for portable, obviously)
1298    - markus@cvs.openbsd.org 2006/10/10 10:12:45
1299      [sshconnect.c]
1300      sleep before retrying (not after) since sleep changes errno; fixes
1301      pr 5250; rad@twig.com; ok dtucker djm
1302    - markus@cvs.openbsd.org 2006/10/11 12:38:03
1303      [clientloop.c serverloop.c]
1304      exit instead of doing a blocking tcp send if we detect a client/server
1305      timeout, since the tcp sendqueue might be already full (of alive
1306      requests); ok dtucker, report mpf
1307    - djm@cvs.openbsd.org 2006/10/22 02:25:50
1308      [sftp-client.c]
1309      cancel progress meter when upload write fails; ok deraadt@
1310  - (tim) [Makefile.in scard/Makefile.in] Add datarootdir= lines to keep
1311    autoconf 2.60 from complaining.
1312
1313 20061018
1314  - (dtucker) OpenBSD CVS Sync
1315    - ray@cvs.openbsd.org 2006/09/25 04:55:38
1316      [ssh-keyscan.1 ssh.1]
1317      Change "a SSH" to "an SSH".  Hurray, I'm not the only one who
1318      pronounces "SSH" as "ess-ess-aich".
1319      OK jmc@ and stevesk@.
1320  - (dtucker) [sshd.c] Reshuffle storing of pw struct; prevents warnings
1321    on older versions of OS X.  ok djm@
1322
1323 20061016
1324  - (dtucker) [monitor_fdpass.c] Include sys/in.h, required for cmsg macros
1325    on older (2.0) Linuxes.  Based on patch from thmo-13 at gmx de.
1326
1327 20061006
1328  - (tim) [buildpkg.sh.in] Use uname -r instead of -v in OS_VER for Solaris.
1329    Differentiate between OpenServer 5 and OpenServer 6
1330  - (dtucker) [configure.ac] Set put -lselinux into $LIBS while testing for
1331    SELinux functions so they're detected correctly.  Patch from pebenito at
1332    gentoo.org.
1333  - (tim) [buildpkg.sh.in] Some systems have really limited nawk (OpenServer).
1334    Allow setting alternate awk in openssh-config.local.
1335
1336 20061003
1337  - (tim) [configure.ac] Move CHECK_HEADERS test before platform specific
1338    section so additional platform specific CHECK_HEADER tests will work
1339    correctly. Fixes "<net/if_tap.h> on FreeBSD" problem report by des AT des.no
1340    Feedback and "seems like a good idea" dtucker@
1341
1342 20061001
1343  - (dtucker) [audit-bsm.c] Include errno.h.  Pointed out by des at des.no.
1344
1345 20060929
1346  - (dtucker) [configure.ac] Bug #1239: Fix configure test for OpenSSH engine
1347    support.  Patch from andrew.benham at thus net.
1348
1349 20060928
1350  - (dtucker) [entropy.c] Bug #1238: include signal.h to fix compilation error
1351    on Solaris 8 w/out /dev/random or prngd.  Patch from rl at
1352    math.technion.ac.il.
1353
1354 20060926
1355  - (dtucker) [bufaux.h] nuke bufaux.h; it's already gone from OpenBSD and not
1356    referenced any more.  ok djm@
1357  - (dtucker) [sftp-server.8] Resync; spotted by djm@
1358  - (dtucker) Release 4.4p1.
1359
1360 20060924
1361  - (tim) [configure.ac] Remove CFLAGS hack for UnixWare 1.x/2.x (added
1362    to rev 1.308) to work around broken gcc 2.x header file.
1363
1364 20060923
1365  - (dtucker) [configure.ac] Bug #1234: Put opensc libs into $LIBS rather than
1366    $LDFLAGS.  Patch from vapier at gentoo org.
1367
1368 20060922
1369  - (dtucker) [packet.c canohost.c] Include arpa/inet.h for htonl macros on
1370    some platforms (eg HP-UX 11.00).  From santhi.amirta at gmail com.
1371
1372 20060921
1373  - (dtucker) OpenBSD CVS Sync
1374    - otto@cvs.openbsd.org 2006/09/19 05:52:23
1375      [sftp.c]
1376      Use S_IS* macros insted of masking with S_IF* flags. The latter may
1377      have multiple bits set, which lead to surprising results. Spotted by
1378      Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@
1379    - markus@cvs.openbsd.org 2006/09/19 21:14:08
1380      [packet.c]
1381      client NULL deref on protocol error; Tavis Ormandy, Google Security Team
1382  - (dtucker) [defines.h] Include unistd.h before defining getpgrp; fixes
1383    build error on Ultrix.  From Bernhard Simon.
1384
1385 20060918
1386  - (dtucker) [configure.ac] On AIX, check to see if the compiler will allow
1387    macro redefinitions, and if not, remove "-qlanglvl=ansi" from the flags.
1388    Allows build out of the box with older VAC and XLC compilers.  Found by
1389    David Bronder and Bernhard Simon.
1390  - (dtucker) [openbsd-compat/port-aix.{c,h}] Reduce scope of includes.
1391    Prevents macro redefinition warnings of "RDONLY".
1392
1393 20060916
1394  - OpenBSD CVS Sync
1395    - djm@cvs.openbsd.org 2006/09/16 19:53:37
1396      [deattack.c deattack.h packet.c]
1397      limit maximum work performed by the CRC compensation attack detector,
1398      problem reported by Tavis Ormandy, Google Security Team;
1399      ok markus@ deraadt@
1400  - (djm) Add openssh.xml to .cvsignore and sort it
1401  - (dtucker) [auth-pam.c] Propogate TZ environment variable to PAM auth
1402    process so that any logging it does is with the right timezone.  From
1403    Scott Strickler, ok djm@.
1404  - (dtucker) [monitor.c] Correctly handle auditing of single commands when
1405    using Protocol 1.  From jhb at freebsd.
1406  - (djm) [sshd.c] Fix warning/API abuse; ok dtucker@
1407  - (dtucker) [INSTALL] Add info about audit support.
1408
1409 20060912
1410  - (djm) [Makefile.in buildpkg.sh.in configure.ac openssh.xml.in]
1411    Support SMF in Solaris Packages if enabled by configure. Patch from
1412    Chad Mynhier, tested by dtucker@
1413
1414 20060911
1415  - (dtucker) [cipher-aes.c] Include string.h for memcpy and friends.  Noted
1416    by Pekka Savola.
1417
1418 20060910
1419  - (dtucker) [contrib/aix/buildbff.sh] Ensure that perl is available.
1420  - (dtucker) [configure.ac] Add -lcrypt to let DragonFly build OOTB.
1421
1422 20060909
1423  - (dtucker) [openbsd-compat/bsd-snprintf.c] Add stdarg.h.
1424  - (dtucker) [contrib/aix/buildbff.sh] Always create privsep user.
1425  - (dtucker) [buildpkg.sh.in] Always create privsep user.  ok djm@
1426
1427 20060908
1428  - (dtucker) [auth-sia.c] Add includes required for build on Tru64.  Patch
1429    from Chris Adams.
1430  - (dtucker) [configure.ac] The BSM header test needs time.h in some cases.
1431
1432 20060907
1433  - (djm) [sshd.c auth.c] Set up fakepw() with privsep uid/gid, so it can
1434    be used to drop privilege to; fixes Solaris GSSAPI crash reported by
1435    Magnus Abrante; suggestion and feedback dtucker@
1436    NB. this change will require that the privilege separation user must
1437    exist on all the time, not just when UsePrivilegeSeparation=yes
1438  - (tim) [configure.ac] s/BROKEN_UPDWTMP/BROKEN_UPDWTMPX/ on SCO OSR6
1439  - (dtucker) [loginrec.c] Wrap paths.h in HAVE_PATHS_H.
1440  - (dtucker) [regress/cfgmatch.sh] stop_client is racy, so give us a better
1441    chance of winning.
1442
1443 20060905
1444  - (dtucker) [configure.ac] s/AC_DEFINES/AC_DEFINE/ spotted by Roumen Petrov.
1445  - (dtucker) [loginrec.c] Include paths.h for _PATH_BTMP.
1446
1447 20060904
1448  - (dtucker) [configure.ac] Define BROKEN_UPDWTMP on SCO OSR6 as the native
1449    updwdtmp seems to generate invalid wtmp entries.  From Roger Cornelius,
1450    ok djm@
1451
1452 20060903
1453  - (dtucker) [configure.ac openbsd-compat/openbsd-compat.h] Check for
1454    declaration of writev(2) and declare it ourselves if necessary.  Makes
1455    the atomiciov() calls build on really old systems.  ok djm@
1456
1457 20060902
1458  - (dtucker) [openbsd-compat/port-irix.c] Add errno.h, found by Iain Morgan.
1459  - (dtucker) [ssh-keyscan.c ssh-rand-helper.c ssh.c sshconnect.c
1460    openbsd-compat/bindresvport.c openbsd-compat/getrrsetbyname.c
1461    openbsd-compat/port-tun.c openbsd-compat/rresvport.c] Include <arpa/inet.h>
1462    for hton* and ntoh* macros.  Required on (at least) HP-UX since we define
1463    _XOPEN_SOURCE_EXTENDED.  Found by santhi.amirta at gmail com.
1464
1465 20060901
1466  - (djm) [audit-bsm.c audit.c auth-bsdauth.c auth-chall.c auth-pam.c]
1467    [auth-rsa.c auth-shadow.c auth-sia.c auth1.c auth2-chall.c]
1468    [auth2-gss.c auth2-kbdint.c auth2-none.c authfd.c authfile.c]
1469    [cipher-3des1.c cipher-aes.c cipher-bf1.c cipher-ctr.c clientloop.c]
1470    [dh.c dns.c entropy.c gss-serv-krb5.c gss-serv.c hostfile.c kex.c]
1471    [kexdhc.c kexdhs.c kexgexc.c kexgexs.c key.c loginrec.c mac.c]
1472    [md5crypt.c monitor.c monitor_wrap.c readconf.c rsa.c]
1473    [scard-opensc.c scard.c session.c ssh-add.c ssh-agent.c ssh-dss.c]
1474    [ssh-keygen.c ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c]
1475    [sshconnect1.c sshconnect2.c sshd.c]
1476    [openbsd-compat/bsd-cray.c openbsd-compat/port-aix.c]
1477    [openbsd-compat/port-linux.c openbsd-compat/port-solaris.c]
1478    [openbsd-compat/port-uw.c]
1479    Lots of headers for SCO OSR6, mainly adding stdarg.h for log.h;
1480    compile problems reported by rac AT tenzing.org
1481  - (djm) [includes.h monitor.c openbsd-compat/bindresvport.c]
1482    [openbsd-compat/rresvport.c] Some more headers: netinet/in.h 
1483    sys/socket.h and unistd.h in various places
1484  - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Fix implict declaration
1485    warnings for binary_open and binary_close.  Patch from Corinna Vinschen.
1486  - (dtucker) [configure.ac includes.h openbsd-compat/glob.{c,h}] Explicitly
1487    test for GLOB_NOMATCH and use our glob functions if it's not found.
1488    Stops sftp from segfaulting when attempting to get a nonexistent file on
1489    Cygwin (previous versions of OpenSSH didn't use the native glob). Partly
1490    from and tested by Corinna Vinschen.
1491  - (dtucker) [README contrib/{caldera,redhat,suse}/openssh.spec]  Crank
1492    versions.
1493
1494 20060831
1495  - (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]
1496    [platform.c platform.h sshd.c openbsd-compat/Makefile.in]
1497    [openbsd-compat/openbsd-compat.h openbsd-compat/port-solaris.c]
1498    [openbsd-compat/port-solaris.h] Add support for Solaris process
1499    contracts, enabled with --use-solaris-contracts. Patch from Chad
1500    Mynhier, tweaked by dtucker@ and myself; ok dtucker@
1501  - (dtucker) [contrib/cygwin/ssh-host-config] Add SeTcbPrivilege privilege
1502    while setting up the ssh service account.  Patch from Corinna Vinschen.
1503
1504 20060830
1505  - (djm) OpenBSD CVS Sync
1506    - dtucker@cvs.openbsd.org 2006/08/21 08:14:01
1507      [sshd_config.5]
1508      Document HostbasedUsesNameFromPacketOnly.  Corrections from jmc@,
1509      ok jmc@ djm@
1510    - dtucker@cvs.openbsd.org 2006/08/21 08:15:57
1511      [sshd.8]
1512      Add more detail about what permissions are and aren't accepted for
1513      authorized_keys files.  Corrections jmc@, ok djm@, "looks good" jmc@
1514    - djm@cvs.openbsd.org 2006/08/29 10:40:19
1515      [channels.c session.c]
1516      normalise some inconsistent (but harmless) NULL pointer checks
1517      spotted by the Stanford SATURN tool, via Isil Dillig;
1518      ok markus@ deraadt@
1519    - dtucker@cvs.openbsd.org 2006/08/29 12:02:30
1520      [gss-genr.c]
1521      Work around a problem in Heimdal that occurs when KRB5CCNAME file is
1522      missing, by checking whether or not kerberos allocated us a context
1523      before attempting to free it.  Patch from Simon Wilkinson, tested by
1524      biorn@, ok djm@
1525    - dtucker@cvs.openbsd.org 2006/08/30 00:06:51
1526      [sshconnect2.c]
1527      Fix regression where SSH2 banner is printed at loglevels ERROR and FATAL
1528      where previously it weren't.  bz #1221, found by Dean Kopesky, ok djm@
1529    - djm@cvs.openbsd.org 2006/08/30 00:14:37
1530      [version.h]
1531      crank to 4.4
1532  - (djm) [openbsd-compat/xcrypt.c] needs unistd.h
1533  - (dtucker) [auth.c openbsd-compat/port-aix.c] Bug #1207: always call
1534    loginsuccess on AIX immediately after authentication to clear the failed
1535    login count.  Previously this would only happen when an interactive
1536    session starts (ie when a pty is allocated) but this means that accounts
1537    that have primarily non-interactive sessions (eg scp's) may gradually
1538    accumulate enough failures to lock out an account.  This change may have
1539    a side effect of creating two audit records, one with a tty of "ssh"
1540    corresponding to the authentication and one with the allocated pty per
1541    interactive session.
1542
1543 20060824
1544  - (dtucker) [openbsd-compat/basename.c] Include errno.h.
1545  - (dtucker) [openbsd-compat/bsd-misc.c] Add includes needed for select(2) on
1546    older systems.
1547  - (dtucker) [openbsd-compat/bsd-misc.c] Include <sys/select.h> for select(2)
1548    on POSIX systems.
1549  - (dtucker) [openbsd-compat/bsd-openpty.c] Include for ioctl(2).
1550  - (dtucker) [openbsd-compat/rresvport.c] Include <stdlib.h> for malloc.
1551  - (dtucker) [openbsd-compat/xmmap.c] Move #define HAVE_MMAP to prevent
1552    unused variable warning when we have a broken or missing mmap(2).
1553
1554 20060822
1555  - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in
1556    Makefile.  Patch from santhi.amirta at gmail, ok djm.
1557
1558 20060820
1559  - (dtucker) [log.c] Move ifdef to prevent unused variable warning.
1560  - (dtucker) [configure.ac] Save $LIBS during PAM library tests and restore
1561    afterward.  Removes the need to mangle $LIBS later to remove -lpam and -ldl.
1562  - (dtucker) [configure.ac] Relocate --with-pam parts in preparation for
1563    fixing bug #1181.  No changes yet.
1564  - (dtucker) [configure.ac] Bug #1181: Explicitly test to see if OpenSSL
1565    (0.9.8a and presumably newer) requires -ldl to successfully link.
1566  - (dtucker) [configure.ac] Remove errant "-".
1567
1568 20060819
1569  - (djm) OpenBSD CVS Sync
1570    - djm@cvs.openbsd.org 2006/08/18 22:41:29
1571      [gss-genr.c]
1572      GSSAPI error code should be 0 and not -1; from simon@sxw.org.uk
1573  - (dtucker) [openbsd-compat/regress/Makefile.in] Add $(EXEEXT) and add a
1574    single rule for the test progs.
1575
1576 20060818
1577  - (dtucker) [configure.ac openbsd-compat/bsd-closefrom.c] Resync with
1578    closefrom.c from sudo.
1579  - (dtucker) [openbsd-compat/bsd-closefrom.c] Comment out rcsid.
1580  - (dtucker) [openbsd-compat/regress/snprintftest.c] Newline on error.
1581  - (dtucker) [openbsd-compat/regress/Makefile.in] Use implicit rules for the
1582    test progs instead; they work better than what we have.
1583  - (djm) OpenBSD CVS Sync
1584    - stevesk@cvs.openbsd.org 2006/08/06 01:13:32
1585      [compress.c monitor.c monitor_wrap.c]
1586      "zlib.h" can be <zlib.h>; ok djm@ markus@
1587    - miod@cvs.openbsd.org 2006/08/12 20:46:46
1588      [monitor.c monitor_wrap.c]
1589      Revert previous include file ordering change, for ssh to compile under
1590      gcc2 (or until openssl include files are cleaned of parameter names
1591      in function prototypes)
1592    - dtucker@cvs.openbsd.org 2006/08/14 12:40:25
1593      [servconf.c servconf.h sshd_config.5]
1594      Add ability to match groups to Match keyword in sshd_config.  Feedback
1595      djm@, stevesk@, ok stevesk@.
1596    - djm@cvs.openbsd.org 2006/08/16 11:47:15
1597      [sshd.c]
1598      factor inetd connection, TCP listen and main TCP accept loop out of
1599      main() into separate functions to improve readability; ok markus@
1600    - deraadt@cvs.openbsd.org 2006/08/18 09:13:26
1601      [log.c log.h sshd.c]
1602      make signal handler termination path shorter; risky code pointed out by
1603      mark dowd; ok djm markus
1604    - markus@cvs.openbsd.org 2006/08/18 09:15:20
1605      [auth.h session.c sshd.c]
1606      delay authentication related cleanups until we're authenticated and
1607      all alarms have been cancelled; ok deraadt
1608    - djm@cvs.openbsd.org 2006/08/18 10:27:16
1609      [misc.h]
1610      reorder so prototypes are sorted by the files they refer to; no
1611      binary change
1612    - djm@cvs.openbsd.org 2006/08/18 13:54:54
1613      [gss-genr.c ssh-gss.h sshconnect2.c]
1614      bz #1218 - disable SPNEGO as per RFC4462; diff from simon AT sxw.org.uk
1615      ok markus@
1616    - djm@cvs.openbsd.org 2006/08/18 14:40:34
1617      [gss-genr.c ssh-gss.h]
1618      constify host argument to match the rest of the GSSAPI functions and
1619      unbreak compilation with -Werror
1620  - (djm) Disable sigdie() for platforms that cannot safely syslog inside
1621    a signal handler (basically all of them, excepting OpenBSD);
1622    ok dtucker@
1623
1624 20060817
1625  - (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c]
1626    Include stdlib.h for malloc and friends.
1627  - (dtucker) [configure.ac openbsd-compat/bsd-closefrom.c] Use F_CLOSEM fcntl
1628    for closefrom() on AIX.  Pointed out by William Ahern.
1629  - (dtucker) [openbsd-compat/regress/{Makefile.in,closefromtest.c}] Regress
1630    test for closefrom() in compat code.
1631
1632 20060816
1633  - (djm) [audit-bsm.c] Sprinkle in some headers
1634
1635 20060815
1636  - (dtucker) [LICENCE] Add Reyk to the list for the compat dir.
1637
1638 20060806
1639  - (djm) [openbsd-compat/bsd-getpeereid.c] Add some headers to quiet warnings
1640    on Solaris 10
1641
1642 20060806
1643  - (dtucker) [defines.h] With the includes.h changes we no longer get the
1644    name clash on "YES" so we can remove the workaround for it.
1645  - (dtucker) [openbsd-compat/{bsd-asprintf.c,bsd-openpty.c,bsd-snprintf.c,
1646    glob.c}] Include stdlib.h for malloc and friends in compat code.
1647
1648 20060805
1649  - (djm) OpenBSD CVS Sync
1650    - stevesk@cvs.openbsd.org 2006/07/24 13:58:22
1651      [sshconnect.c]
1652      disable tunnel forwarding when no strict host key checking
1653      and key changed; ok djm@ markus@ dtucker@
1654    - stevesk@cvs.openbsd.org 2006/07/25 02:01:34
1655      [scard.c]
1656      need #include <string.h>
1657    - stevesk@cvs.openbsd.org 2006/07/25 02:59:21
1658      [channels.c clientloop.c packet.c scp.c serverloop.c sftp-client.c]
1659      [sftp-server.c ssh-agent.c ssh-keyscan.c sshconnect.c sshd.c]
1660      move #include <sys/time.h> out of includes.h
1661    - stevesk@cvs.openbsd.org 2006/07/26 02:35:17
1662      [atomicio.c auth.c dh.c authfile.c buffer.c clientloop.c kex.c]
1663      [groupaccess.c gss-genr.c kexgexs.c misc.c monitor.c monitor_mm.c]
1664      [packet.c scp.c serverloop.c session.c sftp-client.c sftp-common.c]
1665      [sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c]
1666      [uidswap.c xmalloc.c]
1667      move #include <sys/param.h> out of includes.h
1668    - stevesk@cvs.openbsd.org 2006/07/26 13:57:17
1669      [authfd.c authfile.c dh.c canohost.c channels.c clientloop.c compat.c]
1670      [hostfile.c kex.c log.c misc.c moduli.c monitor.c packet.c readpass.c]
1671      [scp.c servconf.c session.c sftp-server.c sftp.c ssh-add.c ssh-agent.c]
1672      [ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c sshconnect.c]
1673      [sshconnect1.c sshd.c xmalloc.c]
1674      move #include <stdlib.h> out of includes.h
1675    - jmc@cvs.openbsd.org 2006/07/27 08:00:50
1676      [ssh_config.5]
1677      avoid confusing wording in HashKnownHosts:
1678      originally spotted by alan amesbury;
1679      ok deraadt
1680    - jmc@cvs.openbsd.org 2006/07/27 08:00:50
1681      [ssh_config.5]
1682      avoid confusing wording in HashKnownHosts:
1683      originally spotted by alan amesbury;
1684      ok deraadt
1685    - dtucker@cvs.openbsd.org 2006/08/01 11:34:36
1686      [sshconnect.c]
1687      Allow fallback to known_hosts entries without port qualifiers for
1688      non-standard ports too, so that all existing known_hosts entries will be
1689      recognised.  Requested by, feedback and ok markus@
1690    - stevesk@cvs.openbsd.org 2006/08/01 23:22:48
1691      [auth-passwd.c auth-rhosts.c auth-rsa.c auth.c auth.h auth1.c]
1692      [auth2-chall.c auth2-pubkey.c authfile.c buffer.c canohost.c]
1693      [channels.c clientloop.c dh.c dns.c dns.h hostfile.c kex.c kexdhc.c]
1694      [kexgexc.c kexgexs.c key.c key.h log.c misc.c misc.h moduli.c]
1695      [monitor_wrap.c packet.c progressmeter.c readconf.c readpass.c scp.c]
1696      [servconf.c session.c sftp-client.c sftp-common.c sftp-server.c sftp.c]
1697      [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh.c sshconnect.c]
1698      [sshconnect1.c sshconnect2.c sshd.c sshlogin.c sshtty.c uuencode.c]
1699      [uuencode.h xmalloc.c]
1700      move #include <stdio.h> out of includes.h
1701    - stevesk@cvs.openbsd.org 2006/08/01 23:36:12
1702      [authfile.c channels.c progressmeter.c scard.c servconf.c ssh.c]
1703      clean extra spaces
1704    - deraadt@cvs.openbsd.org 2006/08/03 03:34:42
1705      [OVERVIEW atomicio.c atomicio.h auth-bsdauth.c auth-chall.c auth-krb5.c]
1706      [auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c]
1707      [auth-rsa.c auth-skey.c auth.c auth.h auth1.c auth2-chall.c auth2-gss.c]
1708      [auth2-hostbased.c auth2-kbdint.c auth2-none.c auth2-passwd.c ]
1709      [auth2-pubkey.c auth2.c authfd.c authfd.h authfile.c bufaux.c bufbn.c]
1710      [buffer.c buffer.h canohost.c channels.c channels.h cipher-3des1.c]
1711      [cipher-bf1.c cipher-ctr.c cipher.c cleanup.c clientloop.c compat.c]
1712      [compress.c deattack.c dh.c dispatch.c dns.c dns.h fatal.c groupaccess.c]
1713      [groupaccess.h gss-genr.c gss-serv-krb5.c gss-serv.c hostfile.c kex.c]
1714      [kex.h kexdh.c kexdhc.c kexdhs.c kexgex.c kexgexc.c kexgexs.c key.c]
1715      [key.h log.c log.h mac.c match.c md-sha256.c misc.c misc.h moduli.c]
1716      [monitor.c monitor_fdpass.c monitor_mm.c monitor_mm.h monitor_wrap.c]
1717      [monitor_wrap.h msg.c nchan.c packet.c progressmeter.c readconf.c]
1718      [readconf.h readpass.c rsa.c scard.c scard.h scp.c servconf.c servconf.h]
1719      [serverloop.c session.c session.h sftp-client.c sftp-common.c]
1720      [sftp-common.h sftp-glob.c sftp-server.c sftp.c ssh-add.c ssh-agent.c]
1721      [ssh-dss.c ssh-gss.h ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rsa.c]
1722      [ssh.c ssh.h sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c]
1723      [sshd.c sshlogin.c sshlogin.h sshpty.c sshpty.h sshtty.c ttymodes.c]
1724      [uidswap.c uidswap.h uuencode.c uuencode.h xmalloc.c xmalloc.h]
1725      [loginrec.c loginrec.h openbsd-compat/port-aix.c openbsd-compat/port-tun.h]
1726      almost entirely get rid of the culture of ".h files that include .h files"
1727      ok djm, sort of ok stevesk
1728      makes the pain stop in one easy step
1729      NB. portable commit contains everything *except* removing includes.h, as
1730      that will take a fair bit more work as we move headers that are required
1731      for portability workarounds to defines.h. (also, this step wasn't "easy")
1732    - stevesk@cvs.openbsd.org 2006/08/04 20:46:05
1733      [monitor.c session.c ssh-agent.c]
1734      spaces
1735  - (djm) [auth-pam.c defines.h] Move PAM related bits to auth-pam.c
1736  - (djm) [auth-pam.c auth.c bufaux.h entropy.c openbsd-compat/port-tun.c]
1737    remove last traces of bufaux.h - it was merged into buffer.h in the big
1738    includes.h commit
1739  - (djm) [auth.c loginrec.c] Missing netinet/in.h for loginrec
1740  - (djm) [openbsd-compat/regress/snprintftest.c]
1741    [openbsd-compat/regress/strduptest.c] Add missing includes so they pass
1742    compilation with "-Wall -Werror"
1743  - (djm) [auth-pam.c auth-shadow.c auth2-none.c cleanup.c sshd.c]
1744    [openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Sprinkle more
1745    includes for Linux in
1746  - (dtucker) [cleanup.c] Need defines.h for __dead.
1747  - (dtucker) [auth2-gss.c] We still need the #ifdef GSSAPI in -portable.
1748  - (dtucker) [openbsd-compat/{bsd-arc4random.c,port-tun.c,xmmap.c}] Lots of
1749    #include stdarg.h, needed for log.h.
1750  - (dtucker) [entropy.c] Needs unistd.h too.
1751  - (dtucker) [ssh-rand-helper.c] Needs stdarg.h for log.h.
1752  - (dtucker) [openbsd-compat/getrrsetbyname.c] Nees stdlib.h for malloc.
1753  - (dtucker) [openbsd-compat/strtonum.c] Include stdlib.h for strtoll,
1754    otherwise it is implicitly declared as returning an int.
1755  - (dtucker) OpenBSD CVS Sync
1756    - dtucker@cvs.openbsd.org 2006/08/05 07:52:52
1757      [auth2-none.c sshd.c monitor_wrap.c]
1758      Add headers required to build with KERBEROS5=no.  ok djm@
1759    - dtucker@cvs.openbsd.org 2006/08/05 08:00:33
1760      [auth-skey.c]
1761      Add headers required to build with -DSKEY.  ok djm@
1762    - dtucker@cvs.openbsd.org 2006/08/05 08:28:24
1763      [monitor_wrap.c auth-skey.c auth2-chall.c]
1764      Zap unused variables in -DSKEY code.  ok djm@
1765    - dtucker@cvs.openbsd.org 2006/08/05 08:34:04
1766      [packet.c]
1767      Typo in comment
1768  - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Add headers required to compile
1769    on Cygwin.
1770  - (dtucker) [openbsd-compat/fake-rfc2553.c] Add headers needed for inet_ntoa.
1771  - (dtucker) [auth-skey.c] monitor_wrap.h needs ssh-gss.h.
1772  - (dtucker) [audit.c audit.h] Repair headers.
1773  - (dtucker) [audit-bsm.c] Add additional headers now required.
1774
1775 20060804
1776  - (dtucker) [configure.ac] The "crippled AES" test does not work on recent
1777    versions of Solaris, so use AC_LINK_IFELSE to actually link the test program
1778    rather than just compiling it.  Spotted by dlg@.
1779
1780 20060802
1781  - (dtucker) [openbsd-compat/daemon.c] Add unistd.h for fork() prototype.
1782
1783 20060725
1784  - (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW.
1785
1786 20060724
1787  - (djm) OpenBSD CVS Sync
1788    - jmc@cvs.openbsd.org 2006/07/12 13:39:55
1789      [sshd_config.5]
1790       - new sentence, new line
1791       - s/The the/The/
1792       - kill a bad comma
1793    - stevesk@cvs.openbsd.org 2006/07/12 22:28:52
1794      [auth-options.c canohost.c channels.c includes.h readconf.c]
1795      [servconf.c ssh-keyscan.c ssh.c sshconnect.c sshd.c]
1796      move #include <netdb.h> out of includes.h; ok djm@
1797    - stevesk@cvs.openbsd.org 2006/07/12 22:42:32
1798      [includes.h ssh.c ssh-rand-helper.c]
1799      move #include <stddef.h> out of includes.h
1800    - stevesk@cvs.openbsd.org 2006/07/14 01:15:28
1801      [monitor_wrap.h]
1802      don't need incompletely-typed 'struct passwd' now with
1803      #include <pwd.h>; ok markus@
1804    - stevesk@cvs.openbsd.org 2006/07/17 01:31:10
1805      [authfd.c authfile.c channels.c cleanup.c clientloop.c groupaccess.c]
1806      [includes.h log.c misc.c msg.c packet.c progressmeter.c readconf.c]
1807      [readpass.c scp.c servconf.c sftp-client.c sftp-server.c sftp.c]
1808      [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c]
1809      [sshconnect.c sshlogin.c sshpty.c uidswap.c]
1810      move #include <unistd.h> out of includes.h
1811    - dtucker@cvs.openbsd.org 2006/07/17 12:02:24
1812      [auth-options.c]
1813      Use '\0' rather than 0 to terminates strings; ok djm@
1814    - dtucker@cvs.openbsd.org 2006/07/17 12:06:00
1815      [channels.c channels.h servconf.c sshd_config.5]
1816      Add PermitOpen directive to sshd_config which is equivalent to the
1817      "permitopen" key option.  Allows server admin to allow TCP port
1818      forwarding only two specific host/port pairs.  Useful when combined
1819      with Match.
1820      If permitopen is used in both sshd_config and a key option, both
1821      must allow a given connection before it will be permitted.
1822      Note that users can still use external forwarders such as netcat,
1823      so to be those must be controlled too for the limits to be effective.
1824      Feedback & ok djm@, man page corrections & ok jmc@.
1825    - jmc@cvs.openbsd.org 2006/07/18 07:50:40
1826      [sshd_config.5]
1827      tweak; ok dtucker
1828    - jmc@cvs.openbsd.org 2006/07/18 07:56:28
1829      [scp.1]
1830      replace DIAGNOSTICS with .Ex;
1831    - jmc@cvs.openbsd.org 2006/07/18 08:03:09
1832      [ssh-agent.1 sshd_config.5]
1833      mark up angle brackets;
1834    - dtucker@cvs.openbsd.org 2006/07/18 08:22:23
1835      [sshd_config.5]
1836      Clarify description of Match, with minor correction from jmc@
1837    - stevesk@cvs.openbsd.org 2006/07/18 22:27:55
1838      [dh.c]
1839      remove unneeded includes; ok djm@
1840    - dtucker@cvs.openbsd.org 2006/07/19 08:56:41
1841      [servconf.c sshd_config.5]
1842      Add support for X11Forwaring, X11DisplayOffset and X11UseLocalhost to
1843      Match.  ok djm@
1844    - dtucker@cvs.openbsd.org 2006/07/19 13:07:10
1845      [servconf.c servconf.h session.c sshd.8 sshd_config sshd_config.5]
1846      Add ForceCommand keyword to sshd_config, equivalent to the "command="
1847      key option, man page entry and example in sshd_config.
1848      Feedback & ok djm@, man page corrections & ok jmc@
1849    - stevesk@cvs.openbsd.org 2006/07/20 15:26:15
1850      [auth1.c serverloop.c session.c sshconnect2.c]
1851      missed some needed #include <unistd.h> when KERBEROS5=no; issue from
1852      massimo@cedoc.mo.it
1853    - dtucker@cvs.openbsd.org 2006/07/21 12:43:36
1854      [channels.c channels.h servconf.c servconf.h sshd_config.5]
1855      Make PermitOpen take a list of permitted ports and act more like most
1856      other keywords (ie the first match is the effective setting). This
1857      also makes it easier to override a previously set PermitOpen. ok djm@
1858    - stevesk@cvs.openbsd.org 2006/07/21 21:13:30
1859      [channels.c]
1860      more ARGSUSED (lint) for dispatch table-driven functions; ok djm@
1861    - stevesk@cvs.openbsd.org 2006/07/21 21:26:55
1862      [progressmeter.c]
1863      ARGSUSED for signal handler
1864    - stevesk@cvs.openbsd.org 2006/07/22 19:08:54
1865      [includes.h moduli.c progressmeter.c scp.c sftp-common.c]
1866      [sftp-server.c ssh-agent.c sshlogin.c]
1867      move #include <time.h> out of includes.h
1868    - stevesk@cvs.openbsd.org 2006/07/22 20:48:23
1869      [atomicio.c auth-options.c auth-passwd.c auth-rhosts.c auth-rsa.c]
1870      [auth.c auth1.c auth2-chall.c auth2-hostbased.c auth2-passwd.c auth2.c]
1871      [authfd.c authfile.c bufaux.c bufbn.c buffer.c canohost.c channels.c]
1872      [cipher-3des1.c cipher-bf1.c cipher-ctr.c cipher.c clientloop.c]
1873      [compat.c deattack.c dh.c dns.c gss-genr.c gss-serv.c hostfile.c]
1874      [includes.h kex.c kexdhc.c kexdhs.c kexgexc.c kexgexs.c key.c log.c]
1875      [mac.c match.c md-sha256.c misc.c moduli.c monitor.c monitor_fdpass.c]
1876      [monitor_mm.c monitor_wrap.c msg.c nchan.c packet.c rsa.c]
1877      [progressmeter.c readconf.c readpass.c scp.c servconf.c serverloop.c]
1878      [session.c sftp-client.c sftp-common.c sftp-glob.c sftp-server.c sftp.c]
1879      [ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c]
1880      [ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c sshconnect1.c sshconnect2.c]
1881      [sshd.c sshlogin.c sshpty.c ttymodes.c uidswap.c xmalloc.c]
1882      move #include <string.h> out of includes.h
1883    - stevesk@cvs.openbsd.org 2006/07/23 01:11:05
1884      [auth.h dispatch.c kex.h sftp-client.c]
1885      #include <signal.h> for sig_atomic_t; need this prior to <sys/param.h>
1886      move
1887  - (djm) [acss.c auth-krb5.c auth-options.c auth-pam.c auth-shadow.c]
1888    [canohost.c channels.c cipher-acss.c defines.h dns.c gss-genr.c]
1889    [gss-serv-krb5.c gss-serv.c log.h loginrec.c logintest.c readconf.c]
1890    [servconf.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c]
1891    [ssh.c sshconnect.c sshd.c openbsd-compat/bindresvport.c]
1892    [openbsd-compat/bsd-arc4random.c openbsd-compat/bsd-misc.c]
1893    [openbsd-compat/getrrsetbyname.c openbsd-compat/glob.c]
1894    [openbsd-compat/mktemp.c openbsd-compat/port-linux.c]
1895    [openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c]
1896    [openbsd-compat/setproctitle.c openbsd-compat/xmmap.c]
1897    make the portable tree compile again - sprinkle unistd.h and string.h 
1898    back in. Don't redefine __unused, as it turned out to be used in
1899    headers on Linux, and replace its use in auth-pam.c with ARGSUSED
1900  - (djm) [openbsd-compat/glob.c]
1901    Move get_arg_max() into the ifdef HAVE_GLOB block so that it compiles
1902    on OpenBSD (or other platforms with a decent glob implementation) with
1903    -Werror
1904  - (djm) [uuencode.c]
1905    Add resolv.h, is it contains the prototypes for __b64_ntop/__b64_pton on
1906    some platforms
1907  - (djm) [session.c]
1908    fix compile error with -Werror -Wall: 'path' is only used in
1909    do_setup_env() if HAVE_LOGIN_CAP is not defined
1910  - (djm) [openbsd-compat/basename.c openbsd-compat/bsd-closefrom.c]
1911    [openbsd-compat/bsd-cray.c openbsd-compat/bsd-openpty.c]
1912    [openbsd-compat/bsd-snprintf.c openbsd-compat/fake-rfc2553.c]
1913    [openbsd-compat/port-aix.c openbsd-compat/port-irix.c]
1914    [openbsd-compat/rresvport.c]
1915    These look to need string.h and/or unistd.h (based on a grep for function
1916    names)
1917  - (djm) [Makefile.in]
1918    Remove generated openbsd-compat/regress/Makefile in distclean target
1919  - (djm) [regress/Makefile regress/agent-getpeereid.sh regress/cfgmatch.sh]
1920    [regress/cipher-speed.sh regress/forcecommand.sh regress/forwarding.sh]
1921    Sync regress tests to -current; include dtucker@'s new cfgmatch and 
1922    forcecommand tests. Add cipher-speed.sh test (not linked in yet)
1923  - (dtucker) [cleanup.c] Since config.h defines _LARGE_FILES on AIX, including
1924    system headers before defines.h will cause conflicting definitions.
1925  - (dtucker) [regress/forcecommand.sh] Portablize.
1926
1927 20060713
1928  - (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
1929
1930 20060712
1931  - (dtucker) [configure.ac defines.h] Only define SHUT_RD (and friends) and
1932    O_NONBLOCK if they're really needed.  Fixes build errors on HP-UX, old
1933    Linuxes and probably more.
1934  - (dtucker) [configure.ac] OpenBSD needs <sys/types.h> before <sys/socket.h>
1935    for SHUT_RD.
1936  - (dtucker) [openbsd-compat/port-tun.c] OpenBSD needs <netinet/in.h> before
1937    <netinet/ip.h>.
1938  - (dtucker) OpenBSD CVS Sync
1939    - stevesk@cvs.openbsd.org 2006/07/10 16:01:57
1940      [sftp-glob.c sftp-common.h sftp.c]
1941      buffer.h only needed in sftp-common.h and remove some unneeded
1942      user includes; ok djm@
1943    - jmc@cvs.openbsd.org 2006/07/10 16:04:21
1944      [sshd.8]
1945      s/and and/and/
1946    - stevesk@cvs.openbsd.org 2006/07/10 16:37:36
1947      [readpass.c log.h scp.c fatal.c xmalloc.c includes.h ssh-keyscan.c misc.c
1948      auth.c packet.c log.c]
1949      move #include <stdarg.h> out of includes.h; ok markus@
1950    - dtucker@cvs.openbsd.org 2006/07/11 10:12:07
1951      [ssh.c]
1952      Only copy the part of environment variable that we actually use.  Prevents
1953      ssh bailing when SendEnv is used and an environment variable with a really
1954      long value exists.  ok djm@
1955    - markus@cvs.openbsd.org 2006/07/11 18:50:48
1956      [clientloop.c ssh.1 ssh.c channels.c ssh_config.5 readconf.h session.c
1957      channels.h readconf.c]
1958      add ExitOnForwardFailure: terminate the connection if ssh(1)
1959      cannot set up all requested dynamic, local, and remote port
1960      forwardings. ok djm, dtucker, stevesk, jmc
1961    - stevesk@cvs.openbsd.org 2006/07/11 20:07:25
1962      [scp.c auth.c monitor.c serverloop.c sftp-server.c sshpty.c readpass.c
1963      sshd.c monitor_wrap.c monitor_fdpass.c ssh-agent.c ttymodes.c atomicio.c
1964      includes.h session.c sshlogin.c monitor_mm.c packet.c sshconnect2.c
1965      sftp-client.c nchan.c clientloop.c sftp.c misc.c canohost.c channels.c
1966      ssh-keygen.c progressmeter.c uidswap.c msg.c readconf.c sshconnect.c]
1967      move #include <errno.h> out of includes.h; ok markus@
1968    - stevesk@cvs.openbsd.org 2006/07/11 20:16:43
1969      [ssh.c]
1970      cast asterisk field precision argument to int to remove warning;
1971      ok markus@
1972    - stevesk@cvs.openbsd.org 2006/07/11 20:27:56
1973      [authfile.c ssh.c]
1974      need <errno.h> here also (it's also included in <openssl/err.h>)
1975    - dtucker@cvs.openbsd.org 2006/07/12 11:34:58
1976      [sshd.c servconf.h servconf.c sshd_config.5 auth.c]
1977      Add support for conditional directives to sshd_config via a "Match"
1978      keyword, which works similarly to the "Host" directive in ssh_config.
1979      Lines after a Match line override the default set in the main section
1980      if the condition on the Match line is true, eg
1981      AllowTcpForwarding yes
1982      Match User anoncvs
1983              AllowTcpForwarding no
1984      will allow port forwarding by all users except "anoncvs".
1985      Currently only a very small subset of directives are supported.
1986      ok djm@
1987  - (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c
1988    openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c
1989    openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>.
1990  - (dtucker) [openbsd-compat/setproctitle.c] Include stdarg.h.
1991  - (dtucker) [ssh-keyscan.c ssh-rand-helper.c] More errno.h here too.
1992  - (dtucker) [openbsd-compat/openbsd-compat.h] v*printf needs stdarg.h.
1993  - (dtucker) [openbsd-compat/bsd-asprintf.c openbsd-compat/port-aix.c
1994    openbsd-compat/rresvport.c] More errno.h.
1995
1996 20060711
1997  - (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c
1998    openbsd-compat/daemon.c] Add includes needed by open(2).  Conditionally
1999    include paths.h.  Fixes build error on Solaris.
2000  - (dtucker) [entropy.c] More fcntl.h, this time on AIX (and probably
2001    others).
2002
2003 20060710
2004  - (dtucker) [INSTALL] New autoconf version: 2.60.
2005  - OpenBSD CVS Sync
2006    - djm@cvs.openbsd.org 2006/06/14 10:50:42
2007      [sshconnect.c]
2008      limit the number of pre-banner characters we will accept; ok markus@
2009    - djm@cvs.openbsd.org 2006/06/26 10:36:15
2010      [clientloop.c]
2011      mention optional bind_address in runtime port forwarding setup
2012      command-line help. patch from santhi.amirta AT gmail.com
2013    - stevesk@cvs.openbsd.org 2006/07/02 17:12:58
2014      [ssh.1 ssh.c ssh_config.5 sshd_config.5]
2015      more details and clarity for tun(4) device forwarding; ok and help
2016      jmc@
2017    - stevesk@cvs.openbsd.org 2006/07/02 18:36:47
2018      [gss-serv-krb5.c gss-serv.c]
2019      no "servconf.h" needed here
2020      (gss-serv-krb5.c change not applied, portable needs the server options)
2021    - stevesk@cvs.openbsd.org 2006/07/02 22:45:59
2022      [groupaccess.c groupaccess.h includes.h session.c sftp-common.c sshpty.c]
2023      move #include <grp.h> out of includes.h
2024      (portable needed uidswap.c too)
2025    - stevesk@cvs.openbsd.org 2006/07/02 23:01:55
2026      [clientloop.c ssh.1]
2027      use -KR[bind_address:]port here; ok djm@
2028    - stevesk@cvs.openbsd.org 2006/07/03 08:54:20
2029      [includes.h ssh.c sshconnect.c sshd.c]
2030      move #include "version.h" out of includes.h; ok markus@
2031    - stevesk@cvs.openbsd.org 2006/07/03 17:59:32
2032      [channels.c includes.h]
2033      move #include <arpa/inet.h> out of includes.h; old ok djm@
2034      (portable needed session.c too)
2035    - stevesk@cvs.openbsd.org 2006/07/05 02:42:09
2036      [canohost.c hostfile.c includes.h misc.c packet.c readconf.c]
2037      [serverloop.c sshconnect.c uuencode.c]
2038      move #include <netinet/in.h> out of includes.h; ok deraadt@
2039      (also ssh-rand-helper.c logintest.c loginrec.c)
2040    - djm@cvs.openbsd.org 2006/07/06 10:47:05
2041      [servconf.c servconf.h session.c sshd_config.5]
2042      support arguments to Subsystem commands; ok markus@
2043    - djm@cvs.openbsd.org 2006/07/06 10:47:57
2044      [sftp-server.8 sftp-server.c]
2045      add commandline options to enable logging of transactions; ok markus@
2046    - stevesk@cvs.openbsd.org 2006/07/06 16:03:53
2047      [auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c]
2048      [auth-rhosts.c auth-rsa.c auth.c auth.h auth2-hostbased.c]
2049      [auth2-pubkey.c auth2.c includes.h misc.c misc.h monitor.c]
2050      [monitor_wrap.c monitor_wrap.h scp.c serverloop.c session.c]
2051      [session.h sftp-common.c ssh-add.c ssh-keygen.c ssh-keysign.c]
2052      [ssh.c sshconnect.c sshconnect.h sshd.c sshpty.c sshpty.h uidswap.c]
2053      [uidswap.h]
2054      move #include <pwd.h> out of includes.h; ok markus@
2055    - stevesk@cvs.openbsd.org 2006/07/06 16:22:39
2056      [ssh-keygen.c]
2057      move #include "dns.h" up
2058    - stevesk@cvs.openbsd.org 2006/07/06 17:36:37
2059      [monitor_wrap.h]
2060      typo in comment
2061    - stevesk@cvs.openbsd.org 2006/07/08 21:47:12
2062      [authfd.c canohost.c clientloop.c dns.c dns.h includes.h]
2063      [monitor_fdpass.c nchan.c packet.c servconf.c sftp.c ssh-agent.c]
2064      [ssh-keyscan.c ssh.c sshconnect.h sshd.c sshlogin.h]
2065      move #include <sys/socket.h> out of includes.h
2066    - stevesk@cvs.openbsd.org 2006/07/08 21:48:53
2067      [monitor.c session.c]
2068      missed these from last commit:
2069      move #include <sys/socket.h> out of includes.h
2070    - stevesk@cvs.openbsd.org 2006/07/08 23:30:06
2071      [log.c]
2072      move user includes after /usr/include files
2073    - stevesk@cvs.openbsd.org 2006/07/09 15:15:11
2074      [auth2-none.c authfd.c authfile.c includes.h misc.c monitor.c]
2075      [readpass.c scp.c serverloop.c sftp-client.c sftp-server.c]
2076      [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
2077      [sshlogin.c sshpty.c]
2078      move #include <fcntl.h> out of includes.h
2079    - stevesk@cvs.openbsd.org 2006/07/09 15:27:59
2080      [ssh-add.c]
2081      use O_RDONLY vs. 0 in open(); no binary change
2082    - djm@cvs.openbsd.org 2006/07/10 11:24:54
2083      [sftp-server.c]
2084      remove optind - it isn't used here
2085    - djm@cvs.openbsd.org 2006/07/10 11:25:53
2086      [sftp-server.c]
2087      don't log variables that aren't yet set
2088  - (djm) [loginrec.c ssh-rand-helper.c sshd.c openbsd-compat/glob.c]
2089    [openbsd-compat/mktemp.c openbsd-compat/openbsd-compat.h]
2090    [openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c]
2091    [openbsd-compat/xcrypt.c] Fix includes.h fallout, mainly fcntl.h
2092  - OpenBSD CVS Sync
2093    - djm@cvs.openbsd.org 2006/07/10 12:03:20
2094      [scp.c]
2095      duplicate argv at the start of main() because it gets modified later;
2096      pointed out by deraadt@ ok markus@
2097    - djm@cvs.openbsd.org 2006/07/10 12:08:08
2098      [channels.c]
2099      fix misparsing of SOCKS 5 packets that could result in a crash;
2100      reported by mk@ ok markus@
2101    - dtucker@cvs.openbsd.org 2006/07/10 12:46:51
2102      [misc.c misc.h sshd.8 sshconnect.c]
2103      Add port identifier to known_hosts for non-default ports, based originally
2104      on a patch from Devin Nate in bz#910.
2105      For any connection using the default port or using a HostKeyAlias the
2106      format is unchanged, otherwise the host name or address is enclosed
2107      within square brackets in the same format as sshd's ListenAddress.
2108      Tested by many, ok markus@.
2109  - (dtucker) [openbsd-compat/openbsd-compat.h] Need to include <sys/socket.h>
2110    for struct sockaddr on platforms that use the fake-rfc stuff.
2111
2112 20060706
2113  - (dtucker) [configure.ac] Try AIX blibpath test in different order when
2114    compiling with gcc.  gcc 4.1.x will accept (but ignore) -b flags so
2115    configure would not select the correct libpath linker flags.
2116  - (dtucker) [INSTALL] A bit more info on autoconf.
2117
2118 20060705
2119  - (dtucker) [ssh-rand-helper.c] Don't exit if mkdir fails because the
2120    target already exists.
2121
2122 20060630
2123  - (dtucker) [openbsd-compat/openbsd-compat.h] SNPRINTF_CONST for snprintf
2124    declaration too.  Patch from russ at sludge.net.
2125  - (dtucker) [openbsd-compat/getrrsetbyname.c] Undef _res before defining it,
2126    prevents warnings on platforms where _res is in the system headers.
2127  - (dtucker) [INSTALL] Bug #1202: Note when autoconf is required and which
2128    version.
2129
2130 20060627
2131  - (dtucker) [configure.ac] Bug #1203: Add missing '[', which causes problems
2132    with autoconf 2.60.  Patch from vapier at gentoo.org.
2133
2134 20060625
2135  - (dtucker) [channels.c serverloop.c] Apply the bug #1102 workaround to ptys
2136    only, otherwise sshd can hang exiting non-interactive sessions.
2137
2138 20060624
2139  - (dtucker) [configure.ac] Bug #1193: Define PASSWD_NEEDS_USERNAME on Solaris.
2140    Works around limitation in Solaris' passwd program for changing passwords
2141    where the username is longer than 8 characters.  ok djm@
2142  - (dtucker) [serverloop.c] Get ifdef/ifndef the right way around for the bug
2143    #1102 workaround.
2144
2145 20060623
2146  - (dtucker) [README.platform configure.ac openbsd-compat/port-tun.c] Add
2147    tunnel support for Mac OS X/Darwin via a third-party tun driver.  Patch
2148    from reyk@, tested by anil@
2149  - (dtucker) [channels.c configure.ac serverloop.c] Bug #1102: Around AIX
2150    4.3.3 ML3 or so, the AIX pty layer starting passing zero-length writes
2151    on the pty slave as zero-length reads on the pty master, which sshd
2152    interprets as the descriptor closing.  Since most things don't do zero
2153    length writes this rarely matters, but occasionally it happens, and when
2154    it does the SSH pty session appears to hang, so we add a special case for
2155    this condition.  ok djm@
2156
2157 20060613
2158  - (djm) [getput.h] This file has been replaced by functions in misc.c
2159  - OpenBSD CVS Sync
2160    - djm@cvs.openbsd.org 2006/05/08 10:49:48
2161      [sshconnect2.c]
2162      uint32_t -> u_int32_t (which we use everywhere else)
2163      (Id sync only - portable already had this)
2164    - markus@cvs.openbsd.org 2006/05/16 09:00:00
2165      [clientloop.c]
2166      missing free; from Kylene Hall
2167    - markus@cvs.openbsd.org 2006/05/17 12:43:34
2168      [scp.c sftp.c ssh-agent.c ssh-keygen.c sshconnect.c]
2169      fix leak; coverity via Kylene Jo Hall
2170    - miod@cvs.openbsd.org 2006/05/18 21:27:25
2171      [kexdhc.c kexgexc.c]
2172      paramter -> parameter
2173    - dtucker@cvs.openbsd.org 2006/05/29 12:54:08
2174      [ssh_config.5]
2175      Add gssapi-with-mic to PreferredAuthentications default list; ok jmc
2176    - dtucker@cvs.openbsd.org 2006/05/29 12:56:33
2177      [ssh_config]
2178      Add GSSAPIAuthentication and GSSAPIDelegateCredentials to examples in
2179      sample ssh_config.  ok markus@
2180    - jmc@cvs.openbsd.org 2006/05/29 16:10:03
2181      [ssh_config.5]
2182      oops - previous was too long; split the list of auths up
2183    - mk@cvs.openbsd.org 2006/05/30 11:46:38
2184      [ssh-add.c]
2185      Sync usage() with man page and reality.
2186      ok deraadt dtucker
2187    - jmc@cvs.openbsd.org 2006/05/29 16:13:23
2188      [ssh.1]
2189      add GSSAPI to the list of authentication methods supported;
2190    - mk@cvs.openbsd.org 2006/05/30 11:46:38
2191      [ssh-add.c]
2192      Sync usage() with man page and reality.
2193      ok deraadt dtucker
2194    - markus@cvs.openbsd.org 2006/06/01 09:21:48
2195      [sshd.c]
2196      call get_remote_ipaddr() early; fixes logging after client disconnects;
2197      report mpf@; ok dtucker@
2198    - markus@cvs.openbsd.org 2006/06/06 10:20:20
2199      [readpass.c sshconnect.c sshconnect.h sshconnect2.c uidswap.c]
2200      replace remaining setuid() calls with permanently_set_uid() and
2201      check seteuid() return values; report Marcus Meissner; ok dtucker djm
2202    - markus@cvs.openbsd.org 2006/06/08 14:45:49
2203      [readpass.c sshconnect.c sshconnect2.c uidswap.c uidswap.h]
2204      do not set the gid, noted by solar; ok djm
2205    - djm@cvs.openbsd.org 2006/06/13 01:18:36
2206      [ssh-agent.c]
2207      always use a format string, even when printing a constant
2208    - djm@cvs.openbsd.org 2006/06/13 02:17:07
2209      [ssh-agent.c]
2210      revert; i am on drugs. spotted by alexander AT beard.se
2211
2212 20060521
2213  - (dtucker) [auth.c monitor.c] Now that we don't log from both the monitor
2214    and slave, we can remove the special-case handling in the audit hook in
2215    auth_log.
2216
2217 20060517
2218  - (dtucker) [ssh-rand-helper.c] Check return code of mkdir and fix file
2219    pointer leak.  From kjhall at us.ibm.com, found by coverity.
2220
2221 20060515
2222  - (dtucker) [openbsd-compat/getrrsetbyname.c] Use _compat_res instead of
2223    _res, prevents problems on some platforms that have _res as a global but
2224    don't have getrrsetbyname(), eg IRIX 5.3.  Found and tested by
2225    georg.schwarz at freenet.de, ok djm@.
2226  - (dtucker) [defines.h] Find a value for IOV_MAX or use a conservative
2227    default.  Patch originally from tim@, ok djm
2228  - (dtucker) [auth-pam.c] Bug #1188: pass result of do_pam_account back and
2229    do not allow kbdint again after the PAM account check fails.  ok djm@
2230
2231 20060506
2232  - (dtucker) OpenBSD CVS Sync
2233    - dtucker@cvs.openbsd.org 2006/04/25 08:02:27
2234      [authfile.c authfile.h sshconnect2.c ssh.c sshconnect1.c]
2235      Prevent ssh from trying to open private keys with bad permissions more than
2236      once or prompting for their passphrases (which it subsequently ignores
2237      anyway), similar to a previous change in ssh-add.  bz #1186, ok djm@
2238    - djm@cvs.openbsd.org 2006/05/04 14:55:23
2239      [dh.c]
2240      tighter DH exponent checks here too; feedback and ok markus@
2241    - djm@cvs.openbsd.org 2006/04/01 05:37:46
2242      [OVERVIEW]
2243      $OpenBSD$ in here too
2244    - dtucker@cvs.openbsd.org 2006/05/06 08:35:40
2245      [auth-krb5.c]
2246      Add $OpenBSD$ in comment here too
2247
2248 20060504
2249  - (dtucker) [auth-pam.c groupaccess.c monitor.c monitor_wrap.c scard-opensc.c
2250    session.c ssh-rand-helper.c sshd.c openbsd-compat/bsd-cygwin_util.c
2251    openbsd-compat/setproctitle.c] Convert malloc(foo*bar) -> calloc(foo,bar)
2252    in Portable-only code; since calloc zeros, remove now-redundant memsets.
2253    Also add a couple of sanity checks.  With & ok djm@
2254
2255 20060503
2256  - (dtucker) [packet.c] Remove in_systm.h since it's also in includes.h
2257    and double including it on IRIX 5.3 causes problems.  From Georg Schwarz,
2258    "no objections" tim@
2259
2260 20060423
2261  - (djm) OpenBSD CVS Sync
2262    - deraadt@cvs.openbsd.org 2006/04/01 05:42:20
2263      [scp.c]
2264      minimal lint cleanup (unused crud, and some size_t); ok djm
2265    - djm@cvs.openbsd.org 2006/04/01 05:50:29
2266      [scp.c]
2267      xasprintification; ok deraadt@
2268    - djm@cvs.openbsd.org 2006/04/01 05:51:34
2269      [atomicio.c]
2270      ANSIfy; requested deraadt@
2271    - dtucker@cvs.openbsd.org 2006/04/02 08:34:52
2272      [ssh-keysign.c]
2273      sessionid can be 32 bytes now too when sha256 kex is used; ok djm@
2274    - djm@cvs.openbsd.org 2006/04/03 07:10:38
2275      [gss-genr.c]
2276      GSSAPI buffers shouldn't be nul-terminated, spotted in bugzilla #1066
2277      by dleonard AT vintela.com. use xasprintf() to simplify code while in
2278      there; "looks right" deraadt@
2279    - djm@cvs.openbsd.org 2006/04/16 00:48:52
2280      [buffer.c buffer.h channels.c]
2281      Fix condition where we could exit with a fatal error when an input
2282      buffer became too large and the remote end had advertised a big window.
2283      The problem was a mismatch in the backoff math between the channels code
2284      and the buffer code, so make a buffer_check_alloc() function that the
2285      channels code can use to propsectivly check whether an incremental
2286      allocation will succeed.  bz #1131, debugged with the assistance of
2287      cove AT wildpackets.com; ok dtucker@ deraadt@
2288    - djm@cvs.openbsd.org 2006/04/16 00:52:55
2289      [atomicio.c atomicio.h]
2290      introduce atomiciov() function that wraps readv/writev to retry
2291      interrupted transfers like atomicio() does for read/write;
2292      feedback deraadt@ dtucker@ stevesk@ ok deraadt@
2293    - djm@cvs.openbsd.org 2006/04/16 00:54:10
2294      [sftp-client.c]
2295      avoid making a tiny 4-byte write to send the packet length of sftp
2296      commands, which would result in a separate tiny packet on the wire by
2297      using atomiciov(writev, ...) to write the length and the command in one
2298      pass; ok deraadt@
2299    - djm@cvs.openbsd.org 2006/04/16 07:59:00
2300      [atomicio.c]
2301      reorder sanity test so that it cannot dereference past the end of the
2302      iov array; well spotted canacar@!
2303    - dtucker@cvs.openbsd.org 2006/04/18 10:44:28
2304      [bufaux.c bufbn.c Makefile.in]
2305      Move Buffer bignum functions into their own file, bufbn.c. This means
2306      that sftp and sftp-server (which use the Buffer functions in bufaux.c 
2307      but not the bignum ones) no longer need to be linked with libcrypto.
2308      ok markus@
2309    - djm@cvs.openbsd.org 2006/04/20 09:27:09
2310      [auth.h clientloop.c dispatch.c dispatch.h kex.h]
2311      replace the last non-sig_atomic_t flag used in a signal handler with a
2312      sig_atomic_t, unfortunately with some knock-on effects in other (non-
2313      signal) contexts in which it is used; ok markus@
2314    - markus@cvs.openbsd.org 2006/04/20 09:47:59
2315      [sshconnect.c]
2316      simplify; ok djm@
2317    - djm@cvs.openbsd.org 2006/04/20 21:53:44
2318      [includes.h session.c sftp.c]
2319      Switch from using pipes to socketpairs for communication between
2320      sftp/scp and ssh, and between sshd and its subprocesses. This saves
2321      a file descriptor per session and apparently makes userland ppp over
2322      ssh work; ok markus@ deraadt@ (ID Sync only - portable makes this
2323      decision on a per-platform basis)
2324    - djm@cvs.openbsd.org 2006/04/22 04:06:51
2325      [uidswap.c]
2326      use setres[ug]id() to permanently revoke privileges; ok deraadt@
2327      (ID Sync only - portable already uses setres[ug]id() whenever possible)
2328    - stevesk@cvs.openbsd.org 2006/04/22 18:29:33
2329      [crc32.c]
2330      remove extra spaces
2331  - (djm) [auth.h dispatch.h kex.h] sprinkle in signal.h to get
2332    sig_atomic_t
2333
2334 20060421
2335  - (djm) [Makefile.in configure.ac session.c sshpty.c]
2336    [contrib/redhat/sshd.init openbsd-compat/Makefile.in]
2337    [openbsd-compat/openbsd-compat.h openbsd-compat/port-linux.c]
2338    [openbsd-compat/port-linux.h] Add support for SELinux, setting 
2339    the execution and TTY contexts. based on patch from Daniel Walsh,
2340    bz #880; ok dtucker@
2341
2342 20060418
2343  - (djm) [canohost.c] Reorder IP options check so that it isn't broken
2344    by mapped addresses; bz #1179 reported by markw wtech-llc.com;
2345    ok dtucker@
2346
2347 20060331
2348  - OpenBSD CVS Sync
2349    - deraadt@cvs.openbsd.org 2006/03/27 01:21:18
2350      [xmalloc.c]
2351      we can do the size & nmemb check before the integer overflow check; 
2352      evol
2353    - deraadt@cvs.openbsd.org 2006/03/27 13:03:54
2354      [dh.c]
2355      use strtonum() instead of atoi(), limit dhg size to 64k; ok djm
2356    - djm@cvs.openbsd.org 2006/03/27 23:15:46
2357      [sftp.c]
2358      always use a format string for addargs; spotted by mouring@
2359    - deraadt@cvs.openbsd.org 2006/03/28 00:12:31
2360      [README.tun ssh.c]
2361      spacing
2362    - deraadt@cvs.openbsd.org 2006/03/28 01:52:28
2363      [channels.c]
2364      do not accept unreasonable X ports numbers; ok djm
2365    - deraadt@cvs.openbsd.org 2006/03/28 01:53:43
2366      [ssh-agent.c]
2367      use strtonum() to parse the pid from the file, and range check it
2368      better; ok djm
2369    - djm@cvs.openbsd.org 2006/03/30 09:41:25
2370      [channels.c]
2371      ARGSUSED for dispatch table-driven functions
2372    - djm@cvs.openbsd.org 2006/03/30 09:58:16
2373      [authfd.c bufaux.c deattack.c gss-serv.c mac.c misc.c misc.h]
2374      [monitor_wrap.c msg.c packet.c sftp-client.c sftp-server.c ssh-agent.c]
2375      replace {GET,PUT}_XXBIT macros with functionally similar functions,
2376      silencing a heap of lint warnings. also allows them to use
2377      __bounded__ checking which can't be applied to macros; requested
2378      by and feedback from deraadt@
2379    - djm@cvs.openbsd.org 2006/03/30 10:41:25
2380      [ssh.c ssh_config.5]
2381      add percent escape chars to the IdentityFile option, bz #1159 based
2382      on a patch by imaging AT math.ualberta.ca; feedback and ok dtucker@
2383    - dtucker@cvs.openbsd.org 2006/03/30 11:05:17
2384      [ssh-keygen.c]
2385      Correctly handle truncated files while converting keys; ok djm@
2386    - dtucker@cvs.openbsd.org 2006/03/30 11:40:21
2387      [auth.c monitor.c]
2388      Prevent duplicate log messages when privsep=yes; ok djm@
2389    - jmc@cvs.openbsd.org 2006/03/31 09:09:30
2390      [ssh_config.5]
2391      kill trailing whitespace;
2392    - djm@cvs.openbsd.org 2006/03/31 09:13:56
2393      [ssh_config.5]
2394      remote user escape is %r not %h; spotted by jmc@
2395
2396 20060326
2397  - OpenBSD CVS Sync
2398    - jakob@cvs.openbsd.org 2006/03/15 08:46:44
2399      [ssh-keygen.c]
2400      if no key file are given when printing the DNS host record, use the
2401      host key file(s) as default. ok djm@
2402    - biorn@cvs.openbsd.org 2006/03/16 10:31:45
2403      [scp.c]
2404      Try to display errormessage even if remout == -1
2405      ok djm@, markus@
2406    - djm@cvs.openbsd.org 2006/03/17 22:31:50
2407      [authfd.c]
2408      another unreachable found by lint
2409    - djm@cvs.openbsd.org 2006/03/17 22:31:11
2410      [authfd.c]
2411      unreachanble statement, found by lint
2412    - djm@cvs.openbsd.org 2006/03/19 02:22:32
2413      [serverloop.c]
2414      memory leaks detected by Coverity via elad AT netbsd.org;
2415      ok deraadt@ dtucker@
2416    - djm@cvs.openbsd.org 2006/03/19 02:22:56
2417      [sftp.c]
2418      more memory leaks detected by Coverity via elad AT netbsd.org;
2419      deraadt@ ok
2420    - djm@cvs.openbsd.org 2006/03/19 02:23:26
2421      [hostfile.c]
2422      FILE* leak detected by Coverity via elad AT netbsd.org;
2423      ok deraadt@
2424    - djm@cvs.openbsd.org 2006/03/19 02:24:05
2425      [dh.c readconf.c servconf.c]
2426      potential NULL pointer dereferences detected by Coverity
2427      via elad AT netbsd.org; ok deraadt@
2428    - djm@cvs.openbsd.org 2006/03/19 07:41:30
2429      [sshconnect2.c]
2430      memory leaks detected by Coverity via elad AT netbsd.org;
2431      deraadt@ ok
2432    - dtucker@cvs.openbsd.org 2006/03/19 11:51:52
2433      [servconf.c]
2434      Correct strdelim null test; ok djm@
2435    - deraadt@cvs.openbsd.org 2006/03/19 18:52:11
2436      [auth1.c authfd.c channels.c]
2437      spacing
2438    - deraadt@cvs.openbsd.org 2006/03/19 18:53:12
2439      [kex.c kex.h monitor.c myproposal.h session.c]
2440      spacing
2441    - deraadt@cvs.openbsd.org 2006/03/19 18:56:41
2442      [clientloop.c progressmeter.c serverloop.c sshd.c]
2443      ARGSUSED for signal handlers
2444    - deraadt@cvs.openbsd.org 2006/03/19 18:59:49
2445      [ssh-keyscan.c]
2446      please lint
2447    - deraadt@cvs.openbsd.org 2006/03/19 18:59:30
2448      [ssh.c]
2449      spacing
2450    - deraadt@cvs.openbsd.org 2006/03/19 18:59:09
2451      [authfile.c]
2452      whoever thought that break after return was a good idea needs to
2453      get their head examimed
2454    - djm@cvs.openbsd.org 2006/03/20 04:09:44
2455      [monitor.c]
2456      memory leaks detected by Coverity via elad AT netbsd.org;
2457      deraadt@ ok
2458      that should be all of them now
2459    - djm@cvs.openbsd.org 2006/03/20 11:38:46
2460      [key.c]
2461      (really) last of the Coverity diffs: avoid possible NULL deref in
2462      key_free. via elad AT netbsd.org; markus@ ok
2463    - deraadt@cvs.openbsd.org 2006/03/20 17:10:19
2464      [auth.c key.c misc.c packet.c ssh-add.c]
2465      in a switch (), break after return or goto is stupid
2466    - deraadt@cvs.openbsd.org 2006/03/20 17:13:16
2467      [key.c]
2468      djm did a typo
2469    - deraadt@cvs.openbsd.org 2006/03/20 17:17:23
2470      [ssh-rsa.c]
2471      in a switch (), break after return or goto is stupid
2472    - deraadt@cvs.openbsd.org 2006/03/20 18:14:02
2473      [channels.c clientloop.c monitor_wrap.c monitor_wrap.h serverloop.c]
2474      [ssh.c sshpty.c sshpty.h]
2475      sprinkle u_int throughout pty subsystem, ok markus
2476    - deraadt@cvs.openbsd.org 2006/03/20 18:17:20
2477      [auth1.c auth2.c sshd.c]
2478      sprinkle some ARGSUSED for table driven functions (which sometimes 
2479      must ignore their args)
2480    - deraadt@cvs.openbsd.org 2006/03/20 18:26:55
2481      [channels.c monitor.c session.c session.h ssh-agent.c ssh-keygen.c]
2482      [ssh-rsa.c ssh.c sshlogin.c]
2483      annoying spacing fixes getting in the way of real diffs
2484    - deraadt@cvs.openbsd.org 2006/03/20 18:27:50
2485      [monitor.c]
2486      spacing
2487    - deraadt@cvs.openbsd.org 2006/03/20 18:35:12
2488      [channels.c]
2489      x11_fake_data is only ever used as u_char *
2490    - deraadt@cvs.openbsd.org 2006/03/20 18:41:43
2491      [dns.c]
2492      cast xstrdup to propert u_char *
2493    - deraadt@cvs.openbsd.org 2006/03/20 18:42:27
2494      [canohost.c match.c ssh.c sshconnect.c]
2495      be strict with tolower() casting
2496    - deraadt@cvs.openbsd.org 2006/03/20 18:48:34
2497      [channels.c fatal.c kex.c packet.c serverloop.c]
2498      spacing
2499    - deraadt@cvs.openbsd.org 2006/03/20 21:11:53
2500      [ttymodes.c]
2501      spacing
2502    - djm@cvs.openbsd.org 2006/03/25 00:05:41
2503      [auth-bsdauth.c auth-skey.c auth.c auth2-chall.c channels.c]
2504      [clientloop.c deattack.c gss-genr.c kex.c key.c misc.c moduli.c]
2505      [monitor.c monitor_wrap.c packet.c scard.c sftp-server.c ssh-agent.c]
2506      [ssh-keyscan.c ssh.c sshconnect.c sshconnect2.c sshd.c uuencode.c]
2507      [xmalloc.c xmalloc.h]
2508      introduce xcalloc() and xasprintf() failure-checked allocations 
2509      functions and use them throughout openssh
2510
2511      xcalloc is particularly important because malloc(nmemb * size) is a
2512      dangerous idiom (subject to integer overflow) and it is time for it 
2513      to die
2514
2515      feedback and ok deraadt@
2516    - djm@cvs.openbsd.org 2006/03/25 01:13:23
2517      [buffer.c channels.c deattack.c misc.c scp.c session.c sftp-client.c]
2518      [sftp-server.c ssh-agent.c ssh-rsa.c xmalloc.c xmalloc.h auth-pam.c]
2519      [uidswap.c]
2520      change OpenSSH's xrealloc() function from being xrealloc(p, new_size)
2521      to xrealloc(p, new_nmemb, new_itemsize).
2522
2523      realloc is particularly prone to integer overflows because it is
2524      almost always allocating "n * size" bytes, so this is a far safer 
2525      API; ok deraadt@
2526    - djm@cvs.openbsd.org 2006/03/25 01:30:23
2527      [sftp.c]
2528      "abormally" is a perfectly cromulent word, but "abnormally" is better
2529    - djm@cvs.openbsd.org 2006/03/25 13:17:03
2530      [atomicio.c auth-bsdauth.c auth-chall.c auth-options.c auth-passwd.c]
2531      [auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth-skey.c auth.c auth1.c]
2532      [auth2-chall.c auth2-hostbased.c auth2-kbdint.c auth2-none.c]
2533      [auth2-passwd.c auth2-pubkey.c auth2.c authfd.c authfile.c bufaux.c]
2534      [buffer.c canohost.c channels.c cipher-3des1.c cipher-bf1.c]
2535      [cipher-ctr.c cipher.c cleanup.c clientloop.c compat.c compress.c]
2536      [deattack.c dh.c dispatch.c fatal.c groupaccess.c hostfile.c kex.c]
2537      [kexdh.c kexdhc.c kexdhs.c kexgex.c kexgexc.c kexgexs.c key.c log.c]
2538      [mac.c match.c md-sha256.c misc.c monitor.c monitor_fdpass.c]
2539      [monitor_mm.c monitor_wrap.c msg.c nchan.c packet.c progressmeter.c]
2540      [readconf.c readpass.c rsa.c scard.c scp.c servconf.c serverloop.c]
2541      [session.c sftp-client.c sftp-common.c sftp-glob.c sftp-server.c]
2542      [sftp.c ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c]
2543      [ssh-keysign.c ssh-rsa.c ssh.c sshconnect.c sshconnect1.c]
2544      [sshconnect2.c sshd.c sshlogin.c sshpty.c sshtty.c ttymodes.c]
2545      [uidswap.c uuencode.c xmalloc.c]
2546      Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
2547      Theo nuked - our scripts to sync -portable need them in the files
2548    - deraadt@cvs.openbsd.org 2006/03/25 18:29:35
2549      [auth-rsa.c authfd.c packet.c]
2550      needed casts (always will be needed)
2551    - deraadt@cvs.openbsd.org 2006/03/25 18:30:55
2552      [clientloop.c serverloop.c]
2553      spacing
2554    - deraadt@cvs.openbsd.org 2006/03/25 18:36:15
2555      [sshlogin.c sshlogin.h]
2556      nicer size_t and time_t types
2557    - deraadt@cvs.openbsd.org 2006/03/25 18:40:14
2558      [ssh-keygen.c]
2559      cast strtonum() result to right type
2560    - deraadt@cvs.openbsd.org 2006/03/25 18:41:45
2561      [ssh-agent.c]
2562      mark two more signal handlers ARGSUSED
2563    - deraadt@cvs.openbsd.org 2006/03/25 18:43:30
2564      [channels.c]
2565      use strtonum() instead of atoi() [limit X screens to 400, sorry]
2566    - deraadt@cvs.openbsd.org 2006/03/25 18:56:55
2567      [bufaux.c channels.c packet.c]
2568      remove (char *) casts to a function that accepts void * for the arg
2569    - deraadt@cvs.openbsd.org 2006/03/25 18:58:10
2570      [channels.c]
2571      delete cast not required
2572    - djm@cvs.openbsd.org 2006/03/25 22:22:43
2573      [atomicio.h auth-options.h auth.h auth2-gss.c authfd.h authfile.h]
2574      [bufaux.h buffer.h canohost.h channels.h cipher.h clientloop.h]
2575      [compat.h compress.h crc32.c crc32.h deattack.h dh.h dispatch.h]
2576      [dns.c dns.h getput.h groupaccess.h gss-genr.c gss-serv-krb5.c]
2577      [gss-serv.c hostfile.h includes.h kex.h key.h log.h mac.h match.h]
2578      [misc.h monitor.h monitor_fdpass.h monitor_mm.h monitor_wrap.h msg.h]
2579      [myproposal.h packet.h pathnames.h progressmeter.h readconf.h rsa.h]
2580      [scard.h servconf.h serverloop.h session.h sftp-common.h sftp.h]
2581      [ssh-gss.h ssh.h ssh1.h ssh2.h sshconnect.h sshlogin.h sshpty.h]
2582      [ttymodes.h uidswap.h uuencode.h xmalloc.h]
2583      standardise spacing in $OpenBSD$ tags; requested by deraadt@
2584    - deraadt@cvs.openbsd.org 2006/03/26 01:31:48
2585      [uuencode.c]
2586      typo
2587
2588 20060325
2589  - OpenBSD CVS Sync
2590    - djm@cvs.openbsd.org 2006/03/16 04:24:42
2591      [ssh.1]
2592      Add RFC4419 (Diffie-Hellman group exchange KEX) to the list of SSH RFCs
2593      that OpenSSH supports
2594    - deraadt@cvs.openbsd.org 2006/03/19 18:51:18
2595      [atomicio.c auth-bsdauth.c auth-chall.c auth-krb5.c auth-options.c]
2596      [auth-pam.c auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c]
2597      [auth-shadow.c auth-skey.c auth.c auth1.c auth2-chall.c]
2598      [auth2-hostbased.c auth2-kbdint.c auth2-none.c auth2-passwd.c]
2599      [auth2-pubkey.c auth2.c authfd.c authfile.c bufaux.c buffer.c]
2600      [canohost.c channels.c cipher-3des1.c cipher-acss.c cipher-aes.c]
2601      [cipher-bf1.c cipher-ctr.c cipher.c cleanup.c clientloop.c compat.c]
2602      [compress.c deattack.c dh.c dispatch.c dns.c entropy.c fatal.c]
2603      [groupaccess.c hostfile.c includes.h kex.c kexdh.c kexdhc.c]
2604      [kexdhs.c kexgex.c kexgexc.c kexgexs.c key.c log.c loginrec.c]
2605      [loginrec.h logintest.c mac.c match.c md-sha256.c md5crypt.c misc.c]
2606      [monitor.c monitor_fdpass.c monitor_mm.c monitor_wrap.c msg.c]
2607      [nchan.c packet.c progressmeter.c readconf.c readpass.c rsa.c]
2608      [scard.c scp.c servconf.c serverloop.c session.c sftp-client.c]
2609      [sftp-common.c sftp-glob.c sftp-server.c sftp.c ssh-add.c]
2610      [ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c]
2611      [ssh-rand-helper.c ssh-rsa.c ssh.c sshconnect.c sshconnect1.c]
2612      [sshconnect2.c sshd.c sshlogin.c sshpty.c sshtty.c ttymodes.c]
2613      [uidswap.c uuencode.c xmalloc.c openbsd-compat/bsd-arc4random.c]
2614      [openbsd-compat/bsd-closefrom.c openbsd-compat/bsd-cygwin_util.c]
2615      [openbsd-compat/bsd-getpeereid.c openbsd-compat/bsd-misc.c]
2616      [openbsd-compat/bsd-nextstep.c openbsd-compat/bsd-snprintf.c]
2617      [openbsd-compat/bsd-waitpid.c openbsd-compat/fake-rfc2553.c]
2618      RCSID() can die
2619    - deraadt@cvs.openbsd.org 2006/03/19 18:53:12
2620      [kex.h myproposal.h]
2621      spacing
2622    - djm@cvs.openbsd.org 2006/03/20 04:07:22
2623      [auth2-gss.c]
2624      GSSAPI related leaks detected by Coverity via elad AT netbsd.org;
2625      reviewed by simon AT sxw.org.uk; deraadt@ ok
2626    - djm@cvs.openbsd.org 2006/03/20 04:07:49
2627      [gss-genr.c]
2628      more GSSAPI related leaks detected by Coverity via elad AT netbsd.org;
2629      reviewed by simon AT sxw.org.uk; deraadt@ ok
2630    - djm@cvs.openbsd.org 2006/03/20 04:08:18
2631      [gss-serv.c]
2632      last lot of GSSAPI related leaks detected by Coverity via
2633      elad AT netbsd.org; reviewed by simon AT sxw.org.uk; deraadt@ ok
2634    - deraadt@cvs.openbsd.org 2006/03/20 18:14:02
2635      [monitor_wrap.h sshpty.h]
2636      sprinkle u_int throughout pty subsystem, ok markus
2637    - deraadt@cvs.openbsd.org 2006/03/20 18:26:55
2638      [session.h]
2639      annoying spacing fixes getting in the way of real diffs
2640    - deraadt@cvs.openbsd.org 2006/03/20 18:41:43
2641      [dns.c]
2642      cast xstrdup to propert u_char *
2643    - jakob@cvs.openbsd.org 2006/03/22 21:16:24
2644      [ssh.1]
2645      simplify SSHFP example; ok jmc@
2646    - djm@cvs.openbsd.org 2006/03/22 21:27:15
2647      [deattack.c deattack.h]
2648      remove IV support from the CRC attack detector, OpenSSH has never used
2649      it - it only applied to IDEA-CFB, which we don't support.
2650      prompted by NetBSD Coverity report via elad AT netbsd.org;
2651      feedback markus@ "nuke it" deraadt@
2652
2653 20060318
2654  - (djm) [auth-pam.c] Fix memleak in error path, from Coverity via
2655    elad AT NetBSD.org
2656  - (dtucker) [openbsd-compat/bsd-snprintf.c] Bug #1173: make fmtint() take
2657    a LLONG rather than a long.  Fixes scp'ing of large files on platforms
2658    with missing/broken snprintfs.  Patch from e.borovac at bom.gov.au.
2659
2660 20060316
2661  - (dtucker) [entropy.c] Add headers for WIFEXITED and friends.
2662  - (dtucker) [configure.ac md-sha256.c] NetBSD has sha2.h in
2663    /usr/include/crypto.  Hint from djm@.
2664  - (tim) [kex.c myproposal.h md-sha256.c openbsd-compat/sha2.c,h]
2665    Disable sha256 when openssl < 0.9.7. Patch from djm@.
2666  - (djm) [kex.c] Slightly more clean deactivation of dhgex-sha256 on old
2667    OpenSSL; ok tim
2668
2669 20060315
2670  - (djm) OpenBSD CVS Sync:
2671    - msf@cvs.openbsd.org 2006/02/06 15:54:07
2672      [ssh.1]
2673      - typo fix
2674      ok jmc@
2675    - jmc@cvs.openbsd.org 2006/02/06 21:44:47
2676      [ssh.1]
2677      make this a little less ambiguous...
2678    - stevesk@cvs.openbsd.org 2006/02/07 01:08:04
2679      [auth-rhosts.c includes.h]
2680      move #include <netgroup.h> out of includes.h; ok markus@
2681    - stevesk@cvs.openbsd.org 2006/02/07 01:18:09
2682      [includes.h ssh-agent.c ssh-keyscan.c sshconnect2.c]
2683      move #include <sys/queue.h> out of includes.h; ok markus@
2684    - stevesk@cvs.openbsd.org 2006/02/07 01:42:00
2685      [channels.c clientloop.c clientloop.h includes.h packet.h]
2686      [serverloop.c sshpty.c sshpty.h sshtty.c ttymodes.c]
2687      move #include <termios.h> out of includes.h; ok markus@
2688    - stevesk@cvs.openbsd.org 2006/02/07 01:52:50
2689      [sshtty.c]
2690      "log.h" not needed
2691    - stevesk@cvs.openbsd.org 2006/02/07 03:47:05
2692      [hostfile.c]
2693      "packet.h" not needed
2694    - stevesk@cvs.openbsd.org 2006/02/07 03:59:20
2695      [deattack.c]
2696      duplicate #include
2697    - stevesk@cvs.openbsd.org 2006/02/08 12:15:27
2698      [auth.c clientloop.c includes.h misc.c monitor.c readpass.c]
2699      [session.c sftp.c ssh-agent.c ssh-keysign.c ssh.c sshconnect.c]
2700      [sshd.c sshpty.c]
2701      move #include <paths.h> out of includes.h; ok markus@
2702    - stevesk@cvs.openbsd.org 2006/02/08 12:32:49
2703      [includes.h misc.c]
2704      move #include <netinet/tcp.h> out of includes.h; ok markus@
2705    - stevesk@cvs.openbsd.org 2006/02/08 13:15:44
2706      [gss-serv.c monitor.c]
2707      small KNF
2708    - stevesk@cvs.openbsd.org 2006/02/08 14:16:59
2709      [sshconnect.c]
2710      <openssl/bn.h> not needed
2711    - stevesk@cvs.openbsd.org 2006/02/08 14:31:30
2712      [includes.h ssh-agent.c ssh-keyscan.c ssh.c]
2713      move #include <sys/resource.h> out of includes.h; ok markus@
2714    - stevesk@cvs.openbsd.org 2006/02/08 14:38:18
2715      [includes.h packet.c]
2716      move #include <netinet/in_systm.h> and <netinet/ip.h> out of
2717      includes.h; ok markus@
2718    - stevesk@cvs.openbsd.org 2006/02/08 23:51:24
2719      [includes.h scp.c sftp-glob.c sftp-server.c]
2720      move #include <dirent.h> out of includes.h; ok markus@
2721    - stevesk@cvs.openbsd.org 2006/02/09 00:32:07
2722      [includes.h]
2723      #include <sys/endian.h> not needed; ok djm@
2724      NB. ID Sync only - we still need this (but it may move later)
2725    - jmc@cvs.openbsd.org 2006/02/09 10:10:47
2726      [sshd.8]
2727      - move some text into a CAVEATS section
2728      - merge the COMMAND EXECUTION... section into AUTHENTICATION
2729    - stevesk@cvs.openbsd.org 2006/02/10 00:27:13
2730      [channels.c clientloop.c includes.h misc.c progressmeter.c sftp.c]
2731      [ssh.c sshd.c sshpty.c]
2732      move #include <sys/ioctl.h> out of includes.h; ok markus@
2733    - stevesk@cvs.openbsd.org 2006/02/10 01:44:27
2734      [includes.h monitor.c readpass.c scp.c serverloop.c session.c\7f]
2735      [sftp.c sshconnect.c sshconnect2.c sshd.c]
2736      move #include <sys/wait.h> out of includes.h; ok markus@
2737    - otto@cvs.openbsd.org 2006/02/11 19:31:18
2738      [atomicio.c]
2739      type correctness; from Ray Lai in PR 5011; ok millert@
2740    - djm@cvs.openbsd.org 2006/02/12 06:45:34
2741      [ssh.c ssh_config.5]
2742      add a %l expansion code to the ControlPath, which is filled in with the
2743      local hostname at runtime. Requested by henning@ to avoid some problems
2744      with /home on NFS; ok dtucker@
2745    - djm@cvs.openbsd.org 2006/02/12 10:44:18
2746      [readconf.c]
2747      raise error when the user specifies a RekeyLimit that is smaller than 16
2748      (the smallest of our cipher's blocksize) or big enough to cause integer
2749      wraparound; ok & feedback dtucker@
2750    - jmc@cvs.openbsd.org 2006/02/12 10:49:44
2751      [ssh_config.5]
2752      slight rewording; ok djm
2753    - jmc@cvs.openbsd.org 2006/02/12 10:52:41
2754      [sshd.8]
2755      rework the description of authorized_keys a little;
2756    - jmc@cvs.openbsd.org 2006/02/12 17:57:19
2757      [sshd.8]
2758      sort the list of options permissable w/ authorized_keys;
2759      ok djm dtucker
2760    - jmc@cvs.openbsd.org 2006/02/13 10:16:39
2761      [sshd.8]
2762      no need to subsection the authorized_keys examples - instead, convert
2763      this to look like an actual file. also use proto 2 keys, and use IETF
2764      example addresses;
2765    - jmc@cvs.openbsd.org 2006/02/13 10:21:25
2766      [sshd.8]
2767      small tweaks for the ssh_known_hosts section;
2768    - jmc@cvs.openbsd.org 2006/02/13 11:02:26
2769      [sshd.8]
2770      turn this into an example ssh_known_hosts file; ok djm
2771    - jmc@cvs.openbsd.org 2006/02/13 11:08:43
2772      [sshd.8]
2773      - avoid nasty line split
2774      - `*' does not need to be escaped
2775    - jmc@cvs.openbsd.org 2006/02/13 11:27:25
2776      [sshd.8]
2777      sort FILES and use a -compact list;
2778    - david@cvs.openbsd.org 2006/02/15 05:08:24
2779      [sftp-client.c]
2780      typo in comment; ok djm@
2781    - jmc@cvs.openbsd.org 2006/02/15 16:53:20
2782      [ssh.1]
2783      remove the IETF draft references and replace them with some updated RFCs;
2784    - jmc@cvs.openbsd.org 2006/02/15 16:55:33
2785      [sshd.8]
2786      remove ietf draft references; RFC list now maintained in ssh.1;
2787    - jmc@cvs.openbsd.org 2006/02/16 09:05:34
2788      [sshd.8]
2789      sync some of the FILES entries w/ ssh.1;
2790    - jmc@cvs.openbsd.org 2006/02/19 19:52:10
2791      [sshd.8]
2792      move the sshrc stuff out of FILES, and into its own section:
2793      FILES is not a good place to document how stuff works;
2794    - jmc@cvs.openbsd.org 2006/02/19 20:02:17
2795      [sshd.8]
2796      sync the (s)hosts.equiv FILES entries w/ those from ssh.1;
2797    - jmc@cvs.openbsd.org 2006/02/19 20:05:00
2798      [sshd.8]
2799      grammar;
2800    - jmc@cvs.openbsd.org 2006/02/19 20:12:25
2801      [ssh_config.5]
2802      add some vertical space;
2803    - stevesk@cvs.openbsd.org 2006/02/20 16:36:15
2804      [authfd.c channels.c includes.h session.c ssh-agent.c ssh.c]
2805      move #include <sys/un.h> out of includes.h; ok djm@
2806    - stevesk@cvs.openbsd.org 2006/02/20 17:02:44
2807      [clientloop.c includes.h monitor.c progressmeter.c scp.c]
2808      [serverloop.c session.c sftp.c ssh-agent.c ssh.c sshd.c]
2809      move #include <signal.h> out of includes.h; ok markus@
2810    - stevesk@cvs.openbsd.org 2006/02/20 17:19:54
2811      [auth-rhosts.c auth-rsa.c auth.c auth2-none.c auth2-pubkey.c]
2812      [authfile.c clientloop.c includes.h readconf.c scp.c session.c]
2813      [sftp-client.c sftp-common.c sftp-common.h sftp-glob.c]
2814      [sftp-server.c sftp.c ssh-add.c ssh-keygen.c ssh.c sshconnect.c]
2815      [sshconnect2.c sshd.c sshpty.c]
2816      move #include <sys/stat.h> out of includes.h; ok markus@
2817    - stevesk@cvs.openbsd.org 2006/02/22 00:04:45
2818      [canohost.c clientloop.c includes.h match.c readconf.c scp.c ssh.c]
2819      [sshconnect.c]
2820      move #include <ctype.h> out of includes.h; ok djm@
2821    - jmc@cvs.openbsd.org 2006/02/24 10:25:14
2822      [ssh_config.5]
2823      add section on patterns;
2824      from dtucker + myself
2825    - jmc@cvs.openbsd.org 2006/02/24 10:33:54
2826      [sshd_config.5]
2827      signpost to PATTERNS;
2828    - jmc@cvs.openbsd.org 2006/02/24 10:37:07
2829      [ssh_config.5]
2830      tidy up the refs to PATTERNS;
2831    - jmc@cvs.openbsd.org 2006/02/24 10:39:52
2832      [sshd.8]
2833      signpost to PATTERNS section;
2834    - jmc@cvs.openbsd.org 2006/02/24 20:22:16
2835      [ssh-keysign.8 ssh_config.5 sshd_config.5]
2836      some consistency fixes;
2837    - jmc@cvs.openbsd.org 2006/02/24 20:31:31
2838      [ssh.1 ssh_config.5 sshd.8 sshd_config.5]
2839      more consistency fixes;
2840    - jmc@cvs.openbsd.org 2006/02/24 23:20:07
2841      [ssh_config.5]
2842      some grammar/wording fixes;
2843    - jmc@cvs.openbsd.org 2006/02/24 23:43:57
2844      [sshd_config.5]
2845      some grammar/wording fixes;
2846    - jmc@cvs.openbsd.org 2006/02/24 23:51:17
2847      [sshd_config.5]
2848      oops - bits i missed;
2849    - jmc@cvs.openbsd.org 2006/02/25 12:26:17
2850      [ssh_config.5]
2851      document the possible values for KbdInteractiveDevices;
2852      help/ok dtucker
2853    - jmc@cvs.openbsd.org 2006/02/25 12:28:34
2854      [sshd_config.5]
2855      document the order in which allow/deny directives are processed;
2856      help/ok dtucker
2857    - jmc@cvs.openbsd.org 2006/02/26 17:17:18
2858      [ssh_config.5]
2859      move PATTERNS to the end of the main body; requested by dtucker
2860    - jmc@cvs.openbsd.org 2006/02/26 18:01:13
2861      [sshd_config.5]
2862      subsection is pointless here;
2863    - jmc@cvs.openbsd.org 2006/02/26 18:03:10
2864      [ssh_config.5]
2865      comma;
2866    - djm@cvs.openbsd.org 2006/02/28 01:10:21
2867      [session.c]
2868      fix logout recording when privilege separation is disabled, analysis and
2869      patch from vinschen at redhat.com; tested by dtucker@ ok deraadt@
2870      NB. ID sync only - patch already in portable
2871    - djm@cvs.openbsd.org 2006/03/04 04:12:58
2872      [serverloop.c]
2873      move a debug() outside of a signal handler; ok markus@ a little while back
2874    - djm@cvs.openbsd.org 2006/03/12 04:23:07
2875      [ssh.c]
2876      knf nit
2877    - djm@cvs.openbsd.org 2006/03/13 08:16:00
2878      [sshd.c]
2879      don't log that we are listening on a socket before the listen() call
2880      actually succeeds, bz #1162 reported by Senthil Kumar; ok dtucker@
2881    - dtucker@cvs.openbsd.org 2006/03/13 08:33:00
2882      [packet.c]
2883      Set TCP_NODELAY for all connections not just "interactive" ones.  Fixes
2884      poor performance and protocol stalls under some network conditions (mindrot
2885      bugs #556 and #981). Patch originally from markus@, ok djm@
2886    - dtucker@cvs.openbsd.org 2006/03/13 08:43:16
2887      [ssh-keygen.c]
2888      Make ssh-keygen handle CR and CRLF line termination when converting IETF
2889      format keys, in adition to vanilla LF.  mindrot #1157, tested by Chris
2890      Pepper, ok djm@
2891    - dtucker@cvs.openbsd.org 2006/03/13 10:14:29
2892      [misc.c ssh_config.5 sshd_config.5]
2893      Allow config directives to contain whitespace by surrounding them by double
2894      quotes.  mindrot #482, man page help from jmc@, ok djm@
2895    - dtucker@cvs.openbsd.org 2006/03/13 10:26:52
2896      [authfile.c authfile.h ssh-add.c]
2897      Make ssh-add check file permissions before attempting to load private
2898      key files multiple times; it will fail anyway and this prevents confusing
2899      multiple prompts and warnings.  mindrot #1138, ok djm@
2900    - djm@cvs.openbsd.org 2006/03/14 00:15:39
2901      [canohost.c]
2902      log the originating address and not just the name when a reverse
2903      mapping check fails, requested by linux AT linuon.com
2904    - markus@cvs.openbsd.org 2006/03/14 16:32:48
2905      [ssh_config.5 sshd_config.5]
2906      *AliveCountMax applies to protcol v2 only; ok dtucker, djm
2907    - djm@cvs.openbsd.org 2006/03/07 09:07:40
2908      [kex.c kex.h monitor.c myproposal.h ssh-keyscan.c sshconnect2.c sshd.c]
2909      Implement the diffie-hellman-group-exchange-sha256 key exchange method
2910      using the SHA256 code in libc (and wrapper to make it into an OpenSSL
2911      EVP), interop tested against CVS PuTTY
2912      NB. no portability bits committed yet
2913  - (djm) [configure.ac defines.h kex.c md-sha256.c]
2914    [openbsd-compat/sha2.h openbsd-compat/openbsd-compat.h]
2915    [openbsd-compat/sha2.c] First stab at portability glue for SHA256
2916    KEX support, should work with libc SHA256 support or OpenSSL
2917    EVP_sha256 if present
2918  - (djm) [includes.h] Restore accidentally dropped netinet/in.h
2919  - (djm) [Makefile.in openbsd-compat/Makefile.in] Add added files
2920  - (djm) [md-sha256.c configure.ac] md-sha256.c needs sha2.h if present
2921  - (djm) [regress/.cvsignore] Ignore Makefile here
2922  - (djm) [loginrec.c] Need stat.h
2923  - (djm) [openbsd-compat/sha2.h] Avoid include macro clash with
2924    system sha2.h
2925  - (djm) [ssh-rand-helper.c] Needs a bunch of headers
2926  - (djm) [ssh-agent.c] Restore dropped stat.h
2927  - (djm) [openbsd-compat/sha2.h openbsd-compat/sha2.c] Comment out 
2928    SHA384, which we don't need and doesn't compile without tweaks
2929  - (djm) [auth-pam.c clientloop.c includes.h monitor.c session.c]
2930    [sftp-client.c ssh-keysign.c ssh.c sshconnect.c sshconnect2.c]
2931    [sshd.c openbsd-compat/bsd-misc.c openbsd-compat/bsd-openpty.c]
2932    [openbsd-compat/glob.c openbsd-compat/mktemp.c]
2933    [openbsd-compat/readpassphrase.c] Lots of include fixes for
2934    OpenSolaris
2935  - (tim) [includes.h] put sys/stat.h back in to quiet some "macro redefined:"
2936  - (tim) [openssh/sshpty.c openssh/openbsd-compat/port-tun.c] put in some
2937    includes removed from includes.h
2938  - (dtucker) [configure.ac] Fix glob test conversion to AC_TRY_COMPILE
2939  - (djm) [includes.h] Put back paths.h, it is needed in defines.h
2940  - (dtucker) [openbsd-compat/openbsd-compat.h] AIX (at least) needs
2941    sys/ioctl.h for struct winsize.
2942  - (dtucker) [configure.ac] login_cap.h requires sys/types.h on NetBSD.
2943
2944 20060313
2945  - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
2946    since not all platforms support it.  Instead, use internal equivalent while
2947    computing LLONG_MIN and LLONG_MAX.  Remove special case for alpha-dec-osf*
2948    as it's no longer required.  Tested by Bernhard Simon, ok djm@
2949
2950 20060304
2951  - (dtucker) [contrib/cygwin/ssh-host-config] Require use of lastlog as a
2952    file rather than directory, required as Cygwin will be importing lastlog(1).
2953    Also tightens up permissions on the file.  Patch from vinschen@redhat.com.
2954  - (dtucker) [gss-serv-krb5.c] Bug #1166: Correct #ifdefs for gssapi_krb5.h
2955    includes.  Patch from gentoo.riverrat at gmail.com.
2956
2957 20060226
2958  - (dtucker) [configure.ac] Bug #1156: QNX apparently needs SSHD_ACQUIRES_CTTY
2959    patch from kraai at ftbfs.org.
2960
2961 20060223
2962  - (dtucker) [sshd_config sshd_config.5] Update UsePAM to reflect current
2963    reality.  Pointed out by tryponraj at gmail.com.
2964
2965 20060222
2966  - (dtucker) [openbsd-compat/openssl-compat.{c,h}] Minor tidy up: only
2967    compile in compat code if required.
2968
2969 20060221
2970  - (dtucker) [openbsd-compat/openssl-compat.h] Prevent warning about
2971    redefinition of SSLeay_add_all_algorithms.
2972
2973 20060220
2974  - (dtucker) [INSTALL configure.ac openbsd-compat/openssl-compat.{c,h}]
2975    Add optional enabling of OpenSSL's (hardware) Engine support, via
2976    configure --with-ssl-engine.  Based in part on a diff by michal at
2977    logix.cz.
2978
2979 20060219
2980  - (dtucker) [Makefile.in configure.ac, added openbsd-compat/regress/]
2981    Add first attempt at regress tests for compat library.  ok djm@
2982
2983 20060214
2984  - (tim) [buildpkg.sh.in] Make the names consistent.
2985    s/pkg_post_make_install_fixes.sh/pkg-post-make-install-fixes.sh/ OK dtucker@
2986
2987 20060212
2988  - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Make loop counter unsigned
2989    to silence compiler warning, from vinschen at redhat.com.
2990  - (tim) [configure.ac] Bug #1149. Disable /etc/default/login check for QNX.
2991  - (dtucker) [README version.h contrib/caldera/openssh.spec
2992    contrib/redhat/openssh.spec contrib/suse/openssh.spec] Bump version
2993    strings to match 4.3p2 release.
2994
2995 20060208
2996  - (tim) [session.c] Logout records were not updated on systems with
2997    post auth privsep disabled due to bug 1086 changes. Analysis and patch
2998    by vinschen at redhat.com. OK tim@, dtucker@.
2999  - (dtucker) [configure.ac] Typo in Ultrix and NewsOS sections (NEED_SETPRGP
3000    -> NEED_SETPGRP), reported by Bernhard Simon.  ok tim@
3001
3002 20060206
3003  - (tim) [configure.ac] Remove unnecessary tests for net/if.h and 
3004    netinet/in_systm.h. OK dtucker@.
3005
3006 20060205
3007  - (tim) [configure.ac] Add AC_REVISION. Add sys/time.h to lastlog.h test
3008    for Solaris. OK dtucker@.
3009  - (tim) [configure.ac] Bug #1149. Changes in QNX section only. Patch by
3010    kraai at ftbfs.org.
3011
3012 20060203
3013  - (tim) [configure.ac] test for egrep (AC_PROG_EGREP) before first
3014    AC_CHECK_HEADERS test. Without it, if AC_CHECK_HEADERS is first run
3015    by a platform specific check, builtin standard includes tests will be
3016    skipped on the other platforms.
3017    Analysis and suggestion by vinschen at redhat.com, patch by dtucker@.
3018    OK tim@, djm@.
3019
3020 20060202
3021  - (dtucker) [configure.ac] Bug #1148: Fix "crippled AES" test so that it
3022    works with picky compilers.  Patch from alex.kiernan at thus.net.
3023
3024 20060201
3025  - (djm) [regress/test-exec.sh] Try 'logname' as well as 'whoami' to 
3026    determine the user's login name - needed for regress tests on Solaris 
3027    10 and OpenSolaris
3028  - (djm) OpenBSD CVS Sync
3029    - jmc@cvs.openbsd.org 2006/02/01 09:06:50
3030      [sshd.8]
3031      - merge sections on protocols 1 and 2 into a single section
3032      - remove configuration file section
3033      ok markus
3034    - jmc@cvs.openbsd.org 2006/02/01 09:11:41
3035      [sshd.8]
3036      small tweak;
3037  - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
3038    [contrib/suse/openssh.spec] Update versions ahead of release
3039    - markus@cvs.openbsd.org 2006/02/01 11:27:22
3040      [version.h]
3041      openssh 4.3
3042  - (djm) Release OpenSSH 4.3p1
3043
3044 20060131
3045  - (djm) OpenBSD CVS Sync
3046    - jmc@cvs.openbsd.org 2006/01/20 11:21:45
3047      [ssh_config.5]
3048      - word change, agreed w/ markus
3049      - consistency fixes
3050    - jmc@cvs.openbsd.org 2006/01/25 09:04:34
3051      [sshd.8]
3052      move the options description up the page, and a few additional tweaks
3053      whilst in here;
3054      ok markus
3055    - jmc@cvs.openbsd.org 2006/01/25 09:07:22
3056      [sshd.8]
3057      move subsections to full sections;
3058    - jmc@cvs.openbsd.org 2006/01/26 08:47:56
3059      [ssh.1]
3060      add a section on verifying host keys in dns;
3061      written with a lot of help from jakob;
3062      feedback dtucker/markus;
3063      ok markus
3064    - reyk@cvs.openbsd.org 2006/01/30 12:22:22
3065      [channels.c]
3066      mark channel as write failed or dead instead of read failed on error
3067      of the channel output filter.
3068      ok markus@
3069    - jmc@cvs.openbsd.org 2006/01/30 13:37:49
3070      [ssh.1]
3071      remove an incorrect sentence;
3072      reported by roumen petrov;
3073      ok djm markus
3074    - djm@cvs.openbsd.org 2006/01/31 10:19:02
3075      [misc.c misc.h scp.c sftp.c]
3076      fix local arbitrary command execution vulnerability on local/local and
3077      remote/remote copies (CVE-2006-0225, bz #1094), patch by
3078      t8m AT centrum.cz, polished by dtucker@ and myself; ok markus@
3079    - djm@cvs.openbsd.org 2006/01/31 10:35:43
3080      [scp.c]
3081      "scp a b c" shouldn't clobber "c" when it is not a directory, report and
3082      fix from biorn@; ok markus@
3083  - (djm) Sync regress tests to OpenBSD:
3084    - dtucker@cvs.openbsd.org 2005/03/10 10:20:39
3085      [regress/forwarding.sh]
3086      Regress test for ClearAllForwardings (bz #994); ok markus@
3087    - dtucker@cvs.openbsd.org 2005/04/25 09:54:09
3088      [regress/multiplex.sh]
3089      Don't call cleanup in multiplex as test-exec will cleanup anyway
3090      found by tim@, ok djm@
3091      NB. ID sync only, we already had this
3092    - djm@cvs.openbsd.org 2005/05/20 23:14:15
3093      [regress/test-exec.sh]
3094      force addressfamily=inet for tests, unbreaking dynamic-forward regress for
3095      recently committed nc SOCKS5 changes
3096    - djm@cvs.openbsd.org 2005/05/24 04:10:54
3097      [regress/try-ciphers.sh]
3098      oops, new arcfour modes here too
3099    - markus@cvs.openbsd.org 2005/06/30 11:02:37
3100      [regress/scp.sh]
3101      allow SUDO=sudo; from Alexander Bluhm
3102    - grunk@cvs.openbsd.org 2005/11/14 21:25:56
3103      [regress/agent-getpeereid.sh]
3104      all other scripts in this dir use $SUDO, not 'sudo', so pull this even
3105      ok markus@
3106    - dtucker@cvs.openbsd.org 2005/12/14 04:36:39
3107      [regress/scp-ssh-wrapper.sh]
3108      Fix assumption about how many args scp will pass; ok djm@
3109      NB. ID sync only, we already had this
3110    - djm@cvs.openbsd.org 2006/01/27 06:49:21
3111      [scp.sh]
3112      regress test for local to local scp copies; ok dtucker@
3113    - djm@cvs.openbsd.org 2006/01/31 10:23:23
3114      [scp.sh]
3115      regression test for CVE-2006-0225 written by dtucker@
3116    - djm@cvs.openbsd.org 2006/01/31 10:36:33
3117      [scp.sh]
3118      regress test for "scp a b c" where "c" is not a directory
3119
3120 20060129
3121  - (dtucker) [configure.ac opensshd.init.in] Bug #1144: Use /bin/sh for the
3122    opensshd.init script interpretter if /sbin/sh does not exist.  ok tim@
3123
3124 20060120
3125  - (dtucker) OpenBSD CVS Sync
3126    - jmc@cvs.openbsd.org 2006/01/15 17:37:05
3127      [ssh.1]
3128      correction from deraadt
3129    - jmc@cvs.openbsd.org 2006/01/18 10:53:29
3130      [ssh.1]
3131      add a section on ssh-based vpn, based on reyk's README.tun;
3132    - dtucker@cvs.openbsd.org 2006/01/20 00:14:55
3133      [scp.1 ssh.1 ssh_config.5 sftp.1]
3134      Document RekeyLimit.  Based on patch from jan.iven at cern.ch from mindrot
3135      #1056 with feedback from jmc, djm and markus; ok jmc@ djm@
3136
3137 20060114
3138  - (djm) OpenBSD CVS Sync
3139    - jmc@cvs.openbsd.org 2006/01/06 13:27:32
3140      [ssh.1]
3141      weed out some duplicate info in the known_hosts FILES entries;
3142      ok djm
3143    - jmc@cvs.openbsd.org 2006/01/06 13:29:10
3144      [ssh.1]
3145      final round of whacking FILES for duplicate info, and some consistency
3146      fixes;
3147      ok djm
3148    - jmc@cvs.openbsd.org 2006/01/12 14:44:12
3149      [ssh.1]
3150      split sections on tcp and x11 forwarding into two sections.
3151      add an example in the tcp section, based on sth i wrote for ssh faq;
3152      help + ok: djm markus dtucker
3153    - jmc@cvs.openbsd.org 2006/01/12 18:48:48
3154      [ssh.1]
3155      refer to `TCP' rather than `TCP/IP' in the context of connection
3156      forwarding;
3157      ok markus
3158    - jmc@cvs.openbsd.org 2006/01/12 22:20:00
3159      [sshd.8]
3160      refer to TCP forwarding, rather than TCP/IP forwarding;
3161    - jmc@cvs.openbsd.org 2006/01/12 22:26:02
3162      [ssh_config.5]
3163      refer to TCP forwarding, rather than TCP/IP forwarding;
3164    - jmc@cvs.openbsd.org 2006/01/12 22:34:12
3165      [ssh.1]
3166      back out a sentence - AUTHENTICATION already documents this;
3167
3168 20060109
3169  - (dtucker) [contrib/cygwin/ssh-host-config] Make sshd service depend on
3170    tcpip service so it's always started after IP is up.  Patch from
3171    vinschen at redhat.com.
3172
3173 20060106
3174  - (djm) OpenBSD CVS Sync
3175    - jmc@cvs.openbsd.org 2006/01/03 16:31:10
3176      [ssh.1]
3177      move FILES to a -compact list, and make each files an item in that list.
3178      this avoids nastly line wrap when we have long pathnames, and treats
3179      each file as a separate item;
3180      remove the .Pa too, since it is useless.
3181    - jmc@cvs.openbsd.org 2006/01/03 16:35:30
3182      [ssh.1]
3183      use a larger width for the ENVIRONMENT list;
3184    - jmc@cvs.openbsd.org 2006/01/03 16:52:36
3185      [ssh.1]
3186      put FILES in some sort of order: sort by pathname
3187    - jmc@cvs.openbsd.org 2006/01/03 16:55:18
3188      [ssh.1]
3189      tweak the description of ~/.ssh/environment
3190    - jmc@cvs.openbsd.org 2006/01/04 18:42:46
3191      [ssh.1]
3192      chop out some duplication in the .{r,s}hosts/{h,sh}osts.equiv FILES
3193      entries;
3194      ok markus
3195    - jmc@cvs.openbsd.org 2006/01/04 18:45:01
3196      [ssh.1]
3197      remove .Xr's to rsh(1) and telnet(1): they are hardly needed;
3198    - jmc@cvs.openbsd.org 2006/01/04 19:40:24
3199      [ssh.1]
3200      +.Xr ssh-keyscan 1 ,
3201    - jmc@cvs.openbsd.org 2006/01/04 19:50:09
3202      [ssh.1]
3203      -.Xr gzip 1 ,
3204    - djm@cvs.openbsd.org 2006/01/05 23:43:53
3205      [misc.c]
3206      check that stdio file descriptors are actually closed before clobbering
3207      them in sanitise_stdfd(). problems occurred when a lower numbered fd was
3208      closed, but higher ones weren't. spotted by, and patch tested by
3209      Frédéric Olivié
3210
3211 20060103
3212  - (djm) [channels.c] clean up harmless merge error, from reyk@
3213
3214 20060103
3215  - (djm) OpenBSD CVS Sync
3216    - jmc@cvs.openbsd.org 2006/01/02 17:09:49
3217      [ssh_config.5 sshd_config.5]
3218      some corrections from michael knudsen;
3219
3220 20060102
3221  - (djm) [README.tun] Add README.tun, missed during sync of tun(4) support
3222  - (djm) OpenBSD CVS Sync
3223    - jmc@cvs.openbsd.org 2005/12/31 10:46:17
3224      [ssh.1]
3225      merge the "LOGIN SESSION AND REMOTE EXECUTION" and "SERVER
3226      AUTHENTICATION" sections into "AUTHENTICATION";
3227      some rewording done to make the text read better, plus some
3228      improvements from djm;
3229      ok djm
3230    - jmc@cvs.openbsd.org 2005/12/31 13:44:04
3231      [ssh.1]
3232      clean up ENVIRONMENT a little;
3233    - jmc@cvs.openbsd.org 2005/12/31 13:45:19
3234      [ssh.1]
3235      .Nm does not require an argument;
3236    - stevesk@cvs.openbsd.org 2006/01/01 08:59:27
3237      [includes.h misc.c]
3238      move <net/if.h>; ok djm@
3239    - stevesk@cvs.openbsd.org 2006/01/01 10:08:48
3240      [misc.c]
3241      no trailing "\n" for debug()
3242    - djm@cvs.openbsd.org 2006/01/02 01:20:31
3243      [sftp-client.c sftp-common.h sftp-server.c]
3244      use a common max. packet length, no binary change
3245    - reyk@cvs.openbsd.org 2006/01/02 07:53:44
3246      [misc.c]
3247      clarify tun(4) opening - set the mode and bring the interface up. also
3248      (re)sets the tun(4) layer 2 LINK0 flag for existing tunnel interfaces.
3249      suggested and ok by djm@
3250    - jmc@cvs.openbsd.org 2006/01/02 12:31:06
3251      [ssh.1]
3252      start to cut some duplicate info from FILES;
3253      help/ok djm
3254
3255 20060101
3256  - (djm) [Makefile.in configure.ac includes.h misc.c]
3257          [openbsd-compat/port-tun.c openbsd-compat/port-tun.h] Add support
3258          for tunnel forwarding for FreeBSD and NetBSD. NetBSD's support is
3259          limited to IPv4 tunnels only, and most versions don't support the
3260          tap(4) device at all.
3261  - (djm) [configure.ac] Fix linux/if_tun.h test
3262  - (djm) [openbsd-compat/port-tun.c] Linux needs linux/if.h too
3263
3264 20051229
3265  - (djm) OpenBSD CVS Sync
3266    - stevesk@cvs.openbsd.org 2005/12/28 22:46:06
3267      [canohost.c channels.c clientloop.c]
3268      use 'break-in' for consistency; ok deraadt@ ok and input jmc@
3269    - reyk@cvs.openbsd.org 2005/12/30 15:56:37
3270      [channels.c channels.h clientloop.c]
3271      add channel output filter interface.
3272      ok djm@, suggested by markus@
3273    - jmc@cvs.openbsd.org 2005/12/30 16:59:00
3274      [sftp.1]
3275      do not suggest that interactive authentication will work
3276      with the -b flag;
3277      based on a diff from john l. scarfone;
3278      ok djm
3279    - stevesk@cvs.openbsd.org 2005/12/31 01:38:45
3280      [ssh.1]
3281      document -MM; ok djm@
3282  - (djm) [openbsd-compat/port-tun.c openbsd-compat/port-tun.h configure.ac]
3283    [serverloop.c ssh.c openbsd-compat/Makefile.in]
3284    [openbsd-compat/openbsd-compat.h] Implement tun(4) forwarding 
3285    compatability support for Linux, diff from reyk@
3286  - (djm) [configure.ac] Disable Linux tun(4) compat code if linux/tun.h does
3287    not exist
3288  - (djm) [configure.ac] oops, make that linux/if_tun.h
3289
3290 20051229
3291  - (tim) [buildpkg.sh.in] grep for $SSHDUID instead of $SSHDGID on /etc/passwd
3292
3293 20051224
3294  - (djm) OpenBSD CVS Sync
3295    - jmc@cvs.openbsd.org 2005/12/20 21:59:43
3296      [ssh.1]
3297      merge the sections on protocols 1 and 2 into one section on
3298      authentication;
3299      feedback djm dtucker
3300      ok deraadt markus dtucker
3301    - jmc@cvs.openbsd.org 2005/12/20 22:02:50
3302      [ssh.1]
3303      .Ss -> .Sh: subsections have not made this page more readable
3304    - jmc@cvs.openbsd.org 2005/12/20 22:09:41
3305      [ssh.1]
3306      move info on ssh return values and config files up into the main
3307      description;
3308    - jmc@cvs.openbsd.org 2005/12/21 11:48:16
3309      [ssh.1]
3310      -L and -R descriptions are now above, not below, ~C description;
3311    - jmc@cvs.openbsd.org 2005/12/21 11:57:25
3312      [ssh.1]
3313      options now described `above', rather than `later';
3314    - jmc@cvs.openbsd.org 2005/12/21 12:53:31
3315      [ssh.1]
3316      -Y does X11 forwarding too;
3317      ok markus
3318    - stevesk@cvs.openbsd.org 2005/12/21 22:44:26
3319      [sshd.8]
3320      clarify precedence of -p, Port, ListenAddress; ok and help jmc@
3321    - jmc@cvs.openbsd.org 2005/12/22 10:31:40
3322      [ssh_config.5]
3323      put the description of "UsePrivilegedPort" in the correct place;
3324    - jmc@cvs.openbsd.org 2005/12/22 11:23:42
3325      [ssh.1]
3326      expand the description of -w somewhat;
3327      help/ok reyk
3328    - jmc@cvs.openbsd.org 2005/12/23 14:55:53
3329      [ssh.1]
3330      - sync the description of -e w/ synopsis
3331      - simplify the description of -I
3332      - note that -I is only available if support compiled in, and that it
3333      isn't by default
3334      feedback/ok djm@
3335    - jmc@cvs.openbsd.org 2005/12/23 23:46:23
3336      [ssh.1]
3337      less mark up for -c;
3338    - djm@cvs.openbsd.org 2005/12/24 02:27:41
3339      [session.c sshd.c]
3340      eliminate some code duplicated in privsep and non-privsep paths, and
3341      explicitly clear SIGALRM handler; "groovy" deraadt@
3342
3343 20051220
3344  - (dtucker) OpenBSD CVS Sync
3345    - reyk@cvs.openbsd.org 2005/12/13 15:03:02
3346      [serverloop.c]
3347      if forced_tun_device is not set, it is -1 and not SSH_TUNID_ANY
3348    - jmc@cvs.openbsd.org 2005/12/16 18:07:08
3349      [ssh.1]
3350      move the option descriptions up the page: start of a restructure;
3351      ok markus deraadt
3352    - jmc@cvs.openbsd.org 2005/12/16 18:08:53
3353      [ssh.1]
3354      simplify a sentence;
3355    - jmc@cvs.openbsd.org 2005/12/16 18:12:22
3356      [ssh.1]
3357      make the description of -c a little nicer;
3358    - jmc@cvs.openbsd.org 2005/12/16 18:14:40
3359      [ssh.1]
3360      signpost the protocol sections;
3361    - stevesk@cvs.openbsd.org 2005/12/17 21:13:05
3362      [ssh_config.5 session.c]
3363      spelling: fowarding, fowarded
3364    - stevesk@cvs.openbsd.org 2005/12/17 21:36:42
3365      [ssh_config.5]
3366      spelling: intented -> intended
3367    - dtucker@cvs.openbsd.org 2005/12/20 04:41:07
3368      [ssh.c]
3369      exit(255) on error to match description in ssh(1); bz #1137; ok deraadt@
3370
3371 20051219
3372  - (dtucker) [cipher-aes.c cipher-ctr.c cipher.c configure.ac
3373    openbsd-compat/openssl-compat.h] Check for and work around broken AES
3374    ciphers >128bit on (some) Solaris 10 systems.  ok djm@
3375
3376 20051217
3377  - (dtucker) [defines.h] HP-UX system headers define "YES" and "NO" which
3378    scp.c also uses, so undef them here.
3379  - (dtucker) [configure.ac openbsd-compat/bsd-snprintf.c] Bug #1133: Our
3380    snprintf replacement can have a conflicting declaration in HP-UX's system
3381    headers (const vs. no const) so we now check for and work around it.  Patch
3382    from the dynamic duo of David Leonard and Ted Percival.
3383
3384 20051214
3385  - (dtucker) OpenBSD CVS Sync (regress/)
3386    - dtucker@cvs.openbsd.org 2005/12/30 04:36:39
3387      [regress/scp-ssh-wrapper.sh]
3388      Fix assumption about how many args scp will pass; ok djm@
3389
3390 20051213
3391  - (djm) OpenBSD CVS Sync
3392    - jmc@cvs.openbsd.org 2005/11/30 11:18:27
3393      [ssh.1]
3394      timezone -> time zone
3395    - jmc@cvs.openbsd.org 2005/11/30 11:45:20
3396      [ssh.1]
3397      avoid ambiguities in describing TZ;
3398      ok djm@
3399    - reyk@cvs.openbsd.org 2005/12/06 22:38:28
3400      [auth-options.c auth-options.h channels.c channels.h clientloop.c]
3401      [misc.c misc.h readconf.c readconf.h scp.c servconf.c servconf.h]
3402      [serverloop.c sftp.c ssh.1 ssh.c ssh_config ssh_config.5 sshconnect.c]
3403      [sshconnect.h sshd.8 sshd_config sshd_config.5]
3404      Add support for tun(4) forwarding over OpenSSH, based on an idea and
3405      initial channel code bits by markus@. This is a simple and easy way to
3406      use OpenSSH for ad hoc virtual private network connections, e.g.
3407      administrative tunnels or secure wireless access. It's based on a new
3408      ssh channel and works similar to the existing TCP forwarding support,
3409      except that it depends on the tun(4) network interface on both ends of
3410      the connection for layer 2 or layer 3 tunneling. This diff also adds
3411      support for LocalCommand in the ssh(1) client.
3412      ok djm@, markus@, jmc@ (manpages), tested and discussed with others
3413    - djm@cvs.openbsd.org 2005/12/07 03:52:22
3414      [clientloop.c]
3415      reyk forgot to compile with -Werror (missing header)
3416    - jmc@cvs.openbsd.org 2005/12/07 10:52:13
3417      [ssh.1]
3418      - avoid line split in SYNOPSIS
3419      - add args to -w
3420      - kill trailing whitespace
3421    - jmc@cvs.openbsd.org 2005/12/08 14:59:44
3422      [ssh.1 ssh_config.5]
3423      make `!command' a little clearer;
3424      ok reyk
3425    - jmc@cvs.openbsd.org 2005/12/08 15:06:29
3426      [ssh_config.5]
3427      keep options in order;
3428    - reyk@cvs.openbsd.org 2005/12/08 18:34:11
3429      [auth-options.c includes.h misc.c misc.h readconf.c servconf.c]
3430      [serverloop.c ssh.c ssh_config.5 sshd_config.5 configure.ac]
3431      two changes to the new ssh tunnel support. this breaks compatibility
3432      with the initial commit but is required for a portable approach.
3433      - make the tunnel id u_int and platform friendly, use predefined types.
3434      - support configuration of layer 2 (ethernet) or layer 3
3435      (point-to-point, default) modes. configuration is done using the
3436      Tunnel (yes|point-to-point|ethernet|no) option is ssh_config(5) and
3437      restricted by the PermitTunnel (yes|point-to-point|ethernet|no) option
3438      in sshd_config(5).
3439      ok djm@, man page bits by jmc@
3440    - jmc@cvs.openbsd.org 2005/12/08 21:37:50
3441      [ssh_config.5]
3442      new sentence, new line;
3443    - markus@cvs.openbsd.org 2005/12/12 13:46:18
3444      [channels.c channels.h session.c]
3445      make sure protocol messages for internal channels are ignored.
3446      allow adjust messages for non-open channels; with and ok djm@
3447  - (djm) [misc.c] Disable tunnel code for non-OpenBSD (for now), enable
3448    again by providing a sys_tun_open() function for your platform and 
3449    setting the CUSTOM_SYS_TUN_OPEN define. More work is required to match 
3450    OpenBSD's tunnel protocol, which prepends the address family to the 
3451    packet
3452
3453 20051201
3454  - (djm) [envpass.sh] Remove regress script that was accidentally committed 
3455    in top level directory and not noticed for over a year :)
3456
3457 20051129
3458  - (tim) [ssh-keygen.c] Move DSA length test after setting default when
3459    bits == 0.
3460  - (dtucker) OpenBSD CVS Sync
3461    - dtucker@cvs.openbsd.org 2005/11/29 02:04:55
3462      [ssh-keygen.c]
3463      Populate default key sizes before checking them; from & ok tim@
3464  - (tim) [configure.ac sshd.8] Enable locked account check (a "*LK*" string)
3465    for UnixWare.
3466
3467 20051128
3468  - (dtucker) [regress/yes-head.sh] Work around breakage caused by some
3469    versions of GNU head.  Based on patch from zappaman at buraphalinux.org
3470  - (dtucker) [includes.h] Bug #1122: __USE_GNU is a glibc internal macro, use
3471    _GNU_SOURCE instead.  Patch from t8m at centrum.cz.
3472  - (dtucker) OpenBSD CVS Sync
3473    - dtucker@cvs.openbsd.org 2005/11/28 05:16:53
3474      [ssh-keygen.1 ssh-keygen.c]
3475      Enforce DSA key length of exactly 1024 bits to comply with FIPS-186-2,
3476      increase minumum RSA key size to 768 bits and update man page to reflect
3477      these.  Patch originally bz#1119 (senthilkumar_sen at hotpop.com),
3478      ok djm@, grudging ok deraadt@.
3479    - dtucker@cvs.openbsd.org 2005/11/28 06:02:56
3480      [ssh-agent.1]
3481      Update agent socket path templates to reflect reality, correct xref for
3482      time formats.  bz#1121, patch from openssh at roumenpetrov.info, ok djm@
3483
3484 20051126
3485  - (dtucker) [configure.ac] Bug #1126: AIX 5.2 and 5.3 (and presumably newer,
3486    when they're available) need the real UID set otherwise pam_chauthtok will
3487    set ADMCHG after changing the password, forcing the user to change it
3488    again immediately.
3489
3490 20051125
3491  - (dtucker) [configure.ac] Apply tim's fix for older systems where the
3492    resolver state in resolv.h is "state" not "__res_state".  With slight
3493    modification by me to also work on old AIXes.  ok djm@
3494  - (dtucker) [progressmeter.c scp.c sftp-server.c] Use correct casts for
3495    snprintf formats, fixes warnings on some 64 bit platforms.  Patch from
3496    shaw at vranix.com, ok djm@
3497
3498 20051124
3499  - (djm) [configure.ac openbsd-compat/Makefile.in openbsd-compat/bsd-asprintf.c 
3500    openbsd-compat/bsd-snprintf.c openbsd-compat/openbsd-compat.h] Add an 
3501    asprintf() implementation, after syncing our {v,}snprintf() implementation
3502    with some extra fixes from Samba's version. With help and debugging from 
3503    dtucker and tim; ok dtucker@
3504  - (dtucker) [configure.ac] Fix typos in comments and AC_SEARCH_LIB argument
3505    order in Reliant Unix block.  Patch from johane at lysator.liu.se.
3506  - (dtucker) [regress/test-exec.sh] Use 1024 bit keys since we generate so
3507    many and use them only once.  Speeds up testing on older/slower hardware.
3508
3509 20051122
3510  - (dtucker) OpenBSD CVS Sync
3511    - deraadt@cvs.openbsd.org 2005/11/12 18:37:59
3512      [ssh-add.c]
3513      space
3514    - deraadt@cvs.openbsd.org 2005/11/12 18:38:15
3515      [scp.c]
3516      avoid close(-1), as in rcp; ok cloder
3517    - millert@cvs.openbsd.org 2005/11/15 11:59:54
3518      [includes.h]
3519      Include sys/queue.h explicitly instead of assuming some other header
3520      will pull it in.  At the moment it gets pulled in by sys/select.h
3521      (which ssh has no business including) via event.h.  OK markus@
3522      (ID sync only in -portable)
3523    - dtucker@cvs.openbsd.org 2005/11/21 09:42:10
3524      [auth-krb5.c]
3525      Perform Kerberos calls even for invalid users to prevent leaking
3526      information about account validity.  bz #975, patch originally from
3527      Senthil Kumar, sanity checked by Simon Wilkinson, tested by djm@, biorn@,
3528      ok markus@
3529    - dtucker@cvs.openbsd.org 2005/11/22 03:36:03
3530      [hostfile.c]
3531      Correct format/arguments to debug call; spotted by shaw at vranix.com
3532      ok djm@
3533  - (dtucker) [loginrec.c] Add casts to prevent compiler warnings, patch
3534    from shaw at vranix.com.
3535
3536 20051120
3537  - (dtucker) [openbsd-compat/openssl-compat.h] Add comment explaining what
3538    is going on.
3539
3540 20051112
3541  - (dtucker) [openbsd-compat/getrrsetbyname.c] Restore Portable-specific
3542    ifdef lost during sync.  Spotted by tim@.
3543  - (dtucker) [openbsd-compat/{realpath.c,stroll.c,rresvport.c}] $OpenBSD tag.
3544  - (dtucker) [configure.ac] Use "$AWK" instead of "awk" in gcc version test.
3545  - (dtucker) [configure.ac] Remove duplicate utimes() check.  ok djm@
3546  - (dtucker) [regress/reconfigure.sh] Fix potential race in the reconfigure
3547    test: if sshd takes too long to reconfigure the subsequent connection will
3548    fail.  Zap pidfile before HUPing sshd which will rewrite it when it's ready.
3549
3550 20051110
3551  - (dtucker) [openbsd-compat/setenv.c] Merge changes for __findenv from
3552    OpenBSD getenv.c revs 1.4 - 1.8 (ANSIfication of arguments, removal of
3553    "register").
3554  - (dtucker) [openbsd-compat/setenv.c] Make __findenv static, remove
3555    unnecessary prototype.
3556  - (dtucker) [openbsd-compat/setenv.c] Sync changes from OpenBSD setenv.c
3557    revs 1.7 - 1.9.
3558  - (dtucker) [auth-krb5.c] Fix -Wsign-compare warning in non-Heimdal path.
3559    Patch from djm@.
3560  - (dtucker) [configure.ac] Disable pointer-sign warnings on gcc 4.0+
3561    since they're not useful right now.  Patch from djm@.
3562  - (dtucker) [openbsd-compat/getgrouplist.c] Sync OpenBSD revs 1.10 - 1.2 (ANSI
3563    prototypes, removal of "register").
3564  - (dtucker) [openbsd-compat/strlcat.c] Sync OpenBSD revs 1.11 - 1.12 (removal
3565    of "register").
3566  - (dtucker) [openbsd-compat/{LOTS}] Move the "OPENBSD ORIGINAL" markers to
3567    after the copyright notices.  Having them at the top next to the CVSIDs
3568    guarantees a conflict for each and every sync.
3569  - (dtucker) [openbsd-compat/strlcpy.c] Update from OpenBSD 1.8 -> 1.10.
3570  - (dtucker) [openbsd-compat/sigact.h] Add "OPENBSD ORIGINAL" marker.
3571  - (dtucker) [openbsd-compat/strmode.c] Update from OpenBSD 1.5 -> 1.7.
3572    Removal of rcsid, "whiteout" inode type.
3573  - (dtucker) [openbsd-compat/basename.c] Update from OpenBSD 1.11 -> 1.14.
3574    Removal of rcsid, will no longer strlcpy parts of the string.
3575  - (dtucker) [openbsd-compat/strtoll.c] Update from OpenBSD 1.4 -> 1.5.
3576  - (dtucker) [openbsd-compat/strtoul.c] Update from OpenBSD 1.5 -> 1.7.
3577  - (dtucker) [openbsd-compat/readpassphrase.c] Update from OpenBSD 1.16 -> 1.18.
3578  - (dtucker) [openbsd-compat/readpassphrase.h] Update from OpenBSD 1.3 -> 1.5.
3579  - (dtucker) [openbsd-compat/glob.c] Update from OpenBSD 1.22 -> 1.25.
3580  - (dtucker) [openbsd-compat/glob.h] Update from OpenBSD 1.8 -> 1.9.
3581  - (dtucker) [openbsd-compat/getcwd.c] Update from OpenBSD 1.9 -> 1.14.
3582  - (dtucker) [openbsd-compat/getcwd.c] Replace lstat with fstat to match up
3583    with OpenBSD code since we don't support platforms without fstat any more.
3584  - (dtucker) [openbsd-compat/inet_aton.c] Update from OpenBSD 1.7 -> 1.9.
3585  - (dtucker) [openbsd-compat/inet_ntoa.c] Update from OpenBSD 1.4 -> 1.6.
3586  - (dtucker) [openbsd-compat/inet_ntop.c] Update from OpenBSD 1.5 -> 1.7.
3587  - (dtucker) [openbsd-compat/daemon.c] Update from OpenBSD 1.5 -> 1.6.
3588  - (dtucker) [openbsd-compat/strsep.c] Update from OpenBSD 1.5 -> 1.6.
3589  - (dtucker) [openbsd-compat/daemon.c] Update from OpenBSD 1.10 -> 1.13.
3590  - (dtucker) [openbsd-compat/mktemp.c] Update from OpenBSD 1.17 -> 1.19.
3591  - (dtucker) [openbsd-compat/rresvport.c] Update from OpenBSD 1.6 -> 1.8.
3592  - (dtucker) [openbsd-compat/bindresvport.c] Add "OPENBSD ORIGINAL" marker.
3593  - (dtucker) [openbsd-compat/bindresvport.c] Update from OpenBSD 1.16 -> 1.17.
3594  - (dtucker) [openbsd-compat/sigact.c] Update from OpenBSD 1.3 -> 1.4.
3595    Id and copyright sync only, there were no substantial changes we need.
3596  - (dtucker) [openbsd-compat/bsd-closefrom.c openbsd-compat/base64.c]
3597    -Wsign-compare fixes from djm.
3598  - (dtucker) [openbsd-compat/sigact.h] Update from OpenBSD 1.2 -> 1.3.
3599    Id and copyright sync only, there were no substantial changes we need.
3600  - (dtucker) [configure.ac] Try to get the gcc version number in a way that
3601    doesn't change between versions, and use a safer default.
3602
3603 20051105
3604  - (djm) OpenBSD CVS Sync
3605    - markus@cvs.openbsd.org 2005/10/07 11:13:57
3606      [ssh-keygen.c]
3607      change DSA default back to 1024, as it's defined for 1024 bits only
3608      and this causes interop problems with other clients.  moreover,
3609      in order to improve the security of DSA you need to change more
3610      components of DSA key generation (e.g. the internal SHA1 hash);
3611      ok deraadt
3612    - djm@cvs.openbsd.org 2005/10/10 10:23:08
3613      [channels.c channels.h clientloop.c serverloop.c session.c]
3614      fix regression I introduced in 4.2: X11 forwardings initiated after
3615      a session has exited (e.g. "(sleep 5; xterm) &") would not start.
3616      bz #1086 reported by t8m AT centrum.cz; ok markus@ dtucker@
3617    - djm@cvs.openbsd.org 2005/10/11 23:37:37
3618      [channels.c]
3619      bz #1076 set SO_REUSEADDR on X11 forwarding listner sockets, preventing
3620      bind() failure when a previous connection's listeners are in TIME_WAIT,
3621      reported by plattner AT inf.ethz.ch; ok dtucker@
3622    - stevesk@cvs.openbsd.org 2005/10/13 14:03:01
3623      [auth2-gss.c gss-genr.c gss-serv.c]
3624      remove unneeded #includes; ok markus@
3625    - stevesk@cvs.openbsd.org 2005/10/13 14:20:37
3626      [gss-serv.c]
3627      spelling in comments
3628    - stevesk@cvs.openbsd.org 2005/10/13 19:08:08
3629      [gss-serv-krb5.c gss-serv.c]
3630      unused declarations; ok deraadt@
3631      (id sync only for gss-serv-krb5.c)
3632    - stevesk@cvs.openbsd.org 2005/10/13 19:13:41
3633      [dns.c]
3634      unneeded #include, unused declaration, little knf; ok deraadt@
3635    - stevesk@cvs.openbsd.org 2005/10/13 22:24:31
3636      [auth2-gss.c gss-genr.c gss-serv.c monitor.c]
3637      KNF; ok djm@
3638    - stevesk@cvs.openbsd.org 2005/10/14 02:17:59
3639      [ssh-keygen.c ssh.c sshconnect2.c]
3640      no trailing "\n" for log functions; ok djm@
3641    - stevesk@cvs.openbsd.org 2005/10/14 02:29:37
3642      [channels.c clientloop.c]
3643      free()->xfree(); ok djm@
3644    - stevesk@cvs.openbsd.org 2005/10/15 15:28:12
3645      [sshconnect.c]
3646      make external definition static; ok deraadt@
3647    - stevesk@cvs.openbsd.org 2005/10/17 13:45:05
3648      [dns.c]
3649      fix memory leaks from 2 sources:
3650          1) key_fingerprint_raw()
3651          2) malloc in dns_read_rdata()
3652      ok jakob@
3653    - stevesk@cvs.openbsd.org 2005/10/17 14:01:28
3654      [dns.c]
3655      remove #ifdef LWRES; ok jakob@
3656    - stevesk@cvs.openbsd.org 2005/10/17 14:13:35
3657      [dns.c dns.h]
3658      more cleanups; ok jakob@
3659    - djm@cvs.openbsd.org 2005/10/30 01:23:19
3660      [ssh_config.5]
3661      mention control socket fallback behaviour, reported by 
3662      tryponraj AT gmail.com
3663    - djm@cvs.openbsd.org 2005/10/30 04:01:03
3664      [ssh-keyscan.c]
3665      make ssh-keygen discard junk from server before SSH- ident, spotted by
3666      dave AT cirt.net; ok dtucker@
3667    - djm@cvs.openbsd.org 2005/10/30 04:03:24
3668      [ssh.c]
3669      fix misleading debug message; ok dtucker@
3670    - dtucker@cvs.openbsd.org 2005/10/30 08:29:29
3671      [canohost.c sshd.c]
3672      Check for connections with IP options earlier and drop silently.  ok djm@
3673    - jmc@cvs.openbsd.org 2005/10/30 08:43:47
3674      [ssh_config.5]
3675      remove trailing whitespace;
3676    - djm@cvs.openbsd.org 2005/10/30 08:52:18
3677      [clientloop.c packet.c serverloop.c session.c ssh-agent.c ssh-keygen.c]
3678      [ssh.c sshconnect.c sshconnect1.c sshd.c]
3679      no need to escape single quotes in comments, no binary change
3680    - dtucker@cvs.openbsd.org 2005/10/31 06:15:04
3681      [sftp.c]
3682      Fix sorting with "ls -1" command. From Robert Tsai, "looks right" deraadt@
3683    - djm@cvs.openbsd.org 2005/10/31 11:12:49
3684      [ssh-keygen.1 ssh-keygen.c]
3685      generate a protocol 2 RSA key by default
3686    - djm@cvs.openbsd.org 2005/10/31 11:48:29
3687      [serverloop.c]
3688      make sure we clean up wtmp, etc. file when we receive a SIGTERM,
3689      SIGINT or SIGQUIT when running without privilege separation (the
3690      normal privsep case is already OK). Patch mainly by dtucker@ and
3691      senthilkumar_sen AT hotpop.com; ok dtucker@
3692    - jmc@cvs.openbsd.org 2005/10/31 19:55:25
3693      [ssh-keygen.1]
3694      grammar;
3695    - dtucker@cvs.openbsd.org 2005/11/03 13:38:29
3696      [canohost.c]
3697      Cache reverse lookups with and without DNS separately; ok markus@
3698    - djm@cvs.openbsd.org 2005/11/04 05:15:59
3699      [kex.c kex.h kexdh.c kexdhc.c kexdhs.c kexgex.c kexgexc.c kexgexs.c]
3700      remove hardcoded hash lengths in key exchange code, allowing
3701      implementation of KEX methods with different hashes (e.g. SHA-256);
3702      ok markus@ dtucker@ stevesk@
3703    - djm@cvs.openbsd.org 2005/11/05 05:01:15
3704      [bufaux.c]
3705      Fix leaks in error paths, bz #1109 and #1110 reported by kremenek AT
3706      cs.stanford.edu; ok dtucker@
3707  - (dtucker) [README.platform] Add PAM section.
3708  - (djm) [openbsd-compat/getrrsetbyname.c] Sync to latest OpenBSD version,
3709    resolving memory leak bz#1111 reported by kremenek AT cs.stanford.edu;
3710    ok dtucker@
3711
3712 20051102
3713  - (dtucker) [openbsd-compat/bsd-misc.c] Bug #1108: fix broken strdup().
3714    Reported by olavi at ipunplugged.com and antoine.brodin at laposte.net
3715    via FreeBSD.
3716
3717 20051030
3718  - (djm) [contrib/suse/openssh.spec contrib/suse/rc.
3719    sshd contrib/suse/sysconfig.ssh] Bug #1106: Updated SuSE spec and init 
3720    files from imorgan AT nas.nasa.gov
3721  - (dtucker) [session.c] Bug #1045do not check /etc/nologin when PAM is
3722    enabled, instead allow PAM to handle it.  Note that on platforms using PAM,
3723    the pam_nologin module should be added to sshd's session stack in order to
3724    maintain exising behaviour.  Based on patch and discussion from t8m at
3725    centrum.cz, ok djm@
3726
3727 20051025
3728  - (dtucker) [configure.ac] Relocate LLONG_MAX calculation to after the
3729    sizeof(long long) checks, to make fixing bug #1104 easier (no changes
3730    yet).
3731  - (dtucker) [configure.ac] Bug #1104: Tru64's printf family doesn't
3732    understand "%lld", even though the compiler has "long long", so handle
3733    it as a special case.  Patch tested by mcaskill.scott at epa.gov.
3734  - (dtucker) [contrib/cygwin/ssh-user-config] Remove duplicate yes/no
3735    prompt.  Patch from vinschen at redhat.com.
3736
3737 20051017
3738  - (dtucker) [configure.ac] Bug #1097: Fix configure for cross-compiling.
3739    /etc/default/login report and testing from aabaker at iee.org, corrections
3740    from tim@.
3741
3742 20051009
3743  - (dtucker) [configure.ac defines.h openbsd-compat/vis.{c,h}] Sync current
3744    versions from OpenBSD.  ok djm@
3745
3746 20051008
3747  - (dtucker) [configure.ac] Bug #1098: define $MAIL for HP-UX; report from
3748    brian.smith at agilent com.
3749  - (djm) [configure.ac] missing 'test' call for -with-Werror test
3750
3751 20051005
3752  - (dtucker) [configure.ac sshd.8] Enable locked account check (a prepended
3753    "*LOCKED*" string) for FreeBSD.  Patch jeremie at le-hen.org and
3754    senthilkumar_sen at hotpop.com.
3755
3756 20051003
3757  - (dtucker) OpenBSD CVS Sync
3758    - markus@cvs.openbsd.org 2005/09/07 08:53:53
3759      [channels.c]
3760      enforce chanid != NULL; ok djm
3761    - markus@cvs.openbsd.org 2005/09/09 19:18:05
3762      [clientloop.c]
3763      typo; from mark at mcs.vuw.ac.nz, bug #1082
3764    - djm@cvs.openbsd.org 2005/09/13 23:40:07
3765      [sshd.c ssh.c misc.h sftp.c ssh-keygen.c ssh-keysign.c sftp-server.c
3766      scp.c misc.c ssh-keyscan.c ssh-add.c ssh-agent.c]
3767      ensure that stdio fds are attached; ok deraadt@
3768    - djm@cvs.openbsd.org 2005/09/19 11:37:34
3769      [ssh_config.5 ssh.1]
3770      mention ability to specify bind_address for DynamicForward and -D options;
3771      bz#1077 spotted by Haruyama Seigo
3772    - djm@cvs.openbsd.org 2005/09/19 11:47:09
3773      [sshd.c]
3774      stop connection abort on rekey with delayed compression enabled when
3775      post-auth privsep is disabled (e.g. when root is logged in); ok dtucker@
3776    - djm@cvs.openbsd.org 2005/09/19 11:48:10
3777      [gss-serv.c]
3778      typo
3779    - jmc@cvs.openbsd.org 2005/09/19 15:38:27
3780      [ssh.1]
3781      some more .Bk/.Ek to avoid ugly line split;
3782    - jmc@cvs.openbsd.org 2005/09/19 15:42:44
3783      [ssh.c]
3784      update -D usage here too;
3785    - djm@cvs.openbsd.org 2005/09/19 23:31:31
3786      [ssh.1]
3787      spelling nit from stevesk@
3788    - djm@cvs.openbsd.org 2005/09/21 23:36:54
3789      [sshd_config.5]
3790      aquire -> acquire, from stevesk@
3791    - djm@cvs.openbsd.org 2005/09/21 23:37:11
3792      [sshd.c]
3793      change label at markus@'s request
3794    - jaredy@cvs.openbsd.org 2005/09/30 20:34:26
3795      [ssh-keyscan.1]
3796      deploy .An -nosplit; ok jmc
3797    - dtucker@cvs.openbsd.org 2005/10/03 07:44:42
3798      [canohost.c]
3799      Relocate check_ip_options call to prevent logging of garbage for
3800      connections with IP options set.  bz#1092 from David Leonard,
3801      "looks good" deraadt@
3802  - (dtucker) [regress/README.regress] Bug #989: Document limitation that scp
3803    is required in the system path for the multiplex test to work.
3804
3805 20050930
3806  - (dtucker) [openbsd-compat/openbsd-compat.h] Bug #1096: Add prototype
3807    for strtoll.  Patch from o.flebbe at science-computing.de.
3808  - (dtucker) [monitor.c] Bug #1087: Send loginmsg to preauth privsep
3809    child during PAM account check without clearing it.  This restores the
3810    post-login warnings such as LDAP password expiry.  Patch from Tomas Mraz
3811    with help from several others.
3812
3813 20050929
3814  - (dtucker) [monitor_wrap.c] Remove duplicate definition of loginmsg
3815    introduced during sync.
3816
3817 20050928
3818  - (dtucker) [entropy.c] Use u_char for receiving RNG seed for consistency.
3819  - (dtucker) [auth-pam.c] Bug #1028: send final non-query messages from
3820    PAM via keyboard-interactive.  Patch tested by the folks at Vintela.
3821
3822 20050927
3823  - (dtucker) [entropy.c] Remove unnecessary tests for getuid and geteuid
3824    calls, since they can't possibly fail.  ok djm@
3825  - (dtucker) [entropy.c entropy.h sshd.c] Pass RNG seed to the reexec'ed
3826    process when sshd relies on ssh-random-helper.  Should result in faster
3827    logins on systems without a real random device or prngd.  ok djm@
3828
3829 20050924
3830  - (dtucker) [auth2.c] Move start_pam() calls out of if-else block to remove
3831    duplicate call.  ok djm@
3832
3833 20050922
3834  - (dtucker) [configure.ac] Use -R linker flag for libedit too; patch from
3835    skeleten at shillest.net.
3836  - (dtucker) [configure.ac] Fix help for --with-opensc; patch from skeleten at
3837    shillest.net.
3838
3839 20050919
3840  - (tim) [aclocal.m4 configure.ac] Delete acconfig.h and add templates to
3841    AC_DEFINE and AC_DEFINE_UNQUOTED to quiet autoconf 2.59 warning messages.
3842    ok dtucker@
3843
3844 20050912
3845  - (tim) [configure.ac] Bug 1078. Fix --without-kerberos5. Reported by
3846    Mike Frysinger.
3847
3848 20050908
3849  - (tim) [defines.h openbsd-compat/port-uw.c] Add long password support to
3850    OpenServer 6 and add osr5bigcrypt support so when someone migrates
3851    passwords between UnixWare and OpenServer they will still work. OK dtucker@
3852
3853 $Id$
This page took 0.420755 seconds and 5 git commands to generate.