Commit Graph

8587 Commits

Author SHA1 Message Date
Manoj Ampalam 9bc3da7fa7 Cleaned up unittests (https://github.com/PowerShell/Win32-OpenSSH/issues/477)
unittest-sshkey.exe failures still need investigation
2017-01-27 14:11:27 -08:00
Yanbing e3bec44766 Improvements to CI build and validation output 2017-01-27 10:47:20 -08:00
Manoj Ampalam fb51120093 Fixed: Regression in command exit code (https://github.com/PowerShell/Win32-OpenSSH/issues/485) 2017-01-25 20:54:21 -08:00
Manoj Ampalam c6b57c018c Got rid of w32posix.h and defs.h (https://github.com/PowerShell/Win32-OpenSSH/issues/498) 2017-01-25 14:43:55 -08:00
bagajjal e4da8db4d2 Multiple Fixes
https://github.com/PowerShell/Win32-OpenSSH/issues/496
https://github.com/PowerShell/Win32-OpenSSH/issues/488
https://github.com/PowerShell/Win32-OpenSSH/issues/495
2017-01-24 10:18:42 -08:00
Ray Hayes d10d8a8f36 Remove passthru, fix check for ansi console support. Removed VT52. (https://github.com/PowerShell/Win32-OpenSSH/issues/430) 2017-01-23 16:45:41 -08:00
Manoj Ampalam d34edc89db Added provision to intercept crt header inclusion (https://github.com/PowerShell/Win32-OpenSSH/issues/490) 2017-01-21 20:14:08 -08:00
Manoj Ampalam 98a3cff539 Merge branch 'latestw' into latestw_all 2017-01-18 22:14:47 -08:00
Manoj Ampalam 5384c817cc Merge remote-tracking branch 'openssh/master' into latestw 2017-01-18 22:13:39 -08:00
Manoj Ampalam ceed50e8b1 Fixed issue:key based auth ocassionally fails (https://github.com/PowerShell/Win32-OpenSSH/issues/481) 2017-01-18 22:09:47 -08:00
Manoj Ampalam 282e45472a cranked version 2017-01-15 16:39:15 -08:00
Darren Tucker 58fca12ba9 Remove LOGIN_PROGRAM.
UseLogin is gone, remove leftover.  bz#2665, from cjwatson at debian.org
2017-01-16 09:08:32 +11:00
Manoj Ampalam efa7d82bbd Fixed issue: Wrong log message when key type is not allowed (https://github.com/PowerShell/Win32-OpenSSH/issues/472) 2017-01-14 23:25:12 -08:00
bagajjal 039f2eca7a SFTP bug fixes (#53)
https://github.com/PowerShell/Win32-OpenSSH/issues/479
https://github.com/PowerShell/Win32-OpenSSH/issues/476
https://github.com/PowerShell/Win32-OpenSSH/issues/474
https://github.com/PowerShell/Win32-OpenSSH/issues/467


bug #479 - "ls c:" is not working
 sanitized_path() is modified to handle the edge case "\x:"


2.bug #476 - "cd c:" is not working
 If "c:" is passed to _fullpath() then it is returning existing path but not "c:", so if we append "\" to "c:" then it is working fine.


3.bug #474 - code cleanup MAX_PATH
 Using PATH_MAX variable instead of MAX_PATH
 In dirent.h, used PATH_MAX instead of hardcoding 256 characters
 In readdir(), changed the pdirentry to be a static variable. Before this, we are leaking the memory.


4.bug #467 - SFTP rename failed if the newpath already exists.
 The _wrename throws error if the newpath exists.
 To make it consistent with the linux behavrior,
 a) if the newpath is a file and if it exists then delete it so that _wrename will succeed.
 b) if the newpath is a directory and if it is empty then delete it so that _wrename will succeed.
2017-01-14 22:12:19 -08:00
Manoj Ampalam e95aef2cf3 Fixed issue: wrong message when connection refused (https://github.com/PowerShell/Win32-OpenSSH/issues/216) 2017-01-14 08:10:28 -08:00
Manoj Ampalam adbe5a2f2e Fixed issue: sshd service terminates after a brief period of time (https://github.com/PowerShell/Win32-OpenSSH/issues/241) 2017-01-13 13:25:31 -08:00
Yanbing 2017ffdff0 Reduce the console output of build (#54)
1. Reduce the console output of build
2. move to use powershell core 6.0.0.14
3. one minor fix in pester tests.

* Update the path of unittest results and build log. suppress the warning message.

* limitoutput of choco installation.

* fix of quotes

* remove redundant log

* Set x64 Release build as default
2017-01-13 12:03:42 -08:00
Yanbing 50e4499fe0 Password authention tests for SCP and SSH tests (#52) 2017-01-11 21:54:44 -08:00
Manoj Ampalam 3508cdc624 Fixed Issue: Invalid ECDSA key length for valid key length (https://github.com/PowerShell/Win32-OpenSSH/issues/413)
https://github.com/PowerShell/Win32-OpenSSH/issues/413
2017-01-10 22:02:46 -08:00
Yanbing 654c18f960 SCP issue fix: backslashs in username (https://github.com/PowerShell/Win32-OpenSSH/issues/471) 2017-01-10 20:21:40 -08:00
Yanbing 6c049683d7 Cleaned up win32_log.c 2017-01-10 20:18:44 -08:00
Yanbing 6608961bb0 SCP issue fixes: setting the timestamp of directory and enable run_err to report error back to client (#42)
* SCP bug fixes
https://github.com/PowerShell/Win32-OpenSSH/issues/465
https://github.com/PowerShell/Win32-OpenSSH/issues/464

* remove one comment

* remove redundent code for mode update.

* update the mode setting when mkdir per the info from main page

* change to follow the BSD coding style

* change naming convention

* add static
2017-01-09 19:07:51 -08:00
Manoj Ampalam f122ab210a Merge branch 'latestw' into latestw_all 2017-01-06 23:15:00 -08:00
Manoj Ampalam 99dce690c3 Merge remote-tracking branch 'openssh/master' into latestw 2017-01-06 23:12:23 -08:00
Manoj Ampalam 9b8902443e Fix to https://github.com/PowerShell/Win32-OpenSSH/issues/421 (#43) 2017-01-06 23:00:27 -08:00
Yanbing cfd88df671 Fix the hanging issue when file already exists and -p is used. (#41) 2017-01-06 10:03:06 -08:00
bagajjal 144ece5347 SFTP fixes
1.Fixed df command that shows the disk space utilization.
2.Fixed the realpath to take care of edge cases where path size is less than 2.
3.Fixed the "dir " bug
4.Fixed the "dir e:\test" bug
5.Fixed the memory leak in wmain_sshd.c
2017-01-05 15:01:36 -08:00
djm@openbsd.org b108ce92aa upstream commit
relax PKCS#11 whitelist a bit to allow libexec as well as
lib directories.

Upstream-ID: cf5617958e2e2d39f8285fd3bc63b557da484702
2017-01-04 13:23:04 +11:00
djm@openbsd.org c7995f296b upstream commit
check number of entries in SSH2_FXP_NAME response; avoids
unreachable overflow later. Reported by Jann Horn

Upstream-ID: b6b2b434a6d6035b1644ca44f24cd8104057420f
2017-01-04 13:23:04 +11:00
Manoj Ampalam 743a94da26 cranked version (#40) 2017-01-03 14:14:52 -08:00
djm@openbsd.org ddd3d34e5c upstream commit
fix deadlock when keys/principals command produces a lot of
output and a key is matched early; bz#2655, patch from jboning AT gmail.com

Upstream-ID: e19456429bf99087ea994432c16d00a642060afe
2017-01-03 15:24:42 +11:00
Manoj Ampalam f207a12b78 Fixed openssl=no build issues (#38) 2016-12-27 13:47:09 -08:00
Yanbing 15a99f6142 Fixed Scp local copy
* scp fix

* revert the changes in SCP.Tests.ps1

* add deployment of sshd_config

* update the SCP tests

* revert the change to deploy the sshd_config
2016-12-22 15:21:42 -08:00
Manoj Ampalam d67c7e7c85 :Missed earlier fix to spawn_child 2016-12-21 21:39:43 -08:00
Manoj Ampalam 9333a08637 SCP Fixes (from Yanbing), realpath_win cleanup and spawn_child fix (that broke progfiles installation) 2016-12-21 21:17:14 -08:00
bagajjal c957488af2 removing private changes in sftp.c 2016-12-21 19:53:10 -08:00
bagajjal 0c98fdf059 Merge branch 'latestw_all' of https://github.com/PowerShell/openssh-portable into latestw_all 2016-12-21 19:51:34 -08:00
bagajjal 79e00ae7de realpath fix 2016-12-21 19:51:27 -08:00
Yanbing 5cdec2bc35 Enablebuildlatestw_all (#35)
Update build script to download OpenSSL libs from win32_openssh
2016-12-21 17:34:20 -08:00
Manoj Ampalam 0efb6c3bf2 Fix to SFTP issue failing to pass in the correct commandline 2016-12-21 14:16:21 -08:00
bagajjal 07a658c2b7 Making forwardslash/backslash converter methods available in posix layer 2016-12-21 11:51:37 -08:00
Manoj Ampalam 50ddd23474 Added credits to install-sshd.ps1 2016-12-20 13:50:02 -08:00
Manoj Ampalam 4adde42f61 Fix to SDDL issue in install-sshd.ps1 2016-12-20 10:16:50 -08:00
Darren Tucker 30eee7d1b2 Re-add missing "Prerequisites" header and fix typo
Patch from HARUYAMA Seigo <haruyama at unixuser org>.
2016-12-20 12:16:11 +11:00
Manoj Ampalam 36ba5d15bf Merge branch 'latestw' into latestw_all 2016-12-19 15:03:23 -08:00
Manoj Ampalam dbd2ab3587 Merge branch 'master' of https://github.com/openssh/openssh-portable into latestw 2016-12-19 15:02:12 -08:00
Manoj Ampalam 6aa5b815c2 To be cleaned sources from Win32 Fork 2016-12-19 14:48:14 -08:00
Manoj Ampalam 5ad8a2c358 Sources Merged from Win32 Fork 2016-12-19 14:46:28 -08:00
djm@openbsd.org c8c60f3663 upstream commit
use standard /bin/sh equality test; from Mike Frysinger

Upstream-Regress-ID: 7b6f0b63525f399844c8ac211003acb8e4b0bec2
2016-12-20 09:35:51 +11:00
Damien Miller 4a354fc231 crank version numbers for release 2016-12-19 15:59:41 +11:00