10358 Commits

Author SHA1 Message Date
Bryan Berns
106db2baac
Make w32_rename() Atomic For Files (#438) 2020-04-02 10:17:27 -07:00
bagajjal
901f123915
conExitRawMode() - set in_raw_mode to 0 2020-04-01 22:02:28 -07:00
Scott Bennett
a228c2fbaa
Reset console after exiting raw mode (#425) 2020-04-01 21:59:19 -07:00
bagajjal
f4498b7c5b
Update docker file and build helper (#436) 2020-03-17 22:23:04 -07:00
bagajjal
be6a7c80d8
Upgrade to LibreSSL 3.0.2 version. (#435) 2020-03-17 12:51:40 -07:00
bagajjal
ffae274ab0
Add Moduli file support (#434) 2020-03-17 10:46:28 -07:00
bagajjal
0516e2d619
Fix cursor scroll issue for downlevel OS (#430) 2020-03-16 16:27:57 -07:00
bagajjal
6b1af6abaa
Fix to pipe shell commands. (#429)
Fix to pipe shell commands.
Fix random test failures
2020-02-28 18:06:18 +00:00
Rafael Rivera
5207e6f1be
Relax implicit ASKPASS requirements for X11 forwarding scenarios (#428) 2020-02-28 00:19:59 +00:00
bagajjal
a4e42bd33a
Temporarily disable proxycommand pester tests.
Track using https://github.com/PowerShell/Win32-OpenSSH/issues/1559
2020-02-24 22:42:04 -08:00
bagajjal
ee11c8e15e update to libressl 2.9.2.1 v8.1.0.0 2019-12-17 23:36:53 -08:00
bagajjal
0bd3eb973b
remove CREATE_NO_WINDOW
Interactive sftp is broken.
2019-12-17 17:00:49 -08:00
bagajjal
6f21746aed
Long file name arm64 platform (#422) 2019-12-17 14:14:59 -08:00
bagajjal
ac1b5bed26
remove code to block rdp 2019-12-17 14:12:42 -08:00
bagajjal
ac41232677
Match user force command (pty) (#421) 2019-12-17 14:11:40 -08:00
Bryan Berns
2c2ac97333 Add Long File Name Support (#400) 2019-12-17 12:40:36 -08:00
Oldřich Jedlička
2736cb7b0c Resolve local user name same as machine name to <user_name aka machine_name>\<user_name aka machine_name> 2019-12-16 16:44:07 -08:00
Josh Soref
3b28c64936 Tell Windows (CreateProcessW) which part of the command is the program to run (#383) 2019-12-12 14:34:15 -08:00
Bryan Berns
7dd58ed31f Allow Use Of Non-ASCII Character In SSH Client Passwords (#322)
* Allow Use Of Non-ASCII Character In SSH Client Passwords
2019-12-12 14:33:05 -08:00
bugale
17c9c6dbb3 Using the Y viewport for setting cursor correctly (#368)
[shellhost] - fix cursor position, Y viewport.
2019-12-12 14:32:17 -08:00
sasdf
1b9b599f60 Change /dev/null to NUL (#403)
1) Change /dev/null to NUL.
2) Add logic to check for NULL_DEVICE_WIN in fileio.c and misc.c
2019-12-12 14:30:11 -08:00
bagajjal
9fcbc0c1a5
Code cleanup & minor fixes (#415)
* remove AddPasswordSetting(), override the build output zip file if exists
2019-12-12 14:24:35 -08:00
bagajjal
a49bdce666
Port Unix bash tests (#410)
Leverage upstream test infrastructure to run against windows openssh binaries.
2019-12-09 15:12:46 -08:00
bagajjal
9b327de3e7
While spawning sshd process, use DETACHED_PROCESS flag 2019-12-09 11:51:24 -08:00
Bryan Berns
25588ffb7a Potential Bug When First Character In Path Is Unicode (#398)
Fix is_absolute_path() to ignore non-ASCII values.
2019-12-09 11:31:22 -08:00
bagajjal
8cf6003bac
CreateProcess with CREATE_NO_WINDOW flag (#413)
* createProcess() should spawn a new process with an invisible console window.
2019-12-09 10:54:18 -08:00
bagajjal
4ea214bf8d
ssh config include failed to read windows file paths (#414)
* ssh config "include", failed to read windows file paths
2019-12-09 10:52:52 -08:00
bagajjal
34608f3d29
Read VTSequence from console (#412)
Use console win32 API to read the VTSequence for keystrokes on client-side.
2019-12-05 13:20:04 -08:00
bagajjal
9e42eb0c76
Update logic to identify console conpty support (#411)
conpty identity logic.
2019-12-02 10:57:03 -08:00
Ed Schaller
a4ea7dcced Fix comparison between wchar and ptr (#401) 2019-11-15 22:49:38 -08:00
Manoj Ampalam
7ae6defce8
Added support for AuthorizedKeysCommand and AuthorizedPrincipalsCommand (#409) 2019-11-15 10:51:45 -08:00
Manoj Ampalam
754f7b4885 Ported v8.1 changes 2019-11-01 12:20:04 -07:00
Manoj Ampalam
66b040a11e Merge branch 'V_8_1' of https://github.com/openssh/openssh-portable into latestw_all 2019-11-01 11:55:19 -07:00
bagajjal
32976d0d7e fix onecore build issues (#402) 2019-11-01 11:11:24 -07:00
bagajjal
762b888b89 Added config option to target a specific version of LibreSSL (#405)
Version of LibreSSL to link to, now needs to be explicitly declared in paths.targets
2019-11-01 11:10:33 -07:00
bagajjal
0d93457a2e Added compression support vai Zlib (#404) 2019-11-01 10:57:34 -07:00
Manoj Ampalam
aaf11e2149
Fixed various unhandled failure paths in Kerb GSS/SSPI adapter (#393) 2019-10-10 11:42:28 -07:00
Darren Tucker
d43ff22d66 Fix ifdef typo for declaration of memmem.
Fixes build on IRIX.  bz#3081.
2019-10-10 09:46:06 +11:00
Damien Miller
cdf1d0a9f5 prepare for 8.1 release 2019-10-09 11:31:03 +11:00
djm@openbsd.org
3b4e56d740 upstream: openssh-8.1
OpenBSD-Commit-ID: 3356bb34e2aa287f0e6d6773c9ae659dc680147d
2019-10-09 11:12:26 +11:00
djm@openbsd.org
29e0ecd9b4 upstream: fix an unreachable integer overflow similar to the XMSS
case, and some other NULL dereferences found by fuzzing.

fix with and ok markus@

OpenBSD-Commit-ID: 0f81adbb95ef887ce586953e1cb225fa45c7a47b
2019-10-09 11:11:41 +11:00
djm@openbsd.org
a546b17bba upstream: fix integer overflow in XMSS private key parsing.
Reported by Adam Zabrocki via SecuriTeam's SSH program.

Note that this code is experimental and not compiled by default.

ok markus@

OpenBSD-Commit-ID: cd0361896d15e8a1bac495ac583ff065ffca2be1
2019-10-09 11:11:41 +11:00
dtucker@openbsd.org
c2cc25480b upstream: Correct type for end-of-list sentinel; fixes initializer
warnings on some platforms.  ok deraadt.

OpenBSD-Commit-ID: a990dbc2dac25bdfa07e79321349c73fd991efa2
2019-10-09 11:11:41 +11:00
djm@openbsd.org
e827aedf88 upstream: reversed test yielded incorrect debug message
OpenBSD-Commit-ID: 78bb512d04cfc238adb2c5b7504ac93eecf523b3
2019-10-09 11:06:47 +11:00
Damien Miller
8ca491d29f depend 2019-10-09 11:06:37 +11:00
Darren Tucker
86a0323374 Make MAKE_CLONE no-op macro more correct.
Similar to the previous change to DEF_WEAK, some compilers don't like
the empty statement, so convert into a no-op function prototype.
2019-10-09 09:36:06 +11:00
Damien Miller
cfc1897a20 wrap stdint.h include in HAVE_STDINT_H
make the indenting a little more consistent too..

Fixes Solaris 2.6; reported by Tom G. Christensen
2019-10-09 09:06:35 +11:00
Damien Miller
13b3369830 avoid "return (value)" in void-declared function
spotted by Tim Rice; ok dtucker
2019-10-08 15:32:02 +11:00
Darren Tucker
0c7f8d2326 Make DEF_WEAK more likely to be correct.
Completely nop-ing out DEF_WEAK leaves an empty statemment which some
compilers don't like.  Replace with a no-op function template.  ok djm@
2019-10-08 14:48:32 +11:00
dtucker@openbsd.org
b1e79ea8fa upstream: Instead of running sed over the whole log to remove CRs,
remove them only where it's needed (and confuses test(1) on at least OS X in
portable).

OpenBSD-Regress-ID: a6ab9b4bd1d33770feaf01b2dfb96f9e4189d2d0
2019-10-07 13:08:57 +11:00