]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
markus@openbsd.org [Wed, 4 May 2016 14:32:26 +0000 (14:32 +0000)]
upstream commit
add IdentityAgent; noticed & ok jmc@
Upstream-ID:
4ba9034b00a4cf1beae627f0728da897802df88a
markus@openbsd.org [Wed, 4 May 2016 14:29:58 +0000 (14:29 +0000)]
upstream commit
allow setting IdentityAgent to SSH_AUTH_SOCK; ok djm@
Upstream-ID:
20c508480d8db3eef18942c0fc39b1fcf25652ac
markus@openbsd.org [Wed, 4 May 2016 14:22:33 +0000 (14:22 +0000)]
upstream commit
move SSH_MSG_NONE, so we don't have to include ssh1.h;
ok deraadt@
Upstream-ID:
c2f97502efc761a41b18c17ddf460e138ca7994e
Damien Miller [Mon, 9 May 2016 23:51:06 +0000 (09:51 +1000)]
initialise salen in binresvport_sa
avoids failures with UsePrivilegedPort=yes
patch from Juan Gallego
markus@openbsd.org [Wed, 4 May 2016 14:04:40 +0000 (14:04 +0000)]
upstream commit
missing const in prototypes (ssh1)
Upstream-ID:
789c6ad4928b5fa557369b88c3a6a34926082c05
dtucker@openbsd.org [Wed, 4 May 2016 14:00:09 +0000 (14:00 +0000)]
upstream commit
Fix inverted logic for updating StreamLocalBindMask which
would cause the server to set an invalid mask. ok djm@
Upstream-ID:
8a4404c8307a5ef9e07ee2169fc6d8106b527587
markus@openbsd.org [Wed, 4 May 2016 12:21:53 +0000 (12:21 +0000)]
upstream commit
IdentityAgent for specifying specific agent sockets; ok
djm@
Upstream-ID:
3e6a15eb89ea0fd406f108826b7dc7dec4fbfac1
djm@openbsd.org [Wed, 4 May 2016 12:16:39 +0000 (12:16 +0000)]
upstream commit
fix junk characters after quotes
Upstream-ID:
cc4d0cd32cb6b55a2ef98975d2f7ae857d0dc578
jmc@openbsd.org [Tue, 3 May 2016 18:38:12 +0000 (18:38 +0000)]
upstream commit
correct article;
Upstream-ID:
1fbd5b7ab16d2d9834ec79c3cedd4738fa42a168
djm@openbsd.org [Tue, 3 May 2016 15:57:39 +0000 (15:57 +0000)]
upstream commit
fix overriding of StreamLocalBindMask and
StreamLocalBindUnlink in Match blocks; found the hard way Rogan Dawes
Upstream-ID:
940bc69ec0249ab428d24ccd0722ce35cb932ee2
djm@openbsd.org [Tue, 3 May 2016 15:25:06 +0000 (15:25 +0000)]
upstream commit
don't forget to include StreamLocalBindUnlink in the
config dump output
Upstream-ID:
14a6d970b3b45c8e94272e3c661e9a0b2a0ee7cb
djm@openbsd.org [Tue, 3 May 2016 14:54:08 +0000 (14:54 +0000)]
upstream commit
make nethack^wrandomart fingerprint flag more readily
searchable pointed out by Matt Johnston
Upstream-ID:
cb40d0235dc153c478c1aad3bc60b195422a54fb
djm@openbsd.org [Tue, 3 May 2016 13:10:24 +0000 (13:10 +0000)]
upstream commit
clarify ordering of subkeys; pointed out by ietf-ssh AT
stbuehler.de
Upstream-ID:
05ebe9f949449a555ebce8e0aad7c8c9acaf8463
dtucker@openbsd.org [Tue, 3 May 2016 12:15:49 +0000 (12:15 +0000)]
upstream commit
Use a subshell for constructing key types to work around
different sed behaviours for -portable.
Upstream-Regress-ID:
0f6eb673162df229eda9a134a0f10da16151552d
djm@openbsd.org [Tue, 3 May 2016 10:27:59 +0000 (10:27 +0000)]
upstream commit
correct some typos and remove a long-stale XXX note.
add specification for
ed25519 certificates
mention no host certificate options/extensions are currently defined
pointed out by Simon Tatham
Upstream-ID:
7b535ab7dba3340b7d8210ede6791fdaefdf839a
djm@openbsd.org [Tue, 3 May 2016 10:24:27 +0000 (10:24 +0000)]
upstream commit
add
ed25519 keys that are supported but missing from this
documents; from Peter Moody
Upstream-ID:
8caac2d8e8cfd2fca6dc304877346e0a064b014b
dtucker@openbsd.org [Tue, 3 May 2016 09:03:49 +0000 (09:03 +0000)]
upstream commit
Implement IUTF8 as per draft-sgtatham-secsh-iutf8-00. Patch
from Simon Tatham, ok markus@
Upstream-ID:
58268ebdf37d9d467f78216c681705a5e10c58e8
djm@openbsd.org [Mon, 2 May 2016 14:10:58 +0000 (14:10 +0000)]
upstream commit
unbreak config parsing on reexec from previous commit
Upstream-ID:
bc69932638a291770955bd05ca55a32660a613ab
djm@openbsd.org [Mon, 2 May 2016 09:52:00 +0000 (09:52 +0000)]
upstream commit
unit and regress tests for SHA256/512; ok markus
Upstream-Regress-ID:
a0cd1a92dc824067076a5fcef83c18df9b0bf2c6
djm@openbsd.org [Mon, 2 May 2016 10:26:04 +0000 (10:26 +0000)]
upstream commit
add support for additional fixed DH groups from
draft-ietf-curdle-ssh-kex-sha2-03
diffie-hellman-group14-sha256 (2K group)
diffie-hellman-group16-sha512 (4K group)
diffie-hellman-group18-sha512 (8K group)
based on patch from Mark D. Baushke and Darren Tucker
ok markus@
Upstream-ID:
ac00406ada4f0dfec41585ca0839f039545bc46f
djm@openbsd.org [Mon, 2 May 2016 09:36:42 +0000 (09:36 +0000)]
upstream commit
support SHA256 and SHA512 RSA signatures in certificates;
ok markus@
Upstream-ID:
b45be2f2ce8cacd794dc5730edaabc90e5eb434a
djm@openbsd.org [Mon, 2 May 2016 08:49:03 +0000 (08:49 +0000)]
upstream commit
fix signed/unsigned errors reported by clang-3.7; add
sshbuf_dup_string() to replace a common idiom of strdup(sshbuf_ptr()) with
better safety checking; feedback and ok markus@
Upstream-ID:
71f926d9bb3f1efed51319a6daf37e93d57c8820
djm@openbsd.org [Fri, 29 Apr 2016 08:07:53 +0000 (08:07 +0000)]
upstream commit
close ControlPersist background process stderr when not
in debug mode or when logging to a file or syslog. bz#1988 ok dtucker
Upstream-ID:
4fb726f0fdcb155ad419913cea10dc4afd409d24
djm@openbsd.org [Thu, 28 Apr 2016 14:30:21 +0000 (14:30 +0000)]
upstream commit
fix comment
Upstream-ID:
313a385bd7b69a82f8e28ecbaf5789c774457b15
jmc@openbsd.org [Wed, 27 Apr 2016 13:53:48 +0000 (13:53 +0000)]
upstream commit
cidr permitted for {allow,deny}users; from lars nooden ok djm
Upstream-ID:
13e7327fe85f6c63f3f7f069e0fdc8c351515d11
djm@openbsd.org [Thu, 21 Apr 2016 06:08:02 +0000 (06:08 +0000)]
upstream commit
make argument == NULL tests more consistent
Upstream-ID:
dc4816678704aa5cbda3a702e0fa2033ff04581d
jmc@openbsd.org [Sun, 17 Apr 2016 14:34:46 +0000 (14:34 +0000)]
upstream commit
tweak previous;
Upstream-ID:
46c1bab91c164078edbccd5f7d06b9058edd814f
djm@openbsd.org [Fri, 15 Apr 2016 02:57:10 +0000 (02:57 +0000)]
upstream commit
missing bit of Include regress
Upstream-Regress-ID:
1063595f7f40f8489a1b7a27230b9e8acccea34f
djm@openbsd.org [Fri, 15 Apr 2016 02:55:53 +0000 (02:55 +0000)]
upstream commit
remove redundant CLEANFILES section
Upstream-Regress-ID:
29ef1b267fa56daa60a1463396635e7d53afb587
djm@openbsd.org [Fri, 15 Apr 2016 00:48:01 +0000 (00:48 +0000)]
upstream commit
sync CLEANFILES with portable, sort
Upstream-Regress-ID:
cb782f4f1ab3e079efbc335c6b64942f790766ed
djm@openbsd.org [Fri, 15 Apr 2016 00:31:10 +0000 (00:31 +0000)]
upstream commit
regression test for ssh_config Include directive
Upstream-Regress-ID:
46a38c8101f635461c506d1aac2d96af80f97f1e
djm@openbsd.org [Thu, 14 Apr 2016 23:57:17 +0000 (23:57 +0000)]
upstream commit
unbreak test for recent ssh de-duplicated forwarding
change
Upstream-Regress-ID:
6b2b115d99acd7cff13986e6739ea214cf2a3da3
djm@openbsd.org [Thu, 14 Apr 2016 23:21:42 +0000 (23:21 +0000)]
upstream commit
add test knob and warning for StrictModes
Upstream-Regress-ID:
8cd10952ce7898655ee58945904f2a0a3bdf7682
djm@openbsd.org [Fri, 15 Apr 2016 00:30:19 +0000 (00:30 +0000)]
upstream commit
Include directive for ssh_config(5); feedback & ok markus@
Upstream-ID:
ae3b76e2e343322b9f74acde6f1e1c5f027d5fff
Damien Miller [Wed, 13 Apr 2016 00:39:57 +0000 (10:39 +1000)]
ignore PAM environment vars when UseLogin=yes
If PAM is configured to read user-specified environment variables
and UseLogin=yes in sshd_config, then a hostile local user may
attack /bin/login via LD_PRELOAD or similar environment variables
set via PAM.
CVE-2015-8325, found by Shayan Sadigh, via Colin Watson
djm@openbsd.org [Sat, 9 Apr 2016 12:39:30 +0000 (12:39 +0000)]
upstream commit
make private key loading functions consistently handle NULL
key pointer arguments; ok markus@
Upstream-ID:
92038726ef4a338169c35dacc9c5a07fcc7fa761
Darren Tucker [Fri, 8 Apr 2016 11:14:13 +0000 (21:14 +1000)]
Remove NO_IPPORT_RESERVED_CONCEPT
Replace by defining IPPORT_RESERVED to zero on Cygwin, which should have
the same effect without causing problems syncing patches with OpenBSD.
Resync the two affected functions with OpenBSD. ok djm, sanity checked
by Corinna.
djm@openbsd.org [Fri, 8 Apr 2016 08:19:17 +0000 (08:19 +0000)]
upstream commit
whitespace at EOL
Upstream-ID:
5beffd4e001515da12851b974e2323ae4aa313b6
djm@openbsd.org [Fri, 8 Apr 2016 06:35:54 +0000 (06:35 +0000)]
upstream commit
We accidentally send an empty string and a zero uint32 with
every direct-streamlocal@openssh.com channel open, in contravention of our
own spec.
Fixing this is too hard wrt existing versions that expect these
fields to be present and fatal() if they aren't, so document them
as "reserved" fields in the PROTOCOL spec as though we always
intended this and let us never speak of it again.
bz#2529, reported by Ron Frederick
Upstream-ID:
34cd326a4d236ca6e39084c4ff796bd97ab833e7
djm@openbsd.org [Wed, 6 Apr 2016 06:42:17 +0000 (06:42 +0000)]
upstream commit
don't record duplicate LocalForward and RemoteForward
entries; fixes failure with ExitOnForwardFailure+hostname canonicalisation
where the same forwards are added on the second pass through the
configuration file. bz#2562; ok dtucker@
Upstream-ID:
40a51d68b6300f1cc61deecdb7d4847b8b7b0de1
krw@openbsd.org [Sat, 2 Apr 2016 14:37:42 +0000 (14:37 +0000)]
upstream commit
Another use for fcntl() and thus of the superfluous 3rd
parameter is when sanitising standard fd's before calling daemon().
Use a tweaked version of the ssh(1) function in all three places
found using fcntl() this way.
ok jca@ beck@
Upstream-ID:
f16811ffa19a1c5f4ef383c5f0fecb843c84e218
Darren Tucker [Mon, 4 Apr 2016 01:09:21 +0000 (11:09 +1000)]
Tidy up openssl header test.
Darren Tucker [Mon, 4 Apr 2016 01:07:59 +0000 (11:07 +1000)]
Fix configure-time warnings for openssl test.
djm@openbsd.org [Fri, 1 Apr 2016 02:34:10 +0000 (02:34 +0000)]
upstream commit
whitespace at EOL
Upstream-ID:
40ae2203d07cb14e0a89e1a0d4c6120ee8fd8c3a
dtucker@openbsd.org [Thu, 31 Mar 2016 05:24:06 +0000 (05:24 +0000)]
upstream commit
Remove fallback from moduli to "primes" file that was
deprecated in 2001 and fix log messages referring to primes file. Based on
patch from xnox at ubuntu.com via bz#2559. "kill it" deraadt@
Upstream-ID:
0d4f8c70e2fa7431a83b95f8ca81033147ba8713
djm@openbsd.org [Thu, 17 Mar 2016 17:19:43 +0000 (17:19 +0000)]
upstream commit
UseDNS affects ssh hostname processing in authorized_keys,
not known_hosts; bz#2554 reported by jjelen AT redhat.com
Upstream-ID:
c1c1bb895dde46095fc6d81d8653703928437591
Darren Tucker [Mon, 14 Mar 2016 22:24:43 +0000 (09:24 +1100)]
Don't call Solaris setproject() with UsePAM=yes.
When Solaris Projects are enabled along with PAM setting the project
is PAM's responsiblity. bz#2425, based on patch from
brent.paulson at gmail.com.
Damien Miller [Mon, 14 Mar 2016 17:30:21 +0000 (04:30 +1100)]
remove slogin from *.spec
djm@openbsd.org [Mon, 14 Mar 2016 16:20:54 +0000 (16:20 +0000)]
upstream commit
unbreak authentication using lone certificate keys in
ssh-agent: when attempting pubkey auth with a certificate, if no separate
private key is found among the keys then try with the certificate key itself.
bz#2550 reported by Peter Moody
Upstream-ID:
f939cd76d68e6a9a3d1711b5a943d6ed1e623966
djm@openbsd.org [Thu, 10 Mar 2016 11:47:57 +0000 (11:47 +0000)]
upstream commit
sanitise characters destined for xauth reported by
github.com/tintinweb feedback and ok deraadt and markus
Upstream-ID:
18ad8d0d74cbd2ea3306a16595a306ee356aa261
Darren Tucker [Mon, 14 Mar 2016 05:04:23 +0000 (16:04 +1100)]
Pass supported malloc options to connect-privsep.
This allows us to activate only the supported options during the malloc
option portion of the connect-privsep test.
Darren Tucker [Sun, 13 Mar 2016 22:30:58 +0000 (09:30 +1100)]
Remove leftover roaming.h file.
Pointed out by des at des.no.
Darren Tucker [Sun, 13 Mar 2016 22:24:03 +0000 (09:24 +1100)]
Quote variables that may contain whitespace.
The variable $L_TMP_ID_FILE needs to be surrounded by quotes in order to
survive paths containing whitespace. bz#2551, from Corinna Vinschen via
Philip Hands.
Darren Tucker [Fri, 11 Mar 2016 03:47:41 +0000 (14:47 +1100)]
Include priv.h for priv_set_t.
From alex at cooperi.net.
Darren Tucker [Wed, 9 Mar 2016 02:14:18 +0000 (13:14 +1100)]
Wrap stdint.h inside #ifdef HAVE_STDINT_H.
Darren Tucker [Wed, 9 Mar 2016 01:46:50 +0000 (12:46 +1100)]
Add compat to monotime_double().
Apply all of the portability changes in monotime() to monotime() double.
Fixes build on at least older FreeBSD systems.
Damien Miller [Tue, 8 Mar 2016 22:12:58 +0000 (14:12 -0800)]
make a regress-binaries target
Easier to build all the regression/unit test binaries in one pass
than going through all of ${REGRESS_BINARIES}
Damien Miller [Tue, 8 Mar 2016 22:03:54 +0000 (14:03 -0800)]
unbreak kexfuzz for -Werror without __bounded__
Damien Miller [Tue, 8 Mar 2016 22:01:29 +0000 (14:01 -0800)]
unbreak PAM after canohost refactor
Darren Tucker [Tue, 8 Mar 2016 00:58:43 +0000 (11:58 +1100)]
auth_get_canonical_hostname in portable code.
"refactor canohost.c" replaced get_canonical_hostname, this makes the
same change to some portable-specific code.
djm@openbsd.org [Mon, 7 Mar 2016 19:02:43 +0000 (19:02 +0000)]
upstream commit
refactor canohost.c: move functions that cache results closer
to the places that use them (authn and session code). After this, no state is
cached in canohost.c
feedback and ok markus@
Upstream-ID:
5f2e4df88d4803fc8ec59ec53629105e23ce625e
Damien Miller [Fri, 4 Mar 2016 04:11:55 +0000 (15:11 +1100)]
hook unittests/misc/kexfuzz into build
dtucker@openbsd.org [Fri, 4 Mar 2016 02:48:06 +0000 (02:48 +0000)]
upstream commit
Filter debug messages out of log before picking the last
two lines. Should prevent problems if any more debug output is added late in
the connection.
Upstream-Regress-ID:
345d0a9589c381e7d640a4ead06cfaadf4db1363
djm@openbsd.org [Fri, 4 Mar 2016 02:30:36 +0000 (02:30 +0000)]
upstream commit
add KEX fuzzer harness; ok deraadt@
Upstream-Regress-ID:
3df5242d30551b12b828aa9ba4a4cec0846be8d1
dtucker@openbsd.org [Thu, 3 Mar 2016 00:46:53 +0000 (00:46 +0000)]
upstream commit
Look back 3 lines for possible error messages. Changes
to the code mean that "Bad packet length" errors are 3 lines back instead of
the previous two, which meant we didn't skip some offsets that we intended
to.
Upstream-Regress-ID:
24f36912740a634d509a3144ebc8eb7c09b9c684
djm@openbsd.org [Fri, 4 Mar 2016 03:35:44 +0000 (03:35 +0000)]
upstream commit
fix ClientAliveInterval when a time-based RekeyLimit is
set; previously keepalive packets were not being sent. bz#2252 report and
analysis by Christian Wittenhorst and Garrett Lee feedback and ok dtucker@
Upstream-ID:
d48f9deadd35fdacdd5106b41bb07630ddd4aa81
dtucker@openbsd.org [Wed, 2 Mar 2016 22:43:52 +0000 (22:43 +0000)]
upstream commit
Improve accuracy of reported transfer speeds by waiting
for the ack from the other end. Pointed out by mmcc@, ok deraadt@ markus@
Upstream-ID:
99f1cf15c9a8f161086b814d414d862795ae153d
dtucker@openbsd.org [Wed, 2 Mar 2016 22:42:40 +0000 (22:42 +0000)]
upstream commit
Improve precision of progressmeter for sftp and scp by
storing sub-second timestamps. Pointed out by mmcc@, ok deraadt@ markus@
Upstream-ID:
38fd83a3d83dbf81c8ff7b5d1302382fe54970ab
jca@openbsd.org [Mon, 29 Feb 2016 20:22:36 +0000 (20:22 +0000)]
upstream commit
Print ssize_t with %zd; ok deraadt@ mmcc@
Upstream-ID:
0590313bbb013ff6692298c98f7e0be349d124bd
djm@openbsd.org [Sun, 28 Feb 2016 22:27:00 +0000 (22:27 +0000)]
upstream commit
rearrange DH public value tests to be a little more clear
rearrange DH private value generation to explain rationale more
clearly and include an extra sanity check.
ok deraadt
Upstream-ID:
9ad8a07e1a12684e1b329f9bd88941b249d4b2ad
Darren Tucker [Tue, 1 Mar 2016 04:24:20 +0000 (15:24 +1100)]
Import updated moduli file from OpenBSD.
Note that 1.5k bit groups have been removed.
Darren Tucker [Fri, 26 Feb 2016 03:40:04 +0000 (14:40 +1100)]
Add a note about using xlc on AIX.
Darren Tucker [Tue, 23 Feb 2016 23:44:25 +0000 (10:44 +1100)]
Skip PrintLastLog in config dump mode.
When DISABLE_LASTLOG is set, do not try to include PrintLastLog in the
config dump since it'll be reported as UNKNOWN.
Damien Miller [Tue, 23 Feb 2016 09:17:23 +0000 (20:17 +1100)]
update spec/README versions ahead of release
Damien Miller [Tue, 23 Feb 2016 09:16:53 +0000 (20:16 +1100)]
put back portable patchlevel to p1
djm@openbsd.org [Tue, 23 Feb 2016 09:14:34 +0000 (09:14 +0000)]
upstream commit
openssh-7.2
Upstream-ID:
9db776b26014147fc907ece8460ef2bcb0f11e78
Damien Miller [Tue, 23 Feb 2016 05:12:13 +0000 (16:12 +1100)]
Disable tests where fs perms are incorrect
Some tests have strict requirements on the filesystem permissions
for certain files and directories. This adds a regress/check-perm
tool that copies the relevant logic from sshd to exactly test
the paths in question. This lets us skip tests when the local
filesystem doesn't conform to our expectations rather than
continuing and failing the test run.
ok dtucker@
Damien Miller [Tue, 23 Feb 2016 01:56:59 +0000 (12:56 +1100)]
fix sandbox on OSX Lion
sshd was failing with:
ssh_sandbox_child: sandbox_init: dlopen(/usr/lib/libsandbox.1.dylib, 261):cw
image not found [preauth]
caused by chroot before sandboxing. Avoid by explicitly linking libsandbox
to sshd. Spotted by Darren.
djm@openbsd.org [Tue, 23 Feb 2016 01:34:14 +0000 (01:34 +0000)]
upstream commit
fix spurious error message when incorrect passphrase
entered for keys; reported by espie@ ok deraadt@
Upstream-ID:
58b2e46e63ed6912ed1ee780bd3bd8560f9a5899
sobrado@openbsd.org [Sat, 20 Feb 2016 23:06:23 +0000 (23:06 +0000)]
upstream commit
set ssh(1) protocol version to 2 only.
ok djm@
Upstream-ID:
e168daf9d27d7e392e3c9923826bd8e87b2b3a10
sobrado@openbsd.org [Sat, 20 Feb 2016 23:02:39 +0000 (23:02 +0000)]
upstream commit
add missing ~/.ssh/id_ecdsa and ~/.ssh/id_ed25519 to
IdentityFile.
ok djm@
Upstream-ID:
6ce99466312e4ae7708017c3665e3edb976f70cf
sobrado@openbsd.org [Sat, 20 Feb 2016 23:01:46 +0000 (23:01 +0000)]
upstream commit
AddressFamily defaults to any.
ok djm@
Upstream-ID:
0d94aa06a4b889bf57a7f631c45ba36d24c13e0c
Darren Tucker [Thu, 18 Feb 2016 22:05:39 +0000 (09:05 +1100)]
Make Solaris privs code build on older systems.
Not all systems with Solaris privs have priv_basicset so factor that
out and provide backward compatibility code. Similarly, not all have
PRIV_NET_ACCESS so wrap that in #ifdef. Based on code from
alex at cooperi.net and djm@ with help from carson at taltos.org and
wieland at purdue.edu.
djm@openbsd.org [Wed, 17 Feb 2016 22:20:14 +0000 (22:20 +0000)]
upstream commit
rekey refactor broke SSH1; spotted by Tom G. Christensen
Upstream-ID:
43f0d57928cc077c949af0bfa71ef574dcb58243
djm@openbsd.org [Wed, 17 Feb 2016 08:57:34 +0000 (08:57 +0000)]
upstream commit
rsa-sha2-512,rsa-sha2-256 cannot be selected explicitly
in *KeyTypes options yet. Remove them from the lists of algorithms for now.
committing on behalf of markus@ ok djm@
Upstream-ID:
c6e8820eb8e610ac21551832c0c89684a9a51bb7
jmc@openbsd.org [Wed, 17 Feb 2016 07:38:19 +0000 (07:38 +0000)]
upstream commit
since these pages now clearly tell folks to avoid v1,
normalise the docs from a v2 perspective (i.e. stop pointing out which bits
are v2 only);
ok/tweaks djm ok markus
Upstream-ID:
eb474f8c36fb6a532dc05c282f7965e38dcfa129
djm@openbsd.org [Wed, 17 Feb 2016 05:29:04 +0000 (05:29 +0000)]
upstream commit
make sandboxed privilege separation the default, not just
for new installs; "absolutely" deraadt@
Upstream-ID:
5221ef3b927d2df044e9aa3f5db74ae91743f69b
jmc@openbsd.org [Tue, 16 Feb 2016 07:47:54 +0000 (07:47 +0000)]
upstream commit
no need to state that protocol 2 is the default twice;
Upstream-ID:
b1e4c36b0c2e12e338e5b66e2978f2ac953b95eb
djm@openbsd.org [Tue, 16 Feb 2016 05:11:04 +0000 (05:11 +0000)]
upstream commit
Replace list of ciphers and MACs adjacent to -1/-2 flag
descriptions in ssh(1) with a strong recommendation not to use protocol 1.
Add a similar warning to the Protocol option descriptions in ssh_config(5)
and sshd_config(5);
prompted by and ok mmcc@
Upstream-ID:
961f99e5437d50e636feca023978950a232ead5e
djm@openbsd.org [Tue, 16 Feb 2016 03:37:48 +0000 (03:37 +0000)]
upstream commit
add a "Close session" log entry (at loglevel=verbose) to
correspond to the existing "Starting session" one. Also include the session
id number to make multiplexed sessions more apparent.
feedback and ok dtucker@
Upstream-ID:
e72d2ac080e02774376325136e532cb24c2e617c
djm@openbsd.org [Wed, 17 Feb 2016 02:24:17 +0000 (02:24 +0000)]
upstream commit
include bad $SSH_CONNECTION in failure output
Upstream-Regress-ID:
b22d72edfde78c403aaec2b9c9753ef633cc0529
Darren Tucker [Wed, 17 Feb 2016 02:37:09 +0000 (13:37 +1100)]
Rollback addition of va_start.
va_start was added in
0f754e29dd3760fc0b172c1220f18b753fb0957e , however
it has the wrong number of args and it's not usable in non-variadic
functions anyway so it breaks things (for example Solaris 2.6 as
reported by Tom G. Christensen).i ok djm@
Darren Tucker [Tue, 16 Feb 2016 22:48:15 +0000 (09:48 +1100)]
Look for gethostbyname in libresolv and libnsl.
Should fix build problem on Solaris 2.6 reported by Tom G. Christensen.
Damien Miller [Mon, 15 Feb 2016 23:45:02 +0000 (10:45 +1100)]
make existing ssh_malloc_init only for __OpenBSD__
djm@openbsd.org [Mon, 15 Feb 2016 23:32:37 +0000 (23:32 +0000)]
upstream commit
memleak of algorithm name in mm_answer_sign; reported by
Jakub Jelen
Upstream-ID:
ccd742cd25952240ebd23d7d4d6b605862584d08
dtucker@openbsd.org [Mon, 15 Feb 2016 09:47:49 +0000 (09:47 +0000)]
upstream commit
Add a function to enable security-related malloc_options.
With and ok deraadt@, something similar has been in the snaps for a while.
Upstream-ID:
43a95523b832b7f3b943d2908662191110c380ed
Damien Miller [Mon, 15 Feb 2016 23:34:39 +0000 (10:34 +1100)]
sync ssh-copy-id with upstream
783ef08b0a75
djm@openbsd.org [Fri, 12 Feb 2016 00:20:30 +0000 (00:20 +0000)]
upstream commit
avoid fatal() for PKCS11 tokens that present empty key IDs
bz#1773, ok markus@
Upstream-ID:
044a764fee526f2c4a9d530bd10695422d01fc54
djm@openbsd.org [Thu, 11 Feb 2016 02:56:32 +0000 (02:56 +0000)]
upstream commit
sync crypto algorithm lists in ssh_config(5) and
sshd_config(5) with current reality. bz#2527
Upstream-ID:
d7fd1b6c1ed848d866236bcb1d7049d2bb9b2ff6
djm@openbsd.org [Thu, 11 Feb 2016 02:21:34 +0000 (02:21 +0000)]
upstream commit
fix regression in openssh-6.8 sftp client: existing
destination directories would incorrectly terminate recursive uploads;
bz#2528
Upstream-ID:
3306be469f41f26758e3d447987ac6d662623e18