Commit Graph

11480 Commits

Author SHA1 Message Date
Tess Gauthier 904470d9a9
Telemetry (#529) 2021-10-11 14:46:32 -07:00
Tess Gauthier e3ec55a47e
add files with test pws to credscan suppression (#528)
* add files with test pws to credscan suppression

* update justification
2021-09-21 11:51:53 -07:00
vthiebaut10 0b73c4636d
Allow non-admin user processes to log message to ETW / log file (#513) 2021-06-11 16:56:04 -07:00
vthiebaut10 75835a2462
Copy LICENCE to bin folder (#514) 2021-05-26 15:19:48 -07:00
bagajjal 46688b7bc0 Do not advertise fstatvfs 2021-05-14 11:46:28 -07:00
bagajjal 4d2ea7f2f2 fix the error message when user tries to login with just domain name 2021-05-12 14:09:30 -07:00
bagajjal 1abee49b13 remove unnecessary logs 2021-05-12 11:18:10 -07:00
bagajjal de3b30217c crank OpenSSH v8.6 2021-05-07 16:34:30 -07:00
bagajjal 085c1d232e Change zlib version from 2.1.11 to 1.2.11 2021-05-07 10:35:27 -07:00
bagajjal 48aee09043
update to Libressl V3.3.3.0 (#508) 2021-05-07 10:12:57 -07:00
Oldřich Jedlička 62ea86fdbe
Rework username same as hostname (#469) 2021-05-06 15:20:35 -07:00
bagajjal 59a96cfee4
Update _PATH_TTY to point to the console (#506) 2021-05-04 13:18:06 -07:00
Rafael Rivera 4c37fb9792
Quote XAuthLocation before use (#442) 2021-05-03 18:26:47 -07:00
Melby Ruarus 747d7ee66c
Updates the Win32 error translation table to translate ERROR_NOT_SUPPORTED to EOPNOTSUPP. (#440) 2021-05-03 12:45:19 -07:00
Semicolon 5e5ed64743
user permission fix to include ecdsa and ed25519 (#446)
Co-authored-by: Michael Trigg <mtrigg@crabel.com>
2021-05-03 12:40:10 -07:00
Rafael Rivera 7e53747509
Fallback onto TEMP if TMPDIR undefined (#441) 2021-05-03 12:31:52 -07:00
bagajjal 507b4e52be
fix session id mismatch (#505) 2021-05-03 12:31:24 -07:00
bagajjal 349e834a04 remove spaces in appveyor.yml to trigger CI build 2021-04-29 18:16:29 -07:00
bagajjal 279abce5ef Add appveyor debug logs 2021-04-29 17:09:46 -07:00
bagajjal 88c5e11dbd Merge branch 'latestw_all' of https://github.com/PowerShell/openssh-portable into bagajjal/pull_v8_6 2021-04-29 12:51:13 -07:00
bagajjal 9dba3f91e4
Bagajjal/compile test v8.6 (#503)
Fixed compilation and test failures with V8.6.
2021-04-29 12:41:08 -07:00
vthiebaut10 83927cbe02
sftp-server running on windows writes incoming file from linux client… (#502) 2021-04-28 14:56:51 -07:00
vthiebaut10 cd1e7d6f9d
Log UTF-16 characters properly (#500) 2021-04-23 10:15:45 -07:00
bagajjal 9230781e2e Merge upstream V8_6 2021-04-21 11:30:22 -07:00
vthiebaut10 904ffd36d4
Use moduli file under openssh-portable root folder (#499) 2021-04-19 10:27:24 -07:00
Damien Miller e86968280e depend 2021-04-16 13:55:25 +10:00
Damien Miller 2fb25ca11e crank version in README and RPM spec files 2021-04-16 13:53:02 +10:00
djm@openbsd.org b2b60ebab0 upstream: openssh-8.6
OpenBSD-Commit-ID: b5f3e133c846127ec114812248bc17eff07c3e19
2021-04-16 13:43:30 +10:00
markus@openbsd.org faf2b86a46 upstream: do not pass file/func to monitor; noted by Ilja van Sprundel;
ok djm@

OpenBSD-Commit-ID: 85ae5c063845c410283cbdce685515dcd19479fa
2021-04-16 13:24:33 +10:00
Damien Miller 2dc328023f 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
2021-04-14 11:42:55 +10:00
Damien Miller d5d6b7d76d perform report_failed_grab() inline 2021-04-10 18:45:00 +10:00
Damien Miller ea996ce2d0 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
2021-04-10 18:22:57 +10:00
Darren Tucker bfa5405da0 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.
2021-04-08 15:18:15 +10:00
Darren Tucker 1f189181f3 Pass OBJ to unit test make invocation.
At least the Valgrind unit tests uses $OBJ.
2021-04-08 15:17:19 +10:00
Darren Tucker f42b550c28 Add pattern for valgrind-unit. 2021-04-08 14:20:12 +10:00
Darren Tucker 19e5344627 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.
2021-04-08 13:35:14 +10:00
Darren Tucker 80032102d0 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.
2021-04-08 13:25:57 +10:00
Darren Tucker d1bd184046 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.
2021-04-07 17:02:51 +10:00
Darren Tucker fea8f4b1aa Move make_tmpdir() into portable-specific area.
Reduces diff vs OpenBSD and makes it more likely diffs will apply
cleanly.
2021-04-07 17:02:51 +10:00
dtucker@openbsd.org 13e5fa2acf 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
2021-04-07 17:02:51 +10:00
Darren Tucker ef4f46ab43 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.
2021-04-07 17:02:51 +10:00
Darren Tucker 3674e33fa7 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.
2021-04-07 17:02:27 +10:00
djm@openbsd.org 961af266b8 upstream: include "ssherr.h" not <ssherr.h>; from Balu Gajjala via
bz#3292

OpenBSD-Commit-ID: e9535cd9966eb2e69e73d1ede1f44905c30310bd
2021-04-07 09:25:53 +10:00
Damien Miller e7d0a285db wrap struct rlimit in HAVE_GETRLIMIT too 2021-04-07 08:50:38 +10:00
Damien Miller f283a6c2e0 wrap getrlimit call in HAVE_GETRLIMIT; bz3291 2021-04-07 08:20:59 +10:00
dtucker@openbsd.org 679bdc4a5c 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
2021-04-06 19:31:18 +10:00
jmc@openbsd.org 320af2f3de upstream: remove stray inserts; from matthias schmidt
OpenBSD-Commit-ID: 2c36ebdc54e14bbf1daad70c6a05479a073d5c63
2021-04-06 19:08:53 +10:00
jmc@openbsd.org 801f710953 upstream: missing comma; from kawashima james
OpenBSD-Commit-ID: 31cec6bf26c6db4ffefc8a070715ebef274e68ea
2021-04-06 19:08:53 +10:00
Darren Tucker b3ca08cb17 Install libcbor with libfido2. 2021-04-05 23:48:31 +10:00
Damien Miller f3ca8af87a enable authopt and misc unit tests
Neither were wired into the build, both required some build
adaptations for -portable
2021-04-03 18:21:08 +11:00