Manoj Ampalam
2846d75e56
Merge branch 'master' of https://github.com/openssh/openssh-portable into m_temp
2017-11-16 14:03:24 -08:00
bagajjal
4fc40c0959
rename variable to NoLibressl
2017-11-07 16:07:16 -08:00
bagajjal
494faf24dd
Enable libressl as default and to disable use the switch
2017-11-07 13:57:08 -08:00
Manoj Ampalam
4edff78b9d
Fixed issue in POSIX layer that could truncate write streams ( #235 )
...
PowerShell/Win32-OpenSSH#908
2017-11-06 21:38:14 -08:00
Manoj Ampalam
c546971ca8
Fixed issue with ssh redirected stdin
...
PowerShell/Win32-OpenSSH#929
Issue: ReadThread prematurely returns on read io error. This results in APC never getting set and hence the corresponding fd is never set on select resulting the hang seen in issue 929.
Also removed the static instances storing sync io status, since there could be multiple sync fds operating at the same time. Moved the sync io status to w32_io object itself.
2017-11-03 13:16:23 -07:00
djm@openbsd.org@openbsd.org
f2ad63c071
upstream commit
...
whitespace at EOL
OpenBSD-Regress-ID: f4b5df99b28c6f63478deb916c6ed0e794685f07
2017-10-31 09:08:52 +11:00
djm@openbsd.org@openbsd.org
c6415b1f8f
upstream commit
...
whitespace at EOL
OpenBSD-Regress-ID: 19b1394393deee4c8a2114a3b7d18189f27a15cd
2017-10-31 09:08:51 +11:00
millert@openbsd.org@openbsd.org
e4d4ddbbba
upstream commit
...
Use printenv to test whether an SSH_USER_AUTH is set
instead of using $SSH_USER_AUTH. The latter won't work with csh which treats
unknown variables as an error when expanding them. OK markus@
OpenBSD-Regress-ID: f601e878dd8b71aa40381573dde3a8f567e6f2d1
2017-10-31 09:08:51 +11:00
millert@openbsd.org@openbsd.org
116b1b4394
upstream commit
...
Add tests for URI parsing. OK markus@
OpenBSD-Regress-ID: 5d1df19874f3b916d1a2256a905526e17a98bd3b
2017-10-31 09:08:51 +11:00
Damien Miller
d27bff293c
Fix missed RCSID merges
2017-10-20 13:22:00 +11:00
djm@openbsd.org
d3b6aeb546
upstream commit
...
more RCSIDs
Upstream-Regress-ID: 1aecbe3f8224793f0ec56741a86d619830eb33be
2017-10-20 13:15:40 +11:00
bagajjal
9555bd9e87
Fix the memset issue related to default cmd option ( #223 )
...
Fix the memset issue related to default cmd option
2017-10-16 19:03:02 -07:00
bagajjal
97959981f6
More fix of sftp scp file permission and test cases ( #222 )
...
More fix of sftp scp file permission and test cases
2017-10-16 14:46:37 -07:00
bagajjal
c9c715e707
Fix sftp scp file permission ( #212 )
...
PowerShell/Win32-OpenSSH#884
Convert the mode properly to file permissions.
If mode has "read" permission then we set the file permission to "read & execute"
If mode has "write" permission then we set the file permission to "Write & Modify"
Inherit the file permissions from the parent folder when sftp / scp creates the file on windows.
sftp - put & get.
scp - from local to remote windows machine.
2017-10-16 13:00:40 -07:00
bagajjal
9c95d8e2bb
allowing users to configure the default shell through windows registry ( #215 )
2017-10-16 10:45:11 -07:00
djm@openbsd.org
a66714508b
upstream commit
...
exercise PermitOpen a little more thoroughly
Upstream-Regress-ID: f41592334e227a4c1f9a983044522de4502d5eac
2017-10-05 05:51:46 +11:00
dtucker@openbsd.org
609ecc8e57
upstream commit
...
UsePrivilegeSeparation is gone, stop trying to test it.
Upstream-Regress-ID: 796a5057cfd79456a20ea935cc53f6eb80ace191
2017-10-05 05:51:46 +11:00
Manoj Ampalam
6fba3a2ae9
Merge branch 'master' of https://github.com/openssh/openssh-portable into latestw
2017-10-03 14:32:45 -07:00
Manoj Ampalam
72093244f9
Added test cases for certificate authentication ( #216 )
2017-10-03 12:21:08 -07:00
markus@openbsd.org
6a9481258a
upstream commit
...
test reverse dynamic forwarding with SOCKS
Upstream-Regress-ID: 95cf290470f7e5e2f691e4bc6ba19b91eced2f79
2017-09-26 16:56:15 +10:00
Damien Miller
1b9f321605
sync missing changes in dynamic-forward.sh
2017-09-26 16:55:55 +10:00
bluhm@openbsd.org
09eacf856e
upstream commit
...
Print SKIPPED if sudo and doas configuration is missing.
Prevents that running the regression test with wrong environment is reported
as failure. Keep the fatal there to avoid interfering with other setups for
portable ssh. OK dtucker@
Upstream-Regress-ID: f0dc60023caef496ded341ac5aade2a606fa234e
2017-09-18 14:13:02 +10:00
dtucker@openbsd.org
cdede10899
upstream commit
...
Remove obsolete privsep=no fallback test.
Upstream-Regress-ID: 7d6e1baa1678ac6be50c2a1555662eb1047638df
2017-09-18 14:11:42 +10:00
dtucker@openbsd.org
ec218c105d
upstream commit
...
Remove non-privsep test since disabling privsep is now
deprecated.
Upstream-Regress-ID: 77ad3f3d8d52e87f514a80f285c6c1229b108ce8
2017-09-18 14:11:22 +10:00
dtucker@openbsd.org
239c57d5bc
upstream commit
...
Don't call fatal from stop_sshd since it calls cleanup
which calls stop_sshd which will probably fail in the same way. Instead,
just bail. Differentiate between sshd dying without cleanup and not shutting
down.
Upstream-Regress-ID: f97315f538618b349e2b0bea02d6b0c9196c6bc4
2017-09-18 14:11:22 +10:00
Yanbing
18b1e5935b
multiple fixes for win7 ( #206 )
...
1. fix some exception when appverifier is enabled on win7 (https://gitthub.com/PowerShell/Win32-OpenSSH/issues/872 )
2. enable sshdconfig tests on win7(https://github.com/PowerShell/Win32-OpenSSH/issues/873 )
3. fix for https://github.com/PowerShell/Win32-OpenSSH/issues/874 ( ReadFile does not return on win7 when no content in console )
4. Remove logging to console in Readthread because write hangs here since write thread already closed (https://github.com/PowerShell/Win32-OpenSSH/issues/879 )
5. fix VCTargetsPath
2017-09-15 21:25:42 -07:00
Damien Miller
ec9d22cc25
Fuzzer harnesses for sig verify and pubkey parsing
...
These are some basic clang libfuzzer harnesses for signature
verification and public key parsing. Some assembly (metaphorical)
required.
2017-09-08 12:44:13 +10:00
bagajjal
ab2aefff6d
Fix allow/deny groups #816 ( #203 )
...
Fixing allow groups, deny groups. (PowerShell/Win32-OpenSSH#816 )
Convert users, groups read from sshd_config to lowercase.
2017-09-01 14:53:12 -07:00
Manoj Ampalam
55df531587
Updated tests to reflect merged changes
2017-08-28 12:13:01 -07:00
Yanbing
3c90af89a2
Updates needed for running test on windows inbox ( #189 )
...
Test updates needed for running test on windows inbox
2017-08-02 17:16:06 -07:00
Yanbing
b1a6fbca5e
Issue13 ( #184 )
...
Replace with secure APIs in win32compat
2017-07-19 15:28:35 -07:00
Yanbing
327f514f27
Test fixes for latest product changes ( #183 )
...
Update the string selection pattern for latest product changes
2017-07-10 13:53:44 -07:00
Manoj Ampalam
3dd748c035
Merge branch 'master' of https://github.com/openssh/openssh-portable into latestw
2017-07-08 23:18:28 -07:00
Yanbing
7cadeeb91b
Minor update on scp tests ( #178 )
...
1. remove -P option since test_target already has the port specified
2. adding quotes to sshcmd path
2017-07-01 16:53:55 -07:00
Yanbing
eb0ab1b522
test scripts update to run on win7 ( #174 )
...
PowerShell/Win32-OpenSSH#721
PowerShell/Win32-OpenSSH#771
PowerShell/Win32-OpenSSH#785
PowerShell/Win32-OpenSSH#786
2017-06-26 21:58:29 -07:00
Manoj Ampalam
f8f5e45f02
Decouple key-agent and privileged-agent use in sshd ( #173 )
...
PowerShell/Win32-OpenSSH#766
PowerShell/Win32-OpenSSH#783
2017-06-26 21:57:24 -07:00
djm@openbsd.org
c9cdef3552
upstream commit
...
regress test for ExposeAuthInfo
Upstream-Regress-ID: 190e5b6866376f4061c411ab157ca4d4e7ae86fd
2017-06-24 17:29:55 +10:00
Manoj Ampalam
dd88d8d5d4
Move to LibreSSL, Fixed issues arising from compiling Windows specific code at warling level 3
2017-06-13 10:33:47 -07:00
Manoj Ampalam
f7e6475b96
Merge remote-tracking branch 'openssh/master' into latestw
2017-06-07 21:46:18 -07:00
djm@openbsd.org
1de5e47a85
upstream commit
...
unbreak after sshv1 purge
Upstream-Regress-ID: 8ea01a92d5f571b9fba88c1463a4254a7552d51b
2017-06-08 13:11:11 +10:00
bagajjal
4879602b69
Docker#666 keyscan#731 posixcompatnewunittests ( #152 )
...
docker ssh issue
PowerShell/Win32-OpenSSH#666
a) fdopen changes to accept the /dev/null device
b) fix the select (using same fdset as readfdset, exceptfdset) issue with the unix opensssh code.
changed keyscan pester test to refer to localhost (127.0.0.1) instead of GitHub.com
PowerShell/Win32-OpenSSH#731
Fix the ASSERT_HANDLE issue..
ASSERT_HANDLE should fail if handle is either NULL or INVALID_HANDLE.
Added new testcases for the null device.
2017-05-26 15:40:59 -07:00
Yanbing
5989efcad6
fix issue when checking file permission and generate key under system context ( #150 )
...
PowerShell/Win32-OpenSSH#736
PowerShell/Win32-OpenSSH#735
2017-05-26 14:24:23 -07:00
Yanbing
81bcaaa7cf
Add mode support in open() and onboard file perm related changes and tests ( #145 )
...
PowerShell/Win32-OpenSSH#710
PowerShell/Win32-OpenSSH#725
PowerShell/Win32-OpenSSH#729
PowerShell/Win32-OpenSSH#731
PowerShell/Win32-OpenSSH#732
2017-05-23 21:45:38 -07:00
bagajjal
e296463fc8
Add new unit testcases ( #139 )
...
PowerShell/Win32-OpenSSH#605
PowerShell/Win32-OpenSSH#602
PowerShell/Win32-OpenSSH#603
2017-05-22 22:50:51 -07:00
bagajjal
4dbee0d15a
Onboard sshkeyscan ( #143 )
...
PowerShell/Win32-OpenSSH#124
PowerShell/Win32-OpenSSH#728
2017-05-22 22:18:41 -07:00
Manoj Ampalam
ba7cf86417
Merge branch 'master' of https://github.com/openssh/openssh-portable into latestw
2017-05-19 23:08:42 -07:00
Yanbing
afc6ca91f7
Fixes for #648 and #718
...
PowerShell/Win32-OpenSSH#648
PowerShell/Win32-OpenSSH#718
2017-05-18 12:15:18 -07:00
Yanbing
79662b9a6f
Suspended File permissions logic, cranked version.
2017-05-15 22:08:01 -07:00
Manoj Ampalam
742bf63d1a
E2E test updates
...
Updated README for test case indexing guidelines, added ssh_config and updated existing test cases
2017-05-12 14:09:50 -07:00
Manoj Ampalam
17efb12f6f
ssh client E2E tests ( #138 )
...
https://github.com/PowerShell/Win32-OpenSSH/issues/619
PowerShell/Win32-OpenSSH#623
* C2
* C3
* C4
* C5
2017-05-12 10:31:59 -07:00