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