]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
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 00:02:58 +0000 (11:02 +1100)]
forcibly disable roaming support in the client
djm@openbsd.org [Mon, 5 Oct 2015 17:11:21 +0000 (17:11 +0000)]
upstream commit
some more bzero->explicit_bzero, from Michael McConville
Upstream-ID:
17f19545685c33327db2efdc357c1c9225ff00d0
guenther@openbsd.org [Fri, 11 Sep 2015 08:50:04 +0000 (08:50 +0000)]
upstream commit
Use explicit_bzero() when zeroing before free()
from Michael McConville (mmcconv1 (at) sccs.swarthmore.edu)
ok millert@ djm@
Upstream-ID:
2e3337db046c3fe70c7369ee31515ac73ec00f50
djm@openbsd.org [Sun, 8 Nov 2015 21:59:11 +0000 (21:59 +0000)]
upstream commit
fix OOB read in packet code caused by missing return
statement found by Ben Hawkes; ok markus@ deraadt@
Upstream-ID:
a3e3a85434ebfa0690d4879091959591f30efc62
Damien Miller [Sat, 14 Nov 2015 07:44:49 +0000 (18:44 +1100)]
read back from libcrypto RAND when privdropping
makes certain libcrypto implementations cache a /dev/urandom fd
in preparation of sandboxing. Based on patch by Greg Hartman.
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
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, 21 Aug 2015 04:49:03 +0000 (14:49 +1000)]
we don't use Github for issues/pull-requests
Damien Miller [Fri, 21 Aug 2015 04:43:55 +0000 (14:43 +1000)]
fix URL for connect.c
Damien Miller [Fri, 21 Aug 2015 03:47:10 +0000 (13:47 +1000)]
update version numbers for 7.1
djm@openbsd.org [Fri, 21 Aug 2015 03:45:26 +0000 (03:45 +0000)]
upstream commit
openssh-7.1
Upstream-ID:
ff7b1ef4b06caddfb45e08ba998128c88be3d73f
djm@openbsd.org [Fri, 21 Aug 2015 03:42:19 +0000 (03:42 +0000)]
upstream commit
fix inverted logic that broke PermitRootLogin; reported
by Mantas Mikulenas; ok markus@
Upstream-ID:
260dd6a904c1bb7e43267e394b1c9cf70bdd5ea5
deraadt@openbsd.org [Thu, 20 Aug 2015 22:32:42 +0000 (22:32 +0000)]
upstream commit
Do not cast result of malloc/calloc/realloc* if stdlib.h
is in scope ok krw millert
Upstream-ID:
5e50ded78cadf3841556649a16cc4b1cb6c58667
naddy@openbsd.org [Thu, 20 Aug 2015 19:20:06 +0000 (19:20 +0000)]
upstream commit
In the certificates section, be consistent about using
"host_key" and "user_key" for the respective key types. ok sthen@ deraadt@
Upstream-ID:
9e037ea3b15577b238604c5533e082a3947f13cb
djm@openbsd.org [Wed, 19 Aug 2015 23:21:42 +0000 (23:21 +0000)]
upstream commit
Better compat matching for WinSCP, add compat matching
for FuTTY (fork of PuTTY); ok markus@ deraadt@
Upstream-ID:
24001d1ac115fa3260fbdc329a4b9aeb283c5389
djm@openbsd.org [Wed, 19 Aug 2015 23:19:01 +0000 (23:19 +0000)]
upstream commit
fix double-free() in error path of DSA key generation
reported by Mateusz Kocielski; ok markus@
Upstream-ID:
4735d8f888b10599a935fa1b374787089116713c
djm@openbsd.org [Wed, 19 Aug 2015 23:18:26 +0000 (23:18 +0000)]
upstream commit
fix free() of uninitialised pointer reported by Mateusz
Kocielski; ok markus@
Upstream-ID:
519552b050618501a06b7b023de5cb104e2c5663
djm@openbsd.org [Wed, 19 Aug 2015 23:17:51 +0000 (23:17 +0000)]
upstream commit
fixed unlink([uninitialised memory]) reported by Mateusz
Kocielski; ok markus@
Upstream-ID:
14a0c4e7d891f5a8dabc4b89d4f6b7c0d5a20109
jmc@openbsd.org [Fri, 14 Aug 2015 15:32:41 +0000 (15:32 +0000)]
upstream commit
match myproposal.h order; from brian conway (i snuck in a
tweak while here)
ok dtucker
Upstream-ID:
35174a19b5237ea36aa3798f042bf5933b772c67
deraadt@openbsd.org [Thu, 6 Aug 2015 14:53:21 +0000 (14:53 +0000)]
upstream commit
add prohibit-password as a synonymn for without-password,
since the without-password is causing too many questions. Harden it to ban
all but pubkey, hostbased, and GSSAPI auth (when the latter is enabled) from
djm, ok markus
Upstream-ID:
d53317d7b28942153e6236d3fd6e12ceb482db7a
Damien Miller [Tue, 11 Aug 2015 03:53:41 +0000 (13:53 +1000)]
update version in README
Damien Miller [Tue, 11 Aug 2015 03:53:09 +0000 (13:53 +1000)]
update versions in *.spec
Damien Miller [Tue, 11 Aug 2015 03:34:12 +0000 (13:34 +1000)]
set sshpam_ctxt to NULL after free
Avoids use-after-free in monitor when privsep child is compromised.
Reported by Moritz Jodeit; ok dtucker@
Damien Miller [Tue, 11 Aug 2015 03:33:24 +0000 (13:33 +1000)]
Don't resend username to PAM; it already has it.
Pointed out by Moritz Jodeit; ok dtucker@
Darren Tucker [Mon, 27 Jul 2015 02:14:25 +0000 (12:14 +1000)]
Import updated moduli file from OpenBSD.
Damien Miller [Mon, 10 Aug 2015 01:13:44 +0000 (11:13 +1000)]
let principals-command.sh work for noexec /var/run
Damien Miller [Thu, 6 Aug 2015 01:43:42 +0000 (11:43 +1000)]
work around echo -n / sed behaviour in tests
djm@openbsd.org [Wed, 5 Aug 2015 05:27:33 +0000 (05:27 +0000)]
upstream commit
adjust for RSA minimum modulus switch; ok deraadt@
Upstream-Regress-ID:
5a72c83431b96224d583c573ca281cd3a3ebfdae
djm@openbsd.org [Tue, 4 Aug 2015 05:23:06 +0000 (05:23 +0000)]
upstream commit
backout SSH_RSA_MINIMUM_MODULUS_SIZE increase for this
release; problems spotted by sthen@ ok deraadt@ markus@
Upstream-ID:
d0bd60dde9e8c3cd7030007680371894c1499822
djm@openbsd.org [Sun, 2 Aug 2015 09:56:42 +0000 (09:56 +0000)]
upstream commit
openssh 7.0; ok deraadt@
Upstream-ID:
c63afdef537f57f28ae84145c5a8e29e9250221f
chris@openbsd.org [Fri, 31 Jul 2015 15:38:09 +0000 (15:38 +0000)]
upstream commit
Allow PermitRootLogin to be overridden by config
ok markus@ deeradt@
Upstream-ID:
5cf3e26ed702888de84e2dc9d0054ccf4d9125b4
djm@openbsd.org [Thu, 30 Jul 2015 23:09:15 +0000 (23:09 +0000)]
upstream commit
fix pty permissions; patch from Nikolay Edigaryev; ok
deraadt
Upstream-ID:
40ff076d2878b916fbfd8e4f45dbe5bec019e550
deraadt@openbsd.org [Thu, 30 Jul 2015 19:23:02 +0000 (19:23 +0000)]
upstream commit
change default: PermitRootLogin without-password matching
install script changes coming as well ok djm markus
Upstream-ID:
0e2a6c4441daf5498b47a61767382bead5eb8ea6
Damien Miller [Thu, 30 Jul 2015 02:31:39 +0000 (12:31 +1000)]
downgrade OOM adjustment logging: verbose -> debug
djm@openbsd.org [Thu, 30 Jul 2015 00:01:34 +0000 (00:01 +0000)]
upstream commit
Allow ssh_config and sshd_config kex parameters options be
prefixed by a '+' to indicate that the specified items be appended to the
default rather than replacing it.
approach suggested by dtucker@, feedback dlg@, ok markus@
Upstream-ID:
0f901137298fc17095d5756ff1561a7028e8882a
djm@openbsd.org [Wed, 29 Jul 2015 08:34:54 +0000 (08:34 +0000)]
upstream commit
fix bug in previous; was printing incorrect string for
failed host key algorithms negotiation
Upstream-ID:
22c0dc6bc61930513065d92e11f0753adc4c6e6e
djm@openbsd.org [Wed, 29 Jul 2015 04:43:06 +0000 (04:43 +0000)]
upstream commit
include the peer's offer when logging a failure to
negotiate a mutual set of algorithms (kex, pubkey, ciphers, etc.) ok markus@
Upstream-ID:
bbb8caabf5c01790bb845f5ce135565248d7c796
djm@openbsd.org [Tue, 28 Jul 2015 23:20:42 +0000 (23:20 +0000)]
upstream commit
add Cisco to the list of clients that choke on the
hostkeys update extension. Pointed out by Howard Kash
Upstream-ID:
c9eadde28ecec056c73d09ee10ba4570dfba7e84
guenther@openbsd.org [Mon, 27 Jul 2015 16:29:23 +0000 (16:29 +0000)]
upstream commit
Permit kbind(2) use in the sandbox now, to ease testing
of ld.so work using it
reminded by miod@, ok deraadt@
Upstream-ID:
523922e4d1ba7a091e3824e77a8a3c818ee97413
millert@openbsd.org [Mon, 20 Jul 2015 18:44:12 +0000 (18:44 +0000)]
upstream commit
Move .Pp before .Bl, not after to quiet mandoc -Tlint.
Noticed by jmc@
Upstream-ID:
59fadbf8407cec4e6931e50c53cfa0214a848e23
millert@openbsd.org [Mon, 20 Jul 2015 18:42:35 +0000 (18:42 +0000)]
upstream commit
Sync usage with SYNOPSIS
Upstream-ID:
7a321a170181a54f6450deabaccb6ef60cf3f0b7
millert@openbsd.org [Mon, 20 Jul 2015 15:39:52 +0000 (15:39 +0000)]
upstream commit
Better desciption of Unix domain socket forwarding.
bz#2423; ok jmc@
Upstream-ID:
85e28874726897e3f26ae50dfa2e8d2de683805d
Damien Miller [Mon, 20 Jul 2015 01:19:51 +0000 (11:19 +1000)]
make realpath.c compile -Wsign-compare clean
djm@openbsd.org [Mon, 20 Jul 2015 00:30:01 +0000 (00:30 +0000)]
upstream commit
mention that the default of UseDNS=no implies that
hostnames cannot be used for host matching in sshd_config and
authorized_keys; bz#2045, ok dtucker@
Upstream-ID:
0812705d5f2dfa59aab01f2764ee800b1741c4e1
djm@openbsd.org [Sat, 18 Jul 2015 08:02:17 +0000 (08:02 +0000)]
upstream commit
don't ignore PKCS#11 hosted keys that return empty
CKA_ID; patch by Jakub Jelen via bz#2429; ok markus
Upstream-ID:
2f7c94744eb0342f8ee8bf97b2351d4e00116485
djm@openbsd.org [Sat, 18 Jul 2015 08:00:21 +0000 (08:00 +0000)]
upstream commit
skip uninitialised PKCS#11 slots; patch from Jakub Jelen
in bz#2427 ok markus@
Upstream-ID:
744c1e7796e237ad32992d0d02148e8a18f27d29
djm@openbsd.org [Sat, 18 Jul 2015 07:57:14 +0000 (07:57 +0000)]
upstream commit
only query each keyboard-interactive device once per
authentication request regardless of how many times it is listed; ok markus@
Upstream-ID:
d73fafba6e86030436ff673656ec1f33d9ffeda1
djm@openbsd.org [Fri, 17 Jul 2015 03:34:27 +0000 (03:34 +0000)]
upstream commit
remove -u flag to diff (only used for error output) to make
things easier for -portable
Upstream-Regress-ID:
a5d6777d2909540d87afec3039d9bb2414ade548
djm@openbsd.org [Fri, 17 Jul 2015 03:09:19 +0000 (03:09 +0000)]
upstream commit
direct-streamlocal@openssh.com Unix domain foward
messages do not contain a "reserved for future use" field and in fact,
serverloop.c checks that there isn't one. Remove erroneous mention from
PROTOCOL description. bz#2421 from Daniel Black
Upstream-ID:
3d51a19e64f72f764682f1b08f35a8aa810a43ac
djm@openbsd.org [Fri, 17 Jul 2015 03:04:27 +0000 (03:04 +0000)]
upstream commit
describe magic for setting up Unix domain socket fowards
via the mux channel; bz#2422 patch from Daniel Black
Upstream-ID:
943080fe3864715c423bdeb7c920bb30c4eee861
Darren Tucker [Fri, 17 Jul 2015 02:52:34 +0000 (12:52 +1000)]
Check if realpath works on nonexistent files.
On some platforms the native realpath doesn't work with non-existent
files (this is actually specified in some versions of POSIX), however
the sftp spec says its realpath with "canonicalize any given path name".
On those platforms, use realpath from the compat library.
In addition, when compiling with -DFORTIFY_SOURCE, glibc redefines
the realpath symbol to the checked version, so redefine ours to
something else so we pick up the compat version we want.
bz#2428, ok djm@
djm@openbsd.org [Fri, 17 Jul 2015 02:47:45 +0000 (02:47 +0000)]
upstream commit
fix incorrect test for SSH1 keys when compiled without SSH1
support
Upstream-ID:
6004d720345b8e481c405e8ad05ce2271726e451
djm@openbsd.org [Wed, 15 Jul 2015 08:00:11 +0000 (08:00 +0000)]
upstream commit
fix NULL-deref when SSH1 reenabled
Upstream-ID:
f22fd805288c92b3e9646782d15b48894b2d5295
djm@openbsd.org [Wed, 15 Jul 2015 07:19:50 +0000 (07:19 +0000)]
upstream commit
regen RSA1 test keys; the last batch was missing their
private parts
Upstream-Regress-ID:
7ccf437305dd63ff0b48dd50c5fd0f4d4230c10a
markus@openbsd.org [Fri, 10 Jul 2015 06:23:25 +0000 (06:23 +0000)]
upstream commit
Adapt tests, now that DSA if off by default; use
PubkeyAcceptedKeyTypes and PubkeyAcceptedKeyTypes to test DSA.
Upstream-Regress-ID:
0ff2a3ff5ac1ce5f92321d27aa07b98656efcc5c
markus@openbsd.org [Tue, 7 Jul 2015 14:54:16 +0000 (14:54 +0000)]
upstream commit
regen test data after mktestdata.sh changes
Upstream-Regress-ID:
3495ecb082b9a7c048a2d7c5c845d3bf181d25a4
markus@openbsd.org [Tue, 7 Jul 2015 14:53:30 +0000 (14:53 +0000)]
upstream commit
adapt tests to new minimum RSA size and default FP format
Upstream-Regress-ID:
a4b30afd174ce82b96df14eb49fb0b81398ffd0e
djm@openbsd.org [Fri, 3 Jul 2015 04:39:23 +0000 (04:39 +0000)]
upstream commit
legacy v00 certificates are gone; adapt and don't try to
test them; "sure" markus@ dtucker@
Upstream-Regress-ID:
c57321e69b3cd4a3b3396dfcc43f0803d047da12
djm@openbsd.org [Wed, 1 Jul 2015 23:11:18 +0000 (23:11 +0000)]
upstream commit
don't expect SSH v.1 in unittests
Upstream-Regress-ID:
f8812b16668ba78e6a698646b2a652b90b653397
djm@openbsd.org [Mon, 15 Jun 2015 06:38:50 +0000 (06:38 +0000)]
upstream commit
turn SSH1 back on to match src/usr.bin/ssh being tested
Upstream-Regress-ID:
6c4f763a2f0cc6893bf33983919e9030ae638333
dtucker@openbsd.org [Mon, 13 Jul 2015 04:57:14 +0000 (04:57 +0000)]
upstream commit
Add "PuTTY_Local:" to the clients to which we do not
offer DH-GEX. This was the string that was used for development versions
prior to September 2014 and they don't do RFC4419 DH-GEX, but unfortunately
there are some extant products based on those versions. bx2424 from Jay
Rouman, ok markus@ djm@
Upstream-ID:
be34d41e18b966832fe09ca243d275b81882e1d5
markus@openbsd.org [Fri, 10 Jul 2015 06:21:53 +0000 (06:21 +0000)]
upstream commit
Turn off DSA by default; add HostKeyAlgorithms to the
server and PubkeyAcceptedKeyTypes to the client side, so it still can be
tested or turned back on; feedback and ok djm@
Upstream-ID:
8450a9e6d83f80c9bfed864ff061dfc9323cec21
markus@openbsd.org [Thu, 9 Jul 2015 09:49:46 +0000 (09:49 +0000)]
upstream commit
re-enable
ed25519 -certs if compiled w/o openssl; ok djm
Upstream-ID:
e10c90808b001fd2c7a93778418e9b318f5c4c49
markus@openbsd.org [Wed, 8 Jul 2015 20:24:02 +0000 (20:24 +0000)]
upstream commit
no need to include the old buffer/key API
Upstream-ID:
fb13c9f7c0bba2545f3eb0a0e69cb0030819f52b
markus@openbsd.org [Wed, 8 Jul 2015 19:09:25 +0000 (19:09 +0000)]
upstream commit
typedefs for Cipher&CipherContext are unused
Upstream-ID:
50e6a18ee92221d23ad173a96d5b6c42207cf9a7
markus@openbsd.org [Wed, 8 Jul 2015 19:04:21 +0000 (19:04 +0000)]
upstream commit
xmalloc.h is unused
Upstream-ID:
afb532355b7fa7135a60d944ca1e644d1d63cb58
markus@openbsd.org [Wed, 8 Jul 2015 19:01:15 +0000 (19:01 +0000)]
upstream commit
compress.c is gone
Upstream-ID:
174fa7faa9b9643cba06164b5e498591356fbced
djm@openbsd.org [Fri, 3 Jul 2015 04:05:54 +0000 (04:05 +0000)]
upstream commit
another SSH_RSA_MINIMUM_MODULUS_SIZE that needed
cranking
Upstream-ID:
9d8826cafe96aab4ae8e2f6fd22800874b7ffef1
djm@openbsd.org [Fri, 3 Jul 2015 03:56:25 +0000 (03:56 +0000)]
upstream commit
add an XXX reminder for getting correct key paths from
sshd_config
Upstream-ID:
feae52b209d7782ad742df04a4260e9fe41741db
djm@openbsd.org [Fri, 3 Jul 2015 03:49:45 +0000 (03:49 +0000)]
upstream commit
refuse to generate or accept RSA keys smaller than 1024
bits; feedback and ok dtucker@
Upstream-ID:
7ea3d31271366ba264f06e34a3539bf1ac30f0ba
djm@openbsd.org [Fri, 3 Jul 2015 03:47:00 +0000 (03:47 +0000)]
upstream commit
turn off 1024 bit diffie-hellman-group1-sha1 key
exchange method (already off in server, this turns it off in the client by
default too) ok dtucker@
Upstream-ID:
f59b88f449210ab7acf7d9d88f20f1daee97a4fa
djm@openbsd.org [Fri, 3 Jul 2015 03:43:18 +0000 (03:43 +0000)]
upstream commit
delete support for legacy v00 certificates; "sure"
markus@ dtucker@
Upstream-ID:
b5b9bb5f9202d09e88f912989d74928601b6636f
djm@openbsd.org [Wed, 1 Jul 2015 23:10:47 +0000 (23:10 +0000)]
upstream commit
Compile-time disable SSH v.1 again
Upstream-ID:
1d4b513a3a06232f02650b73bad25100d1b800af
djm@openbsd.org [Wed, 1 Jul 2015 02:39:06 +0000 (02:39 +0000)]
upstream commit
twiddle PermitRootLogin back
Upstream-ID:
2bd23976305d0512e9f84d054e1fc23cd70b89f2
djm@openbsd.org [Wed, 1 Jul 2015 02:32:17 +0000 (02:32 +0000)]
upstream commit
twiddle; (this commit marks the openssh-6.9 release)
Upstream-ID:
78500582819f61dd8adee36ec5cc9b9ac9351234
djm@openbsd.org [Wed, 1 Jul 2015 02:26:31 +0000 (02:26 +0000)]
upstream commit
better refuse ForwardX11Trusted=no connections attempted
after ForwardX11Timeout expires; reported by Jann Horn
Upstream-ID:
bf0fddadc1b46a0334e26c080038313b4b6dea21
djm@openbsd.org [Wed, 1 Jul 2015 01:56:13 +0000 (01:56 +0000)]
upstream commit
put back default PermitRootLogin=no
Upstream-ID:
7bdedd5cead99c57ed5571f3b6b7840922d5f728
djm@openbsd.org [Wed, 1 Jul 2015 01:55:13 +0000 (01:55 +0000)]
upstream commit
openssh-6.9
Upstream-ID:
6cfe8e1904812531080e6ab6e752d7001b5b2d45
djm@openbsd.org [Wed, 1 Jul 2015 01:55:00 +0000 (01:55 +0000)]
upstream commit
reset default PermitRootLogin to 'yes' (momentarily, for
release)
Upstream-ID:
cad8513527066e65dd7a1c16363d6903e8cefa24
Damien Miller [Wed, 1 Jul 2015 01:49:12 +0000 (11:49 +1000)]
crank version numbers for release
Damien Miller [Wed, 1 Jul 2015 00:49:37 +0000 (10:49 +1000)]
s/--with-ssh1/--without-ssh1/
djm@openbsd.org [Tue, 30 Jun 2015 05:25:07 +0000 (05:25 +0000)]
upstream commit
fatal() when a remote window update causes the window
value to overflow. Reported by Georg Wicherski, ok markus@
Upstream-ID:
ead397a9aceb3bf74ebfa5fcaf259d72e569f351
djm@openbsd.org [Tue, 30 Jun 2015 05:23:25 +0000 (05:23 +0000)]
upstream commit
Fix math error in remote window calculations that causes
eventual stalls for datagram channels. Reported by Georg Wicherski, ok
markus@
Upstream-ID:
be54059d11bf64e0d85061f7257f53067842e2ab
Damien Miller [Tue, 30 Jun 2015 06:05:40 +0000 (16:05 +1000)]
skip IPv6-related portions on hosts without IPv6
with Tim Rice
djm@openbsd.org [Mon, 29 Jun 2015 22:35:12 +0000 (22:35 +0000)]
upstream commit
add getpid to sandbox, reachable by grace_alarm_handler
reported by Jakub Jelen; bz#2419
Upstream-ID:
d0da1117c16d4c223954995d35b0f47c8f684cd8
djm@openbsd.org [Fri, 26 Jun 2015 05:13:20 +0000 (05:13 +0000)]
upstream commit
Fix \-escaping bug that caused forward path parsing to skip
two characters and skip past the end of the string.
Based on patch by Salvador Fandino; ok dtucker@
Upstream-ID:
7b879dc446335677cbe4cb549495636a0535f3bd
Damien Miller [Wed, 24 Jun 2015 23:51:39 +0000 (09:51 +1000)]
add missing pselect6
patch from Jakub Jelen
djm@openbsd.org [Wed, 24 Jun 2015 23:47:23 +0000 (23:47 +0000)]
upstream commit
correct test to sshkey_sign(); spotted by Albert S.
Upstream-ID:
5f7347f40f0ca6abdaca2edb3bd62f4776518933
dtucker@openbsd.org [Wed, 24 Jun 2015 01:49:19 +0000 (01:49 +0000)]
upstream commit
Revert previous commit. We still want to call setgroups
in the case where there are zero groups to remove any that we might otherwise
inherit (as pointed out by grawity at gmail.com) and since the 2nd argument
to setgroups is always a static global it's always valid to dereference in
this case. ok deraadt@ djm@
Upstream-ID:
895b5ac560a10befc6b82afa778641315725fd01
dtucker@openbsd.org [Wed, 24 Jun 2015 01:49:19 +0000 (01:49 +0000)]
upstream commit
Revert previous commit. We still want to call setgroups in
the case where there are zero groups to remove any that we might otherwise
inherit (as pointed out by grawity at gmail.com) and since the 2nd argument
to setgroups is always a static global it's always valid to dereference in
this case. ok deraadt@ djm@
Upstream-ID:
895b5ac560a10befc6b82afa778641315725fd01
djm@openbsd.org [Mon, 22 Jun 2015 23:42:16 +0000 (23:42 +0000)]
upstream commit
Don't count successful partial authentication as failures
in monitor; this may have caused the monitor to refuse multiple
authentications that would otherwise have successfully completed; ok markus@
Upstream-ID:
eb74b8e506714d0f649bd5c300f762a527af04a3
dtucker@openbsd.org [Mon, 22 Jun 2015 12:29:57 +0000 (12:29 +0000)]
upstream commit
Don't call setgroups if we have zero groups; there's no
guarantee that it won't try to deref the pointer. Based on a patch from mail
at quitesimple.org, ok djm deraadt
Upstream-ID:
2fff85e11d7a9a387ef7fddf41fbfaf566708ab1
Damien Miller [Thu, 18 Jun 2015 05:07:56 +0000 (15:07 +1000)]
fix syntax error
jsing@openbsd.org [Mon, 15 Jun 2015 18:44:22 +0000 (18:44 +0000)]
upstream commit
If AuthorizedPrincipalsCommand is specified, however
AuthorizedPrincipalsFile is not (or is set to "none"), authentication will
potentially fail due to key_cert_check_authority() failing to locate a
principal that matches the username, even though an authorized principal has
already been matched in the output of the subprocess. Fix this by using the
same logic to determine if pw->pw_name should be passed, as is used to
determine if a authorized principal must be matched earlier on.
ok djm@
Upstream-ID:
43b42302ec846b0ea68aceb40677245391b9409d
jsing@openbsd.org [Mon, 15 Jun 2015 18:42:19 +0000 (18:42 +0000)]
upstream commit
Make the arguments to match_principals_command() similar
to match_principals_file(), by changing the last argument a struct
sshkey_cert * and dereferencing key->cert in the caller.
No functional change.
ok djm@
Upstream-ID:
533f99b844b21b47342b32b62e198dfffcf8651c
Damien Miller [Wed, 17 Jun 2015 04:36:54 +0000 (14:36 +1000)]
trivial optimisation for seccomp-bpf
When doing arg inspection and the syscall doesn't match, skip
past the instruction that reloads the syscall into the accumulator,
since the accumulator hasn't been modified at this point.
Damien Miller [Wed, 17 Jun 2015 00:50:51 +0000 (10:50 +1000)]
aarch64 support for seccomp-bpf sandbox
Also resort and tidy syscall list. Based on patches by Jakub Jelen
bz#2361; ok dtucker@
djm@openbsd.org [Mon, 15 Jun 2015 01:32:50 +0000 (01:32 +0000)]
upstream commit
return failure on RSA signature error; reported by Albert S
Upstream-ID:
e61bb93dbe0349625807b0810bc213a6822121fa