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