Commit Graph

407 Commits

Author SHA1 Message Date
Gert Driesen 8bea7cb388 Skip headers (and message body if Content-Length headers is set) returned by HTTP proxy. Fail fast when proxy does not return HTTP 200.
Added corresponding regression tests.
Fixes the following issues: 1601, 1890 and 1905.
2014-03-01 10:59:08 +00:00
Gert Driesen 1c35970820 Correct casing of Security/Cryptography/HMAC.cs.
Fixes issue #1505.
2014-02-23 19:18:01 +00:00
Gert Driesen 9f97b90c41 * Allow a private key to be read from a file which is already open, but which allows read access. This allows multiple connections to use the same private key file concurrently.
* Added tests for PrivateKeyFile, and fix all failing tests.
* Add private keys also as embedded resources to test project for .NET 3.5.
2014-02-15 19:19:49 +00:00
Gert Driesen a077321505 Remove Test project from solution as its a local project which is only used by Oleg. 2014-02-11 20:07:36 +00:00
Gert Driesen 2a4299eca5 Enable source control binding for all projects. 2014-02-11 20:06:23 +00:00
Gert Driesen c811a88c90 Modify Renci.SshNet.WindowsPhone project to target WP 7.1 again instead of 8.0. The upgrade of the solution and project files to VS 2013 caused this regression. 2014-02-11 19:57:51 +00:00
Gert Driesen 117e079011 Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher. 2014-02-11 19:52:38 +00:00
olegkap_cp af3fc6b404 Handle Event Handle leak per issue #1761 2013-11-01 15:52:13 +00:00
olegkap_cp f4141de4c9 Upgrade solution to VS.NET 2013
Apply patch 15311 - Fixes permission denied on their private key file.
Apply patch 15015 - Fixes the scp operations that are based upon streams.
Apply patch 15346 - Change socket to SocketOptionLevel.Tcp per microsoft documentation
2013-11-01 15:43:33 +00:00
olegkap_cp c7d162111b Apply patch 14803 2013-07-10 14:09:21 +00:00
olegkap_cp 9848c741eb Fix "OverflowException on empty server response" for silverlight 2013-07-10 13:37:16 +00:00
olegkap_cp b6eb090ed0 Fix PKCS7Padding padding 2013-07-10 13:31:07 +00:00
olegkap_cp 61f3adbb8b Fix ConnectHttp method to exit in HttpStatusCode.OK 2013-07-10 13:22:19 +00:00
olegkap_cp 02561a21fa Fix "Incorrect check for timeout values" in ShellStream 2013-07-10 13:07:45 +00:00
olegkap_cp 4d2b723bcd Apply patches 14800 and 14801 2013-07-10 13:05:29 +00:00
olegkap_cp 3af40a0f83 Apply 14339 patch 2013-07-10 12:32:16 +00:00
olegkap_cp 796883e229 Update version number 2013-04-06 17:41:50 +00:00
olegkap_cp e189418a5b Improve thread-safe event handling
Replace Task.Factory.StartNew with ThreadPool.QueueUserWorkItem
2013-04-04 15:33:47 +00:00
olegkap_cp 908c22cc93 Fix SshAuthenticationException by handling PartialSuccess response and continue authentication proccess in that case 2013-04-02 00:48:38 +00:00
olegkap_cp f6480f1fff Fix thread synchronization issue when uploading files using SCP 2013-03-27 17:34:59 +00:00
olegkap_cp badcf4052c Fix and remove orphan threads when using port forwarding. 2013-03-07 21:35:37 +00:00
olegkap_cp 6c761cf491 Replace previouse fix with Connection test vs if disposed 2013-03-07 16:40:29 +00:00
olegkap_cp c72ac9c42f Dont call Channel Close() during dispose phase 2013-03-07 16:36:50 +00:00
olegkap_cp b04d660cd6 Fix differnt SCP Upload issue.
Remove not SCP feature of creating directory structure for uploaded files or directories
2013-03-07 16:14:36 +00:00
olegkap_cp 4df7a2849b Lock _incoming object where performing Enqueue
Rollback previouse commit
2013-03-02 14:37:53 +00:00
olegkap_cp d0c028a938 Lock _encoding in ShellStream when GetString operation is performed 2013-03-02 14:29:40 +00:00
olegkap_cp 2825e44f45 Improve HTTP proxy error handling, regarding issue #1509
Apply 13964 patch to improve handling of multiple authentication methods
2013-03-02 13:57:32 +00:00
olegkap_cp 6dc8840e45 Commiting files that were not commited on previous commit 2013-02-07 20:00:07 +00:00
olegkap_cp 8934b5d156 Improve internal server window size managment
Fix exception handeling when multiple threads share one channel that can caus application hanging
Improve cipher perfomance
Other fixes
2013-02-07 19:47:47 +00:00
olegkap_cp 759aa4c9ee Improve SftpClient Exists method 2013-02-02 22:39:46 +00:00
olegkap_cp 0434c54ef1 Fix problem when huge files could be cut off in the middle 2013-02-02 21:16:30 +00:00
olegkap_cp e1b2d13a99 Fix SCP to handle root path 2013-02-02 15:41:52 +00:00
olegkap_cp 19802b6553 Add IPAddress as parameter to ForwardedPortRemote
Allow all projects to generate xml documentation files
Add GetIPAddress method and other minor refactoring
2013-01-31 04:45:14 +00:00
olegkap_cp 29f641ba61 Update Assmbly information to version 2013.1.27 2013-01-27 01:22:45 +00:00
olegkap_cp fd428dd617 Fix some tests
Update all projects to generate xml documentation file
Cross project fixes to make it compilable for all projects
2013-01-27 01:13:53 +00:00
olegkap_cp d31b4c76e1 Fix how exceptions are thrown
Fix exception being thrown for asynchronous multiple SFTP file download
Add additional helper BeginDownloadFile and BeginUploadFile methods
2013-01-26 14:01:35 +00:00
olegkap_cp 7f52ff7dee Ensure all forwarded ports are removed when client disconects so it could be reused later 2013-01-25 23:30:23 +00:00
olegkap_cp b2015d4b2d Fix SftpFileStream corrupting data on upload 2013-01-25 01:11:28 +00:00
olegkap_cp 4276e4b8e6 Fix ScpClient upload to allow path to include subdirectories 2013-01-24 22:39:27 +00:00
olegkap_cp 4dd65b5b9f Update AssmeblyInformation 2013-01-24 04:20:48 +00:00
olegkap_cp 2d769888f5 Add missing files to linked projects 2013-01-23 14:46:17 +00:00
olegkap_cp 89a6083eda Refactor HMAC
Add SHA512Hash, SHA384Hash classes for future hash support
2013-01-23 13:50:13 +00:00
olegkap_cp 3bf76ef842 Add HashInfo class and refactor hashing works
Fix *-96 hashing algorithms
2013-01-22 13:36:54 +00:00
olegkap_cp 95abd4557b Fix Expect method
Improve BeginExpect to be implemented similar to other asynch methods
2013-01-21 12:56:54 +00:00
olegkap_cp db38a04f8a Add Encoding property to ConnectionInfo to specify what encoding to use for current session.
Fix encoding for command execution, SCP and SFTP to allow usage of file names in different encodings
2013-01-21 02:56:41 +00:00
olegkap_cp c62571a059 Remove some test code from previouse commit 2013-01-20 15:23:42 +00:00
olegkap_cp ff2d8b3f52 Add support for hmac-sha2-256, hmac-sha2-256-96, hmac-md5-96 and hmac-sha1-96 2013-01-20 04:47:18 +00:00
olegkap_cp eba904b54e Add IsUploadCanceled and IsDownloadCanceled properties to allow cancelation of long running operations 2013-01-20 00:51:02 +00:00
olegkap_cp 111fd3e052 Add support for twofish cipher 2013-01-20 00:12:11 +00:00
olegkap_cp affc93e4f0 Connectivity check fix from previouse commit 2013-01-19 04:07:41 +00:00