]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
Damien Miller [Tue, 9 May 2017 04:35:03 +0000 (14:35 +1000)]
clean up regress files and add a .gitignore
djm@openbsd.org [Mon, 8 May 2017 22:57:38 +0000 (22:57 +0000)]
upstream commit
remove hmac-ripemd160; ok dtucker
Upstream-ID:
896e737ea0bad6e23327d1c127e02d5e9e9c654d
djm@openbsd.org [Mon, 8 May 2017 06:11:06 +0000 (06:11 +0000)]
upstream commit
make requesting bad ECDSA bits yield the same error
(SSH_ERR_KEY_LENGTH) as the same mistake for RSA/DSA
Upstream-ID:
bf40d3fee567c271e33f05ef8e4e0fa0b6f0ece6
djm@openbsd.org [Mon, 8 May 2017 06:08:42 +0000 (06:08 +0000)]
upstream commit
fix for new SSH_ERR_KEY_LENGTH error value
Upstream-Regress-ID:
c38a6e6174d4c3feca3518df150d4fbae0dca8dc
djm@openbsd.org [Mon, 8 May 2017 06:03:39 +0000 (06:03 +0000)]
upstream commit
helps if I commit the correct version of the file. fix
missing return statement.
Upstream-ID:
c86394a3beeb1ec6611e659bfa830254f325546c
djm@openbsd.org [Mon, 8 May 2017 01:52:49 +0000 (01:52 +0000)]
upstream commit
remove arcfour, blowfish and CAST here too
Upstream-Regress-ID:
c613b3bcbef75df1fe84ca4dc2d3ef253dc5e920
djm@openbsd.org [Mon, 8 May 2017 00:21:36 +0000 (00:21 +0000)]
upstream commit
I was too aggressive with the scalpel in the last commit;
unbreak sshd, spotted quickly by naddy@
Upstream-ID:
fb7e75d2b2c7e6ca57dee00ca645e322dd49adbf
djm@openbsd.org [Sun, 7 May 2017 23:15:59 +0000 (23:15 +0000)]
upstream commit
Refuse RSA keys <1024 bits in length. Improve reporting
for keys that do not meet this requirement. ok markus@
Upstream-ID:
b385e2a7b13b1484792ee681daaf79e1e203df6c
djm@openbsd.org [Sun, 7 May 2017 23:13:42 +0000 (23:13 +0000)]
upstream commit
Don't offer CBC ciphers by default in the client. ok
markus@
Upstream-ID:
94c9ce8d0d1a085052e11c7f3307950fdc0901ef
djm@openbsd.org [Sun, 7 May 2017 23:12:57 +0000 (23:12 +0000)]
upstream commit
As promised in last release announcement: remove
support for Blowfish, RC4 and CAST ciphers. ok markus@ deraadt@
Upstream-ID:
21f8facdba3fd8da248df6417000867cec6ba222
naddy@openbsd.org [Fri, 5 May 2017 10:42:49 +0000 (10:42 +0000)]
upstream commit
more simplification and removal of SSHv1-related code;
ok djm@
Upstream-ID:
d2f041aa0b79c0ebd98c68a01e5a0bfab2cf3b55
naddy@openbsd.org [Fri, 5 May 2017 10:41:58 +0000 (10:41 +0000)]
upstream commit
remove superfluous protocol 2 mentions; ok jmc@
Upstream-ID:
0aaf7567c9f2e50fac5906b6a500a39c33c4664d
djm@openbsd.org [Thu, 4 May 2017 06:10:57 +0000 (06:10 +0000)]
upstream commit
since a couple of people have asked, leave a comment
explaining why we retain SSH v.1 support in the "delete all keys from agent"
path.
Upstream-ID:
4b42dcfa339813c15fe9248a2c1b7ed41c21bbb4
djm@openbsd.org [Thu, 4 May 2017 01:33:21 +0000 (01:33 +0000)]
upstream commit
another tentacle: cipher_set_key_string() was only ever
used for SSHv1
Upstream-ID:
7fd31eb6c48946f7e7cc12af0699fe8eb637e94a
naddy@openbsd.org [Wed, 3 May 2017 21:49:18 +0000 (21:49 +0000)]
upstream commit
restore mistakenly deleted description of the
ConnectionAttempts option ok markus@
Upstream-ID:
943002b1b7c470caea3253ba7b7348c359de0348
naddy@openbsd.org [Wed, 3 May 2017 21:08:09 +0000 (21:08 +0000)]
upstream commit
remove miscellaneous SSH1 leftovers; ok markus@
Upstream-ID:
af23696022ae4d45a1abc2fb8b490d8d9dd63b7c
jmc@openbsd.org [Wed, 3 May 2017 10:01:44 +0000 (10:01 +0000)]
upstream commit
more protocol 1 bits removed; ok djm
Upstream-ID:
b5b977eaf756915acb56aef3604a650e27f7c2b9
jmc@openbsd.org [Wed, 3 May 2017 06:32:02 +0000 (06:32 +0000)]
upstream commit
more protocol 1 stuff to go; ok djm
Upstream-ID:
307a30441d2edda480fd1661d998d36665671e47
jmc@openbsd.org [Tue, 2 May 2017 17:04:09 +0000 (17:04 +0000)]
upstream commit
rsa1 is no longer valid;
Upstream-ID:
9953d09ed9841c44b7dcf7019fa874783a709d89
jmc@openbsd.org [Tue, 2 May 2017 14:06:37 +0000 (14:06 +0000)]
upstream commit
add PubKeyAcceptedKeyTypes to the -o list: scp(1) has
it, so i guess this should too;
Upstream-ID:
7fab32e869ca5831d09ab0c40d210b461d527a2c
jmc@openbsd.org [Tue, 2 May 2017 13:44:51 +0000 (13:44 +0000)]
upstream commit
remove now obsolete protocol1 options from the -o
lists;
Upstream-ID:
828e478a440bc5f9947672c392420510a362b3dd
jmc@openbsd.org [Tue, 2 May 2017 09:05:58 +0000 (09:05 +0000)]
upstream commit
more -O shuffle; ok djm
Upstream-ID:
c239991a3a025cdbb030b73e990188dd9bfbeceb
djm@openbsd.org [Tue, 2 May 2017 08:54:19 +0000 (08:54 +0000)]
upstream commit
remove -1 / -2 options; pointed out by jmc@
Upstream-ID:
65d2a816000741a95df1c7cfdb5fa8469fcc7daa
jmc@openbsd.org [Tue, 2 May 2017 08:06:33 +0000 (08:06 +0000)]
upstream commit
remove options -12 from usage();
Upstream-ID:
db7ceef25132e63b50ed05289bf447fece1d1270
jmc@openbsd.org [Tue, 2 May 2017 07:13:31 +0000 (07:13 +0000)]
upstream commit
tidy up -O somewhat; ok djm
Upstream-ID:
804405f716bf7ef15c1f36ab48581ca16aeb4d52
djm@openbsd.org [Mon, 1 May 2017 22:09:48 +0000 (22:09 +0000)]
upstream commit
when freeing a bitmap, zero all it bytes; spotted by Ilya
Kaliman
Upstream-ID:
834ac024f2c82389d6ea6b1c7d6701b3836e28e4
djm@openbsd.org [Mon, 1 May 2017 14:08:26 +0000 (14:08 +0000)]
upstream commit
this one I did forget to "cvs rm"
Upstream-ID:
5781670c0578fe89663c9085ed3ba477cf7e7913
djm@openbsd.org [Mon, 1 May 2017 09:27:45 +0000 (09:27 +0000)]
upstream commit
don't know why cvs didn't exterminate these the first
time around, I use rm -f and everuthing...
pointed out by sobrado@
Upstream-ID:
a6c44a0c2885330d322ee01fcfd7f6f209b1e15d
Darren Tucker [Mon, 1 May 2017 03:53:07 +0000 (13:53 +1000)]
Define INT32_MAX and INT64_MAX if needed.
Darren Tucker [Mon, 1 May 2017 03:19:41 +0000 (13:19 +1000)]
Wrap stdint.h in HAVE_STDINT_H
djm@openbsd.org [Mon, 1 May 2017 02:27:11 +0000 (02:27 +0000)]
upstream commit
remove unused variable
Upstream-ID:
66011f00819d0e71b14700449a98414033284516
djm@openbsd.org [Sun, 30 Apr 2017 23:34:55 +0000 (23:34 +0000)]
upstream commit
eliminate explicit specification of protocol in tests and
loops over protocol. We only support SSHv2 now.
Upstream-Regress-ID:
0082838a9b8a382b7ee9cbf0c1b9db727784fadd
djm@openbsd.org [Sun, 30 Apr 2017 23:33:48 +0000 (23:33 +0000)]
upstream commit
remove SSHv1 support from unit tests
Upstream-Regress-ID:
395ca2aa48f1f7d23eefff6cb849ea733ca8bbfe
djm@openbsd.org [Mon, 1 May 2017 00:03:18 +0000 (00:03 +0000)]
upstream commit
fixup setting ciphercontext->plaintext (lost in SSHv1 purge),
though it isn't really used for much anymore.
Upstream-ID:
859b8bce84ff4865b32097db5430349d04b9b747
Damien Miller [Sun, 30 Apr 2017 23:55:56 +0000 (09:55 +1000)]
remove configure --with-ssh1
djm@openbsd.org [Sun, 30 Apr 2017 23:29:10 +0000 (23:29 +0000)]
upstream commit
flense SSHv1 support from ssh-agent, considerably
simplifying it
ok markus
Upstream-ID:
71d772cdcefcb29f76e01252e8361e6fc2dfc365
djm@openbsd.org [Sun, 30 Apr 2017 23:28:41 +0000 (23:28 +0000)]
upstream commit
obliterate ssh1.h and some dead code that used it
ok markus@
Upstream-ID:
1ca9159a9fb95618f9d51e069ac8e1131a087343
djm@openbsd.org [Sun, 30 Apr 2017 23:28:12 +0000 (23:28 +0000)]
upstream commit
exterminate the -1 flag from scp
ok markus@
Upstream-ID:
26d247f7065da15056b209cef5f594ff591b89db
djm@openbsd.org [Sun, 30 Apr 2017 23:26:54 +0000 (23:26 +0000)]
upstream commit
purge the last traces of SSHv1 from the TTY modes
handling code
ok markus
Upstream-ID:
963a19f1e06577377c38a3b7ce468f121b966195
djm@openbsd.org [Sun, 30 Apr 2017 23:26:16 +0000 (23:26 +0000)]
upstream commit
remove the (in)famous SSHv1 CRC compensation attack
detector.
Despite your cameo in The Matrix movies, you will not be missed.
ok markus
Upstream-ID:
44261fce51a56d93cdb2af7b6e184be629f667e0
djm@openbsd.org [Sun, 30 Apr 2017 23:25:03 +0000 (23:25 +0000)]
upstream commit
undo some local debugging stuff that I committed by
accident
Upstream-ID:
fe5b31f69a60d47171836911f144acff77810217
djm@openbsd.org [Sun, 30 Apr 2017 23:23:54 +0000 (23:23 +0000)]
upstream commit
remove SSHv1 support from packet and buffer APIs
ok markus@
Upstream-ID:
bfc290053d40b806ecac46317d300677d80e1dc9
djm@openbsd.org [Sun, 30 Apr 2017 23:21:54 +0000 (23:21 +0000)]
upstream commit
remove SSHv1-related buffers from client code
Upstream-ID:
dca5d01108f891861ceaf7ba1c0f2eb274e0c7dd
djm@openbsd.org [Sun, 30 Apr 2017 23:18:44 +0000 (23:18 +0000)]
upstream commit
remove KEY_RSA1
ok markus@
Upstream-ID:
7408517b077c892a86b581e19f82a163069bf133
djm@openbsd.org [Sun, 30 Apr 2017 23:18:22 +0000 (23:18 +0000)]
upstream commit
remove SSHv1 configuration options and man pages bits
ok markus@
Upstream-ID:
84638c23546c056727b7a7d653c72574e0f19424
djm@openbsd.org [Sun, 30 Apr 2017 23:17:37 +0000 (23:17 +0000)]
upstream commit
remove SSH1 make flag and associated files ok markus@
Upstream-ID:
ba9feacc5787337c413db7cf26ea3d53f854cfef
djm@openbsd.org [Sun, 30 Apr 2017 23:15:04 +0000 (23:15 +0000)]
upstream commit
remove SSHv1 ciphers; ok markus@
Upstream-ID:
e5ebc5e540d7f23a8c1266db1839794d4d177890
djm@openbsd.org [Sun, 30 Apr 2017 23:13:25 +0000 (23:13 +0000)]
upstream commit
remove compat20/compat13/compat15 variables
ok markus@
Upstream-ID:
43802c035ceb3fef6c50c400e4ecabf12354691c
djm@openbsd.org [Sun, 30 Apr 2017 23:11:45 +0000 (23:11 +0000)]
upstream commit
remove options.protocol and client Protocol
configuration knob
ok markus@
Upstream-ID:
5a967f5d06e2d004b0235457b6de3a9a314e9366
djm@openbsd.org [Sun, 30 Apr 2017 23:10:43 +0000 (23:10 +0000)]
upstream commit
unifdef WITH_SSH1 ok markus@
Upstream-ID:
9716e62a883ef8826c57f4d33b4a81a9cc7755c7
jmc@openbsd.org [Sat, 29 Apr 2017 06:06:01 +0000 (06:06 +0000)]
upstream commit
tweak previous;
Upstream-ID:
a3abc6857455299aa42a046d232b7984568bceb9
djm@openbsd.org [Sat, 29 Apr 2017 04:12:25 +0000 (04:12 +0000)]
upstream commit
allow ssh-keygen to include arbitrary string or flag
certificate extensions and critical options. ok markus@ dtucker@
Upstream-ID:
2cf28dd6c5489eb9fc136e0b667ac3ea10241646
jmc@openbsd.org [Fri, 28 Apr 2017 06:15:03 +0000 (06:15 +0000)]
Darren Tucker [Fri, 28 Apr 2017 04:44:28 +0000 (14:44 +1000)]
Darren Tucker [Fri, 28 Apr 2017 04:41:17 +0000 (14:41 +1000)]
Add 2 regress commits I applied by hand.
Upstream-Regress-ID:
30c20180c87cbc99fa1020489fe7fd8245b6420c
Upstream-Regress-ID:
1e6b51ddf767cbad0a4e63eb08026c127e654308
Darren Tucker [Fri, 28 Apr 2017 04:33:43 +0000 (14:33 +1000)]
Merge integrity.sh rev 1.22.
Merge missing bits from Colin Watson's patch in bz#2658 which make integrity
tests more robust against timeouts. ok djm@
Darren Tucker [Fri, 28 Apr 2017 04:30:03 +0000 (14:30 +1000)]
Id sync for integrity.sh rev 1.21 which pulls in some shell portability fixes
jsg@openbsd.org [Mon, 17 Apr 2017 11:02:31 +0000 (11:02 +0000)]
upstream commit
Change COMPILER_VERSION tests which limited additional
warnings to gcc4 to instead skip them on gcc3 as clang can handle
-Wpointer-sign and -Wold-style-definition.
Upstream-Regress-ID:
e48d7dc13e48d9334b8195ef884dfbc51316012f
djm@openbsd.org [Fri, 28 Apr 2017 03:24:53 +0000 (03:24 +0000)]
upstream commit
include key fingerprint in "Offering public key" debug
message
Upstream-ID:
964749f820c2ed4cf6a866268b1a05e907315c52
millert@openbsd.org [Fri, 28 Apr 2017 03:21:12 +0000 (03:21 +0000)]
upstream commit
Avoid relying on implementation-specific behavior when
detecting whether the timestamp or file size overflowed. If time_t and off_t
are not either 32-bit or 64-bit scp will exit with an error. OK djm@
Upstream-ID:
f31caae73ddab6df496b7bbbf7da431e267ad135
dtucker@openbsd.org [Fri, 28 Apr 2017 03:20:27 +0000 (03:20 +0000)]
upstream commit
Add SyslogFacility option to ssh(1) matching the
equivalent option in sshd(8). bz#2705, patch from erahn at arista.com, ok
djm@
Upstream-ID:
d5115c2c0193ceb056ed857813b2a7222abda9ed
jsg@openbsd.org [Thu, 27 Apr 2017 13:40:05 +0000 (13:40 +0000)]
upstream commit
remove a static array unused since rev 1.306 spotted by
clang ok djm@
Upstream-ID:
249b3eed2446f6074ba2219ccc46919dd235a7b8
millert@openbsd.org [Thu, 27 Apr 2017 11:53:12 +0000 (11:53 +0000)]
upstream commit
Avoid potential signed int overflow when parsing the file
size. Use strtoul() instead of parsing manually. OK djm@
Upstream-ID:
1f82640861c7d905bbb05e7d935d46b0419ced02
Darren Tucker [Mon, 24 Apr 2017 22:32:27 +0000 (08:32 +1000)]
Fix typo in "socketcall".
Pointed out by jjelen at redhat.com.
Darren Tucker [Mon, 24 Apr 2017 09:40:31 +0000 (19:40 +1000)]
Deny socketcall in seccomp filter on ppc64le.
OpenSSL is using socket() calls (in FIPS mode) when handling ECDSA keys
in privsep child. The socket() syscall is already denied in the seccomp
filter, but in ppc64le kernel, it is implemented using socketcall()
syscall, which is not denied yet (only SYS_SHUTDOWN is allowed) and
therefore fails hard.
Patch from jjelen at redhat.com.
schwarze@openbsd.org [Mon, 17 Apr 2017 14:31:23 +0000 (14:31 +0000)]
upstream commit
Recognize nl_langinfo(CODESET) return values "646" and ""
as aliases for "US-ASCII", useful for different versions of NetBSD and
Solaris. Found by dtucker@ and by Tom G. Christensen <tgc at jupiterrise dot
com>. OK dtucker@ deraadt@
Upstream-ID:
38c2133817cbcae75c88c63599ac54228f0fa384
jsg@openbsd.org [Mon, 17 Apr 2017 11:02:31 +0000 (11:02 +0000)]
upstream commit
Change COMPILER_VERSION tests which limited additional
warnings to gcc4 to instead skip them on gcc3 as clang can handle
-Wpointer-sign and -Wold-style-definition.
Upstream-ID:
5cbe348aa76dc1adf55be6c0e388fafaa945439a
djm@openbsd.org [Tue, 4 Apr 2017 00:24:56 +0000 (00:24 +0000)]
upstream commit
disallow creation (of empty files) in read-only mode;
reported by Michal Zalewski, feedback & ok deraadt@
Upstream-ID:
5d9c8f2fa8511d4ecf95322994ffe73e9283899b
deraadt@openbsd.org [Sun, 26 Mar 2017 00:18:52 +0000 (00:18 +0000)]
upstream commit
incorrect renditions of this quote bother me
Upstream-ID:
1662be3ebb7a71d543da088119c31d4d463a9e49
Darren Tucker [Fri, 31 Mar 2017 00:04:43 +0000 (11:04 +1100)]
Check for and use gcc's -pipe.
Speeds up configure and build by a couple of percent. ok djm@
Darren Tucker [Wed, 29 Mar 2017 05:34:44 +0000 (16:34 +1100)]
Import fmt_scaled.c rev 1.16 from OpenBSD.
Fix overly-conservative overflow checks on mulitplications and add checks
on additions. This allows scan_scaled to work up to +/-LLONG_MAX (LLONG_MIN
will still be flagged as a range error). ok millert@
Darren Tucker [Wed, 29 Mar 2017 05:34:02 +0000 (16:34 +1100)]
Import fmt_scaled.c rev 1.15 from OpenBSD.
Collapse underflow and overflow checks into a single block.
ok djm@ millert@
Darren Tucker [Wed, 29 Mar 2017 05:32:57 +0000 (16:32 +1100)]
Import fmt_scaled.c rev 1.14 from OpenBSD.
Catch integer underflow in scan_scaled reported by Nicolas Iooss.
ok deraadt@ djm@
Darren Tucker [Wed, 29 Mar 2017 01:39:39 +0000 (12:39 +1100)]
Don't check privsep user or path when unprivileged
If running with privsep (mandatory now) as a non-privileged user, we
don't chroot or change to an unprivileged user however we still checked
the existence of the user and directory. Don't do those checks if we're
not going to use them. Based in part on a patch from Lionel Fourquaux
via Corinna Vinschen, ok djm@
Darren Tucker [Tue, 28 Mar 2017 23:50:31 +0000 (10:50 +1100)]
Remove SHA256 EVP wrapper implementation.
All supported versions of OpenSSL should now have SHA256 so remove our
EVP wrapper implementaion. ok djm@
Darren Tucker [Tue, 28 Mar 2017 23:23:58 +0000 (10:23 +1100)]
Remove check for OpenSSL < 0.9.8g.
We no longer support OpenSSL < 1.0.1 so remove check for unreliable ECC
in OpenSSL < 0.9.8g.
Darren Tucker [Tue, 28 Mar 2017 23:16:15 +0000 (10:16 +1100)]
Remove compat code for OpenSSL < 0.9.7.
Resyncs that code with OpenBSD upstream.
Darren Tucker [Tue, 28 Mar 2017 22:50:54 +0000 (09:50 +1100)]
Remove SSHv1 code path.
Server-side support for Protocol 1 has been removed so remove !compat20
PAM code path.
Darren Tucker [Thu, 23 Mar 2017 22:44:56 +0000 (09:44 +1100)]
Enable ldns when using ldns-config.
Actually enable ldns when attempting to use ldns-config. bz#2697, patch
from fredrik at fornwall.net.
Damien Miller [Wed, 22 Mar 2017 01:43:02 +0000 (12:43 +1100)]
Missing header on Linux/s390
Patch from Jakub Jelen
djm@openbsd.org [Mon, 20 Mar 2017 22:08:06 +0000 (22:08 +0000)]
upstream commit
remove /usr/bin/time calls around tests, makes diffing test
runs harder. Based on patch from Mike Frysinger
Upstream-Regress-ID:
81c1083b14dcf473b23d2817882f40b346ebc95c
Damien Miller [Mon, 20 Mar 2017 21:47:55 +0000 (08:47 +1100)]
Fix syntax error on Linux/X32
Patch from Mike Frysinger
Darren Tucker [Mon, 20 Mar 2017 02:38:27 +0000 (13:38 +1100)]
Add llabs() implementation.
Damien Miller [Mon, 20 Mar 2017 01:23:04 +0000 (12:23 +1100)]
crank version numbers
djm@openbsd.org [Mon, 20 Mar 2017 01:18:59 +0000 (01:18 +0000)]
upstream commit
openssh-7.5
Upstream-ID:
b8b9a4a949427c393cd868215e1724ceb3467ee5
Damien Miller [Mon, 20 Mar 2017 01:07:20 +0000 (12:07 +1100)]
I'm a doofus.
Unbreak obvious syntax error.
Damien Miller [Mon, 20 Mar 2017 00:53:34 +0000 (11:53 +1100)]
on Cygwin, check paths from server for backslashes
Pointed out by Jann Horn of Google Project Zero
Damien Miller [Mon, 20 Mar 2017 00:48:34 +0000 (11:48 +1100)]
Yet another synonym for ASCII: "646"
Used by NetBSD; this unbreaks mprintf() and friends there for the C
locale (caught by dtucker@ and his menagerie of test systems).
Damien Miller [Sun, 19 Mar 2017 22:58:34 +0000 (09:58 +1100)]
create test mux socket in /tmp
Creating the socket in $OBJ could blow past the (quite limited)
path limit for Unix domain sockets. As a bandaid for bz#2660,
reported by Colin Watson; ok dtucker@
markus@openbsd.org [Wed, 15 Mar 2017 07:07:39 +0000 (07:07 +0000)]
upstream commit
disallow KEXINIT before NEWKEYS; ok djm; report by
vegard.nossum at oracle.com
Upstream-ID:
3668852d1f145050e62f1da08917de34cb0c5234
Darren Tucker [Thu, 16 Mar 2017 03:05:46 +0000 (14:05 +1100)]
Include includes.h for compat bits.
Darren Tucker [Thu, 16 Mar 2017 02:45:17 +0000 (13:45 +1100)]
Wrap stdint.h in #ifdef HAVE_STDINT_H
Damien Miller [Thu, 16 Mar 2017 00:22:42 +0000 (11:22 +1100)]
Adapt Cygwin config script to privsep knob removal
Patch from Corinna Vinschen.
deraadt@openbsd.org [Wed, 15 Mar 2017 03:52:30 +0000 (03:52 +0000)]
upstream commit
accidents happen to the best of us; ok djm
Upstream-ID:
b7a9dbd71011ffde95e06f6945fe7197dedd1604
djm@openbsd.org [Wed, 15 Mar 2017 02:25:09 +0000 (02:25 +0000)]
upstream commit
fix regression in 7.4: deletion of PKCS#11-hosted keys
would fail unless they were specified by full physical pathname. Report and
fix from Jakub Jelen via bz#2682; ok dtucker@
Upstream-ID:
5b5bc20ca11cacb5d5eb29c3f93fd18425552268
djm@openbsd.org [Wed, 15 Mar 2017 02:19:09 +0000 (02:19 +0000)]
upstream commit
Fix segfault when sshd attempts to load RSA1 keys (can
only happen when protocol v.1 support is enabled for the client). Reported by
Jakub Jelen in bz#2686; ok dtucker
Upstream-ID:
8fdaec2ba4b5f65db1d094f6714ce64b25d871d7
djm@openbsd.org [Tue, 14 Mar 2017 07:19:07 +0000 (07:19 +0000)]
upstream commit
Mark the sshd_config UsePrivilegeSeparation option as
deprecated, effectively making privsep mandatory in sandboxing mode. ok
markus@ deraadt@
(note: this doesn't remove the !privsep code paths, though that will
happen eventually).
Upstream-ID:
b4c52666256c4dd865f8ce9431af5d6ce2d74a0a
Damien Miller [Tue, 14 Mar 2017 07:26:29 +0000 (18:26 +1100)]
Make seccomp-bpf sandbox work on Linux/X32
Allow clock_gettime syscall with X32 bit masked off. Apparently
this is required for at least some kernel versions. bz#2142
Patch mostly by Colin Watson. ok dtucker@
Damien Miller [Tue, 14 Mar 2017 07:01:52 +0000 (18:01 +1100)]
require OpenSSL >=1.0.1
Damien Miller [Tue, 14 Mar 2017 06:48:43 +0000 (17:48 +1100)]
Remove macro trickery; no binary change
This stops the SC_ALLOW(), SC_ALLOW_ARG() and SC_DENY() macros
prepending __NR_ to the syscall number parameter and just makes
them explicit in the macro invocations.
No binary change in stripped object file before/after.