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