12166 Commits

Author SHA1 Message Date
Tess Gauthier
b006c8d8f4 define HAVE_KILLPG 2022-09-14 17:30:12 -04:00
Tess Gauthier
f4d2ff0409 fix pester test failures 2022-09-13 17:50:40 -04:00
Tess Gauthier
215341dd66 openssh-9.0
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEcWi5g4FaXu9ZpK39Kj9BTnNgYLoFAmJObaQACgkQKj9BTnNg
 YLo8sxAAgLZEtkkgM3m5IXRDbwq95Z1zD87vcxv6IixeLqCKpXwNOARInfPcR0vJ
 gWY5HGUyB3FKxqjdKkQNjZLCofwKJGVo8hXYky+vTrD9brUYOJ2fJSpWddfNCTZF
 66EHblpGbMXRbBVX3mocXAWErjGsklEemGsIqbCXZCay6AuFW7qCl0b+K5LELNuX
 LvfTCjwPBXQSndzIspHdQkkfQruGfSopLVm/XqfR5RvtBfGhr602sj+m0XN50/ZW
 ICDK82y9wXBCCIXpflUOuYi7pwhqhHZWTNVHiMLklGpWF8VEaU7PkKxiy2bbKSxU
 5SllG/+DticIAIY/gykYzLg3tcz3m5V1cWxO52fXG8ZmuWyX/iL0hk5REJg3jb+q
 EHGmL2ML+nqJsGDYuQYeUCYbw/IO1W8nNXBNcfdadC+fU/HfapYFoyK4mh4/bqcv
 TjRObmz3L2CQO01cK4+CF8Od/8evt7/zOVjCd6LSjtVfjK34lEKwUQsaSv/C46MJ
 dHB1N0f5tElEjt1IIXtj1YGRxkYey42NCKvLBSYNMFhsD0OUCd7ZzC16QYt5nEx6
 du7//ED1Dc6gACEmkkLCOKGnB2lMzegdNbsZOsoJ8Dw+xsy/1Up1tLBbaA8nJss9
 Vz9z3ymjcB3YSSNSeCAJxjJUC41AMvAEqDJl6ChJyAvKMto22j8=
 =+gmq
 -----END PGP SIGNATURE-----

resolve merge conflicts
2022-09-09 12:30:06 -04:00
Tess Gauthier
24c095e785
add motw to scp and sftp (#614)
* add motw to scp and sftp

* retrigger appveyor

* fix motw for filepaths with unicode characters

* modify error handling

* add debug for appveyor

* modify motw method to use openssh method to open filestream

* fix return value for null fileStreamPath pointer

* fix spacing, comments, and failure message

* clean up mark of the web method

* incorporate MapUrlToZone for sftp & partially scp

* update scp for motw failure case

* Update contrib/win32/win32compat/misc.c

Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>

* address pr review comments

* refactor failure handling in motw methods

* add CoUnitialize after CoInitializeEx call

* use urlmon.h constants for com instance

* update var name for consistency

Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>
2022-09-08 11:55:10 -04:00
Bryan Berns
ec26bbe178
Addressed PKCS ECC loading Issue (#611) 2022-08-05 16:22:28 -07:00
Paul Higinbotham
52f8ba1c14
Merge pull request #615 from PaulHigin/fix-testhelper
Fix sshd executable name and resolve source path.
2022-08-03 09:31:07 -07:00
Tess Gauthier
04dd589b95
fix debug exception with static method (#607) 2022-08-03 10:42:55 -04:00
PaulHigin
0fd0ac6838 Fix sshd executable name and resolve source path. 2022-08-02 16:04:12 -07:00
Tess Gauthier
ff6cfe6fdf
add product version runtime parameter to MSI (#603)
* add product version runtime parameter

* add comment

Co-authored-by: Steve Lee <slee@microsoft.com>

Co-authored-by: Steve Lee <slee@microsoft.com>
2022-05-04 18:13:22 -04:00
bagajjal
cf06f991f9
CHROOT - fix symbolic link that refers to a network share (#596) 2022-04-15 13:49:41 -07:00
Marc-André Moreau
4833ddaeb8
fix ssh-pkcs11-client.c missing ifdef (#597) 2022-04-15 13:49:14 -07:00
Marc-André Moreau
89cec9823c
fix duplicate symbols from posix_compat, openbsd_compat with libcrypto (#593) 2022-04-08 14:03:18 -07:00
Damien Miller
94eb6858ef update version numbers for release 2022-04-06 10:47:48 +10:00
djm@openbsd.org
8e4a8eadf4 upstream: openssh-9.0
OpenBSD-Commit-ID: 0dfb461188f4513ec024c1534da8c1ce14c20b64
2022-04-06 09:16:11 +10:00
naddy@openbsd.org
a9f23ea2e3 upstream: ssh: document sntrup761x25519-sha512@openssh.com as
default KEX

OpenBSD-Commit-ID: 12545bfa10bcbf552d04d9d9520d0f4e98b0e171
2022-04-06 09:16:05 +10:00
naddy@openbsd.org
9ec2713d12 upstream: man pages: add missing commas between subordinate and
main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

OpenBSD-Commit-ID: 9520801729bebcb3c9fe43ad7f9776ab4dd05ea3
2022-04-06 09:16:05 +10:00
Darren Tucker
3741df98ff Disable security key on fbsd6 test host. 2022-04-04 23:52:11 +10:00
Darren Tucker
32c12236f2 Specify TEST_SHELL=bash on AIX.
The system shells cause the agent-restrict test to fail due to some
quoting so explicitly specify bash until we can get configure to
autmatically work around that.
2022-04-04 15:16:51 +10:00
Darren Tucker
90452c8b69 Only return events from ppoll that were requested.
If the underlying system's select() returns bits that were not in the
request set, our ppoll() implementation can return revents for events
not requested, which can apparently cause a hang.  Only return revents
for activity in the requested event set.  bz#3416, analysis and fix by
yaroslav.kuzmin at vmssoftware com, ok djm@
2022-04-01 23:38:44 +11:00
Darren Tucker
6c49eb5fab Only run regression tests on slow VMs. 2022-04-01 23:21:40 +11:00
Darren Tucker
f67e479039 Increase test timeout to allow slow VMs to finish 2022-04-01 23:21:06 +11:00
Darren Tucker
02488c1b54 Use bash or ksh if available for SH in Makefile. 2022-04-01 16:29:14 +11:00
Darren Tucker
34c7018c31 Set Makefile SHELL as determined by configure.
This should improve compatibility for users with non-POSIX shells.  If
using Makefile.in directly (eg make -f Makefile.in distprep) then SHELL
will need to be specified on the command line (along with MANFMT in that
particular case).  ok djm@
2022-04-01 14:56:54 +11:00
Darren Tucker
5b054d7640 Skip slow tests on (very) slow test targets. 2022-04-01 13:16:47 +11:00
Damien Miller
b275818065 depend 2022-03-31 14:11:36 +11:00
djm@openbsd.org
3fa539c3ff upstream: add a sftp client "cp" command that supports server-side
copying of files. Useful for this task and for testing the copy-data
extension. Patch from Mike Frysinger; ok dtucker@

OpenBSD-Commit-ID: 1bb1b950af0d49f0d5425b1f267e197aa1b57444
2022-03-31 14:09:42 +11:00
djm@openbsd.org
7988bfc4b7 upstream: add support for the "corp-data" protocol extension to
allow server-side copies to be performed without having to go via the client.
Patch by Mike Frysinger, ok dtucker@

OpenBSD-Commit-ID: 00aa510940fedd66dab1843b58682de4eb7156d5
2022-03-31 14:09:42 +11:00
djm@openbsd.org
32dc1c29a4 upstream: select post-quantum KEX
sntrup761x25519-sha512@openssh.com as the default; ok markus@

OpenBSD-Commit-ID: f02d99cbfce22dffec2e2ab1b60905fbddf48fb9
2022-03-31 08:16:38 +11:00
djm@openbsd.org
d6556de1db upstream: fix poll() spin when a channel's output fd closes without
data in the channel buffer. Introduce more exact packing of channel fds into
the pollfd array. fixes bz3405 and bz3411; ok deraadt@ markus@

OpenBSD-Commit-ID: 06740737849c9047785622ad5d472cb6a3907d10
2022-03-31 08:16:38 +11:00
djm@openbsd.org
8a74a96d25 upstream: ssh is almost out of getopt() characters; note the
remaining remaining available ones in a comment

OpenBSD-Commit-ID: 48d38cef59d6bc8e84c6c066f6d601875d3253fd
2022-03-30 15:34:33 +11:00
djm@openbsd.org
6d4fc51adb upstream: avoid NULL deref via ssh-keygen -Y find-principals.
bz3409, reported by Mateusz Adamowski

OpenBSD-Commit-ID: a3b2c02438052ee858e0ee18e5a288586b5df2c5
2022-03-30 15:34:33 +11:00
Darren Tucker
e937514920 Add AIX 5.1 test target. 2022-03-28 17:51:03 +11:00
Darren Tucker
4bbe815ba9 Drop leading "v" from release version identifier.
It's present in the git tags but not in the release tarball names.
Also drop extra "/" from URL path.
2022-03-26 22:01:31 +11:00
Darren Tucker
f5cdd3b3c2 Use tarballs when testing LibreSSL releases.
This means they'll still work when the combination of -portable and
openbsd github repos no longer match.
2022-03-26 16:28:04 +11:00
Darren Tucker
24dc37d198 Remove now-unused passwd variable. 2022-03-26 15:02:45 +11:00
Darren Tucker
5b467ceef2 Missing semicolon. 2022-03-26 13:15:44 +11:00
Darren Tucker
2923d026e5 Factor out platform-specific locked account check.
Also fixes an incorrect free on platforms with both libiaf and shadow
passwords (probably only Unixware).  Prompted by github PR#284,
originally from @c3h2_ctf and stoeckmann@.
2022-03-26 12:49:50 +11:00
Darren Tucker
d23efe4b12 Add OpenWRT mips and mipsel test targets. 2022-03-26 08:13:46 +11:00
Tess Gauthier
9598cec2fc
fix install-sshd incompatability with windows pwsh 5.1 (#590) 2022-03-24 10:32:32 -07:00
bagajjal
aa0d37b16e
Crank V8.9.1.0 (#588) 2022-03-22 14:45:16 -07:00
bagajjal
0bac502e32
Upgrade to V3.4.3.0 (#587) 2022-03-22 09:57:16 -07:00
Tess Gauthier
672c7eb270
Update install sshd (#585) 2022-03-21 15:02:15 -07:00
Tess Gauthier
6bd66d4685
update ssh-agent privileges to match install scripts for pkcs11/fido scenarios (#584) 2022-03-21 13:13:27 -07:00
pedro martelletto
b314450fe5
skip check_sk_options() in sk_sign() when interfacing with webauthn.dll (#582) 2022-03-21 10:00:29 -07:00
djm@openbsd.org
16ea8b8583 upstream: don't leak argument list; bz3404, reported by Balu
Gajjala ok dtucker@

OpenBSD-Commit-ID: fddc32d74e5dd5cff1a49ddd6297b0867eae56a6
2022-03-20 19:54:35 +11:00
djm@openbsd.org
a72bde294f upstream: make addargs() and replacearg() a little more robust and
improve error reporting

make freeargs(NULL) a noop like the other free functions

ok dtucker as part of bz3403

OpenBSD-Commit-ID: 15f86da83176978b4d1d288caa24c766dfa2983d
2022-03-20 19:54:35 +11:00
djm@openbsd.org
731087d261 upstream: don't try to resolve ListenAddress directives in the sshd
re-exec path - we're never going to use the result and if the operation fails
then it can prevent connections from being accepted. Reported by Aaron
Poffenberger; with / ok dtucker@

OpenBSD-Commit-ID: 44c53a43909a328e2f5ab26070fdef3594eded60
2022-03-20 19:54:35 +11:00
djm@openbsd.org
1c83c08212 upstream: remove blank line
OpenBSD-Commit-ID: d5e0182965b2fbfb03ad5f256d1a1ce5706bcddf
2022-03-20 19:54:35 +11:00
djm@openbsd.org
807be68684 upstream: helpful comment
OpenBSD-Commit-ID: e3315a45cb04e7feeb614d76ec80a9fe4ca0e8c7
2022-03-18 13:33:36 +11:00
djm@openbsd.org
a0b5816f8f upstream: ssh-keygen -Y check-novalidate requires namespace or SEGV
will ensue. Patch from Mateusz Adamowski via GHPR#307

OpenBSD-Commit-ID: 99e8ec38f9feb38bce6de240335be34aedeba5fd
2022-03-18 13:33:36 +11:00