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