Commit Graph
997 Commits
Author SHA1 Message Date
Gert Driesen 3f28d8c175 Revert changes in BigInteger.Random(int bitLength) from commit 1b881f5df3.
Fixes issue #147.
2017-01-08 15:15:59 +01:00
Gert Driesen d95276d861 Document the fact that we now use VS 2017 to build the .NET Standard 1.3 flavor of SSH.NET. 2017-01-04 18:53:45 +01:00
Gert Driesen 9747d9caef Revert "Add ClientIP to client info to allow select client IP that should be used for connection (#132)"
This reverts commit 78679a3c30.
2016-12-30 13:14:35 +01:00
Gert Driesen 6d8f545bb4 Introduce VS 2017 solution and MSBuild-based .NET Core project
* Introduced VS 2017 solution
* Use MSBuild-based project for .NET Core.
* Removed Renci.SshNet.NETCore project from VS 2015 solution (as only VS
2017 supports MSBuild-based project for .NET Core)
* Added build script since MSBuild v15.0 cannot be used to build the VS
2012 solution (pfffff).
2016-12-29 21:27:19 +01:00
oleg 78679a3c30 Add ClientIP to client info to allow select client IP that should be used for connection (#132) 2016-12-20 13:10:50 -05:00
oleg 5b724e5001 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-12-20 11:40:03 -05:00
oleg 1b881f5df3 Change how clientExchangeValue is calculated (#130) 2016-12-20 11:39:51 -05:00
drieseng c0407a29de Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-12-16 13:03:22 +01:00
drieseng 7da9b86968 Merge branch 'master' of https://github.com/sshnet/SSH.NET.git 2016-12-16 13:02:44 +01:00
drieseng 650e6ab8f2 Remove unused imports. 2016-12-16 13:02:37 +01:00
drieseng cea61f0573 Eliminate use of Linq. 2016-12-16 12:33:34 +01:00
Gert Driesen d2fa88647b Update nuspec for 2016.1.0-beta1. 2016.1.0-beta1 2016-12-14 21:13:57 +01:00
drieseng 496eba2593 Update version info for 2016.1.0-beta1. 2016-12-14 20:56:08 +01:00
Gert Driesen 35ab7a98af Merge pull request #131 from sshnet/develop
Prepare for 2016.1.0-beta.
2016-12-14 20:53:32 +01:00
drieseng 9511c22abe Prepare for 2016.1.0-beta1. 2016-12-14 20:49:53 +01:00
drieseng 84d1291519 Use LastWriteTimeUtc and LastAccessTimeUtc of the local directory that corresponds with the remote path.
Fixes issue #129.
2016-12-12 22:12:25 +01:00
drieseng e83486c391 Do not create extra directory level when uploading the content of a directory.
Fixes issue #128.
2016-12-12 21:51:38 +01:00
drieseng 0ac28d26cb Removed obsolete tracing.
Removed timestamps from log messages (as the .NET tracing infrastructure already provides support for this).
2016-12-12 16:33:56 +01:00
drieseng c7cc92bbd6 Remove commented out code. 2016-12-12 16:31:13 +01:00
Gert Driesen 1dd79b2008 Add support for binary distribution zip file.
Rename help file.
2016-12-09 20:03:27 +01:00
Gert Driesen 8071d00098 Removed obsolete reference to Microsoft.CSharp. 2016-12-09 18:15:43 +01:00
drieseng 18613b2e6e Added timestamp to tracing. 2016-12-02 18:18:03 +01:00
drieseng a6f0d27fbe Removed extra tracing. 2016-12-02 18:17:18 +01:00
drieseng f52d81ad1e Added more tracing to troubleshoot issue #112. 2016-11-28 22:08:09 +01:00
drieseng 5f6c3b0bc7 Fix SL build. 2016-11-03 21:30:17 +01:00
drieseng 13fff36135 Added support domain name address type for SOCKS5.
Fixes issue #98.
2016-11-03 21:23:43 +01:00
drieseng 5a1e469bb9 No longer throw ObjectDisposedException in Stop() when port is disposed. 2016-11-03 20:42:46 +01:00
drieseng f50b9f18a6 Do not allow simultaneously sending of a packet and disposing of the session.
Fixes variant of issue #32.

Impact on performance still needs to be checked, so we may revert this later.
2016-10-06 21:23:52 +02:00
drieseng 009fbc39eb Revert "Attempt to use MSBuild project file to build."
This reverts commit 1e4b0f1ee1.
2016-10-04 21:19:53 +02:00
drieseng 1e4b0f1ee1 Attempt to use MSBuild project file to build. 2016-10-04 21:11:17 +02:00
drieseng 7a474e6472 Remove CancelConnectAsync - which is .NET 4.0+ only - as dispose of the socket has the same effect. 2016-10-03 21:03:10 +02:00
drieseng 93874699e4 Cancel async connection request when timeout has elapsed.
Dispose all managed resources.
Fixes issue #87.
2016-09-22 21:10:12 +02:00
drieseng 1711d5a3b5 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-09-21 21:30:06 +02:00
drieseng 852efaf9f9 Modify SocketAbstraction.CanWrite to return false when socket is null. 2016-09-21 21:29:59 +02:00
Gert Driesen 647d3ffd3f Remove obsolete partial Session classes and sync project files. 2016-09-19 21:59:32 +02:00
Gert Driesen 939325ee64 Merge pull request #88 from sshnet/master
Move back to use develop branch.
2016-09-19 21:36:11 +02:00
drieseng cddeed3a7a Fixed warning. 2016-09-19 21:34:59 +02:00
drieseng a6eedcb4f4 Session is no longer partial. 2016-09-18 19:27:15 +02:00
drieseng c0b22818c2 Sync project files with Session simplification. 2016-09-18 19:26:36 +02:00
drieseng ee9f0f748a SocketExceptions that are thrown during shut down of the socket should not bubble up.
Fixes PR #86.
2016-09-18 19:17:04 +02:00
drieseng f9773a6786 Refactor out use of dynamic types, and reflection for processing received SSH messages. 2016-09-18 19:08:12 +02:00
drieseng 97ed0ddb1c Dereference socket instance field before disposing it. 2016-09-18 11:16:44 +02:00
drieseng 3e0100272c Dereference waithandle instance field before disposing it. 2016-09-18 11:16:10 +02:00
drieseng 9f67d3d7eb Log raised exception. 2016-09-17 09:39:38 +02:00
drieseng 6237dd4982 Move IsSocketConnected to Session.cs.
Move HandleMessageCore to Session.cs, and use FEATURE_DYNAMIC_TYPE conditional compilation symbol to use dynamic code.
2016-09-15 21:23:58 +02:00
drieseng 536f9bd2a4 Use Socket.IsConnected() extension method. 2016-09-15 21:21:56 +02:00
drieseng 9e8ce4a868 Modify ReceiveMessage to return null when connection is closed.
Added TrySocketRead method that returns 0 (zeo) when connection is closed.
Remove SocketRead(int length) overload.

Added IsConnected extension method to Socket.
Modify MessageListener() to use this extension method as condition for the message loop.
Do not bother checking readSockets as the connected check of the socket allows us to combine both the connection closed and socket disposed conditions.
2016-09-13 21:26:49 +02:00
drieseng b3d24ef8bd Harden dispose. 2016-09-13 21:19:23 +02:00
drieseng 7f2edeb55f Fix "randomness". 2016-09-12 21:40:28 +02:00
drieseng 33c834ddec Sync .NET 3.5 test project file with .NET 4.0 test project. 2016-09-12 21:18:52 +02:00