Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sshnet/SSH.NET

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
https://github.com/sshnet/SSH.NET

Refactor out use of dynamic types, and reflection for processing received SSH messages.

f9773a67861c89c7024870c5638118204e7a99af authored over 8 years ago by drieseng <[email protected]>
Dereference socket instance field before disposing it.

97ed0ddb1caa453a3c5f0cba07c11809ef77110f authored over 8 years ago by drieseng <[email protected]>
Dereference waithandle instance field before disposing it.

3e0100272c9e38a99ba2b2cbeb2e9a676930c0a5 authored over 8 years ago by drieseng <[email protected]>
Log raised exception.

9f67d3d7ebfc9983fba3c35785130fb1120e52f8 authored over 8 years ago by drieseng <[email protected]>
Move IsSocketConnected to Session.cs.

Move HandleMessageCore to Session.cs, and use FEATURE_DYNAMIC_TYPE conditional compilation symbol...

6237dd49825abf24da4ea5d20410774c5bbb166e authored over 8 years ago by drieseng <[email protected]>
Use Socket.IsConnected() extension method.

536f9bd2a417c1bc1e5a2a7002c36ac26d1f01a3 authored over 8 years ago by drieseng <[email protected]>
Modify ReceiveMessage to return null when connection is closed.

Added TrySocketRead method that returns 0 (zeo) when connection is closed.
Remove SocketRead(int ...

9e8ce4a868eab67dfa82e8c0b9f317344a3d431c authored over 8 years ago by drieseng <[email protected]>
Harden dispose.

b3d24ef8bd36fa7eeab35c61c35c062112ffad4c authored over 8 years ago by drieseng <[email protected]>
Fix "randomness".

7f2edeb55f9327640a6853496c7df22ea9921885 authored over 8 years ago by drieseng <[email protected]>
Sync .NET 3.5 test project file with .NET 4.0 test project.

33c834ddec23c4d7feb4d6fcf8e59cb962fbfb30 authored over 8 years ago by drieseng <[email protected]>
Remove clearing of buffer.

ad596e83c0dff1eb82d002d8ff7713bb24935465 authored over 8 years ago by drieseng <[email protected]>
Since Dispose now also invokes Disconnect, we no longer need to explicitly invoke Disconnect.

edde414ef33941c60520214be1a91ca1be79b20f authored over 8 years ago by drieseng <[email protected]>
Modify tests to take into account fact that we no longer explicitly disconnect the SftpSession, but instead immediately dispose it.

3bd1b4eec0d2fdf2314878780fe7012b2379e551 authored over 8 years ago by drieseng <[email protected]>
Revert to previous code as its a little more clear.

35c9ecfd5688c2d673660955545457d9f7bd7789 authored over 8 years ago by drieseng <[email protected]>
Avoid NRE when disconnecting or disposing.

3cf69799437d86305d3079722aedf51b4903fdea authored over 8 years ago by drieseng <[email protected]>
Avoid NRE when disposing.

76fdef9d72b8786bf43d0d71a2508e203736961d authored over 8 years ago by drieseng <[email protected]>
Dereference _channel first.

b2d95d2b7f2e0e068d4c7528e4d042a16ef8953d authored over 8 years ago by drieseng <[email protected]>
Use c# type keywords.

800fd3fe991df2f00b20da4a72c4874c38960b56 authored over 8 years ago by drieseng <[email protected]>
Minor improvements.

ba59196821891fc2b76b36172e23ec640f54bf5e authored over 8 years ago by drieseng <[email protected]>
Avoid extra IsOpen invocation when attempting to open channel session.

3808aae801705e75ae3a69ba89f036ed0532d3da authored over 8 years ago by drieseng <[email protected]>
Minor doc corrections.

bb968f55505ca1bc3ad9464afb683734391e9118 authored over 8 years ago by drieseng <[email protected]>
Send SSH_MSG_CHANNEL_EOF and SSH_MSG_CHANNEL_CLOSE in synchronized block.

Fixes issue #84.

Eliminate public Close() method and its use within SSH.NET.
Remove wait bool fr...

1d6177fcebf36064c4212187d8245631088f2e7e authored over 8 years ago by drieseng <[email protected]>
Added more tracing, and break receive loop when we start disconnecting.

b41397014815f802d74faf0f92e71a00cff3ba89 authored over 8 years ago by drieseng <[email protected]>
Increase timeout waiting for buffered read data.

4632a33e438395364aa04c7edfad35f24119576a authored over 8 years ago by drieseng <[email protected]>
Add comment.

1bab13b78d84b84cb911447ee9286cf6b116f3ab authored over 8 years ago by drieseng <[email protected]>
Fix doc to correspond with new implementation.

e9807ef3f874ce6a84c7a7db145787712a52f1e5 authored over 8 years ago by drieseng <[email protected]>
Do not catching exceptions while clearing read buffer of socket.

Leave this up to the caller.

77e7bc8c048810e2c2c1540c2f0aa8bdc692cdf4 authored over 8 years ago by drieseng <[email protected]>
Catch and log SocketException that is thrown while shutting down the socket or clearing its read buffer.

Always log raised exception, even if we're disconnecting.

c274f1f9b547b67c3b25df03f8889740754e9a05 authored over 8 years ago by drieseng <[email protected]>
Rename SendDisconnect to TrySendDisconnect.

879c39baddd869b7b1a7196dd1bed794525f7f7d authored over 8 years ago by drieseng <[email protected]>
Fix test after refactoring.

f2a8d0ff75bf524e3795e2d5acba26d4d9d66726 authored over 8 years ago by drieseng <[email protected]>
Only use Socket.Poll, Socket.Select and read lock when FEATURE_SOCKET_POLL is defined.

Added test for SSH server shutdown while we're reading the packet.

395bbe70d6870ac281683e4cd17996f68dfef6e1 authored over 8 years ago by drieseng <[email protected]>
Rename Read(int length) to SocketRead(int length)

Introduce dispose lock to resolve race condition in IsConnected/IsSocketConnected.
Rename _socket...

f9ad89384f4654707cb71ef52c095a3a7cc77d20 authored over 8 years ago by drieseng <[email protected]>
Added Decrypt overload taking offset and length.

6a1859c50073cce0fab35cfc307c5ef49ae3d224 authored over 8 years ago by drieseng <[email protected]>
Added Pad overloads taking offset and length.

ad3de364fd73aaa066e550a3b947bd2776d175b7 authored over 8 years ago by drieseng <[email protected]>
Use a very short timeout when clearing the read buffer.

344e6e52c0d9e10d7eefe6bd1f389bdd3fb379b0 authored over 8 years ago by drieseng <[email protected]>
Update tests as we now load data from an offset as not to include the packet length and/or message type.

1e802c795e08275b06a58d265dee4a6468a9fe9d authored over 8 years ago by drieseng <[email protected]>
Do not send SSH_MSG_DISCONNECT when the server is closing the session by sending a SSH_MSG_DISCONNECT.

Reduces - but does not eliminate - likelyhood of race condition when remote server and client at...

5529efcab80d739b1596183689e0dde2b3fd19a3 authored over 8 years ago by drieseng <[email protected]>
Ignore data of SSH_MSG_IGNORE when its specified length is greater than the actual available bytes.

Fixes issue #41.

c141c7d4a77b1ee46d37619d6b96cf1a81e3c998 authored over 8 years ago by drieseng <[email protected]>
SshData.cs:

- Remove ZeroReaderIndex from SshData; offset should instead be specified when instance is create...

76a92cfb0acae1b52f2b8525bccebcbd5a69f87a authored over 8 years ago by drieseng <[email protected]>
Use the managed thread id as identifier in our trace messages.

bd2fa5d16f61ea53d939320e970022b3b1bd377d authored over 8 years ago by drieseng <[email protected]>
Temporarily introduce extra verbose tracing.

31b2019fe4a4aaa17ed45013d770f7bf68ff0cf9 authored over 8 years ago by drieseng <[email protected]>
Number of bytes in read buffer can never be negative.

5260f1b73d7f3a8cc2ae64b5f1a683f0c3d3b7cb authored over 8 years ago by drieseng <[email protected]>
Take into account the offset in SftpFileStream.Write(byte[] buffer, int offset, int count) when not writing to the buffer. Fixes issue #70.

ad56cc9bdf7cd317b9da8d80adc92db0a7bbb17f authored over 8 years ago by drieseng <[email protected]>
Fixed some tests after recent GlobalRequestMessage changes.

fb9fe50bc031742f37ded3f4ca5f07cab7f0d3e2 authored over 8 years ago by drieseng <[email protected]>
Include session id in (some) trace messages.

546caedc94cfbabee4e0e4682811bd89808ff2e7 authored over 8 years ago by drieseng <[email protected]>
Removed unused import.

4442b884195182d9a04ba2235f23c43840bd5dd3 authored over 8 years ago by drieseng <[email protected]>
Use ASCIIEncoding GetString overload that is supported on all target frameworks.

5deccd0c0e032a0cde23596203aef1571fe6c075 authored over 8 years ago by drieseng <[email protected]>
Added new classes to all projects used in VS 2015 solution.

820ed146cf16ec3f8bb22adf30ca2f540eeedd39 authored over 8 years ago by drieseng <[email protected]>
Added extra debug/trace output.

96160b3c74e51a24ad601f7b235ae7a880a17222 authored over 8 years ago by drieseng <[email protected]>
Introduce specialized GlobalRequestMessage classes for tcpip-forward and cancel-tcpip-forward.

5916656d666e4f34106550e39ae652f348b392d2 authored over 8 years ago by drieseng <[email protected]>
When receiving SSH_MSG_GLOBAL_REQUEST, only read data that is not message specific. Fixes issue #58.

7fce6e0b0309cc8faa0e280ab878c51c63a0c892 authored over 8 years ago by drieseng <[email protected]>
Improve exception message when attempting to read more bytes than available.

8a97fecddd3b380cd0c1fe042c6e499ec5c8435a authored over 8 years ago by drieseng <[email protected]>
Merge remote-tracking branch 'refs/remotes/origin/develop'

a3a8d42e7c8d4ff3f35513fc69f72fa418c1e5a8 authored over 8 years ago by drieseng <[email protected]>
Added netstandard1.3 TFM.

7f8f3121f043cbdf082a86277c142a4834cd293a authored over 8 years ago by Gert Driesen <[email protected]>
Prepare for stable release.

13cc56304ab47f487286a70a56b703afc2565064 authored over 8 years ago by drieseng <[email protected]>
Merge remote-tracking branch 'refs/remotes/origin/develop'

342f3ef751b75d0a547e804ac9e1ff5e79bbe52f authored over 8 years ago by drieseng <[email protected]>
Give in to Resharper's urge to save "migrated" settings.

f4f6708f46e6ae90e2386d40610a59ae1289197d authored over 8 years ago by drieseng <[email protected]>
Harden against "leaking" message registration.

Fixes issue #55.

c5d51b9d9d1bfc2ddefe606654f2d9a9d1f94f87 authored over 8 years ago by drieseng <[email protected]>
Modify TryAuthenticate to static.

7e2836a7a7833ddb068e3aa7dd07470ffc9e18e8 authored over 8 years ago by drieseng <[email protected]>
Code formatting.

07c2a6001fc26a758cd3c4abadb10d851847f84e authored over 8 years ago by drieseng <[email protected]>
Moved into on conditional compilation symbols to wiki.

68d9e4fc90f21c6b04e880beaaab89768ac6a379 authored over 8 years ago by drieseng <[email protected]>
Merge remote-tracking branch 'refs/remotes/origin/develop'

330e41b88496f160f9ef3e77ab225f69d97ba7ef authored over 8 years ago by Gert Driesen <[email protected]>
Merge remote-tracking branch 'refs/remotes/origin/develop'

05cdb785edfcf160b6657c4d98e48c16380f6605 authored over 8 years ago by Gert Driesen <[email protected]>
Remove references to EncoderFallbackException and DecoderFallbackException.

75d982bb0919db58ed167bd2ac6dfdd0993bf8c3 authored over 8 years ago by drieseng <[email protected]>
Use github release for the release notes.

abeb2c87389b10e78f8195260288531540ed7bf3 authored over 8 years ago by drieseng <[email protected]>
Minor (slash)doc improvements.

f4a634f1d3414666b2cbad6f8748adb636b7ac2d authored over 8 years ago by drieseng <[email protected]>
Improve slashdocs.

76fdf5858191ceb2a4c1501bf712ded30f2ef4f4 authored over 8 years ago by drieseng <[email protected]>
When the port is closing, first shutdown the send part of the socket.

Subsequently close/dispose the socket to ensure the blocking receive is interrupted.

563349d15a1f3951b8426a8cb1b084a9676897fd authored over 8 years ago by drieseng <[email protected]>
Improved and corrected the slashdocs.

Fixed some typos.

1e63a813cc8f3e120e97e31c3ac46d70671434f9 authored over 8 years ago by drieseng <[email protected]>
Added tests for SftpDownloadAsyncResult.

bb4e719711b24ad881e86990eaa9cbad08538c83 authored over 8 years ago by drieseng <[email protected]>
Use C# type.

ae446661ef97828d8bfcfe7134be4fc8beba5d7e authored over 8 years ago by drieseng <[email protected]>
Do not wrap exceptions in SshException.

3598fcf3e40b291fa5f78ae04fdba448bf1f75e7 authored over 8 years ago by drieseng <[email protected]>
Use C# types.

db0300e00c8eb3c48ec6e05438af1daff02da227 authored over 8 years ago by drieseng <[email protected]>
Attempt to harden test.

1b28947a2da2d8ab00aa9761b43b8e5774097995 authored over 8 years ago by drieseng <[email protected]>
Harden tests.

c0caf7dfa3d90b4f1c004b7887b285b85e5f87e9 authored over 8 years ago by drieseng <[email protected]>
Harden test.

82c288b648c4b8299fd941fe2a30a3c197d93674 authored over 8 years ago by drieseng <[email protected]>
Harden test.

590277f007929ccc8ce650a7a93127155846b1c4 authored over 8 years ago by drieseng <[email protected]>
Merge pull request #50 from sshnet/master

Merge changes from master to develop branch.

954db2fcc6160de194be7bde2a65694ae0d8dbee authored over 8 years ago by Gert Driesen <[email protected]>
Merge pull request #49 from sshnet/develop

Prepare for beta 3

177812fac9334456206b78d9de7bd09a20af3843 authored over 8 years ago by Gert Driesen <[email protected]>
Use portable pdb.

Fixes issue #48

d71baa1811fbfa6b1b3bf4c1f2f5b884126215f1 authored over 8 years ago by drieseng <[email protected]>
Implement tests for Length and MaxBufferLength.

75f6911f728eecbd382121db647262c8fc306b92 authored over 8 years ago by drieseng <[email protected]>
Merge remote-tracking branch 'refs/remotes/origin/develop'

351e3c0afaf4d71824de5864b2a29fd56fcd6167 authored over 8 years ago by drieseng <[email protected]>
Disable null coalescing hint (as we need to support VS 2012 as well).

Code formatting updates.

81993af9d6331460ccdf627910aa6dcea0e1070b authored over 8 years ago by drieseng <[email protected]>
Stop listener before waiting for channels to close.

Remove extra exception handling.

65bd07259aee0599bc57bd6e5ac459c14bb7f121 authored over 8 years ago by drieseng <[email protected]>
Mark port started before StartAccept because StartAccept is a noop when the port is not started.

32becde5adaf09fc8207bb552dbb2f7742e73966 authored over 8 years ago by drieseng <[email protected]>
Ensure to mark port stopped when starting fails.

f88509ed56bfe5c42faf573024350dc2678c1c12 authored over 8 years ago by drieseng <[email protected]>
Remove extra exception handling.

Stop listener first, before we wait for open channels to close.

5498b8f74a1b7dfe0f4d52c8d4d8cd20cd8e911a authored over 8 years ago by drieseng <[email protected]>
Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git

44c21ca7af1a55c139885766abc4794d4576baeb authored over 8 years ago by drieseng <[email protected]>
Harden test.

8c5b0e19214c6bbc50e73278cf077daaaeda9ec6 authored over 8 years ago by drieseng <[email protected]>
Added ForwardedPortStatus to VS 2012 projects.

a1e20146c639a7ba42d8dacd02f640e76389473f authored over 8 years ago by Gert Driesen <[email protected]>
Removed some debug code.

5048498bb1ec645dc2823c71f75e5e8377bd84c6 authored over 8 years ago by drieseng <[email protected]>
Correctly define the FEATURE_SOCKET_SETSOCKETOPTION symbol.

Use Socket.NoDelay property instead of the NoDelay option.
No longer use the DontLinger option as...

e1a557861c90cc1fe574b12c08943d43a72c83e5 authored over 8 years ago by drieseng <[email protected]>
Remove unused import.

23bb3334962a5a0fa1f93785438ce0fa3153cb35 authored over 8 years ago by drieseng <[email protected]>
Use as instead of is and cast.

6c6c762caa80db54782ede2cf659077f5b4d6ed8 authored over 8 years ago by drieseng <[email protected]>
Added tests and some slashdocs for ForwardedPortStatus.

59923ceca0fc82bf34aa182b4b19284ff84dbbf4 authored over 8 years ago by drieseng <[email protected]>
Harden test.

532dac404dca0d6869734a794186616cde290559 authored over 8 years ago by drieseng <[email protected]>
Rename HashAlgorithmFactory to CryptoAbstraction, and move it to the Renci.SshNet.Abstractions namespace.

1d5d58e17c68a2f319c51e7f938ce6e964498bcc authored over 8 years ago by drieseng <[email protected]>
Mark GetOrderedAuthenticationMethods static.

4d6a868fd2960b8435086cc98bffd8ff15dae3e0 authored over 8 years ago by drieseng <[email protected]>
Remove unused imports.

a673c1f4f02755b3119f7c74769dba4b29bfcef4 authored over 8 years ago by drieseng <[email protected]>
Make methods static where possible.

1ac19b86a006c527e3814c5e058ca763dc269183 authored over 8 years ago by drieseng <[email protected]>