]> git.ipfire.org Git - thirdparty/openssh-portable.git/log
thirdparty/openssh-portable.git
4 years agodepend V_8_6 anongit/V_8_6 github-selfhosted/V_8_6 github/V_8_6 V_8_6_P1
Damien Miller [Fri, 16 Apr 2021 03:55:25 +0000 (13:55 +1000)] 
depend

4 years agocrank version in README and RPM spec files
Damien Miller [Fri, 16 Apr 2021 03:53:02 +0000 (13:53 +1000)] 
crank version in README and RPM spec files

4 years agoupstream: openssh-8.6
djm@openbsd.org [Fri, 16 Apr 2021 03:42:00 +0000 (03:42 +0000)] 
upstream: openssh-8.6

OpenBSD-Commit-ID: b5f3e133c846127ec114812248bc17eff07c3e19

4 years agoupstream: do not pass file/func to monitor; noted by Ilja van Sprundel;
markus@openbsd.org [Thu, 15 Apr 2021 16:24:31 +0000 (16:24 +0000)] 
upstream: do not pass file/func to monitor; noted by Ilja van Sprundel;

ok djm@

OpenBSD-Commit-ID: 85ae5c063845c410283cbdce685515dcd19479fa

4 years agosshd don't exit on transient read errors
Damien Miller [Wed, 14 Apr 2021 01:42:55 +0000 (11:42 +1000)] 
sshd don't exit on transient read errors

openssh-8.5 introduced a regression that would cause sshd to exit
because of transient read errors on the network socket (e.g. EINTR,
EAGAIN). Reported by balu.gajjala AT gmail.com via bz3297

4 years agoperform report_failed_grab() inline
Damien Miller [Sat, 10 Apr 2021 08:45:00 +0000 (18:45 +1000)] 
perform report_failed_grab() inline

4 years agodedicated gnome-ssk-askpass3 source
Damien Miller [Sat, 10 Apr 2021 08:22:57 +0000 (18:22 +1000)] 
dedicated gnome-ssk-askpass3 source

Compatibility with Wayland requires that we use the gdk_seat_grab()
API for grabbing mouse/keyboard, however these API don't exist in
Gtk+2.

This branches gnome-ssk-askpass2.c => gnome-ssk-askpass3.c and
makes the changes to use the gdk_seat_grab() instead of grabbing
mouse/focus separately via GDK.

In the future, we can also use the branched file to avoid some
API that has been soft-deprecated in GTK+3, e.g. gtk_widget_modify_fg

4 years agoEnsure valgrind-out exists.
Darren Tucker [Thu, 8 Apr 2021 05:18:15 +0000 (15:18 +1000)] 
Ensure valgrind-out exists.

Normally the regress tests would create it, but running the unit tests
on their own would fail because the directory did not exist.

4 years agoPass OBJ to unit test make invocation.
Darren Tucker [Thu, 8 Apr 2021 05:17:19 +0000 (15:17 +1000)] 
Pass OBJ to unit test make invocation.

At least the Valgrind unit tests uses $OBJ.

4 years agoAdd pattern for valgrind-unit.
Darren Tucker [Thu, 8 Apr 2021 04:20:12 +0000 (14:20 +1000)] 
Add pattern for valgrind-unit.

4 years agoRun unit tests under valgrind.
Darren Tucker [Thu, 8 Apr 2021 03:31:08 +0000 (13:31 +1000)] 
Run unit tests under valgrind.

Run a separate build for the unit tests under Valgrind.  They take long
enough that running in parallel with the other Valgrind tests helps.

4 years agoifdef out MIN and MAX.
Darren Tucker [Thu, 8 Apr 2021 03:25:57 +0000 (13:25 +1000)] 
ifdef out MIN and MAX.

In -portable, defines.h ensures that these are defined, so redefining
potentially causes a warning.  We don't just delete it to make any
future code syncs a little but easier.  bz#3293.

4 years agoRemove only use of warn().
Darren Tucker [Wed, 7 Apr 2021 00:23:51 +0000 (10:23 +1000)] 
Remove only use of warn().

The warn() function is only used in one place in portable and does not
exist upstream.  Upgrade the only instance it's used to fail()
(the privsep/sandbox+proxyconnect, from back when that was new) and
remove the now-unused function.

4 years agoMove make_tmpdir() into portable-specific area.
Darren Tucker [Wed, 7 Apr 2021 00:18:32 +0000 (10:18 +1000)] 
Move make_tmpdir() into portable-specific area.

Reduces diff vs OpenBSD and makes it more likely diffs will apply
cleanly.

4 years agoupstream: Add TEST_SSH_ELAPSED_TIMES environment variable to print the
dtucker@openbsd.org [Tue, 6 Apr 2021 23:57:56 +0000 (23:57 +0000)] 
upstream: Add TEST_SSH_ELAPSED_TIMES environment variable to print the

elapsed time in seconds of each test.  This depends on "date +%s" which is
not specified by POSIX but is commonly implemented.

OpenBSD-Regress-ID: ec3c8c19ff49b2192116a0a646ee7c9b944e8a9c

4 years agoMove the TEST_SSH_PORT section down a bit.
Darren Tucker [Tue, 6 Apr 2021 23:59:15 +0000 (09:59 +1000)] 
Move the TEST_SSH_PORT section down a bit.

This groups the portable-specific changes together and makes it a
little more likely that patches will apply cleanly.

4 years agoFurther split Valgrind tests.
Darren Tucker [Wed, 7 Apr 2021 00:05:10 +0000 (10:05 +1000)] 
Further split Valgrind tests.

Even split in two, the Valgrind tests take by far the longest to run,
so split them four ways to further increase parallelism.

4 years agoupstream: include "ssherr.h" not <ssherr.h>; from Balu Gajjala via
djm@openbsd.org [Tue, 6 Apr 2021 23:24:30 +0000 (23:24 +0000)] 
upstream: include "ssherr.h" not <ssherr.h>; from Balu Gajjala via

bz#3292

OpenBSD-Commit-ID: e9535cd9966eb2e69e73d1ede1f44905c30310bd

4 years agowrap struct rlimit in HAVE_GETRLIMIT too
Damien Miller [Tue, 6 Apr 2021 22:50:38 +0000 (08:50 +1000)] 
wrap struct rlimit in HAVE_GETRLIMIT too

4 years agowrap getrlimit call in HAVE_GETRLIMIT; bz3291
Damien Miller [Tue, 6 Apr 2021 22:20:35 +0000 (08:20 +1000)] 
wrap getrlimit call in HAVE_GETRLIMIT; bz3291

4 years agoupstream: Don't check return value of unsetenv(). It's part of the
dtucker@openbsd.org [Tue, 6 Apr 2021 09:07:33 +0000 (09:07 +0000)] 
upstream: Don't check return value of unsetenv(). It's part of the

environment setup and not part of the actual test, and some platforms
-portable runs on declare it as returning void, which prevents the test from
compiling.

OpenBSD-Regress-ID: 24f08543ee3cdebc404f2951f3e388cc82b844a1

4 years agoupstream: remove stray inserts; from matthias schmidt
jmc@openbsd.org [Sun, 4 Apr 2021 11:36:56 +0000 (11:36 +0000)] 
upstream: remove stray inserts; from matthias schmidt

OpenBSD-Commit-ID: 2c36ebdc54e14bbf1daad70c6a05479a073d5c63

4 years agoupstream: missing comma; from kawashima james
jmc@openbsd.org [Sun, 4 Apr 2021 06:11:24 +0000 (06:11 +0000)] 
upstream: missing comma; from kawashima james

OpenBSD-Commit-ID: 31cec6bf26c6db4ffefc8a070715ebef274e68ea

4 years agoInstall libcbor with libfido2.
Darren Tucker [Mon, 5 Apr 2021 13:46:42 +0000 (23:46 +1000)] 
Install libcbor with libfido2.

4 years agoenable authopt and misc unit tests
Damien Miller [Sat, 3 Apr 2021 07:21:08 +0000 (18:21 +1100)] 
enable authopt and misc unit tests

Neither were wired into the build, both required some build
adaptations for -portable

4 years agoupstream: typos in comments; GHPR#180 from Vill
djm@openbsd.org [Sat, 3 Apr 2021 06:58:30 +0000 (06:58 +0000)] 
upstream: typos in comments; GHPR#180 from Vill

=?UTF-8?q?e=20Skytt=C3=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

OpenBSD-Commit-ID: 93c732381ae0e2b680c79e67c40c1814b7ceed2c

4 years agoupstream: sync CASignatureAlgorithms lists with reality. GHPR#174 from
djm@openbsd.org [Sat, 3 Apr 2021 06:55:52 +0000 (06:55 +0000)] 
upstream: sync CASignatureAlgorithms lists with reality. GHPR#174 from

Matt Hazinski

OpenBSD-Commit-ID: f05e4ca54d7e67b90fe58fe1bdb1d2a37e0e2696

4 years agopolish whitespace for portable files
Damien Miller [Sat, 3 Apr 2021 06:47:37 +0000 (17:47 +1100)] 
polish whitespace for portable files

4 years agoupstream: highly polished whitespace, mostly fixing spaces-for-tab
djm@openbsd.org [Sat, 3 Apr 2021 06:18:40 +0000 (06:18 +0000)] 
upstream: highly polished whitespace, mostly fixing spaces-for-tab

and bad indentation on continuation lines. Prompted by GHPR#185

OpenBSD-Commit-ID: e5c81f0cbdcc6144df1ce468ec1bac366d8ad6e9

4 years agoupstream: whitespace (tab after space)
djm@openbsd.org [Sat, 3 Apr 2021 05:54:14 +0000 (05:54 +0000)] 
upstream: whitespace (tab after space)

OpenBSD-Commit-ID: 0e2b3f7674e985d3f7c27ff5028e690ba1c2efd4

4 years agoSave config.h and config.log on failure too.
Darren Tucker [Sat, 3 Apr 2021 05:59:10 +0000 (16:59 +1100)] 
Save config.h and config.log on failure too.

4 years agoupstream: fix incorrect plural; from Ville Skyt
djm@openbsd.org [Sat, 3 Apr 2021 05:46:41 +0000 (05:46 +0000)] 
upstream: fix incorrect plural; from Ville Skyt

=?UTF-8?q?t=C3=A4=20via=20GHPR#181?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

OpenBSD-Commit-ID: 92f31754c6296d8f403d7c293e09dc27292d22c9

4 years agoupstream: ensure that pkcs11_del_provider() is called before exit -
djm@openbsd.org [Sat, 3 Apr 2021 05:40:39 +0000 (05:40 +0000)] 
upstream: ensure that pkcs11_del_provider() is called before exit -

some PKCS#11 providers get upset if C_Initialize is not matched with
C_Finalize.

From Adithya Baglody via GHPR#234; ok markus

OpenBSD-Commit-ID: f8e770e03b416ee9a58f9762e162add900f832b6

4 years agoupstream: unused variable
djm@openbsd.org [Sat, 3 Apr 2021 05:28:43 +0000 (05:28 +0000)] 
upstream: unused variable

OpenBSD-Commit-ID: 85f6a394c8e0f60d15ecddda75176f112007b205

4 years agoupstream: Fix two problems in string->argv conversion: 1) multiple
djm@openbsd.org [Sat, 3 Apr 2021 05:21:46 +0000 (05:21 +0000)] 
upstream: Fix two problems in string->argv conversion: 1) multiple

backslashes were not being dequoted correctly and 2) quoted space in the
middle of a string was being incorrectly split.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

A unit test for these cases has already been committed

prompted by and based on GHPR#223 by Eero Häkkinen; ok markus@

OpenBSD-Commit-ID: d7ef27abb4eeeaf6e167e9312e4abe9e89faf1e4

4 years agomissing bits from 259d648e
Damien Miller [Sat, 3 Apr 2021 05:22:48 +0000 (16:22 +1100)] 
missing bits from 259d648e

4 years agoupstream: cannot effectively test posix-rename extension after
djm@openbsd.org [Wed, 31 Mar 2021 21:59:26 +0000 (21:59 +0000)] 
upstream: cannot effectively test posix-rename extension after

changes in feature advertisment.

OpenBSD-Regress-ID: 5e390bf88d379162aaa81b60ed86b34cb0c54d29

4 years agoupstream: add a test for misc.c:argv_split(), currently fails
djm@openbsd.org [Fri, 19 Mar 2021 04:23:50 +0000 (04:23 +0000)] 
upstream: add a test for misc.c:argv_split(), currently fails

OpenBSD-Regress-ID: ad6b96d6ebeb9643b698b3575bdd6f78bb144200

4 years agoupstream: split
djm@openbsd.org [Fri, 19 Mar 2021 03:25:01 +0000 (03:25 +0000)] 
upstream: split

OpenBSD-Regress-ID: f6c03c0e4c58b3b9e04b161757b8c10dc8378c34

4 years agoupstream: Use new limits@openssh.com protocol extension to let the
djm@openbsd.org [Wed, 31 Mar 2021 22:16:34 +0000 (22:16 +0000)] 
upstream: Use new limits@openssh.com protocol extension to let the

client select good limits based on what the server supports. Split the
download and upload buffer sizes to allow them to be chosen independently.

In practice (and assuming upgraded sftp/sftp-server at each end), this
increases the download buffer 32->64KiB and the upload buffer
32->255KiB.

Patches from Mike Frysinger; ok dtucker@

OpenBSD-Commit-ID: ebd61c80d85b951b794164acc4b2f2fd8e88606c

4 years agoupstream: do not advertise protocol extensions that have been
djm@openbsd.org [Wed, 31 Mar 2021 21:58:07 +0000 (21:58 +0000)] 
upstream: do not advertise protocol extensions that have been

disallowed by the command-line options (e.g. -p/-P/-R); ok dtucker@

OpenBSD-Commit-ID: 3a8a76b3f5131741aca4b41bfab8d101c9926205

4 years agognome-ssh-askpass3 is a valid target here
Damien Miller [Mon, 29 Mar 2021 04:14:25 +0000 (15:14 +1100)] 
gnome-ssh-askpass3 is a valid target here

4 years agoupstream: return non-zero exit status when killed by signal; bz#3281 ok
djm@openbsd.org [Fri, 19 Mar 2021 02:22:34 +0000 (02:22 +0000)] 
upstream: return non-zero exit status when killed by signal; bz#3281 ok

dtucker@

OpenBSD-Commit-ID: 117b31cf3c807993077b596bd730c24da9e9b816

4 years agoupstream: increase maximum SSH2_FXP_READ to match the maximum
djm@openbsd.org [Fri, 19 Mar 2021 02:18:28 +0000 (02:18 +0000)] 
upstream: increase maximum SSH2_FXP_READ to match the maximum

packet size. Also handle zero-length reads that are borderline nonsensical
but not explicitly banned by the spec. Based on patch from Mike Frysinger,
feedback deraadt@ ok dtucker@

OpenBSD-Commit-ID: 4e67d60d81bde7b84a742b4ee5a34001bdf80d9c

4 years agoupstream: don't let logging clobber errno before use
djm@openbsd.org [Tue, 16 Mar 2021 06:15:43 +0000 (06:15 +0000)] 
upstream: don't let logging clobber errno before use

OpenBSD-Commit-ID: ce6cca370005c270c277c51c111bb6911e1680ec

4 years agoOnly call dh_set_moduli_file if using OpenSSL.
Darren Tucker [Sat, 13 Mar 2021 03:40:43 +0000 (14:40 +1100)] 
Only call dh_set_moduli_file if using OpenSSL.

Fixes link failure when configuring --without-openssl since dh.c is not
linked in.

4 years agoDon't install moduli during tests.
Darren Tucker [Sat, 13 Mar 2021 02:52:53 +0000 (13:52 +1100)] 
Don't install moduli during tests.

Now that we have TEST_SSH_MODULI_FILE pointing to the moduli in the
soure directory we don't need to install the file to prevent warnings
about it being missing.

4 years agoPoint TEST_SSH_MODULI_FILE at our own moduli.
Darren Tucker [Sat, 13 Mar 2021 02:51:26 +0000 (13:51 +1100)] 
Point TEST_SSH_MODULI_FILE at our own moduli.

This will allow the test to run without requiring a moduli file
installed at the configured default path.

4 years agoupstream: spelling
jsg@openbsd.org [Fri, 12 Mar 2021 05:18:01 +0000 (05:18 +0000)] 
upstream: spelling

OpenBSD-Commit-ID: 478bc3db04f62f1048ed6e1765400f3ab325e60f

4 years agoupstream: Add ModuliFile keyword to sshd_config to specify the
dtucker@openbsd.org [Fri, 12 Mar 2021 04:08:19 +0000 (04:08 +0000)] 
upstream: Add ModuliFile keyword to sshd_config to specify the

location of the "moduli" file containing the groups for DH-GEX.  This will
allow us to run tests against arbitrary moduli files without having to
install them. ok djm@

OpenBSD-Commit-ID: 8df99d60b14ecaaa28f3469d01fc7f56bff49f66

4 years agoupstream: pwcopy() struct passwd that we're going to reuse across a
djm@openbsd.org [Fri, 12 Mar 2021 03:43:40 +0000 (03:43 +0000)] 
upstream: pwcopy() struct passwd that we're going to reuse across a

bunch of library calls; bz3273 ok dtucker@

OpenBSD-Commit-ID: b6eafa977b2e44607b1b121f5de855107809b762

4 years agoupstream: Import regenerated moduli file.
dtucker@openbsd.org [Wed, 10 Mar 2021 06:32:27 +0000 (06:32 +0000)] 
upstream: Import regenerated moduli file.

OpenBSD-Commit-ID: 7ac6c252d2a5be8fbad4c66d9d35db507c9dac5b

4 years agoupstream: no need to reset buffer after send_msg() as that is done
djm@openbsd.org [Wed, 10 Mar 2021 04:58:45 +0000 (04:58 +0000)] 
upstream: no need to reset buffer after send_msg() as that is done

for us; patch from Mike Frysinger

OpenBSD-Commit-ID: 565516495ff8362a38231e0f1a087b8ae66da59c

4 years agoupstream: Add TEST_SSH_MODULI_FILE variable to allow overriding of the
dtucker@openbsd.org [Sat, 13 Mar 2021 01:52:16 +0000 (01:52 +0000)] 
upstream: Add TEST_SSH_MODULI_FILE variable to allow overriding of the

moduli file used during the test run.

OpenBSD-Regress-ID: be10f785263120edb64fc87db0e0d6570a10220a

4 years agoAllow (but return EACCES) fstatat64 in sandbox.
Darren Tucker [Fri, 12 Mar 2021 04:58:57 +0000 (15:58 +1100)] 
Allow (but return EACCES) fstatat64 in sandbox.

This is apparently used in some configurations of OpenSSL when glibc
has getrandom().  bz#3276, patch from Kris Karas, ok djm@

4 years agoMove generic includes outside of ifdef.
Darren Tucker [Fri, 12 Mar 2021 02:16:10 +0000 (13:16 +1100)] 
Move generic includes outside of ifdef.

This ensures that the macros in log.h are defined in the case where
either of --with-solaris-projects or --with-solaris-privs are used
without --with-solaris-contracts.  bz#3278.

4 years agoImport regenerated moduli file.
Darren Tucker [Wed, 10 Mar 2021 06:41:21 +0000 (17:41 +1100)] 
Import regenerated moduli file.

4 years agoupstream: Fix PRINT macro, the suffix param to sshlog() was missing.
millert@openbsd.org [Sat, 6 Mar 2021 20:36:31 +0000 (20:36 +0000)] 
upstream: Fix PRINT macro, the suffix param to sshlog() was missing.

Also remove redundant __func__ prefix from PRINT calls as the macro already
adds __FILE__, __func__ and __LINE__.  From Christos Zoulas. OK dtucker@

OpenBSD-Commit-ID: 01fdfa9c5541151b5461d9d7d6ca186a3413d949

4 years agoupstream: don't sshbuf_get_u32() into an enum; reported by goetze
djm@openbsd.org [Wed, 3 Mar 2021 22:41:49 +0000 (22:41 +0000)] 
upstream: don't sshbuf_get_u32() into an enum; reported by goetze

AT dovetail.com via bz3269

OpenBSD-Commit-ID: 99a30a8f1df9bd72be54e21eee5c56a0f050921a

4 years agoupstream: typo in other_hostkeys_message() display output, ok djm
sthen@openbsd.org [Wed, 3 Mar 2021 21:40:16 +0000 (21:40 +0000)] 
upstream: typo in other_hostkeys_message() display output, ok djm

OpenBSD-Commit-ID: 276f58afc97b6f5826e0be58380b737603dbf5f5

4 years agoupstream: needs FILE*; from Mike Frysinger
djm@openbsd.org [Wed, 3 Mar 2021 08:42:52 +0000 (08:42 +0000)] 
upstream: needs FILE*; from Mike Frysinger

OpenBSD-Commit-ID: dddb3aa9cb5792eeeaa37a1af67b5a3f25ded41d

4 years agoupdate depend V_8_5_P1
Damien Miller [Tue, 2 Mar 2021 10:31:47 +0000 (21:31 +1100)] 
update depend

4 years agoupdate relnotes URL
Damien Miller [Tue, 2 Mar 2021 10:30:14 +0000 (21:30 +1100)] 
update relnotes URL

4 years agoupdate RPM spec version numbers
Damien Miller [Tue, 2 Mar 2021 10:29:54 +0000 (21:29 +1100)] 
update RPM spec version numbers

4 years agoupstream: openssh-8.5
djm@openbsd.org [Tue, 2 Mar 2021 01:48:18 +0000 (01:48 +0000)] 
upstream: openssh-8.5

OpenBSD-Commit-ID: 185e85d60fe042b8f8fa1ef29d4ef637bdf397d6

4 years agoOnly upload config logs if configure fails.
Darren Tucker [Mon, 1 Mar 2021 10:13:24 +0000 (21:13 +1100)] 
Only upload config logs if configure fails.

4 years agoupstream: Add %k to list of keywords. From
dtucker@openbsd.org [Sun, 28 Feb 2021 22:56:30 +0000 (22:56 +0000)] 
upstream: Add %k to list of keywords. From

=?UTF-8?q?=20Eero=20H=C3=A4kkinenvia=20bz#3267?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

OpenBSD-Commit-ID: 9c87f39a048cee2a7d1c8bab951b2f716256865e

4 years agoupstream: Do not try to reset signal handler for signal 0 in
dtucker@openbsd.org [Sun, 28 Feb 2021 01:50:47 +0000 (01:50 +0000)] 
upstream: Do not try to reset signal handler for signal 0 in

subprocess. Prevents spurious debug message.  ok djm@

OpenBSD-Commit-ID: 7f9785e292dcf304457566ad4637effd27ad1d46

4 years agoupstream: fix alphabetic ordering of options; spotted by Iain Morgan
djm@openbsd.org [Sat, 27 Feb 2021 23:42:37 +0000 (23:42 +0000)] 
upstream: fix alphabetic ordering of options; spotted by Iain Morgan

OpenBSD-Commit-ID: f955fec617d74af0feb5b275831a9fee813d7ad5

4 years agozlib is now optional.
Darren Tucker [Sat, 27 Feb 2021 01:25:25 +0000 (12:25 +1100)] 
zlib is now optional.

4 years agoFix punctuatio and typo in README.md.
Jeffrey H. Johnson [Sat, 27 Feb 2021 01:04:58 +0000 (01:04 +0000)] 
Fix punctuatio and typo in README.md.

Some very minor fixes, missing 's' and punctuation.

4 years agoRevert "ssh: optional bind interface if bind address specified."
Damien Miller [Fri, 26 Feb 2021 05:45:50 +0000 (16:45 +1100)] 
Revert "ssh: optional bind interface if bind address specified."

This reverts commit 5a878a71a3528c2626aa1d331934fd964782d41c.

Apologies - I accidentally pushed this.

4 years agodetech BSD libc hash functions in libbsd / libmd
Damien Miller [Fri, 26 Feb 2021 04:45:38 +0000 (15:45 +1100)] 
detech BSD libc hash functions in libbsd / libmd

Some Linux distributions are shipping the BSD-style hashing functions
(e.g. SHA256Update) in libbsd and/or libmd. Detect this situation to
avoid header/replacement clashes later. ok dtucker@

4 years agossh: optional bind interface if bind address specified.
Dmitrii Turlupov [Thu, 4 Feb 2021 13:27:31 +0000 (16:27 +0300)] 
ssh: optional bind interface if bind address specified.

Allows the -b and -B options to be used together.
For example, when the interface is in the VRF.

4 years agoupstream: remove this KEX fuzzer; it's awkward to use and doesn't play
djm@openbsd.org [Fri, 26 Feb 2021 04:18:42 +0000 (04:18 +0000)] 
upstream: remove this KEX fuzzer; it's awkward to use and doesn't play

nice with popular fuzzing drivers like libfuzzer. AFAIK nobody has used it
but me.

OpenBSD-Regress-ID: cad919522b3ce90c147c95abaf81b0492ac296c9

4 years agoRemove macos-11.00 PAM test target too.
Darren Tucker [Fri, 26 Feb 2021 00:49:19 +0000 (11:49 +1100)] 
Remove macos-11.00 PAM test target too.

These are failing apparently due to some kind of infrastructure problem,
making it look like every commit is busted.

4 years agoupstream: a bit more debugging behind #ifdef DEBUG_SK
djm@openbsd.org [Fri, 26 Feb 2021 00:16:58 +0000 (00:16 +0000)] 
upstream: a bit more debugging behind #ifdef DEBUG_SK

OpenBSD-Commit-ID: d9fbce14945721061cb322f0084c2165d33d1993

4 years agoRemove macos-11.0 from the test target list.
Darren Tucker [Thu, 25 Feb 2021 14:15:10 +0000 (01:15 +1100)] 
Remove macos-11.0 from the test target list.

It has been consistently failing for the past few days with a github
actions internal error.

4 years agotidy the $INSTALLKEY_SH code layout a little
Philip Hands [Wed, 24 Feb 2021 22:43:16 +0000 (23:43 +0100)] 
tidy the $INSTALLKEY_SH code layout a little

SSH-Copy-ID-Upstream: 78178aa5017222773e4c23d9001391eeaeca8983

4 years agoif unable to add a missing newline, fail
Jakub Jelen [Tue, 29 Sep 2020 10:02:45 +0000 (10:02 +0000)] 
if unable to add a missing newline, fail

SSH-Copy-ID-Upstream: 76b25e18f55499ea9edb4c4d6dc4a80bebc36d95

4 years agouse $AUTH_KEY_DIR, now that we have it
Philip Hands [Tue, 13 Oct 2020 12:12:58 +0000 (14:12 +0200)] 
use $AUTH_KEY_DIR, now that we have it

since that was a change made since jjelen's commit was written

also, quote the variables

SSH-Copy-ID-Upstream: 588cd8e5cbf95f3443d92b9ab27c5d73ceaf6616

4 years agorestorecon the correct directory
Jakub Jelen [Tue, 29 Sep 2020 10:00:01 +0000 (10:00 +0000)] 
restorecon the correct directory

if using different path for authorized_keys file

SSH-Copy-ID-Upstream: 791a3df47b48412c726bff6f7b1d190721e65d51

4 years agoupstream: s/PubkeyAcceptedKeyTypes/PubkeyAcceptedAlgorithms/
djm@openbsd.org [Thu, 25 Feb 2021 03:27:34 +0000 (03:27 +0000)] 
upstream: s/PubkeyAcceptedKeyTypes/PubkeyAcceptedAlgorithms/

OpenBSD-Regress-ID: 3dbc005fa29f69dc23d97e433b6dffed6fe7cb69

4 years agoupstream: Rename pubkeyacceptedkeytypes to pubkeyacceptedalgorithms in
dtucker@openbsd.org [Wed, 24 Feb 2021 23:12:35 +0000 (23:12 +0000)] 
upstream: Rename pubkeyacceptedkeytypes to pubkeyacceptedalgorithms in

test to match change to config-dump output.

OpenBSD-Regress-ID: 74c9a4ad50306be873d032819d5e55c24eb74d5d

4 years agoupstream: Put obsolete aliases for hostbasedalgorithms and
dtucker@openbsd.org [Wed, 24 Feb 2021 01:18:08 +0000 (01:18 +0000)] 
upstream: Put obsolete aliases for hostbasedalgorithms and

pubkeyacceptedalgorithms after their current names so that the config-dump
mode finds and uses the current names.  Spotted by Phil Pennock.

OpenBSD-Commit-ID: 5dd10e93cccfaff3aaaa09060c917adff04a9b15

4 years agoupstream: lots more s/key types/signature algorithms/ mostly in
djm@openbsd.org [Tue, 23 Feb 2021 21:55:08 +0000 (21:55 +0000)] 
upstream: lots more s/key types/signature algorithms/ mostly in

HostbasedAcceptedAlgorithms and HostKeyAlgorithms; prompted by Jakub Jelen

OpenBSD-Commit-ID: 3f719de4385b1a89e4323b2549c66aae050129cb

4 years agoupstream: Correct reference to signature algorithms as keys; from
djm@openbsd.org [Tue, 23 Feb 2021 21:50:18 +0000 (21:50 +0000)] 
upstream: Correct reference to signature algorithms as keys; from

Jakub Jelen

OpenBSD-Commit-ID: 36f7ecee86fc811aa0f8e21e7a872eee044b4be5

4 years agoAdd a couple more test VMs.
Darren Tucker [Tue, 23 Feb 2021 05:05:22 +0000 (16:05 +1100)] 
Add a couple more test VMs.

4 years agoValgrind test: split and move up list.
Darren Tucker [Sun, 21 Feb 2021 21:09:27 +0000 (08:09 +1100)] 
Valgrind test: split and move up list.

Since the valgrind test takes so long it approaches the limit allowed by
github, move it to the head of the list so it's the first one started and
split the longest tests out into a second instance that runs concurrently
with the first.

4 years agoupstream: warn when the user specifies a ForwardAgent path that does
djm@openbsd.org [Tue, 23 Feb 2021 00:05:31 +0000 (00:05 +0000)] 
upstream: warn when the user specifies a ForwardAgent path that does

not exist and exit if ExitOnForwardFailure is set; bz3264

OpenBSD-Commit-ID: 72f7875865e723e464c71bf8692e83110699bf26

4 years agoDisable rlimit sandbox, doesn't work with valgrind
Darren Tucker [Sat, 20 Feb 2021 02:34:02 +0000 (13:34 +1100)] 
Disable rlimit sandbox, doesn't work with valgrind

Only run regress tests, runing unit tests as well makes it run longer
than allowed y github.

4 years agoUpload valgrind logs on failure.
Darren Tucker [Sat, 20 Feb 2021 02:06:25 +0000 (13:06 +1100)] 
Upload valgrind logs on failure.

4 years agoRename "vm" to "os" in selfhosted to match c-cpp.
Darren Tucker [Fri, 19 Feb 2021 11:18:50 +0000 (22:18 +1100)] 
Rename "vm" to "os" in selfhosted to match c-cpp.

Should make it easier to share code or maybe merge at some point.

4 years agoUpload regress failure logs in c-cpp too.
Darren Tucker [Fri, 19 Feb 2021 11:15:22 +0000 (22:15 +1100)] 
Upload regress failure logs in c-cpp too.

4 years agoComment out Solaris 64bit PAM build...
Darren Tucker [Fri, 19 Feb 2021 11:13:36 +0000 (22:13 +1100)] 
Comment out Solaris 64bit PAM build...

until I can figure out why it's failing.

4 years agoActually run Valgrind tests.
Darren Tucker [Thu, 18 Feb 2021 23:20:17 +0000 (10:20 +1100)] 
Actually run Valgrind tests.

4 years agoAdd test against Valgrind.
Darren Tucker [Thu, 18 Feb 2021 23:16:56 +0000 (10:16 +1100)] 
Add test against Valgrind.

4 years agoAdd fbsd12 test target.
Darren Tucker [Thu, 18 Feb 2021 05:30:01 +0000 (16:30 +1100)] 
Add fbsd12 test target.

4 years agoRemove unused arg.
Darren Tucker [Thu, 18 Feb 2021 04:21:13 +0000 (15:21 +1100)] 
Remove unused arg.

4 years agoAdd DEBUG_SK to kitchensink builds.
Darren Tucker [Thu, 18 Feb 2021 03:54:07 +0000 (14:54 +1100)] 
Add DEBUG_SK to kitchensink builds.