183 Commits

Author SHA1 Message Date
manojampalam
720818154f 2-28 C2 2016-02-28 12:59:20 -08:00
manojampalam
2c07012217 Updated .gitignore 2016-02-28 00:14:55 -08:00
manojampalam
4b6bb2ac18 2-28 C1 2016-02-28 00:10:51 -08:00
manojampalam
3e61818f19 2-27 C2 2016-02-27 18:05:20 -08:00
manojampalam
d42ef60f9c 2-27 C1 2016-02-27 14:53:57 -08:00
manojampalam
9fe3ef60e6 2-26 C1
updates to project files
2016-02-26 22:01:11 -08:00
Manoj Ampalam
72f943a679 2-1-c1 2016-02-01 22:50:21 -08:00
Manoj Ampalam
1a72ebe3a2 1-31 C1 2016-01-31 01:10:48 -08:00
Manoj Ampalam
406105949d 1-30 C1 2016-01-30 17:02:15 -08:00
Manoj Ampalam
a9d62206f4 1-30 C1 2016-01-30 00:16:46 -08:00
Manoj Ampalam
8433e8ee77 1-29 C1 2016-01-29 18:46:45 -08:00
Manoj Ampalam
418687fea0 1-28-C1 2016-01-28 23:04:27 -08:00
Manoj Ampalam
888020265b Merge branch 'L1' into L2-Win32Posix-Prototype 2016-01-18 22:37:55 -08:00
Manoj Ampalam
733d09e249 1-18 C1 2016-01-18 22:29:15 -08:00
Manoj Ampalam
118d457d39 1-17 C2 2016-01-17 00:17:43 -08:00
Manoj Ampalam
e642fa78ec 1-17 C1 2016-01-17 00:14:19 -08:00
dkulwin
44d8ddddb1 Implement generic interface for bignum and diffie-hellman
Implementation of a generic wrap interface for bignum and diffie-hellman
based upon Damien's wrap code in openssh-openbsd.  This commit adds the
generic interface along with the backing code for openssl, cng, and cng
with an openssl fallback.  Currently, openssl is the only provider for
bignum and the diffie-hellman generic interface is only for static and
negotiated oakley groups..
2016-01-16 16:10:16 -06:00
quamrulmina
fe136bc352 Code fixed for ssh-agent.exe and ssh-add.exe to work in Windows
ssh-agent.exe and ssh-add.exe code updated and fixed to work in Windows.
For convenience of users, ssh-agent.exe starts a cmd shell with the
"SSH_AUTH_SOCK" and "SSH_AGENT_PID" environment variables set.
ssh-add.exe can be run immediately from the cmd shell. 'ssh-add -L" and
"ssh-add id_rsa"  and "ssh-add -d id_rsa" are 3 useful commands to list,
add and delete keys from ssh-agent cache.
2016-01-16 00:05:33 -06:00
Manoj Ampalam
b345f4581f 1-15 C1 2016-01-15 17:48:52 -08:00
Manoj Ampalam
ea5c31f5a1 1-14 C1 2016-01-14 23:08:18 -08:00
quamrulmina
8f42a2f376 ssh client roaming bug fix applied.
Disable experimental client-side roaming support.  Server side was
disabled/gutted for years already, but this aspect was surprisingly
forgotten. openssh lists this bug as CVE-2016-0777
It is described in:
http://undeadly.org/cgi?action=article&sid=20160114142733
2016-01-14 15:15:24 -06:00
Manoj Ampalam
a3e7bf4c4c 1-13 C1 2016-01-13 12:52:58 -08:00
Manoj Ampalam
36c5c9e89f 1-12 C1 2016-01-12 14:38:05 -08:00
Manoj Ampalam
fa9331e2d5 108 C1 2016-01-08 15:09:53 -08:00
dkulwin
5bc1a58689 Add CNG KEX hooks
Add conditional hooks to use CNG for KEX.  Switches based upon USE_MSCNG
define
2016-01-08 13:42:08 -06:00
dkulwin
02e784565a Add CNG KEX support routine
CNG KEX support for Group1, Group14 and Group Exchange .
2016-01-08 13:40:55 -06:00
dkulwin
67c7a3c003 Add os compatibility to manifests
Microsoft version apis distinguish operating systems beyond window 8 if
there isn't a manifest entry for os compatibility.
2016-01-08 13:35:55 -06:00
dkulwin
bae340a957 Ignore visual studio database files 2016-01-08 13:32:22 -06:00
Manoj Ampalam
c2da6ce9a4 1-7 C2 2016-01-07 23:04:20 -08:00
Manoj Ampalam
71bd3ccd8f 1-7 C1 2016-01-07 13:18:20 -08:00
quamrulmina
d77657997c scp dependency libraries added for scp to build correctly
openbsd_compat.lib libssh  config win32compat dependencies added
2016-01-04 17:24:41 -06:00
quamrulmina
65df6a412c Fix PathCanonicalize() API not being found for win32 build
Add shlwapi.h to access the prototype of the function of
PathCanonicalize()
2016-01-04 17:21:50 -06:00
Manoj Ampalam
aacaa78d24 1-4 C1 2016-01-04 01:02:48 -08:00
Manoj Ampalam
533dec9304 1-3 C3 2016-01-03 00:50:16 -08:00
Manoj Ampalam
3c4a0b19ac 1-3 C2 2016-01-03 00:33:23 -08:00
Manoj Ampalam
d47b935039 1-3 changes 2016-01-03 00:25:57 -08:00
Manoj Ampalam
2e8a804a2b Prototype VS2013 project 2016-01-02 00:46:46 -08:00
quamrulmina
6301972e69 Add multiple ../../.. support in sftp-server for changing directories or get/put
Before one could provide only one .. ; now it can be any numbers. cd
../../..  or get ../backup/myfile.c  --- all these formations now work.
2015-12-31 17:06:32 -06:00
quamrulmina
39c00bff7e Fix sftp-server to have process_setstat() work correctly in Win32
This fix allows WinSCP upload to finish properly as updating time was
not working otherwise with driver letter support improvement. Other sftp
clients will also work better/properly now.
2015-12-31 01:12:33 -06:00
quamrulmina
332890c330 WinSCP client now works with win32 sftp-server as readlink now supported in Win32 sftp-server
process_readlink() now implemented in Win32 sftp-server and linked
directories can now be read and browsed. as a result opensource WinSCP
client ( it has SFTP and SCP gui clients ) now works with our Win32
sftp-server.
2015-12-30 18:31:11 -06:00
quamrulmina
8c92d7bd95 fix sftp-server to be able to show directories that are linked to other point
"Application Data" is one such directory in a user;'s home directory. We
get inside path of to find where a directory is linked to and read that
to get contents.
2015-12-30 17:17:56 -06:00
quamrulmina
46327a98b1 fix sftp-server not showing first entry in listing; code ls -l to show file attributes correctly
changing driver letter in sftp-server tested using usb drives; missing
first entry on a top root directory is now shown correctly. ls -l output
cleaned up and now correctly show file and directory attributes.
strmode() function implemented for Windows like it is available in
Unix/Linux OS.
2015-12-29 22:05:37 -06:00
quamrulmina
4857c272b9 Add driver letter support to sftp-server and let it form external path with / to meet spec
sftp-server now conforms to sftp rfc spec and creates external path with
/ as the first character so that programs like Winscp will now work.
Driver letters are kept below it like /x:/users/user1homedir format;
driver letters are now supported.  cd /users or cd c:/users or cd
D:/users will all work now. Windows security enforces what directory or
files one can view/access.
2015-12-29 03:12:56 -06:00
quamrulmina
102d1ed6b6 scp needs this windows header file for 32bit win32
shlwapi.h needs to be included to access PathCanonicalize() win32 API
for 32 bit version in Visual Studio 2015.
2015-12-22 18:36:10 -06:00
Steve Lee
a5917da436 Merge pull request #53 from mikemaccana/patch-2
README: make install instructions more obvious
2015-12-22 13:44:19 -08:00
quamrulmina
3cdffbc29e ssh-add.exe being fixed to work in Windows
setvbuf to avoid in Windows for stdio
12_22_2015
2015-12-22 14:58:19 -06:00
Mike MacCana
c9d08ba419 README: make install instructions more obvious
+ small tweaks.
2015-12-21 12:21:14 +00:00
quamrulmina
f8f10e1911 Fixed #49. server identification string unhelpfully generic.
SSH-2.0-OpenSSH_7.1p1 Microsoft_Win32_port_with_VS or
SSH-2.0-OpenSSH_7.1p1 Microsoft_Win32_port is transmitted as sshd & ssh
version based if Visual Studio or Mingw build compiler is used.
2015-12-14 16:45:55 -06:00
quamrulmina
750b52e4d4 Fixed #23: ssh does not work properly with ~/.ssh/config file
Fixed the issue as ssh.exe was trapping if config file was in the user's
home directory. User ssh client "config" file can be given by locating
it in the user's home directory/.ssh/config . Typically it is
/users/johndoe/.ssh/config
2015-12-11 16:23:31 -06:00
dkulwin
702daceea7 Minor changes to assertion handling
Changed the code to bring back assertion popups for everyone, but turn
off assertions around the _get_osfhandle() call in allocate_sfd().  The
original port code was designed knowing that some of the passed
parameters would be invalid, but was expecting that the call would just
fail instead of generating an assert dialog.  Turning off Asserts around
this call results in behavior similar to mingw.

Also, turn off Incremental Linking for ssh.exe since half the time, the
linker would trap on this project.
2015-12-08 12:47:35 -06:00