]> git.ipfire.org Git - thirdparty/openssh-portable.git/log
thirdparty/openssh-portable.git
10 years agoupstream commit V_7_0 anongit/V_7_0 github-selfhosted/V_7_0 github/V_7_0 V_7_0_P1
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

10 years agoupdate version in README
Damien Miller [Tue, 11 Aug 2015 03:53:41 +0000 (13:53 +1000)] 
update version in README

10 years agoupdate versions in *.spec
Damien Miller [Tue, 11 Aug 2015 03:53:09 +0000 (13:53 +1000)] 
update versions in *.spec

10 years agoset sshpam_ctxt to NULL after free
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@

10 years agoDon't resend username to PAM; it already has it.
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@

10 years agoImport updated moduli file from OpenBSD.
Darren Tucker [Mon, 27 Jul 2015 02:14:25 +0000 (12:14 +1000)] 
Import updated moduli file from OpenBSD.

10 years agolet principals-command.sh work for noexec /var/run
Damien Miller [Mon, 10 Aug 2015 01:13:44 +0000 (11:13 +1000)] 
let principals-command.sh work for noexec /var/run

10 years agowork around echo -n / sed behaviour in tests
Damien Miller [Thu, 6 Aug 2015 01:43:42 +0000 (11:43 +1000)] 
work around echo -n / sed behaviour in tests

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
djm@openbsd.org [Sun, 2 Aug 2015 09:56:42 +0000 (09:56 +0000)] 
upstream commit

openssh 7.0; ok deraadt@

Upstream-ID: c63afdef537f57f28ae84145c5a8e29e9250221f

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agodowngrade OOM adjustment logging: verbose -> debug
Damien Miller [Thu, 30 Jul 2015 02:31:39 +0000 (12:31 +1000)] 
downgrade OOM adjustment logging: verbose -> debug

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
millert@openbsd.org [Mon, 20 Jul 2015 18:42:35 +0000 (18:42 +0000)] 
upstream commit

Sync usage with SYNOPSIS

Upstream-ID: 7a321a170181a54f6450deabaccb6ef60cf3f0b7

10 years agoupstream commit
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

10 years agomake realpath.c compile -Wsign-compare clean
Damien Miller [Mon, 20 Jul 2015 01:19:51 +0000 (11:19 +1000)] 
make realpath.c compile -Wsign-compare clean

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoCheck if realpath works on nonexistent files.
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@

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
markus@openbsd.org [Wed, 8 Jul 2015 19:04:21 +0000 (19:04 +0000)] 
upstream commit

xmalloc.h is unused

Upstream-ID: afb532355b7fa7135a60d944ca1e644d1d63cb58

10 years agoupstream commit
markus@openbsd.org [Wed, 8 Jul 2015 19:01:15 +0000 (19:01 +0000)] 
upstream commit

compress.c is gone

Upstream-ID: 174fa7faa9b9643cba06164b5e498591356fbced

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
djm@openbsd.org [Wed, 1 Jul 2015 02:39:06 +0000 (02:39 +0000)] 
upstream commit

twiddle PermitRootLogin back

Upstream-ID: 2bd23976305d0512e9f84d054e1fc23cd70b89f2

10 years agoupstream commit V_6_9 anongit/V_6_9 github-selfhosted/V_6_9 github/V_6_9 V_6_9_P1
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

10 years agoupstream commit
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

10 years agoupstream commit
djm@openbsd.org [Wed, 1 Jul 2015 01:56:13 +0000 (01:56 +0000)] 
upstream commit

put back default PermitRootLogin=no

Upstream-ID: 7bdedd5cead99c57ed5571f3b6b7840922d5f728

10 years agoupstream commit origin/HEAD origin/V_6_9 origin/master
djm@openbsd.org [Wed, 1 Jul 2015 01:55:13 +0000 (01:55 +0000)] 
upstream commit

openssh-6.9

Upstream-ID: 6cfe8e1904812531080e6ab6e752d7001b5b2d45

10 years agoupstream commit
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

10 years agocrank version numbers for release
Damien Miller [Wed, 1 Jul 2015 01:49:12 +0000 (11:49 +1000)] 
crank version numbers for release

10 years agos/--with-ssh1/--without-ssh1/
Damien Miller [Wed, 1 Jul 2015 00:49:37 +0000 (10:49 +1000)] 
s/--with-ssh1/--without-ssh1/

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoskip IPv6-related portions on hosts without IPv6
Damien Miller [Tue, 30 Jun 2015 06:05:40 +0000 (16:05 +1000)] 
skip IPv6-related portions on hosts without IPv6

with Tim Rice

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoadd missing pselect6
Damien Miller [Wed, 24 Jun 2015 23:51:39 +0000 (09:51 +1000)] 
add missing pselect6

patch from Jakub Jelen

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agofix syntax error
Damien Miller [Thu, 18 Jun 2015 05:07:56 +0000 (15:07 +1000)] 
fix syntax error

10 years agoupstream commit
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

10 years agoupstream commit
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

10 years agotrivial optimisation for seccomp-bpf
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.

10 years agoaarch64 support for seccomp-bpf sandbox
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@

10 years agoupstream commit
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

10 years agoFix t12 rules for out of tree builds.
Tim Rice [Wed, 10 Jun 2015 05:41:13 +0000 (22:41 -0700)] 
Fix t12 rules for out of tree builds.

10 years agoupstream commit
millert@openbsd.org [Fri, 5 Jun 2015 15:13:13 +0000 (15:13 +0000)] 
upstream commit

For "ssh -L 12345:/tmp/sock" don't fail with "No forward host
 name." (we have a path, not a host name).  Based on a diff from Jared
 Yanovich. OK djm@

Upstream-ID: 2846b0a8c7de037e33657f95afbd282837fc213f

10 years agoupstream commit
djm@openbsd.org [Fri, 5 Jun 2015 03:44:14 +0000 (03:44 +0000)] 
upstream commit

typo: accidental repetition; bz#2386

Upstream-ID: 45e620d99f6bc301e5949d34a54027374991c88b

10 years agoAdd Linux powerpc64le and powerpcle entries.
Darren Tucker [Fri, 5 Jun 2015 04:51:40 +0000 (14:51 +1000)] 
Add Linux powerpc64le and powerpcle entries.

Stopgap to resolve bz#2409 because we are so close to release and will
update config.guess and friends shortly after the release.  ok djm@

10 years agoMerge branch 'master' of git.mindrot.org:/var/git/openssh
Tim Rice [Thu, 4 Jun 2015 04:43:13 +0000 (21:43 -0700)] 
Merge branch 'master' of git.mindrot.org:/var/git/openssh

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 agoRemove redundant include of stdarg.h. bz#2410
Darren Tucker [Thu, 4 Jun 2015 04:10:55 +0000 (14:10 +1000)] 
Remove redundant include of stdarg.h.  bz#2410

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@