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