]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
markus@openbsd.org [Thu, 15 Jan 2015 21:38:50 +0000 (21:38 +0000)]
upstream commit
remove xmalloc, switch to sshbuf
markus@openbsd.org [Thu, 15 Jan 2015 21:37:14 +0000 (21:37 +0000)]
upstream commit
switch to sshbuf
naddy@openbsd.org [Thu, 15 Jan 2015 18:32:54 +0000 (18:32 +0000)]
upstream commit
handle UMAC128 initialization like UMAC; ok djm@ markus@
djm@openbsd.org [Thu, 15 Jan 2015 11:04:36 +0000 (11:04 +0000)]
upstream commit
fix regression reported by brad@ for passworded keys without
agent present
Damien Miller [Thu, 15 Jan 2015 11:08:23 +0000 (22:08 +1100)]
make bitmap test compile
djm@openbsd.org [Thu, 15 Jan 2015 07:36:28 +0000 (07:36 +0000)]
upstream commit
unit tests for KRL bitmap
markus@openbsd.org [Wed, 14 Jan 2015 09:58:21 +0000 (09:58 +0000)]
upstream commit
re-add comment about full path
markus@openbsd.org [Wed, 14 Jan 2015 09:54:38 +0000 (09:54 +0000)]
upstream commit
don't reset to the installed sshd; connect before
reconfigure, too
djm@openbsd.org [Tue, 13 Jan 2015 14:51:51 +0000 (14:51 +0000)]
upstream commit
implement a SIGINFO handler so we can discern a stuck
fuzz test from a merely glacial one; prompted by and ok markus
djm@openbsd.org [Tue, 13 Jan 2015 08:23:26 +0000 (08:23 +0000)]
upstream commit
use $SSH instead of installed ssh to allow override;
spotted by markus@
djm@openbsd.org [Tue, 13 Jan 2015 07:49:49 +0000 (07:49 +0000)]
upstream commit
regress test for PubkeyAcceptedKeyTypes; ok markus@
markus@openbsd.org [Mon, 12 Jan 2015 20:13:27 +0000 (20:13 +0000)]
upstream commit
unbreak parsing of pubkey comments; with gerhard; ok
djm/deraadt
djm@openbsd.org [Mon, 12 Jan 2015 11:46:32 +0000 (11:46 +0000)]
upstream commit
fatal if soft-PKCS11 library is missing rather (rather
than continue and fail with a more cryptic error)
djm@openbsd.org [Mon, 12 Jan 2015 11:12:38 +0000 (11:12 +0000)]
upstream commit
let this test all supporte key types; pointed out/ok
markus@
djm@openbsd.org [Thu, 15 Jan 2015 09:40:00 +0000 (09:40 +0000)]
upstream commit
sync ssh-keysign, ssh-keygen and some dependencies to the
new buffer/key API; mostly mechanical, ok markus@
djm@openbsd.org [Thu, 15 Jan 2015 07:57:08 +0000 (07:57 +0000)]
upstream commit
remove commented-out test code now that it has moved to a
proper unit test
djm@openbsd.org [Wed, 14 Jan 2015 20:54:29 +0000 (20:54 +0000)]
upstream commit
whitespace
djm@openbsd.org [Wed, 14 Jan 2015 20:05:27 +0000 (20:05 +0000)]
upstream commit
move authfd.c and its tentacles to the new buffer/key
API; ok markus@
djm@openbsd.org [Wed, 14 Jan 2015 19:33:41 +0000 (19:33 +0000)]
upstream commit
fix small regression: ssh-agent would return a success
message but an empty signature if asked to sign using an unknown key; ok
markus@
Damien Miller [Wed, 14 Jan 2015 16:08:58 +0000 (03:08 +1100)]
more --without-openssl
fix some regressions caused by upstream merges
enable KRLs now that they no longer require BIGNUMs
Damien Miller [Wed, 14 Jan 2015 16:08:29 +0000 (03:08 +1100)]
kludge around tun API mismatch betterer
Damien Miller [Wed, 14 Jan 2015 15:59:51 +0000 (02:59 +1100)]
some systems lack SO_REUSEPORT
Damien Miller [Wed, 14 Jan 2015 15:35:50 +0000 (02:35 +1100)]
fix merge botch
Damien Miller [Wed, 14 Jan 2015 15:35:33 +0000 (02:35 +1100)]
unbreak across API change
Damien Miller [Wed, 14 Jan 2015 15:30:18 +0000 (02:30 +1100)]
need includes.h for portable OpenSSH
Damien Miller [Wed, 14 Jan 2015 15:21:31 +0000 (02:21 +1100)]
support --without-openssl at configure time
Disables and removes dependency on OpenSSL. Many features don't
work and the set of crypto options is greatly restricted. This
will only work on system with native arc4random or /dev/urandom.
Considered highly experimental for now.
Damien Miller [Wed, 14 Jan 2015 15:28:00 +0000 (02:28 +1100)]
add files missed in last commit
djm@openbsd.org [Wed, 14 Jan 2015 15:02:39 +0000 (15:02 +0000)]
upstream commit
avoid BIGNUM in KRL code by using a simple bitmap;
feedback and ok markus
djm@openbsd.org [Wed, 14 Jan 2015 13:54:13 +0000 (13:54 +0000)]
upstream commit
update sftp client and server to new buffer API. pretty
much just mechanical changes; with & ok markus
markus@openbsd.org [Wed, 14 Jan 2015 13:09:09 +0000 (13:09 +0000)]
upstream commit
switch to sshbuf/sshkey; with & ok djm@
Damien Miller [Wed, 14 Jan 2015 10:48:18 +0000 (21:48 +1100)]
support --without-openssl at configure time
Disables and removes dependency on OpenSSL. Many features don't
work and the set of crypto options is greatly restricted. This
will only work on system with native arc4random or /dev/urandom.
Considered highly experimental for now.
djm@openbsd.org [Wed, 14 Jan 2015 10:46:28 +0000 (10:46 +0000)]
upstream commit
avoid an warning for the !OPENSSL case
markus@openbsd.org [Wed, 14 Jan 2015 10:30:34 +0000 (10:30 +0000)]
upstream commit
swith auth-options to new sshbuf/sshkey; ok djm@
djm@openbsd.org [Wed, 14 Jan 2015 10:29:45 +0000 (10:29 +0000)]
upstream commit
make non-OpenSSL aes-ctr work on sshd w/ privsep; ok
markus@
markus@openbsd.org [Wed, 14 Jan 2015 10:24:42 +0000 (10:24 +0000)]
upstream commit
remove unneeded includes, sync my copyright across files
& whitespace; ok djm@
markus@openbsd.org [Tue, 13 Jan 2015 19:31:40 +0000 (19:31 +0000)]
upstream commit
adapt mac.c to ssherr.h return codes (de-fatal) and
simplify dependencies ok djm@
djm@openbsd.org [Tue, 13 Jan 2015 19:04:35 +0000 (19:04 +0000)]
upstream commit
sync changes from libopenssh; prepared by markus@ mostly
debug output tweaks, a couple of error return value changes and some other
minor stuff
Damien Miller [Tue, 13 Jan 2015 08:38:18 +0000 (19:38 +1100)]
add --without-ssh1 option to configure
Allows disabling support for SSH protocol 1.
djm@openbsd.org [Tue, 13 Jan 2015 07:39:19 +0000 (07:39 +0000)]
upstream commit
add sshd_config HostbasedAcceptedKeyTypes and
PubkeyAcceptedKeyTypes options to allow sshd to control what public key types
will be accepted. Currently defaults to all. Feedback & ok markus@
markus@openbsd.org [Mon, 12 Jan 2015 20:13:27 +0000 (20:13 +0000)]
upstream commit
unbreak parsing of pubkey comments; with gerhard; ok
djm/deraadt
markus@openbsd.org [Mon, 12 Jan 2015 19:22:46 +0000 (19:22 +0000)]
upstream commit
missing error assigment on sshbuf_put_string()
djm@openbsd.org [Mon, 12 Jan 2015 15:18:07 +0000 (15:18 +0000)]
upstream commit
apparently memcpy(x, NULL, 0) is undefined behaviour
according to C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls
when length==0; ok markus@
markus@openbsd.org [Mon, 12 Jan 2015 14:05:19 +0000 (14:05 +0000)]
upstream commit
free->sshkey_free; ok djm@
markus@openbsd.org [Mon, 12 Jan 2015 13:29:27 +0000 (13:29 +0000)]
upstream commit
allow WITH_OPENSSL w/o WITH_SSH1; ok djm@
djm@openbsd.org [Thu, 8 Jan 2015 13:10:58 +0000 (13:10 +0000)]
upstream commit
adjust for sshkey_load_file() API change
djm@openbsd.org [Thu, 8 Jan 2015 13:44:36 +0000 (13:44 +0000)]
upstream commit
fix ssh_config FingerprintHash evaluation order; from Petr
Lautrbach
djm@openbsd.org [Thu, 8 Jan 2015 10:15:45 +0000 (10:15 +0000)]
upstream commit
reorder hostbased key attempts to better match the
default hostkey algorithms order in myproposal.h; ok markus@
djm@openbsd.org [Thu, 8 Jan 2015 10:14:08 +0000 (10:14 +0000)]
upstream commit
deprecate key_load_private_pem() and
sshkey_load_private_pem() interfaces. Refactor the generic key loading API to
not require pathnames to be specified (they weren't really used).
Fixes a few other things en passant:
Makes
ed25519 keys work for hostbased authentication (ssh-keysign
previously used the PEM-only routines).
Fixes key comment regression bz#2306: key pathnames were being lost as
comment fields.
ok markus@
tedu@openbsd.org [Wed, 7 Jan 2015 18:15:07 +0000 (18:15 +0000)]
upstream commit
workaround for the Meyer, et al, Bleichenbacher Side
Channel Attack. fake up a bignum key before RSA decryption. discussed/ok djm
markus
djm@openbsd.org [Tue, 23 Dec 2014 22:42:48 +0000 (22:42 +0000)]
upstream commit
KNF and add a little more debug()
jmc@openbsd.org [Mon, 22 Dec 2014 09:26:31 +0000 (09:26 +0000)]
upstream commit
add fingerprinthash to the options list;
jmc@openbsd.org [Mon, 22 Dec 2014 09:24:59 +0000 (09:24 +0000)]
upstream commit
tweak previous;
Damien Miller [Mon, 29 Dec 2014 21:16:11 +0000 (08:16 +1100)]
avoid uninitialised free of ldns_res
If an invalid rdclass was passed to getrrsetbyname() then
this would execute a free on an uninitialised pointer.
OpenSSH only ever calls this with a fixed and valid rdclass.
Reported by Joshua Rogers
Damien Miller [Mon, 29 Dec 2014 07:10:18 +0000 (18:10 +1100)]
pull updated OpenBSD BCrypt PBKDF implementation
Includes fix for 1 byte output overflow for large key length
requests (not reachable in OpenSSH).
Pointed out by Joshua Rogers
Damien Miller [Tue, 23 Dec 2014 04:26:13 +0000 (15:26 +1100)]
fix variable name for IPv6 case in construct_utmpx
patch from writeonce AT midipix.org via bz#2296
Damien Miller [Mon, 22 Dec 2014 05:30:42 +0000 (16:30 +1100)]
include and use OpenBSD netcat in regress/
djm@openbsd.org [Mon, 22 Dec 2014 09:05:17 +0000 (09:05 +0000)]
upstream commit
mention ssh -Q feature to list supported { MAC, cipher,
KEX, key } algorithms in more places and include the query string used to
list the relevant information; bz#2288
jmc@openbsd.org [Mon, 22 Dec 2014 08:24:17 +0000 (08:24 +0000)]
upstream commit
tweak previous;
djm@openbsd.org [Mon, 22 Dec 2014 08:06:03 +0000 (08:06 +0000)]
upstream commit
regression test for multiple required pubkey authentication;
ok markus@
djm@openbsd.org [Mon, 22 Dec 2014 08:04:23 +0000 (08:04 +0000)]
upstream commit
correct description of what will happen when a
AuthorizedKeysCommand is specified but AuthorizedKeysCommandUser is not (sshd
will refuse to start)
djm@openbsd.org [Mon, 22 Dec 2014 07:55:51 +0000 (07:55 +0000)]
upstream commit
make internal handling of filename arguments of "none"
more consistent with ssh. "none" arguments are now replaced with NULL when
the configuration is finalised.
Simplifies checking later on (just need to test not-NULL rather than
that + strcmp) and cleans up some inconsistencies. ok markus@
djm@openbsd.org [Mon, 22 Dec 2014 07:51:30 +0000 (07:51 +0000)]
upstream commit
remember which public keys have been used for
authentication and refuse to accept previously-used keys.
This allows AuthenticationMethods=publickey,publickey to require
that users authenticate using two _different_ pubkeys.
ok markus@
djm@openbsd.org [Mon, 22 Dec 2014 07:24:11 +0000 (07:24 +0000)]
upstream commit
fix passing of wildcard forward bind addresses when
connection multiplexing is in use; patch from Sami Hartikainen via bz#2324;
ok dtucker@
djm@openbsd.org [Mon, 22 Dec 2014 06:14:29 +0000 (06:14 +0000)]
upstream commit
make this slightly easier to diff against portable
Damien Miller [Mon, 22 Dec 2014 02:47:07 +0000 (13:47 +1100)]
add missing regress output file
djm@openbsd.org [Mon, 22 Dec 2014 02:15:52 +0000 (02:15 +0000)]
upstream commit
adjust for new SHA256 key fingerprints and
slightly-different MD5 hex fingerprint format
djm@openbsd.org [Mon, 22 Dec 2014 01:14:49 +0000 (01:14 +0000)]
upstream commit
poll changes to netcat (usr.bin/netcat.c r1.125) broke
this test; fix it by ensuring more stdio fds are sent to devnull
jmc@openbsd.org [Sun, 21 Dec 2014 23:35:14 +0000 (23:35 +0000)]
upstream commit
tweak previous;
djm@openbsd.org [Sun, 21 Dec 2014 23:12:42 +0000 (23:12 +0000)]
upstream commit
document FingerprintHash here too
Damien Miller [Sun, 21 Dec 2014 23:18:09 +0000 (10:18 +1100)]
missing include for base64 encoding
djm@openbsd.org [Sun, 21 Dec 2014 22:27:55 +0000 (22:27 +0000)]
upstream commit
Add FingerprintHash option to control algorithm used for
key fingerprints. Default changes from MD5 to SHA256 and format from hex to
base64.
Feedback and ok naddy@ markus@
djm@openbsd.org [Thu, 18 Dec 2014 23:58:04 +0000 (23:58 +0000)]
upstream commit
don't count partial authentication success as a failure
against MaxAuthTries; ok deraadt@
djm@openbsd.org [Fri, 12 Dec 2014 00:02:17 +0000 (00:02 +0000)]
upstream commit
revert chunk I didn't mean to commit yet; via jmc@
Damien Miller [Thu, 18 Dec 2014 00:44:06 +0000 (11:44 +1100)]
upstream libc change
revision 1.2
date: 2014/12/08 03:45:00; author: bcook; state: Exp; lines: +2 -2; commitid: 7zWEBgJJOCZ2hvTV;
avoid left shift overflow in reallocarray.
Some 64-bit platforms (e.g. Windows 64) have a 32-bit long. So, shifting
1UL 32-bits to the left causes an overflow. This replaces the constant 1UL with
(size_t)1 so that we get the correct constant size for the platform.
discussed with tedu@ & deraadt@
Damien Miller [Wed, 17 Dec 2014 23:15:49 +0000 (10:15 +1100)]
include CFLAGS in gnome askpass targets
from Fedora
djm@openbsd.org [Thu, 11 Dec 2014 08:20:09 +0000 (08:20 +0000)]
upstream commit
explicitly include sys/param.h in files that use the
howmany() macro; from portable
djm@openbsd.org [Thu, 11 Dec 2014 05:25:06 +0000 (05:25 +0000)]
upstream commit
mention AuthorizedKeysCommandUser must be set for
AuthorizedKeysCommand to be run; bz#2287
djm@openbsd.org [Thu, 11 Dec 2014 05:13:28 +0000 (05:13 +0000)]
upstream commit
show in debug output which hostkeys are being tried when
attempting hostbased auth; patch from Iain Morgan
djm@openbsd.org [Thu, 11 Dec 2014 04:16:14 +0000 (04:16 +0000)]
upstream commit
Make manual reflect reality: sftp-server's -d option
accepts a "%d" option, not a "%h" one.
bz#2316; reported by Kirk Wolf
djm@openbsd.org [Wed, 10 Dec 2014 01:24:09 +0000 (01:24 +0000)]
upstream commit
better error value for invalid signature length
Darren Tucker [Tue, 9 Dec 2014 15:12:51 +0000 (02:12 +1100)]
Resync more with OpenBSD's rijndael.c, in particular "#if 0"-ing out some
unused code. Should fix compile error reported by plautrba at redhat.
Darren Tucker [Tue, 9 Dec 2014 14:32:23 +0000 (01:32 +1100)]
Add reallocarray to compat library
djm@openbsd.org [Thu, 4 Dec 2014 22:31:50 +0000 (22:31 +0000)]
upstream commit
add tests for new client RevokedHostKeys option; refactor
to make it a bit more readable
krw@openbsd.org [Wed, 19 Nov 2014 13:35:37 +0000 (13:35 +0000)]
upstream commit
Nuke yet more obvious #include duplications.
ok deraadt@
djm@openbsd.org [Thu, 4 Dec 2014 20:47:36 +0000 (20:47 +0000)]
upstream commit
key_in_file() wrapper is no longer used
djm@openbsd.org [Thu, 4 Dec 2014 02:24:32 +0000 (02:24 +0000)]
upstream commit
add RevokedHostKeys option for the client
Allow textfile or KRL-based revocation of hostkeys.
djm@openbsd.org [Thu, 4 Dec 2014 01:49:59 +0000 (01:49 +0000)]
upstream commit
convert KRL code to new buffer API
ok markus@
millert@openbsd.org [Wed, 26 Nov 2014 18:34:51 +0000 (18:34 +0000)]
upstream commit
Prefer setvbuf() to setlinebuf() for portability; ok
deraadt@
jsg@openbsd.org [Mon, 24 Nov 2014 03:39:22 +0000 (03:39 +0000)]
upstream commit
Fix crashes in the handling of the sshd config file found
with the afl fuzzer.
ok deraadt@ djm@
Damien Miller [Wed, 26 Nov 2014 02:22:41 +0000 (13:22 +1100)]
Avoid Cygwin ssh-host-config reading /etc/group
Patch from Corinna Vinschen
Damien Miller [Wed, 26 Nov 2014 02:20:35 +0000 (13:20 +1100)]
allow custom service name for sshd on Cygwin
Permits the use of multiple sshd running with different service names.
Patch by Florian Friesdorf via Corinna Vinschen
jmc@openbsd.org [Sat, 22 Nov 2014 19:21:03 +0000 (19:21 +0000)]
upstream commit
restore word zapped in previous, and remove some useless
"No" macros;
deraadt@openbsd.org [Sat, 22 Nov 2014 18:15:41 +0000 (18:15 +0000)]
upstream commit
/dev/random has created the same effect as /dev/arandom
(and /dev/urandom) for quite some time. Mop up the last few, by using
/dev/random where we actually want it, or not even mentioning arandom where
it is irrelevant.
djm@openbsd.org [Fri, 21 Nov 2014 01:00:38 +0000 (01:00 +0000)]
upstream commit
fix NULL pointer dereference crash on invalid timestamp
found using Michal Zalewski's afl fuzzer
mikeb@openbsd.org [Tue, 18 Nov 2014 22:38:48 +0000 (22:38 +0000)]
upstream commit
Sync AES code to the one shipped in OpenSSL/LibreSSL.
This includes a commit made by Andy Polyakov <appro at openssl ! org>
to the OpenSSL source tree on Wed, 28 Jun 2006 with the following
message: "Mitigate cache-collision timing attack on last round."
OK naddy, miod, djm
krw@openbsd.org [Tue, 18 Nov 2014 20:54:28 +0000 (20:54 +0000)]
upstream commit
Nuke more obvious #include duplications.
ok deraadt@ millert@ tedu@
djm@openbsd.org [Mon, 17 Nov 2014 00:21:40 +0000 (00:21 +0000)]
upstream commit
fix KRL generation when multiple CAs are in use
We would generate an invalid KRL when revoking certs by serial
number for multiple CA keys due to a section being written out
twice.
Also extend the regress test to catch this case by having it
produce a multi-CA KRL.
Reported by peter AT pean.org
djm@openbsd.org [Tue, 18 Nov 2014 01:02:25 +0000 (01:02 +0000)]
upstream commit
fix NULL pointer dereference crash in key loading
found by Michal Zalewski's AFL fuzzer
djm@openbsd.org [Mon, 17 Nov 2014 00:21:40 +0000 (00:21 +0000)]
upstream commit
fix KRL generation when multiple CAs are in use
We would generate an invalid KRL when revoking certs by serial
number for multiple CA keys due to a section being written out
twice.
Also extend the regress test to catch this case by having it
produce a multi-CA KRL.
Reported by peter AT pean.org
bentley@openbsd.org [Sat, 15 Nov 2014 14:41:03 +0000 (14:41 +0000)]
upstream commit
Reduce instances of `` '' in manuals.
troff displays these as typographic quotes, but nroff implementations
almost always print them literally, which rarely has the intended effect
with modern fonts, even in stock xterm.
These uses of `` '' can be replaced either with more semantic alternatives
or with Dq, which prints typographic quotes in a UTF-8 locale (but will
automatically fall back to `` '' in an ASCII locale).
improvements and ok schwarze@