Commit Graph

621 Commits

Author SHA1 Message Date
drieseng 91b64585bc Support LF as line ending for banner and identification string
Fixes #761
2021-01-12 19:31:25 +01:00
drieseng a620835c69 Support our legacy target frameworks. 2020-12-31 14:01:35 +01:00
drieseng 008556205b Allow for a small marging when verifying whether configured timeout was respected. 2020-12-31 11:37:18 +01:00
drieseng 41e378cfc0 Fix test. 2020-12-30 22:12:54 +01:00
drieseng 767fafbfc1 Improve exception messages further. 2020-12-30 21:19:30 +01:00
drieseng f60f24fb9c Fix more tests to pass on .NET Core. 2020-12-30 16:06:24 +01:00
drieseng a5148aea1a Fix some test failures on .NET Core. 2020-12-30 15:13:57 +01:00
drieseng d5fefcc369 Fix and rename test. 2020-12-30 13:13:20 +01:00
drieseng e8db68c371 Improve exception messages. 2020-12-30 11:44:25 +01:00
drieseng 8d485f918b Remove unused import. 2020-12-30 11:43:35 +01:00
drieseng f09496b782 Fix remaining test failure. 2020-12-29 20:22:10 +01:00
drieseng 43f18cb3d4 Fix test failures. 2020-12-29 20:13:19 +01:00
drieseng 60be75d85c Complete refactoring of connection process, and greatly improve test coverage. 2020-12-29 20:01:28 +01:00
drieseng e0b32a41ea Add Connect overload that takes existing Socket instance. 2020-12-29 19:53:46 +01:00
drieseng de06f12350 Allow for easier troubleshooting of protocol version exchange.
Fixes #751.
2020-12-29 18:56:26 +01:00
drieseng eefcd8fbc5 Fix test failure. 2020-12-27 12:16:49 +01:00
drieseng fbadaf8b74 Fix handling of empty line. 2020-12-27 12:06:36 +01:00
drieseng e71a4c958d Update tests after connection refactoring. 2020-12-27 11:52:12 +01:00
drieseng a1e4e04e04 Revert back to using SocketShutdown.Send in an attempt to stabilize tests. 2020-12-27 10:37:30 +01:00
drieseng dc9c637759 Refactor how connection is established to server. 2020-12-27 10:20:03 +01:00
Eric Brumfield cefdc203d9 Add ISftpClient interface to SftpClient (#197)
Add ISftpClient interface to **SftpClient for mocking and testing purposes.
Fixes #193.
2020-07-19 18:49:12 +02:00
Bill Menees 90a13a6c5a Fix SFTP file UTC time handling (#356)
* Improved SFTP file UTC time handling
2020-07-18 10:59:30 +02:00
drieseng 638a30c521 Fix path to source file. 2020-06-07 15:31:29 +02:00
drieseng b5dcca911a Update path to example. 2020-06-07 15:23:11 +02:00
drieseng 8fbaa3c5bc Remove stray CWL. 2020-06-01 09:58:31 +02:00
drieseng c5cb1caf76 Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop 2020-06-01 09:53:22 +02:00
drieseng 4906b64e7a Immediately sent identification string when connection is established.
Fixes #689.
2020-06-01 09:52:49 +02:00
Gert Driesen e44913029e Synchronize legacy project files. 2020-05-03 21:18:49 +02:00
Gert Driesen 42a676c3d7 Support TF without Socket.Poll(...) and Socket.Select(...). 2020-05-03 21:15:09 +02:00
drieseng 7bbb7a0ca3 Remove CWLs. 2020-05-03 17:50:22 +02:00
drieseng c5b487c057 Fix tests. 2020-05-03 17:37:48 +02:00
drieseng 8094c0917a Handle ObjectDisposedException. 2020-05-03 14:11:08 +02:00
drieseng 504d1dc035 Prefer Socket.Poll(...) over Socket.Select(...).
Fixes #355.
2020-05-03 13:10:30 +02:00
drieseng cdbdefe449 Remove unused FEATURE_SOCKET_SETSOCKETOPTION. 2020-05-03 10:45:10 +02:00
drieseng 14ddfca4e9 Fix test failures 2020-04-30 13:20:49 +02:00
drieseng 916c019266 Update EAP implementation to correctly deal with a socket operation that is completed synchronously.
Fixes #571.
2020-04-30 11:14:36 +02:00
drieseng 8aad18ff98 Fix typos. 2020-04-30 11:14:36 +02:00
drieseng 1a803b50ee Partially revert changes from #643.
Fixes #653.
2020-04-24 21:09:30 +02:00
drieseng 2c1a4d9596 Make sure to shutdown receive socket when client has closed. 2020-04-05 11:36:57 +02:00
drieseng 59d908d308 Formatting 2020-04-05 11:34:59 +02:00
drieseng 21c5c8e0b4 Log warning upon timeout waiting for pending channels to reach zero. 2020-04-05 11:34:36 +02:00
drieseng 34df3dd725 Support diffie-hellman-group14-sha256 and diffie-hellman-group16-sha512 key exchange methods. 2020-03-15 19:43:45 +01:00
drieseng 36cf5f2257 Fix test after failure introduced by #643. 2020-03-15 17:12:19 +01:00
drieseng 211b5de5ec Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop 2020-03-15 15:56:18 +01:00
drieseng c0da2c14fb Make key exchange more efficient by using byte[] in our internal structures, and convert to BigInteger when necessary.
Fixes #643.

Introduce base classes for DiffieHelman group key exchange.
Eliminate code duplication.
2020-03-15 15:56:09 +01:00
Gert Driesen facdf115c3 Formatting. 2020-02-29 17:38:04 +01:00
Gert Driesen a8b8bb95ec Sync legacy project files. 2020-02-29 17:37:43 +01:00
Gert Driesen ce4cee254c Remove obsolete and SDK-style projects from solution. 2020-02-29 17:25:07 +01:00
Gert Driesen a5f0933ab0 Remove obsolete extension methods. 2020-02-29 17:24:24 +01:00
Gert Driesen 19708c9daa Fix CLS compliance warnings. 2020-02-29 17:23:51 +01:00