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