]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
Damien Miller [Wed, 9 Mar 2016 18:04:48 +0000 (05:04 +1100)]
update versions for release
Damien Miller [Wed, 9 Mar 2016 18:03:39 +0000 (05:03 +1100)]
sanitise characters destined for xauth(1)
reported by github.com/tintinweb
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
djm@openbsd.org [Tue, 9 Feb 2016 05:30:04 +0000 (05:30 +0000)]
upstream commit
turn off more old crypto in the client: hmac-md5, ripemd,
truncated HMACs, RC4, blowfish. ok markus@ dtucker@
Upstream-ID:
96aa11c2c082be45267a690c12f1d2aae6acd46e
djm@openbsd.org [Mon, 8 Feb 2016 23:40:12 +0000 (23:40 +0000)]
upstream commit
don't attempt to percent_expand() already-canonicalised
addresses, avoiding unnecessary failures when attempting to connect to scoped
IPv6 addresses (that naturally contain '%' characters)
Upstream-ID:
f24569cffa1a7cbde5f08dc739a72f4d78aa5c6a
djm@openbsd.org [Mon, 8 Feb 2016 10:57:07 +0000 (10:57 +0000)]
upstream commit
refactor activation of rekeying
This makes automatic rekeying internal to the packet code (previously
the server and client loops needed to assist). In doing to it makes
application of rekey limits more accurate by accounting for packets
about to be sent as well as packets queued during rekeying events
themselves.
Based on a patch from dtucker@ which was in turn based on a patch
Aleksander Adamowski in bz#2521; ok markus@
Upstream-ID:
a441227fd64f9739850ca97b4cf794202860fcd8
naddy@openbsd.org [Fri, 5 Feb 2016 13:28:19 +0000 (13:28 +0000)]
upstream commit
Only check errno if read() has returned an error. EOF is
not an error. This fixes a problem where the mux master would sporadically
fail to notice that the client had exited. ok mikeb@ djm@
Upstream-ID:
3c2dadc21fac6ef64665688aac8a75fffd57ae53
jsg@openbsd.org [Fri, 5 Feb 2016 04:31:21 +0000 (04:31 +0000)]
upstream commit
avoid an uninitialised value when NumberOfPasswordPrompts
is 0 ok markus@ djm@
Upstream-ID:
11b068d83c2865343aeb46acf1e9eec00f829b6b
djm@openbsd.org [Fri, 5 Feb 2016 03:07:06 +0000 (03:07 +0000)]
upstream commit
mention internal DH-GEX fallback groups; bz#2302
Upstream-ID:
e7b395fcca3122cd825515f45a2e41c9a157e09e
djm@openbsd.org [Fri, 5 Feb 2016 02:37:56 +0000 (02:37 +0000)]
upstream commit
better description for MaxSessions; bz#2531
Upstream-ID:
e2c0d74ee185cd1a3e9d4ca1f1b939b745b354da
Damien Miller [Wed, 27 Jan 2016 06:45:56 +0000 (17:45 +1100)]
avoid FreeBSD RCS Id in comment
Change old $FreeBSD version string in comment so it doesn't
become an RCS ident downstream; requested by des AT des.no
djm@openbsd.org [Thu, 4 Feb 2016 23:43:48 +0000 (23:43 +0000)]
upstream commit
printf argument casts to avoid warnings on strict
compilers
Upstream-ID:
7b9f6712cef01865ad29070262d366cf13587c9c
millert@openbsd.org [Mon, 1 Feb 2016 21:18:17 +0000 (21:18 +0000)]
upstream commit
Avoid ugly "DISPLAY "(null)" invalid; disabling X11
forwarding" message when DISPLAY is not set. This could also result in a
crash on systems with a printf that doesn't handle NULL. OK djm@
Upstream-ID:
20ee0cfbda678a247264c20ed75362042b90b412
dtucker@openbsd.org [Fri, 29 Jan 2016 05:18:15 +0000 (05:18 +0000)]
upstream commit
Add regression test for RekeyLimit parsing of >32bit values
(4G and 8G).
Upstream-Regress-ID:
548390350c62747b6234f522a99c319eee401328
dtucker@openbsd.org [Fri, 29 Jan 2016 23:04:46 +0000 (23:04 +0000)]
upstream commit
Remove leftover roaming dead code. ok djm markus.
Upstream-ID:
13d1f9c8b65a5109756bcfd3b74df949d53615be
djm@openbsd.org [Fri, 29 Jan 2016 05:46:01 +0000 (05:46 +0000)]
upstream commit
include packet type of non-data packets in debug3 output;
ok markus dtucker
Upstream-ID:
034eaf639acc96459b9c5ce782db9fcd8bd02d41
dtucker@openbsd.org [Fri, 29 Jan 2016 03:31:03 +0000 (03:31 +0000)]
upstream commit
Revert "account for packets buffered but not yet
processed" change as it breaks for very small RekeyLimit values due to
continuous rekeying. ok djm@
Upstream-ID:
7e03f636cb45ab60db18850236ccf19079182a19
dtucker@openbsd.org [Fri, 29 Jan 2016 02:54:45 +0000 (02:54 +0000)]
upstream commit
Allow RekeyLimits in excess of 4G up to 2**63 bits
(limited by the return type of scan_scaled). Part of bz#2521, ok djm.
Upstream-ID:
13bea82be566b9704821b1ea05bf7804335c7979
dtucker@openbsd.org [Fri, 29 Jan 2016 02:42:46 +0000 (02:42 +0000)]
upstream commit
Account for packets buffered but not yet processed when
computing whether or not it is time to perform rekeying. bz#2521, based
loosely on a patch from olo at fb.com, ok djm@
Upstream-ID:
67e268b547f990ed220f3cb70a5624d9bda12b8c
djm@openbsd.org [Wed, 27 Jan 2016 06:44:58 +0000 (06:44 +0000)]
upstream commit
change old $FreeBSD version string in comment so it doesn't
become an RCS ident downstream; requested by des AT des.no
Upstream-ID:
8ca558c01f184e596b45e4fc8885534b2c864722
djm@openbsd.org [Wed, 27 Jan 2016 00:53:12 +0000 (00:53 +0000)]
upstream commit
make the debug messages a bit more useful here
Upstream-ID:
478ccd4e897e0af8486b294aa63aa3f90ab78d64
jsg@openbsd.org [Sat, 23 Jan 2016 05:31:35 +0000 (05:31 +0000)]
upstream commit
Zero a stack buffer with explicit_bzero() instead of
memset() when returning from client_loop() for consistency with
buffer_free()/sshbuf_free().
ok dtucker@ deraadt@ djm@
Upstream-ID:
bc9975b2095339811c3b954694d7d15ea5c58f66
dtucker@openbsd.org [Wed, 20 Jan 2016 09:22:39 +0000 (09:22 +0000)]
upstream commit
Include sys/time.h for gettimeofday. From sortie at
maxsi.org.
Upstream-ID:
6ed0c33b836d9de0a664cd091e86523ecaa2fb3b
markus@openbsd.org [Thu, 14 Jan 2016 22:56:56 +0000 (22:56 +0000)]
upstream commit
fd leaks; report Qualys Security Advisory team; ok
deraadt@
Upstream-ID:
4ec0f12b9d8fa202293c9effa115464185aa071d
markus@openbsd.org [Thu, 14 Jan 2016 16:17:39 +0000 (16:17 +0000)]
upstream commit
remove roaming support; ok djm@
Upstream-ID:
2cab8f4b197bc95776fb1c8dc2859dad0c64dc56
deraadt@openbsd.org [Thu, 14 Jan 2016 14:34:34 +0000 (14:34 +0000)]
upstream commit
Disable experimental client-side roaming support. Server
side was disabled/gutted for years already, but this aspect was surprisingly
forgotten. Thanks for report from Qualys
Upstream-ID:
2328004b58f431a554d4c1bf67f5407eae3389df
Damien Miller [Thu, 14 Jan 2016 00:08:19 +0000 (11:08 +1100)]
bump version numbers
Damien Miller [Thu, 14 Jan 2016 00:04:04 +0000 (11:04 +1100)]
openssh-7.1p2
Damien Miller [Thu, 14 Jan 2016 14:30:36 +0000 (01:30 +1100)]
forcibly disable roaming support in the client
djm@openbsd.org [Wed, 13 Jan 2016 23:04:47 +0000 (23:04 +0000)]
upstream commit
eliminate fallback from untrusted X11 forwarding to trusted
forwarding when the X server disables the SECURITY extension; Reported by
Thomas Hoger; ok deraadt@
Upstream-ID:
f76195bd2064615a63ef9674a0e4096b0713f938
djm@openbsd.org [Tue, 12 Jan 2016 23:42:54 +0000 (23:42 +0000)]
upstream commit
use explicit_bzero() more liberally in the buffer code; ok
deraadt
Upstream-ID:
0ece37069fd66bc6e4f55eb1321f93df372b65bf
Damien Miller [Fri, 8 Jan 2016 03:24:56 +0000 (14:24 +1100)]
Support Illumos/Solaris fine-grained privileges
Includes a pre-auth privsep sandbox and several pledge()
emulations. bz#2511, patch by Alex Wilson.
ok dtucker@
djm@openbsd.org [Thu, 31 Dec 2015 00:33:52 +0000 (00:33 +0000)]
upstream commit
fix three bugs in KRL code related to (unused) signature
support: verification length was being incorrectly calculated, multiple
signatures were being incorrectly processed and a NULL dereference that
occurred when signatures were verified. Reported by Carl Jackson
Upstream-ID:
e705e97ad3ccce84291eaa651708dd1b9692576b
djm@openbsd.org [Wed, 30 Dec 2015 23:46:14 +0000 (23:46 +0000)]
upstream commit
unused prototype
Upstream-ID:
f3eef4389d53ed6c0d5c77dcdcca3060c745da97
guenther@openbsd.org [Sat, 26 Dec 2015 20:51:35 +0000 (20:51 +0000)]
upstream commit
Use pread/pwrite instead separate lseek+read/write for
lastlog. Cast to off_t before multiplication to avoid truncation on ILP32
ok kettenis@ mmcc@
Upstream-ID:
fc40092568cd195719ddf1a00aa0742340d616cf
semarie@openbsd.org [Sat, 26 Dec 2015 07:46:03 +0000 (07:46 +0000)]
upstream commit
adjust pledge promises for ControlMaster: when using
"ask" or "autoask", the process will use ssh-askpass for asking confirmation.
problem found by halex@
ok halex@
Upstream-ID:
38a58b30ae3eef85051c74d3c247216ec0735f80
djm@openbsd.org [Sun, 13 Dec 2015 22:42:23 +0000 (22:42 +0000)]
upstream commit
unbreak connections with peers that set
first_kex_follows; fix from Matt Johnston va bz#2515
Upstream-ID:
decc88ec4fc7515594fdb42b04aa03189a44184b
doug@openbsd.org [Fri, 11 Dec 2015 17:41:37 +0000 (17:41 +0000)]
upstream commit
Add "id" to ssh-agent pledge for subprocess support.
Found the hard way by Jan Johansson when using ssh-agent with X. Also,
rearranged proc/exec and retval to match other pledge calls in the tree.
ok djm@
Upstream-ID:
914255f6850e5e7fa830a2de6c38605333b584db
mmcc@openbsd.org [Fri, 11 Dec 2015 04:21:11 +0000 (04:21 +0000)]
upstream commit
Remove NULL-checks before sshbuf_free().
ok djm@
Upstream-ID:
5ebed00ed5f9f03b119a345085e8774565466917
djm@openbsd.org [Fri, 11 Dec 2015 03:24:25 +0000 (03:24 +0000)]
upstream commit
include remote port number in a few more messages; makes
tying log messages together into a session a bit easier; bz#2503 ok dtucker@
Upstream-ID:
9300dc354015f7a7368d94a8ff4a4266a69d237e
djm@openbsd.org [Fri, 11 Dec 2015 03:20:09 +0000 (03:20 +0000)]
upstream commit
don't try to load SSHv1 private key when compiled without
SSHv1 support. From Iain Morgan bz#2505
Upstream-ID:
8b8e7b02a448cf5e5635979df2d83028f58868a7
djm@openbsd.org [Fri, 11 Dec 2015 03:19:09 +0000 (03:19 +0000)]
upstream commit
use SSH_MAX_PUBKEY_BYTES consistently as buffer size when
reading key files. Increase it to match the size of the buffers already being
used.
Upstream-ID:
1b60586b484b55a947d99a0b32bd25e0ced56fae
mmcc@openbsd.org [Fri, 11 Dec 2015 02:31:47 +0000 (02:31 +0000)]
upstream commit
Remove NULL-checks before sshkey_free().
ok djm@
Upstream-ID:
3e35afe8a25e021216696b5d6cde7f5d2e5e3f52
dtucker@openbsd.org [Fri, 11 Dec 2015 02:29:03 +0000 (02:29 +0000)]
upstream commit
fflush stdout so that output is seen even when running in
debug mode when output may otherwise not be flushed. Patch from dustin at
null-ptr.net.
Upstream-ID:
b0c6b4cd2cdb01d7e9eefbffdc522e35b5bc4acc
Darren Tucker [Tue, 15 Dec 2015 04:23:49 +0000 (15:23 +1100)]
Increase robustness of redhat/openssh.spec
- remove configure --with-rsh, because this option isn't supported anymore
- replace last occurrence of BuildPreReq by BuildRequires
- update grep statement to query the krb5 include directory
Patch from CarstenGrohmann via github, ok djm.
Darren Tucker [Tue, 15 Dec 2015 04:10:32 +0000 (15:10 +1100)]
Allow --without-ssl-engine with --without-openssl
Patch from Mike Frysinger via github.
Darren Tucker [Tue, 15 Dec 2015 03:27:09 +0000 (14:27 +1100)]
Include openssl crypto.h for SSLeay.
Patch from doughdemon via github.
Darren Tucker [Tue, 15 Dec 2015 02:59:12 +0000 (13:59 +1100)]
Add sys/time.h for gettimeofday.
Should allow it it compile with MUSL libc. Based on patch from
doughdemon via github.
djm@openbsd.org [Fri, 11 Dec 2015 02:20:28 +0000 (02:20 +0000)]
upstream commit
correct error messages; from Tomas Kuthan bz#2507
Upstream-ID:
7454a0affeab772398052954c79300aa82077093
mmcc@openbsd.org [Fri, 11 Dec 2015 00:20:04 +0000 (00:20 +0000)]
upstream commit
Pass (char *)NULL rather than (char *)0 to execl and
execlp.
ok dtucker@
Upstream-ID:
56c955106cbddba86c3dd9bbf786ac0d1b361492
mmcc@openbsd.org [Thu, 10 Dec 2015 17:08:40 +0000 (17:08 +0000)]
upstream commit
Remove NULL-checks before free().
ok dtucker@
Upstream-ID:
e3d3cb1ce900179906af36517b5eea0fb15e6ef8
mmcc@openbsd.org [Thu, 10 Dec 2015 07:01:35 +0000 (07:01 +0000)]
upstream commit
Fix a couple "the the" typos. ok dtucker@
Upstream-ID:
ec364c5af32031f013001fd28d1bd3dfacfe9a72
markus@openbsd.org [Mon, 7 Dec 2015 20:04:09 +0000 (20:04 +0000)]
upstream commit
stricter encoding type checks for ssh-rsa; ok djm@
Upstream-ID:
8cca7c787599a5e8391e184d0b4f36fdc3665650
Damien Miller [Tue, 8 Dec 2015 22:18:45 +0000 (09:18 +1100)]
Don't set IPV6_V6ONLY on OpenBSD
It isn't necessary and runs afoul of pledge(2) restrictions.
djm@openbsd.org [Mon, 7 Dec 2015 02:20:46 +0000 (02:20 +0000)]
upstream commit
basic unit tests for rsa-sha2-* signature types
Upstream-Regress-ID:
7dc4b9db809d578ff104d591b4d86560c3598d3c
markus@openbsd.org [Sat, 5 Dec 2015 20:53:21 +0000 (20:53 +0000)]
upstream commit
prefer rsa-sha2-512 over -256 for hostkeys, too; noticed
by naddy@
Upstream-ID:
685f55f7ec566a8caca587750672723a0faf3ffe
tobias@openbsd.org [Fri, 4 Dec 2015 21:51:06 +0000 (21:51 +0000)]
upstream commit
Properly handle invalid %-format by calling fatal.
ok deraadt, djm
Upstream-ID:
5692bce7d9f6eaa9c488cb93d3b55e758bef1eac
markus@openbsd.org [Fri, 4 Dec 2015 16:41:28 +0000 (16:41 +0000)]
upstream commit
implement SHA2-{256,512} for RSASSA-PKCS1-v1_5 signatures
(user and host auth) based on draft-rsa-dsa-sha2-256-03.txt and
draft-ssh-ext-info-04.txt; with & ok djm@
Upstream-ID:
cf82ce532b2733e5c4b34bb7b7c94835632db309
djm@openbsd.org [Fri, 4 Dec 2015 00:24:55 +0000 (00:24 +0000)]
upstream commit
clean up agent_fd handling; properly initialise it to -1
and make tests consistent
ok markus@
Upstream-ID:
ac9554323d5065745caf17b5e37cb0f0d4825707
semarie@openbsd.org [Thu, 3 Dec 2015 17:00:18 +0000 (17:00 +0000)]
upstream commit
pledges ssh client: - mux client: which is used when
ControlMaster is in use. will end with "stdio proc tty" (proc is to
permit sending SIGWINCH to mux master on window resize)
- client loop: several levels of pledging depending of your used options
ok deraadt@
Upstream-ID:
21676155a700e51f2ce911e33538e92a2cd1d94b
doug@openbsd.org [Wed, 2 Dec 2015 08:30:50 +0000 (08:30 +0000)]
upstream commit
Add "cpath" to the ssh-agent pledge so the cleanup
handler can unlink().
ok djm@
Upstream-ID:
9e632991d48241d56db645602d381253a3d8c29d
djm@openbsd.org [Wed, 2 Dec 2015 08:00:58 +0000 (08:00 +0000)]
upstream commit
ssh-agent pledge needs proc for askpass; spotted by todd@
Upstream-ID:
349aa261b29cc0e7de47ef56167769c432630b2a
djm@openbsd.org [Tue, 1 Dec 2015 23:29:24 +0000 (23:29 +0000)]
upstream commit
basic pledge() for ssh-agent, more refinement needed
Upstream-ID:
5b5b03c88162fce549e45e1b6dd833f20bbb5e13
Damien Miller [Sun, 29 Nov 2015 23:53:25 +0000 (10:53 +1100)]
Revert "stub for pledge(2) for systems that lack it"
This reverts commit
14c887c8393adde2d9fd437d498be30f8c98535c .
dtucker beat me to it :/
Damien Miller [Sun, 29 Nov 2015 23:37:03 +0000 (10:37 +1100)]
revert
7d4c7513 : bring back S/Key prototypes
(but leave RCSID changes)
Damien Miller [Sun, 29 Nov 2015 22:45:29 +0000 (09:45 +1100)]
stub for pledge(2) for systems that lack it
djm@openbsd.org [Sun, 29 Nov 2015 22:18:37 +0000 (22:18 +0000)]
upstream commit
pledge, better fatal() messages; feedback deraadt@
Upstream-ID:
3e00f6ccfe2b9a7a2d1dbba5409586180801488f
deraadt@openbsd.org [Sat, 28 Nov 2015 06:50:52 +0000 (06:50 +0000)]
upstream commit
do not leak temp file if there is no known_hosts file
from craig leres, ok djm
Upstream-ID:
c820497fd5574844c782e79405c55860f170e426
Darren Tucker [Sun, 29 Nov 2015 20:23:53 +0000 (07:23 +1100)]
Add a null implementation of pledge.
Fixes builds on almost everything.
djm@openbsd.org [Sat, 28 Nov 2015 06:41:03 +0000 (06:41 +0000)]
upstream commit
don't include port number in tcpip-forward replies for
requests that don't allocate a port; bz#2509 diagnosed by Ron Frederick ok
markus
Upstream-ID:
77efad818addb61ec638b5a2362f1554e21a970a
deraadt@openbsd.org [Fri, 27 Nov 2015 00:49:31 +0000 (00:49 +0000)]
upstream commit
pledge "stdio rpath wpath cpath fattr tty proc exec"
except for the -p option (which sadly has insane semantics...) ok semarie
dtucker
Upstream-ID:
8854bbd58279abe00f6c33f8094bdc02c8c65059
halex@openbsd.org [Fri, 20 Nov 2015 23:04:01 +0000 (23:04 +0000)]
upstream commit
allow comment change for all supported formats
ok djm@
Upstream-ID:
5fc477cf2f119b2d44aa9c683af16cb00bb3744b