]> git.ipfire.org Git - thirdparty/openssh-portable.git/log
thirdparty/openssh-portable.git
10 years agoRemove unneeded backslashes. Patch from Ángel González
Tim Rice [Thu, 4 Jun 2015 04:41:11 +0000 (21:41 -0700)] 
Remove unneeded backslashes. Patch from Ángel González

10 years agoupstream commit
djm@openbsd.org [Tue, 2 Jun 2015 09:10:40 +0000 (09:10 +0000)] 
upstream commit

mention CheckHostIP adding addresses to known_hosts;
 bz#1993; ok dtucker@

Upstream-ID: fd44b68440fd0dc29abf9f2d3f703d74a2396cb7

10 years agoReplace strcpy with strlcpy.
Darren Tucker [Tue, 2 Jun 2015 10:15:26 +0000 (20:15 +1000)] 
Replace strcpy with strlcpy.

ok djm, sanity check by Corinna Vinschen.

10 years agoskip, rather than fatal when run without SUDO set
Damien Miller [Fri, 29 May 2015 08:27:21 +0000 (18:27 +1000)] 
skip, rather than fatal when run without SUDO set

10 years agofix merge botch that left ",," in KEX algs
Damien Miller [Fri, 29 May 2015 08:03:15 +0000 (18:03 +1000)] 
fix merge botch that left ",," in KEX algs

10 years agore-enable SSH protocol 1 at compile time
Damien Miller [Fri, 29 May 2015 07:08:28 +0000 (17:08 +1000)] 
re-enable SSH protocol 1 at compile time

10 years agoupstream commit
djm@openbsd.org [Fri, 29 May 2015 03:05:13 +0000 (03:05 +0000)] 
upstream commit

make this work without SUDO set; ok dtucker@

Upstream-Regress-ID: bca88217b70bce2fe52b23b8e06bdeb82d98c715

10 years agoupstream commit
djm@openbsd.org [Thu, 28 May 2015 07:37:31 +0000 (07:37 +0000)] 
upstream commit

wrap all moduli-related code in #ifdef WITH_OPENSSL.
 based on patch from Reuben Hawkins; bz#2388 feedback and ok dtucker@

Upstream-ID: d80cfc8be3e6ec65b3fac9e87c4466533b31b7cf

10 years agoupstream commit
dtucker@openbsd.org [Thu, 28 May 2015 05:41:29 +0000 (05:41 +0000)] 
upstream commit

Increase the allowed length of the known host file name
 in the log message to be consistent with other cases.  Part of bz#1993, ok
 deraadt.

Upstream-ID: a9e97567be49f25daf286721450968251ff78397

10 years agoupstream commit
dtucker@openbsd.org [Thu, 28 May 2015 05:09:45 +0000 (05:09 +0000)] 
upstream commit

Fix typo (keywork->keyword)

Upstream-ID: 8aacd0f4089c0a244cf43417f4f9045dfaeab534

10 years agoupstream commit
djm@openbsd.org [Thu, 28 May 2015 04:50:53 +0000 (04:50 +0000)] 
upstream commit

add error message on ftruncate failure; bz#2176

Upstream-ID: cbcc606e0b748520c74a210d8f3cc9718d3148cf

10 years agoupstream commit
djm@openbsd.org [Thu, 28 May 2015 04:40:13 +0000 (04:40 +0000)] 
upstream commit

make ssh-keygen default to ed25519 keys when compiled
 without OpenSSL; bz#2388, ok dtucker@

Upstream-ID: 85a471fa6d3fa57a7b8e882d22cfbfc1d84cdc71

10 years agoupstream commit
dtucker@openbsd.org [Wed, 27 May 2015 23:51:10 +0000 (23:51 +0000)] 
upstream commit

Reorder client proposal to prefer
 diffie-hellman-group-exchange-sha1 over diffie-hellman-group14-sha1.  ok djm@

Upstream-ID: 552c08d47347c3ee1a9a57d88441ab50abe17058

10 years agoupstream commit
dtucker@openbsd.org [Wed, 27 May 2015 23:39:18 +0000 (23:39 +0000)] 
upstream commit

Add a stronger (4k bit) fallback group that sshd can use
 when the moduli file is missing or broken, sourced from RFC3526.  bz#2302, ok
 markus@ (earlier version), djm@

Upstream-ID: b635215746a25a829d117673d5e5a76d4baee7f4

10 years agoNew moduli file from OpenBSD, removing 1k groups.
Darren Tucker [Thu, 28 May 2015 00:03:40 +0000 (10:03 +1000)] 
New moduli file from OpenBSD, removing 1k groups.

Remove 1k bit groups.  ok deraadt@, markus@

10 years agoupstream commit
djm@openbsd.org [Wed, 27 May 2015 05:15:02 +0000 (05:15 +0000)] 
upstream commit

support PKCS#11 devices with external PIN entry devices
 bz#2240, based on patch from Dirk-Willem van Gulik; feedback and ok dtucker@

Upstream-ID: 504568992b55a8fc984375242b1bd505ced61b0d

10 years agoupstream commit
dtucker@openbsd.org [Tue, 26 May 2015 23:23:40 +0000 (23:23 +0000)] 
upstream commit

Cap DH-GEX group size at 4kbits for Cisco implementations.
 Some of them will choke when asked for preferred sizes >4k instead of
 returning the 4k group that they do have.  bz#2209, ok djm@

Upstream-ID: 54b863a19713446b7431f9d06ad0532b4fcfef8d

10 years agoupstream commit
djm@openbsd.org [Sun, 24 May 2015 23:39:16 +0000 (23:39 +0000)] 
upstream commit

add missing 'c' option to getopt(), case statement was
 already there; from Felix Bolte

Upstream-ID: 9b19b4e2e0b54d6fefa0dfac707c51cf4bae3081

10 years agoupstream commit
jsg@openbsd.org [Sat, 23 May 2015 14:28:37 +0000 (14:28 +0000)] 
upstream commit

fix a memory leak in an error path ok markus@ dtucker@

Upstream-ID: bc1da0f205494944918533d8780fde65dff6c598

10 years agoupstream commit
djm@openbsd.org [Fri, 22 May 2015 05:28:45 +0000 (05:28 +0000)] 
upstream commit

mention ssh-keygen -E for comparing legacy MD5
 fingerprints; bz#2332

Upstream-ID: 079a3669549041dbf10dbc072d9563f0dc3b2859

10 years agoupstream commit
djm@openbsd.org [Fri, 22 May 2015 04:45:52 +0000 (04:45 +0000)] 
upstream commit

Reorder EscapeChar option parsing to avoid a single-byte
 out- of-bounds read. bz#2396 from Jaak Ristioja; ok dtucker@

Upstream-ID: 1dc6b5b63d1c8d9a88619da0b27ade461d79b060

10 years agoupstream commit
djm@openbsd.org [Fri, 22 May 2015 03:50:02 +0000 (03:50 +0000)] 
upstream commit

add knob to relax GSSAPI host credential check for
 multihomed hosts bz#928, patch by Simon Wilkinson; ok dtucker
 (kerberos/GSSAPI is not compiled by default on OpenBSD)

Upstream-ID: 15ddf1c6f7fd9d98eea9962f480079ae3637285d

10 years agoInclude signal.h for sig_atomic_t, used by kex.h.
Darren Tucker [Fri, 22 May 2015 07:49:46 +0000 (17:49 +1000)] 
Include signal.h for sig_atomic_t, used by kex.h.

bz#2402, from tomas.kuthan at oracle com.

10 years agoImport updated moduli file from OpenBSD.
Darren Tucker [Fri, 22 May 2015 02:47:24 +0000 (12:47 +1000)] 
Import updated moduli file from OpenBSD.

10 years agoupstream commit
djm@openbsd.org [Thu, 21 May 2015 12:01:19 +0000 (12:01 +0000)] 
upstream commit

Support "ssh-keygen -lF hostname" to find search known_hosts
 and print key hashes. Already advertised by ssh-keygen(1), but not delivered
 by code; ok dtucker@

Upstream-ID: 459e0e2bf39825e41b0811c336db2d56a1c23387

10 years agoconditionalise util.h inclusion
Damien Miller [Thu, 21 May 2015 07:55:15 +0000 (17:55 +1000)] 
conditionalise util.h inclusion

10 years agoupstream commit
djm@openbsd.org [Thu, 21 May 2015 06:44:25 +0000 (06:44 +0000)] 
upstream commit

regress test for AuthorizedPrincipalsCommand

Upstream-Regress-ID: c658fbf1ab6b6011dc83b73402322e396f1e1219

10 years agoupstream commit
djm@openbsd.org [Thu, 21 May 2015 06:40:02 +0000 (06:40 +0000)] 
upstream commit

regress test for AuthorizedKeysCommand arguments

Upstream-Regress-ID: bbd65c13c6b3be9a442ec115800bff9625898f12

10 years agoupstream commit
djm@openbsd.org [Thu, 21 May 2015 06:43:30 +0000 (06:43 +0000)] 
upstream commit

add AuthorizedPrincipalsCommand that allows getting
 authorized_principals from a subprocess rather than a file, which is quite
 useful in deployments with large userbases

feedback and ok markus@

Upstream-ID: aa1bdac7b16fc6d2fa3524ef08f04c7258d247f6

10 years agoupstream commit
djm@openbsd.org [Thu, 21 May 2015 06:38:35 +0000 (06:38 +0000)] 
upstream commit

support arguments to AuthorizedKeysCommand

bz#2081 loosely based on patch by Sami Hartikainen
feedback and ok markus@

Upstream-ID: b080387a14aa67dddd8ece67c00f268d626541f7

10 years agoupstream commit
djm@openbsd.org [Thu, 21 May 2015 04:55:51 +0000 (04:55 +0000)] 
upstream commit

refactor: split base64 encoding of pubkey into its own
 sshkey_to_base64() function and out of sshkey_write(); ok markus@

Upstream-ID: 54fc38f5832e9b91028900819bda46c3959a0c1a

10 years agoupstream commit
deraadt@openbsd.org [Mon, 18 May 2015 15:06:05 +0000 (15:06 +0000)] 
upstream commit

getentropy() and sendsyslog() have been around long
 enough. openssh-portable may want the #ifdef's but not base. discussed with
 djm few weeks back

Upstream-ID: 0506a4334de108e3fb6c66f8d6e0f9c112866926

10 years agoupstream commit
dtucker@openbsd.org [Fri, 15 May 2015 05:44:21 +0000 (05:44 +0000)] 
upstream commit

Use a salted hash of the lock passphrase instead of plain
 text and do constant-time comparisons of it. Should prevent leaking any
 information about it via timing, pointed out by Ryan Castellucci.  Add a 0.1s
 incrementing delay for each failed unlock attempt up to 10s.  ok markus@
 (earlier version), djm@

Upstream-ID: c599fcc325aa1cc65496b25220b622d22208c85f

10 years agoupstream commit
Damien Miller [Tue, 5 May 2015 09:10:58 +0000 (19:10 +1000)] 
upstream commit

   - tedu@cvs.openbsd.org 2015/01/12 03:20:04
     [bcrypt_pbkdf.c]
     rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks,
     nor are they the same size.

10 years agoupstream commit
Damien Miller [Tue, 5 May 2015 09:10:23 +0000 (19:10 +1000)] 
upstream commit

   - deraadt@cvs.openbsd.org 2015/01/08 00:30:07
     [bcrypt_pbkdf.c]
     declare a local version of MIN(), call it MINIMUM()

10 years agoupstream commit
Damien Miller [Tue, 5 May 2015 09:09:46 +0000 (19:09 +1000)] 
upstream commit

   - djm@cvs.openbsd.org 2014/12/30 01:41:43
     [bcrypt_pbkdf.c]
     typo in comment: ouput => output

10 years agoupstream commit
djm@openbsd.org [Mon, 4 May 2015 06:10:48 +0000 (06:10 +0000)] 
upstream commit

Remove pattern length argument from match_pattern_list(), we
 only ever use it for strlen(pattern).

Prompted by hanno AT hboeck.de pointing an out-of-bound read
error caused by an incorrect pattern length found using AFL
and his own tools.

ok markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 07:10:01 +0000 (07:10 +0000)] 
upstream commit

refactor ssh_dispatch_run_fatal() to use sshpkt_fatal()
 to better report error conditions. Teach sshpkt_fatal() about ECONNRESET.

Improves error messages on TCP connection resets. bz#2257

ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 07:08:08 +0000 (07:08 +0000)] 
upstream commit

a couple of parse targets were missing activep checks,
 causing them to be misapplied in match context; bz#2272 diagnosis and
 original patch from Sami Hartikainen ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 04:17:51 +0000 (04:17 +0000)] 
upstream commit

make handling of AuthorizedPrincipalsFile=none more
 consistent with other =none options; bz#2288 from Jakub Jelen; ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 04:03:20 +0000 (04:03 +0000)] 
upstream commit

remove failed remote forwards established by muliplexing
 from the list of active forwards; bz#2363, patch mostly by Yoann Ricordel; ok
 dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 04:01:58 +0000 (04:01 +0000)] 
upstream commit

reduce stderr spam when using ssh -S /path/mux -O forward
 -R 0:... ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 03:23:51 +0000 (03:23 +0000)] 
upstream commit

prevent authorized_keys options picked up on public key
 tests without a corresponding private key authentication being applied to
 other authentication methods. Reported by halex@, ok markus@

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 03:20:54 +0000 (03:20 +0000)] 
upstream commit

Don't make parsing of authorized_keys' environment=
 option conditional on PermitUserEnv - always parse it, but only use the
 result if the option is enabled. This prevents the syntax of authorized_keys
 changing depending on which sshd_config options were enabled.

bz#2329; based on patch from coladict AT gmail.com, ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Mon, 4 May 2015 06:10:48 +0000 (06:10 +0000)] 
upstream commit

Remove pattern length argument from match_pattern_list(), we
 only ever use it for strlen(pattern).

Prompted by hanno AT hboeck.de pointing an out-of-bound read
error caused by an incorrect pattern length found using AFL
and his own tools.

ok markus@

10 years agoupstream commit
dtucker@openbsd.org [Thu, 23 Apr 2015 05:01:19 +0000 (05:01 +0000)] 
upstream commit

Add a simple regression test for sshd's configuration
 parser.  Right now, all it does is run the output of sshd -T back through
 itself and ensure the output is valid and invariant.

10 years agoupstream commit
djm@openbsd.org [Wed, 22 Apr 2015 01:38:36 +0000 (01:38 +0000)] 
upstream commit

use correct key for nested certificate test

10 years agoupstream commit
djm@openbsd.org [Fri, 1 May 2015 07:11:47 +0000 (07:11 +0000)] 
upstream commit

mention that the user's shell from /etc/passwd is used
 for commands too; bz#1459 ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 8 May 2015 07:29:00 +0000 (07:29 +0000)] 
upstream commit

whitespace

Upstream-Regress-ID: 6b708a3e709d5b7fd37890f874bafdff1f597519

10 years agoupstream commit
djm@openbsd.org [Fri, 8 May 2015 07:26:13 +0000 (07:26 +0000)] 
upstream commit

whitespace at EOL

Upstream-Regress-ID: 9c48911643d5b05173b36a012041bed4080b8554

10 years agoupstream commit
djm@openbsd.org [Fri, 8 May 2015 06:45:13 +0000 (06:45 +0000)] 
upstream commit

moar whitespace at eol

Upstream-ID: 64eaf872a3ba52ed41e494287e80d40aaba4b515

10 years agoupstream commit
djm@openbsd.org [Fri, 8 May 2015 06:41:56 +0000 (06:41 +0000)] 
upstream commit

whitespace at EOL

Upstream-ID: 57bcf67d666c6fc1ad798aee448fdc3f70f7ec2c

10 years agoupstream commit
djm@openbsd.org [Fri, 8 May 2015 03:56:51 +0000 (03:56 +0000)] 
upstream commit

whitespace at EOL

10 years agoupstream commit
dtucker@openbsd.org [Mon, 4 May 2015 01:47:53 +0000 (01:47 +0000)] 
upstream commit

Use diff w/out -u for better portability

10 years agoupstream commit
dtucker@openbsd.org [Fri, 8 May 2015 03:25:07 +0000 (03:25 +0000)] 
upstream commit

Use xcalloc for permitted_adm_opens instead of xmalloc to
 ensure it's zeroed. Fixes post-auth crash with permitopen=none.  bz#2355, ok
 djm@

10 years agoupstream commit
djm@openbsd.org [Fri, 8 May 2015 03:17:49 +0000 (03:17 +0000)] 
upstream commit

don't choke on new-format private keys encrypted with an
 AEAD cipher; bz#2366, patch from Ron Frederick; ok markus@

10 years agoupstream commit
dtucker@openbsd.org [Wed, 6 May 2015 05:45:17 +0000 (05:45 +0000)] 
upstream commit

Clarify pseudo-terminal request behaviour and use
 "pseudo-terminal" consistently.  bz#1716, ok jmc@ "I like it" deraadt@.

10 years agoupstream commit
dtucker@openbsd.org [Wed, 6 May 2015 04:07:18 +0000 (04:07 +0000)] 
upstream commit

Blacklist DH-GEX for specific PuTTY versions known to
 send non-RFC4419 DH-GEX messages rather than all versions of PuTTY.
 According to Simon Tatham, 0.65 and newer versions will send RFC4419 DH-GEX
 messages.  ok djm@

10 years agoupstream commit
dtucker@openbsd.org [Tue, 5 May 2015 10:17:49 +0000 (10:17 +0000)] 
upstream commit

WinSCP doesn't implement RFC4419 DH-GEX so flag it so we
 don't offer that KEX method.  ok markus@

10 years agoupstream commit
jsg@openbsd.org [Tue, 5 May 2015 02:48:17 +0000 (02:48 +0000)] 
upstream commit

use the sizeof the struct not the sizeof a pointer to the
 struct in ssh_digest_start()

This file is only used if ssh is built with OPENSSL=no

ok markus@

10 years agoPut brackets around mblen() compat constant.
Darren Tucker [Fri, 8 May 2015 01:07:27 +0000 (11:07 +1000)] 
Put brackets around mblen() compat constant.

This might help with the reported problem cross compiling for Android
("error: expected identifier or '(' before numeric constant") but
shouldn't hurt in any case.

10 years agoxrealloc -> xreallocarray in portable code too.
Darren Tucker [Wed, 29 Apr 2015 23:18:11 +0000 (09:18 +1000)] 
xrealloc -> xreallocarray in portable code too.

10 years agoupstream commit
dtucker@openbsd.org [Wed, 29 Apr 2015 03:48:56 +0000 (03:48 +0000)] 
upstream commit

Allow ListenAddress, Port and AddressFamily in any
 order.  bz#68, ok djm@, jmc@ (for the man page bit).

10 years agoupstream commit
jmc@openbsd.org [Tue, 28 Apr 2015 13:47:38 +0000 (13:47 +0000)] 
upstream commit

enviroment -> environment: apologies to darren for not
 spotting that first time round...

10 years agoupstream commit
dtucker@openbsd.org [Tue, 28 Apr 2015 10:25:15 +0000 (10:25 +0000)] 
upstream commit

Fix typo in previous

10 years agoupstream commit
dtucker@openbsd.org [Tue, 28 Apr 2015 10:17:58 +0000 (10:17 +0000)] 
upstream commit

Document that the TERM environment variable is not
 subject to SendEnv and AcceptEnv.  bz#2386, based loosely on a patch from
 jjelen at redhat, help and ok jmc@

10 years agoupstream commit
djm@openbsd.org [Mon, 27 Apr 2015 21:42:48 +0000 (21:42 +0000)] 
upstream commit

Make sshd default to PermitRootLogin=no; ok deraadt@
 rpe@

10 years agoupstream commit
djm@openbsd.org [Mon, 27 Apr 2015 01:52:30 +0000 (01:52 +0000)] 
upstream commit

fix compilation with OPENSSL=no; ok dtucker@

10 years agoupstream commit
dtucker@openbsd.org [Mon, 27 Apr 2015 00:37:53 +0000 (00:37 +0000)] 
upstream commit

Include stdio.h for FILE (used in sshkey.h) so it
 compiles with OPENSSL=no.

10 years agoupstream commit
djm@openbsd.org [Mon, 27 Apr 2015 00:21:21 +0000 (00:21 +0000)] 
upstream commit

allow "sshd -f none" to skip reading the config file,
 much like "ssh -F none" does. ok dtucker

10 years agoupstream commit
jmc@openbsd.org [Fri, 24 Apr 2015 06:26:49 +0000 (06:26 +0000)] 
upstream commit

combine -Dd onto one line and update usage();

10 years agoupstream commit
djm@openbsd.org [Fri, 24 Apr 2015 05:26:44 +0000 (05:26 +0000)] 
upstream commit

add ssh-agent -D to leave ssh-agent in foreground
 without enabling debug mode; bz#2381 ok dtucker@

10 years agoupstream commit
deraadt@openbsd.org [Fri, 24 Apr 2015 01:36:24 +0000 (01:36 +0000)] 
upstream commit

2*len -> use xreallocarray() ok djm

10 years agoupstream commit
deraadt@openbsd.org [Fri, 24 Apr 2015 01:36:00 +0000 (01:36 +0000)] 
upstream commit

rename xrealloc() to xreallocarray() since it follows
 that form. ok djm

10 years agoupstream commit
dtucker@openbsd.org [Thu, 23 Apr 2015 04:59:10 +0000 (04:59 +0000)] 
upstream commit

Two small fixes for sshd -T: ListenAddress'es are added
 to a list head so reverse the order when printing them to ensure the
 behaviour remains the same, and print StreamLocalBindMask as octal with
 leading zero.  ok deraadt@

10 years agoupstream commit
dtucker@openbsd.org [Thu, 23 Apr 2015 04:53:53 +0000 (04:53 +0000)] 
upstream commit

Check for and reject missing arguments for
 VersionAddendum and ForceCommand. bz#2281, patch from plautrba at redhat com,
 ok djm@

10 years agoupstream commit
djm@openbsd.org [Wed, 22 Apr 2015 01:24:01 +0000 (01:24 +0000)] 
upstream commit

unknown certificate extensions are non-fatal, so don't
 fatal when they are encountered; bz#2387 reported by Bob Van Zant; ok
 dtucker@

10 years agoupstream commit
jsg@openbsd.org [Tue, 21 Apr 2015 07:01:00 +0000 (07:01 +0000)] 
upstream commit

Add back a backslash removed in rev 1.42 so
 KEX_SERVER_ENCRYPT will include aes again.

ok deraadt@

10 years agoupstream commit
djm@openbsd.org [Fri, 17 Apr 2015 13:32:09 +0000 (13:32 +0000)] 
upstream commit

s/recommended/required/ that private keys be og-r this
 wording change was made a while ago but got accidentally reverted

10 years agoupstream commit
djm@openbsd.org [Fri, 17 Apr 2015 13:25:52 +0000 (13:25 +0000)] 
upstream commit

don't try to cleanup NULL KEX proposals in
 kex_prop_free(); found by Jukka Taimisto and Markus Hietava

10 years agoupstream commit
djm@openbsd.org [Fri, 17 Apr 2015 13:19:22 +0000 (13:19 +0000)] 
upstream commit

use error/logit/fatal instead of fprintf(stderr, ...)
 and exit(0), fix a few errors that were being printed to stdout instead of
 stderr and a few non-errors that were going to stderr instead of stdout
 bz#2325; ok dtucker

10 years agoupstream commit
djm@openbsd.org [Fri, 17 Apr 2015 13:16:48 +0000 (13:16 +0000)] 
upstream commit

debug log missing DISPLAY environment when X11
 forwarding requested; bz#1682 ok dtucker@

10 years agoupstream commit
djm@openbsd.org [Fri, 17 Apr 2015 04:32:31 +0000 (04:32 +0000)] 
upstream commit

don't call record_login() in monitor when UseLogin is
 enabled; bz#278 reported by drk AT sgi.com; ok dtucker

10 years agoupstream commit
dtucker@openbsd.org [Fri, 17 Apr 2015 04:12:35 +0000 (04:12 +0000)] 
upstream commit

Add some missing options to sshd -T and fix the output
 of VersionAddendum HostCertificate.  bz#2346, patch from jjelen at redhat
 com, ok djm.

10 years agoupstream commit
dtucker@openbsd.org [Thu, 16 Apr 2015 23:25:50 +0000 (23:25 +0000)] 
upstream commit

Document "none" for PidFile XAuthLocation
 TrustedUserCAKeys and RevokedKeys. bz#2382, feedback from jmc@, ok djm@

10 years agoupstream commit
dtucker@openbsd.org [Wed, 15 Apr 2015 23:23:25 +0000 (23:23 +0000)] 
upstream commit

Plug leak of address passed to logging.  bz#2373, patch
 from jjelen at redhat, ok markus@

10 years agoupstream commit
dtucker@openbsd.org [Tue, 14 Apr 2015 04:17:03 +0000 (04:17 +0000)] 
upstream commit

Output remote username in debug output since with Host
 and Match it's not always obvious what it will be.  bz#2368, ok djm@

10 years agoFormat UsePAM setting when using sshd -T.
Darren Tucker [Fri, 17 Apr 2015 00:56:13 +0000 (10:56 +1000)] 
Format UsePAM setting when using sshd -T.

Part of bz#2346, patch from jjelen at redhat com.

10 years agoWrap endian.h include inside ifdef (bz#2370).
Darren Tucker [Fri, 17 Apr 2015 00:40:23 +0000 (10:40 +1000)] 
Wrap endian.h include inside ifdef (bz#2370).

10 years agoLook for '${host}-ar' before 'ar'.
Darren Tucker [Thu, 16 Apr 2015 23:39:58 +0000 (09:39 +1000)] 
Look for '${host}-ar' before 'ar'.

This changes configure.ac to look for '${host}-ar' as set by
AC_CANONICAL_HOST before looking for the unprefixed 'ar'.
Useful when cross-compiling when all your binutils are prefixed.

Patch from moben at exherbo org via astrand at lysator liu se and
bz#2352.

10 years agoremove dependency on arpa/telnet.h
Damien Miller [Thu, 16 Apr 2015 01:40:20 +0000 (11:40 +1000)] 
remove dependency on arpa/telnet.h

10 years agoRemove duplicate include of pwd.h. bz#2337, patch from Mordy Ovits.
Darren Tucker [Wed, 15 Apr 2015 05:59:49 +0000 (15:59 +1000)] 
Remove duplicate include of pwd.h.  bz#2337, patch from Mordy Ovits.

10 years agoplatform's with openpty don't need pty_release
Damien Miller [Thu, 9 Apr 2015 00:14:48 +0000 (10:14 +1000)] 
platform's with openpty don't need pty_release

10 years agoupstream commit
djm@openbsd.org [Mon, 13 Apr 2015 02:04:08 +0000 (02:04 +0000)] 
upstream commit

deprecate ancient, pre-RFC4419 and undocumented
 SSH2_MSG_KEX_DH_GEX_REQUEST_OLD message; ok markus@ deraadt@ "seems
 reasonable" dtucker@

10 years agoupstream commit
dtucker@openbsd.org [Fri, 10 Apr 2015 05:16:50 +0000 (05:16 +0000)] 
upstream commit

Don't send hostkey advertisments
 (hostkeys-00@openssh.com) to current versions of Tera Term as they can't
 handle them.  Newer versions should be OK.  Patch from Bryan Drewery and
 IWAMOTO Kouichi, ok djm@

10 years agoupstream commit
djm@openbsd.org [Fri, 10 Apr 2015 00:08:55 +0000 (00:08 +0000)] 
upstream commit

include port number if a non-default one has been
 specified; based on patch from Michael Handler

10 years agoupstream commit
djm@openbsd.org [Tue, 7 Apr 2015 23:00:42 +0000 (23:00 +0000)] 
upstream commit

treat Protocol=1,2|2,1 as Protocol=2 when compiled
 without SSH1 support; ok dtucker@ millert@

10 years agoupstream commit
miod@openbsd.org [Sun, 5 Apr 2015 15:43:43 +0000 (15:43 +0000)] 
upstream commit

Do not use int for sig_atomic_t; spotted by
 christos@netbsd; ok markus@

10 years agoUse do{}while(0) for no-op functions.
Darren Tucker [Tue, 7 Apr 2015 00:48:04 +0000 (10:48 +1000)] 
Use do{}while(0) for no-op functions.

From FreeBSD.

10 years agoWrap blf.h include in ifdef. From FreeBSD.
Darren Tucker [Tue, 7 Apr 2015 00:47:15 +0000 (10:47 +1000)] 
Wrap blf.h include in ifdef.  From FreeBSD.