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