Commit Graph

587 Commits

Author SHA1 Message Date
drieseng 7a08df2487 Implement task async pattern and event-based async pattern. 2016-04-03 16:16:18 +02:00
drieseng 745f352e86 Clarify dynamic port forwarding. 2016-04-03 16:12:42 +02:00
drieseng 92f8077ee3 Introduce FEATURE_MEMORYSTREAM_TRYGETBUFFER symbol, and clarify doc. 2016-04-03 16:11:59 +02:00
drieseng 64e375dc2d Revert "Clearify dynamic port forwarding."
This reverts commit 6c29387d5f.
2016-04-03 16:03:29 +02:00
drieseng 6c29387d5f Clearify dynamic port forwarding. 2016-04-03 16:01:35 +02:00
drieseng e49dc1410b Complete support for EAP. 2016-04-03 16:01:02 +02:00
drieseng 064c9472d7 Introduced support for socket event-based async pattern.
Added dispose of listener and waithandle introduced for EAP.
2016-04-03 15:58:29 +02:00
drieseng badbbeb171 Remove local test project from solution. 2016-04-01 09:55:01 +02:00
drieseng f6700e05b9 Add partial support for UWP/UAP 10.0, and prepare to support .NET Core 1.0.
Still very much work-in-progress.
Moved some target framework specific code to "abstraction" classes.
2016-03-31 22:14:21 +02:00
drieseng ccdcd159ad Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop 2016-03-24 11:15:04 +01:00
drieseng 83d21d44c8 Sync with new developments.
Move HMAC and key exchange method support to separate sections.
Added hmac-sha2-512 and hmac-sha2-512-96 HMACs.
Added Universal Windows Platform 10 (UAP10) as support target framework.
Added VS 2015 Update 2 RC as requirement for building UAP10.
2016-03-24 11:14:51 +01:00
drieseng 4077222824 Ignore expanded/resolved project.json files 2016-03-24 10:38:14 +01:00
drieseng b59573506a Removed unnecessary override of Close(). 2016-03-24 10:37:17 +01:00
drieseng 2240442ead Removed obsolete source file introduced by migration from Codeplex. 2016-03-24 10:36:40 +01:00
drieseng 93a6ea503d Removed duplicate sources introduced by migration from Codeplex. 2016-03-24 10:35:42 +01:00
drieseng c9f4e9e3c3 Added XML declaration. 2016-03-24 10:34:40 +01:00
Gert Driesen 146ef74f79 Refactored hash (including hmac) classes into separate assembly. 2016-03-13 18:44:49 +01:00
Gert Driesen eeb6b77b5d Remote source control bindings. 2016-03-06 15:09:02 +01:00
drieseng d58791ff2b Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-03-05 14:11:38 +01:00
drieseng 6b126813ac Remove obsolete sources. 2016-03-05 14:11:20 +01:00
Gert Driesen 27da10c0d3 Add wrapping 2016-02-11 21:04:23 +01:00
Gert Driesen 076477e0c3 Added license 2016-02-11 21:02:55 +01:00
Gert Driesen 9d5f234d64 Add draft section on building SSH.NET 2016-02-07 10:33:01 +01:00
Gert Driesen e87a05a488 Attempt to add link to NDepend image. 2016-02-06 19:41:04 +01:00
Gert Driesen bff4d387fa Draft of readme 2016-02-06 19:03:16 +01:00
drieseng e359bd8ced Merge branch 'master' of https://github.com/sshnet/SSH.NET 2016-02-06 18:47:45 +01:00
drieseng 872e393e0b Added missing source links. 2016-02-06 18:47:39 +01:00
drieseng 28f824b9fa Remove TFS bindings. 2016-02-06 18:47:18 +01:00
Gert Driesen 09819398d4 Merge pull request #3 from sshnet/restructure
Refactor project structure
2016-02-04 21:40:39 +01:00
drieseng 8dd1f4e8d7 Merge remote-tracking branch 'refs/remotes/origin/restructure' 2016-02-04 21:28:28 +01:00
drieseng 540b2a1c13 Remove TFS control file. 2016-02-04 21:26:23 +01:00
drieseng 0884dbe306 Removed TFS control files. 2016-02-04 21:24:11 +01:00
drieseng a79b324dce Add solution file for VS 2015, and configure NuGet repo folder 2016-02-04 21:17:31 +01:00
drieseng 0830710816 Fixed project file.
Added missing (linked) source files.
2016-02-04 21:16:55 +01:00
drieseng 8a2bcdea35 Moved Build folder
Moved 'Build' folder to root, and renamed it to 'build'.
2016-02-04 20:46:47 +01:00
drieseng c6d686691f Remove TFS templates, and obsolete files imported by the migration from Codeplex
Removes TFS templates, and files that were importing into master by the
Github migration tool for TFS.
2016-02-04 20:35:09 +01:00
drieseng 3a2725eae2 Rename Renci.SshClient to src. 2016-02-03 21:18:34 +01:00
Gert Driesen 0699930785 Delete RSADigitalSignature.cs
Remove file that was actually deleted in Codeplex.
2016-02-03 20:34:29 +01:00
Gert Driesen b6ea2fe26f Document fixes. 2014-12-22 14:38:26 +00:00
Gert Driesen 80702f796d Ensure we do not block forever waiting for message listener thread to complete when the server sends a disconnect message, or the message listener thread never actually started. Fixes issue #2591.
Refactored creating of key exchange algorithm to allow unit tests without encyption and decryption.
Added tests for KeyExchangeDhGroupExchangeRequest and IgnoreMessage.
Added large set of tests for Session in both connected and disconnected mode.
Remove SshData.ReadInt64() and SshData.Write(long). Fixes issue #2579.
2014-12-22 14:38:10 +00:00
Gert Driesen 8f9d4ea873 Remove this qualifier. 2014-12-21 10:39:06 +00:00
Gert Driesen 45a233299f Fix compile. 2014-12-15 15:36:34 +00:00
Gert Driesen adfaafdda8 Apply optimization changes to other projects. 2014-12-15 15:24:54 +00:00
Gert Driesen c61633a3bc * Introduced ChannelExtendedDataEventArgs which is used to signal receive of extended data.
* Removed DataTypeCode from ChannelDataEventArgs, as this is specific to extended data.
* Large set of optimizations in receive and send of SSH messages:
  - removed several buffer copies
  - modified most of the SSH messages to allow the size of the message to be calculated in advance to eliminate need to resize buffer.
  - added Compress(byte[] data, int offset, int length) overload to Compressor to compress part of a given buffer thereby avoiding need for buffer copy.
  - added Encrypt(byte[] data, int offset, int length) overload to Cipher to encrypt part of a given buffer thereby avoiding need for buffer copy.

* SshData:
  - SshData.GetBytes uses a SshDataStream which has a capacity that (in almost all cases) matches the size of the SSH message.
  - Added a Load(byte[] value, int offset) overload.
  - Added a LoadBytes(byte[] bytes, int offset) overload.
  - Added a Write(byte[] data) overload.
  - Added a Write(byte[] buffer, int offset, int count) overload.

* Added SendData(byte[] data, int offset, int size) overload to Channel to allow sending part of a given buffer.
  This avoids a buffer copy in ScpClient, SftpClient, Shell, ChannelDirectTcpip, ChannelForwardedTcpip.
  Fixes issue #1516.

All optimization changes above are only active when the TUNING conditional compilation symbol is defined.
By default, this symbol is defined.
2014-12-15 12:55:11 +00:00
Gert Driesen be314d209e Fix build. 2014-11-27 19:57:11 +00:00
Gert Driesen 38d4f3d605 Add SendEof to IChannel. 2014-11-26 18:15:10 +00:00
Gert Driesen e0a795ee3a Use Write(byte) overload is used internally when Write(bool) is invoked. 2014-11-24 15:24:05 +00:00
Gert Driesen d9b9e035ca Reintroduce internal Channel.SendEof method. 2014-11-23 17:04:48 +00:00
Gert Driesen e7ff062145 Remove redundant this qualifier, and fixes general warnings. 2014-11-22 17:11:41 +00:00
Gert Driesen 0986ba8196 Fix formatting of release notes. 2014-11-22 13:09:52 +00:00