]> git.ipfire.org Git - thirdparty/openssh-portable.git/log
thirdparty/openssh-portable.git
10 years agomkdir kex unit test directory so testing out of tree builds works
Tim Rice [Sun, 22 Feb 2015 02:08:51 +0000 (18:08 -0800)] 
mkdir kex unit test directory so testing out of tree builds works

10 years agoupstream commit
halex@openbsd.org [Sat, 21 Feb 2015 21:46:57 +0000 (21:46 +0000)] 
upstream commit

make "ssh-add -d" properly remove a corresponding
 certificate, and also not whine and fail if there is none

ok djm@

10 years agomkdir hostkey and bitmap unit test directories
Damien Miller [Sat, 21 Feb 2015 20:57:27 +0000 (07:57 +1100)] 
mkdir hostkey and bitmap unit test directories

10 years agoupstream commit
djm@openbsd.org [Fri, 20 Feb 2015 23:46:01 +0000 (23:46 +0000)] 
upstream commit

sort options useable under Match case-insensitively; prodded
 jmc@

10 years agoupstream commit
djm@openbsd.org [Sat, 21 Feb 2015 20:51:02 +0000 (20:51 +0000)] 
upstream commit

correct paths to configuration files being written/updated;
 they live in $OBJ not cwd; some by Roumen Petrov

10 years agoMore correct checking of HAVE_DECL_AI_NUMERICSERV.
Darren Tucker [Sat, 21 Feb 2015 04:41:07 +0000 (15:41 +1100)] 
More correct checking of HAVE_DECL_AI_NUMERICSERV.

10 years agoAdd null declaration of AI_NUMERICINFO.
Darren Tucker [Sat, 21 Feb 2015 04:10:33 +0000 (15:10 +1100)] 
Add null declaration of AI_NUMERICINFO.

Some platforms (older FreeBSD and DragonFly versions) do have
getaddrinfo() but do not have AI_NUMERICINFO. so define it to zero
in those cases.

10 years agoupstream commit
djm@openbsd.org [Fri, 20 Feb 2015 22:40:32 +0000 (22:40 +0000)] 
upstream commit

more options that are available under Match; bz#2353 reported
 by calestyo AT scientia.net

10 years agoupstream commit
djm@openbsd.org [Fri, 20 Feb 2015 22:17:21 +0000 (22:17 +0000)] 
upstream commit

UpdateHostKeys fixes:

I accidentally changed the format of the hostkeys@openssh.com messages
last week without changing the extension name, and this has been causing
connection failures for people who are running -current. First reported
by sthen@

s/hostkeys@openssh.com/hostkeys-00@openssh.com/
Change the name of the proof message too, and reorder it a little.

Also, UpdateHostKeys=ask is incompatible with ControlPersist (no TTY
available to read the response) so disable UpdateHostKeys if it is in
ask mode and ControlPersist is active (and document this)

10 years agoupstream commit
djm@openbsd.org [Tue, 17 Feb 2015 00:14:05 +0000 (00:14 +0000)] 
upstream commit

Regression: I broke logging of public key fingerprints in
 1.46. Pointed out by Pontus Lundkvist

10 years agorepair --without-openssl; broken in refactor
Damien Miller [Fri, 30 Jan 2015 12:10:17 +0000 (23:10 +1100)] 
repair --without-openssl; broken in refactor

10 years agohook up hostkeys unittest to portable Makefiles
Damien Miller [Mon, 16 Feb 2015 23:04:55 +0000 (10:04 +1100)] 
hook up hostkeys unittest to portable Makefiles

10 years agoupstream commit
djm@openbsd.org [Mon, 16 Feb 2015 22:21:03 +0000 (22:21 +0000)] 
upstream commit

enable hostkeys unit tests

10 years agoupstream commit
djm@openbsd.org [Mon, 16 Feb 2015 22:20:50 +0000 (22:20 +0000)] 
upstream commit

check string/memory compare arguments aren't NULL

10 years agoupstream commit
djm@openbsd.org [Mon, 16 Feb 2015 22:18:34 +0000 (22:18 +0000)] 
upstream commit

unit tests for hostfile.c code, just hostkeys_foreach so
 far

10 years agoupstream commit
markus@openbsd.org [Sat, 14 Feb 2015 12:43:16 +0000 (12:43 +0000)] 
upstream commit

test server rekey limit

10 years agoupstream commit
djm@openbsd.org [Mon, 16 Feb 2015 22:30:03 +0000 (22:30 +0000)] 
upstream commit

partial backout of:

revision 1.441
date: 2015/01/31 20:30:05;  author: djm;  state: Exp;  lines: +17 -10;  commitid
: x8klYPZMJSrVlt3O;
Let sshd load public host keys even when private keys are missing.
Allows sshd to advertise additional keys for future key rotation.
Also log fingerprint of hostkeys loaded; ok markus@

hostkey updates now require access to the private key, so we can't
load public keys only. The improved log messages (fingerprints of keys
loaded) are kept.

10 years agoupstream commit
djm@openbsd.org [Mon, 16 Feb 2015 22:13:32 +0000 (22:13 +0000)] 
upstream commit

Revise hostkeys@openssh.com hostkey learning extension.

The client will not ask the server to prove ownership of the private
halves of any hitherto-unseen hostkeys it offers to the client.

Allow UpdateHostKeys option to take an 'ask' argument to let the
user manually review keys offered.

ok markus@

10 years agoupstream commit
djm@openbsd.org [Mon, 16 Feb 2015 22:08:57 +0000 (22:08 +0000)] 
upstream commit

Refactor hostkeys_foreach() and dependent code Deal with
 IP addresses (i.e. CheckHostIP) Don't clobber known_hosts when nothing
 changed ok markus@ as part of larger commit

10 years agoupstream commit
miod@openbsd.org [Mon, 16 Feb 2015 18:26:26 +0000 (18:26 +0000)] 
upstream commit

Declare ge25519_base as extern, to prevent it from
 becoming a common. Gets us rid of ``lignment 4 of symbol
 `crypto_sign_ed25519_ref_ge25519_base' in mod_ge25519.o is smaller than 16 in
 mod_ed25519.o'' warnings at link time.

10 years agoupstream commit
markus@openbsd.org [Fri, 13 Feb 2015 18:57:00 +0000 (18:57 +0000)] 
upstream commit

make rekey_limit for sshd w/privsep work; ok djm@
 dtucker@

10 years agoupstream commit
dtucker@openbsd.org [Thu, 12 Feb 2015 20:34:19 +0000 (20:34 +0000)] 
upstream commit

Prevent sshd spamming syslog with
 "ssh_dispatch_run_fatal: disconnected". ok markus@

10 years agoupstream commit
djm@openbsd.org [Wed, 11 Feb 2015 01:20:38 +0000 (01:20 +0000)] 
upstream commit

Some packet error messages show the address of the peer,
 but might be generated after the socket to the peer has suffered a TCP reset.
 In these cases, getpeername() won't work so cache the address earlier.

spotted in the wild via deraadt@ and tedu@

10 years agoupstream commit
jsg@openbsd.org [Mon, 9 Feb 2015 23:22:37 +0000 (23:22 +0000)] 
upstream commit

fix some leaks in error paths ok markus@

10 years agoupstream commit
millert@openbsd.org [Fri, 6 Feb 2015 23:21:59 +0000 (23:21 +0000)] 
upstream commit

SIZE_MAX is standard, we should be using it in preference to
 the obsolete SIZE_T_MAX.  OK miod@ beck@

10 years agoupstream commit
millert@openbsd.org [Thu, 5 Feb 2015 12:59:57 +0000 (12:59 +0000)] 
upstream commit

Include stdint.h, not limits.h to get SIZE_MAX.  OK guenther@

10 years agoupstream commit
deraadt@openbsd.org [Tue, 3 Feb 2015 08:07:20 +0000 (08:07 +0000)] 
upstream commit

missing ; djm and mlarkin really having great
 interactions recently

10 years agoupstream commit
halex@openbsd.org [Tue, 3 Feb 2015 00:34:14 +0000 (00:34 +0000)] 
upstream commit

slightly extend the passphrase prompt if running with -c
 in order to give the user a chance to notice if unintentionally running
 without it

wording tweak and ok djm@

10 years agoupstream commit
djm@openbsd.org [Mon, 2 Feb 2015 22:48:53 +0000 (22:48 +0000)] 
upstream commit

handle PKCS#11 C_Login returning
 CKR_USER_ALREADY_LOGGED_IN; based on patch from Yuri Samoilenko; ok markus@

10 years agoupstream commit
djm@openbsd.org [Mon, 2 Feb 2015 07:41:40 +0000 (07:41 +0000)] 
upstream commit

turn UpdateHostkeys off by default until I figure out
 mlarkin@'s warning message; requested by deraadt@

10 years agoupstream commit
deraadt@openbsd.org [Mon, 2 Feb 2015 01:57:44 +0000 (01:57 +0000)] 
upstream commit

increasing encounters with difficult DNS setups in
 darknets has convinced me UseDNS off by default is better ok djm

10 years agoupstream commit
djm@openbsd.org [Sat, 31 Jan 2015 20:30:05 +0000 (20:30 +0000)] 
upstream commit

Let sshd load public host keys even when private keys are
 missing. Allows sshd to advertise additional keys for future key rotation.
 Also log fingerprint of hostkeys loaded; ok markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 11:43:14 +0000 (11:43 +0000)] 
upstream commit

Add a ssh_config HostbasedKeyType option to control which
 host public key types are tried during hostbased authentication.

This may be used to prevent too many keys being sent to the server,
and blowing past its MaxAuthTries limit.

bz#2211 based on patch by Iain Morgan; ok markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 10:44:49 +0000 (10:44 +0000)] 
upstream commit

set a timeout to prevent hangs when talking to busted
 servers; ok markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 01:11:39 +0000 (01:11 +0000)] 
upstream commit

regression test for 'wildcard CA' serial/key ID revocations

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 01:13:33 +0000 (01:13 +0000)] 
upstream commit

avoid more fatal/exit in the packet.c paths that
 ssh-keyscan uses; feedback and "looks good" markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 01:10:33 +0000 (01:10 +0000)] 
upstream commit

permit KRLs that revoke certificates by serial number or
 key ID without scoping to a particular CA; ok markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 00:59:19 +0000 (00:59 +0000)] 
upstream commit

missing parentheses after if in do_convert_from() broke
 private key conversion from other formats some time in 2010; bz#2345 reported
 by jjelen AT redhat.com

10 years agoupstream commit
djm@openbsd.org [Fri, 30 Jan 2015 00:22:25 +0000 (00:22 +0000)] 
upstream commit

fix ssh protocol 1, spotted by miod@

10 years agoupstream commit
djm@openbsd.org [Wed, 28 Jan 2015 22:36:00 +0000 (22:36 +0000)] 
upstream commit

update to new API (key_fingerprint => sshkey_fingerprint)
 check sshkey_fingerprint return values; ok markus

10 years agoupstream commit
djm@openbsd.org [Wed, 28 Jan 2015 22:05:31 +0000 (22:05 +0000)] 
upstream commit

avoid fatal() calls in packet code makes ssh-keyscan more
 reliable against server failures ok dtucker@ markus@

10 years agoupstream commit
djm@openbsd.org [Wed, 28 Jan 2015 21:15:47 +0000 (21:15 +0000)] 
upstream commit

avoid fatal() calls in packet code makes ssh-keyscan more
 reliable against server failures ok dtucker@ markus@

10 years agoupstream commit
djm@openbsd.org [Wed, 28 Jan 2015 11:07:25 +0000 (11:07 +0000)] 
upstream commit

remove obsolete comment

10 years agoupstream commit
okan@openbsd.org [Tue, 27 Jan 2015 12:54:06 +0000 (12:54 +0000)] 
upstream commit

Since r1.2 removed the use of PRI* macros, inttypes.h is
 no longer required.

ok djm@

10 years agocompile on systems without TCP_MD5SIG (e.g. OSX)
Damien Miller [Tue, 27 Jan 2015 12:07:43 +0000 (23:07 +1100)] 
compile on systems without TCP_MD5SIG (e.g. OSX)

10 years agouse ssh-keygen under test rather than system's
Damien Miller [Tue, 27 Jan 2015 12:07:25 +0000 (23:07 +1100)] 
use ssh-keygen under test rather than system's

10 years agoOSX lacks HOST_NAME_MAX, has _POSIX_HOST_NAME_MAX
Damien Miller [Tue, 27 Jan 2015 12:06:59 +0000 (23:06 +1100)] 
OSX lacks HOST_NAME_MAX, has _POSIX_HOST_NAME_MAX

10 years agothese need active_state defined to link on OSX
Damien Miller [Tue, 27 Jan 2015 12:06:23 +0000 (23:06 +1100)] 
these need active_state defined to link on OSX

temporary measure until active_state goes away entirely

10 years agoupstream commit
djm@openbsd.org [Tue, 27 Jan 2015 12:01:36 +0000 (12:01 +0000)] 
upstream commit

use printf instead of echo -n to reduce diff against
 -portable

10 years agoupstream commit
jmc@openbsd.org [Mon, 26 Jan 2015 13:55:29 +0000 (13:55 +0000)] 
upstream commit

sort previous;

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 13:36:53 +0000 (13:36 +0000)] 
upstream commit

properly restore umask

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 06:12:18 +0000 (06:12 +0000)] 
upstream commit

regression test for host key rotation

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 06:11:28 +0000 (06:11 +0000)] 
upstream commit

adapt to sshkey API tweaks

10 years agoupstream commit
miod@openbsd.org [Sat, 24 Jan 2015 10:39:21 +0000 (10:39 +0000)] 
upstream commit

Move -lz late in the linker commandline for things to
 build on static arches.

10 years agoupstream commit
miod@openbsd.org [Fri, 23 Jan 2015 21:21:23 +0000 (21:21 +0000)] 
upstream commit

-Wpointer-sign is supported by gcc 4 only.

10 years agoupstream commit
djm@openbsd.org [Tue, 20 Jan 2015 22:58:57 +0000 (22:58 +0000)] 
upstream commit

use SUBDIR to recuse into unit tests; makes "make obj"
 actually work

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 12:16:36 +0000 (12:16 +0000)] 
upstream commit

correct description of UpdateHostKeys in ssh_config.5 and
 add it to -o lists for ssh, scp and sftp; pointed out by jmc@

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 06:10:03 +0000 (06:10 +0000)] 
upstream commit

correctly match ECDSA subtype (== curve) for
 offered/recevied host keys. Fixes connection-killing host key mismatches when
 a server offers multiple ECDSA keys with different curve type (an extremely
 unlikely configuration).

ok markus, "looks mechanical" deraadt@

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 03:04:45 +0000 (03:04 +0000)] 
upstream commit

Host key rotation support.

Add a hostkeys@openssh.com protocol extension (global request) for
a server to inform a client of all its available host key after
authentication has completed. The client may record the keys in
known_hosts, allowing it to upgrade to better host key algorithms
and a server to gracefully rotate its keys.

The client side of this is controlled by a UpdateHostkeys config
option (default on).

ok markus@

10 years agoupstream commit
djm@openbsd.org [Mon, 26 Jan 2015 02:59:11 +0000 (02:59 +0000)] 
upstream commit

small refactor and add some convenience functions; ok
 markus

10 years agoupstream commit
jmc@openbsd.org [Thu, 22 Jan 2015 21:00:42 +0000 (21:00 +0000)] 
upstream commit

heirarchy -> hierarchy;

10 years agoupstream commit
deraadt@openbsd.org [Thu, 22 Jan 2015 20:24:41 +0000 (20:24 +0000)] 
upstream commit

Provide a warning about chroot misuses (which sadly, seem
 to have become quite popular because shiny).  sshd cannot detect/manage/do
 anything about these cases, best we can do is warn in the right spot in the
 man page. ok markus

10 years agoupstream commit
deraadt@openbsd.org [Tue, 20 Jan 2015 23:14:00 +0000 (23:14 +0000)] 
upstream commit

Reduce use of <sys/param.h> and transition to <limits.h>
 throughout. ok djm markus

10 years agoupstream commit
markus@openbsd.org [Tue, 20 Jan 2015 20:16:21 +0000 (20:16 +0000)] 
upstream commit

kex_setup errors are fatal()

10 years agoupstream commit
djm@openbsd.org [Tue, 20 Jan 2015 08:02:33 +0000 (08:02 +0000)] 
upstream commit

this test would accidentally delete agent.sh if run without
 obj/

10 years agoupstream commit
djm@openbsd.org [Tue, 20 Jan 2015 07:56:44 +0000 (07:56 +0000)] 
upstream commit

make this compile with KERBEROS5 enabled

10 years agoupstream commit
djm@openbsd.org [Tue, 20 Jan 2015 07:55:33 +0000 (07:55 +0000)] 
upstream commit

fix hostkeys in agent; ok markus@

10 years agofix kex test
Damien Miller [Mon, 19 Jan 2015 23:11:31 +0000 (10:11 +1100)] 
fix kex test

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:45:25 +0000 (20:45 +0000)] 
upstream commit

finally enable the KEX tests I wrote some years ago...

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:42:31 +0000 (20:42 +0000)] 
upstream commit

adapt to new error message (SSH_ERR_MAC_INVALID)

10 years agoupstream commit
djm@openbsd.org [Mon, 19 Jan 2015 17:31:13 +0000 (17:31 +0000)] 
upstream commit

this test was broken in at least two ways, such that it
 wasn't checking that a KRL was not excluding valid keys

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:32:39 +0000 (20:32 +0000)] 
upstream commit

switch ssh-keyscan from setjmp to multiple ssh transport
 layer instances ok djm@

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:30:23 +0000 (20:30 +0000)] 
upstream commit

add experimental api for packet layer; ok djm@

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:20:20 +0000 (20:20 +0000)] 
upstream commit

store compat flags in struct ssh; ok djm@

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:16:15 +0000 (20:16 +0000)] 
upstream commit

adapt kex to sshbuf and struct ssh; ok djm@

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 20:07:45 +0000 (20:07 +0000)] 
upstream commit

move dispatch to struct ssh; ok djm@

10 years agoupstream commit
markus@openbsd.org [Mon, 19 Jan 2015 19:52:16 +0000 (19:52 +0000)] 
upstream commit

update packet.c & isolate, introduce struct ssh a) switch
 packet.c to buffer api and isolate per-connection info into struct ssh b)
 (de)serialization of the state is moved from monitor to packet.c c) the old
 packet.c API is implemented in opacket.[ch] d) compress.c/h is removed and
 integrated into packet.c with and ok djm@

10 years agoupstream commit
djm@openbsd.org [Mon, 19 Jan 2015 17:35:48 +0000 (17:35 +0000)] 
upstream commit

fix format strings in (disabled) debugging

10 years agoupstream commit
djm@openbsd.org [Mon, 19 Jan 2015 06:01:32 +0000 (06:01 +0000)] 
upstream commit

be a bit more careful in these tests to ensure that
 known_hosts is clean

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 22:00:18 +0000 (22:00 +0000)] 
upstream commit

regression test for known_host file editing using
 ssh-keygen (-H / -R / -F) after hostkeys_foreach() change; feedback and ok
 markus@

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 19:54:46 +0000 (19:54 +0000)] 
upstream commit

more and better key tests

test signatures and verification
test certificate generation
flesh out nested cert test

removes most of the XXX todo markers

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 19:53:58 +0000 (19:53 +0000)] 
upstream commit

make the signature fuzzing test much more rigorous:
 ensure that the fuzzed input cases do not match the original (using new
 fuzz_matches_original() function) and check that the verification fails in
 each case

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 19:52:44 +0000 (19:52 +0000)] 
upstream commit

add a fuzz_matches_original() function to the fuzzer to
 detect fuzz cases that are identical to the original data. Hacky
 implementation, but very useful when you need the fuzz to be different, e.g.
 when verifying signature

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 19:50:55 +0000 (19:50 +0000)] 
upstream commit

better dumps from the fuzzer (shown on errors) -
 include the original data as well as the fuzzed copy.

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 19:47:55 +0000 (19:47 +0000)] 
upstream commit

enable hostkey-agent.sh test

10 years agoupstream commit
djm@openbsd.org [Sat, 17 Jan 2015 18:54:30 +0000 (18:54 +0000)] 
upstream commit

unit test for hostkeys in ssh-agent

10 years agoupstream commit
markus@openbsd.org [Thu, 15 Jan 2015 23:41:29 +0000 (23:41 +0000)] 
upstream commit

add kex unit tests

10 years agoupstream commit
deraadt@openbsd.org [Mon, 19 Jan 2015 00:32:54 +0000 (00:32 +0000)] 
upstream commit

djm, your /usr/include tree is old

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 21:51:19 +0000 (21:51 +0000)] 
upstream commit

some feedback from markus@: comment hostkeys_foreach()
 context and avoid a member in it.

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 21:49:42 +0000 (21:49 +0000)] 
upstream commit

make ssh-keygen use hostkeys_foreach(). Removes some
 horrendous code; ok markus@

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 21:48:09 +0000 (21:48 +0000)] 
upstream commit

convert load_hostkeys() (hostkey ordering and
 known_host matching) to use the new hostkey_foreach() iterator; ok markus

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 21:40:23 +0000 (21:40 +0000)] 
upstream commit

introduce hostkeys_foreach() to allow iteration over a
 known_hosts file or controlled subset thereof. This will allow us to pull out
 some ugly and duplicated code, and will be used to implement hostkey rotation
 later.

feedback and ok markus

10 years agoupstream commit
deraadt@openbsd.org [Sun, 18 Jan 2015 14:01:00 +0000 (14:01 +0000)] 
upstream commit

string truncation due to sizeof(size) ok djm markus

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 13:33:34 +0000 (13:33 +0000)] 
upstream commit

avoid trailing ',' in host key algorithms

10 years agoupstream commit
djm@openbsd.org [Sun, 18 Jan 2015 13:22:28 +0000 (13:22 +0000)] 
upstream commit

infer key length correctly when user specified a fully-
 qualified key name instead of using the -b bits option; ok markus@

10 years agoupstream commit
djm@openbsd.org [Sat, 17 Jan 2015 18:53:34 +0000 (18:53 +0000)] 
upstream commit

fix hostkeys on ssh agent; found by unit test I'm about
 to commit

10 years agoupstream commit
schwarze@openbsd.org [Fri, 16 Jan 2015 16:20:23 +0000 (16:20 +0000)] 
upstream commit

garbage collect empty .No macros mandoc warns about

10 years agoupstream commit
djm@openbsd.org [Fri, 16 Jan 2015 15:55:07 +0000 (15:55 +0000)] 
upstream commit

regression: incorrect error message on
 otherwise-successful ssh-keygen -A. Reported by Dmitry Orlov, via deraadt@

10 years agoupstream commit
djm@openbsd.org [Fri, 16 Jan 2015 07:19:48 +0000 (07:19 +0000)] 
upstream commit

when hostname canonicalisation is enabled, try to parse
 hostnames as addresses before looking them up for canonicalisation. fixes
 bz#2074 and avoids needless DNS lookups in some cases; ok markus

10 years agoupstream commit
deraadt@openbsd.org [Fri, 16 Jan 2015 06:40:12 +0000 (06:40 +0000)] 
upstream commit

Replace <sys/param.h> with <limits.h> and other less
 dirty headers where possible.  Annotate <sys/param.h> lines with their
 current reasons.  Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1,
 LOGIN_NAME_MAX, etc.  Change MIN() and MAX() to local definitions of
 MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution.
 These are the files confirmed through binary verification. ok guenther,
 millert, doug (helped with the verification protocol)