Jeroen van Erp
6a476858d1
Added RemoteFileTest
2015-06-17 12:28:57 +02:00
Jeroen van Erp
6bfb268c11
Merge branch 'issue-183' of https://github.com/bkarge/sshj into bkarge-issue-183
2015-06-17 12:12:56 +02:00
Jeroen van Erp
e334525da5
Rewritten integration tests
2015-06-17 12:12:37 +02:00
Jeroen van Erp
8776500fa0
Merge pull request #201 from iterate-ch/feature/algorithms-verifier
...
Add option for client to verify negotiated key exchange algorithms.
2015-06-16 15:50:06 +02:00
David Kocher
a747db88ed
Add option for client to verify negotiated key exchange algorithms.
2015-06-16 15:42:01 +02:00
Jeroen van Erp
97065264de
Cleared some JavaDoc warnings
2015-06-16 14:12:36 +02:00
Jeroen van Erp
7c26ac669a
Started better integration testing setup with Mina
2015-06-16 14:12:24 +02:00
Jeroen van Erp
1c5b462206
Merge pull request #195 from bluekeyes/feature/gss-api
...
Add support for "gssapi-with-mic" authentication (Kerberos)
2015-06-16 10:33:44 +02:00
Billy Keyes
b9d0a03cb3
Add simple test for AuthGssApiWithMic
...
Mock enough of the JGSS API to avoid needing a real Kerberos
environment. I'm not sure how accurate this is, but it should test that
the client is sending the correct packets in the corect order.
2015-06-11 11:44:44 -07:00
Billy Keyes
4adc83b9df
Expose GSSManager in AuthGssApiWithMic
...
The default implementation only supports Kerberos and encourages
subclassing, so there should be a way to provide subclasses.
2015-06-11 11:38:02 -07:00
Björn Karge
14edb33fa9
fix for issue 183 (sftp.RemoteFile.ReadAheadRemoteFileInputStream) (revised)
2015-06-04 10:50:13 +08:00
Björn Karge
8e74330b0b
fix for issue 183 (sftp.RemoteFile.ReadAheadRemoteFileInputStream)
2015-06-03 14:36:23 +08:00
Boris Wachtmeister
5217d34198
bugfix: match complete host instead of contains on the hoststring
...
The SimpleEntry currently matches the hostname of the connection against
the complete hoststring of the entry. This way substrings also match, so
for example "10.0.0.1" matches on an entry for "10.0.0.10", resulting in
a host-key-changed message if the key differs which is usually does.
2015-05-28 21:57:25 +02:00
Billy Keyes
d3d019c1c2
Remove unused imports in SSHClient
2015-05-19 10:49:20 -07:00
Ben Hamme
49185b044d
Added AuthGssApiWithMic for Kerberos auth
2015-05-18 15:00:11 -07:00
Jeroen van Erp
da32b145df
Added braces to single-line statements
2015-04-13 11:50:34 +02:00
Jeroen van Erp
6cf767528a
Added comment to check why that field is needed
2015-04-01 11:25:43 +02:00
Jeroen van Erp
b123a6ae30
Merge pull request #181 from iterate-ch/issue-180
...
Fix length field for SSH_FXP_WRITE packets.
2015-04-01 11:24:30 +02:00
Jeroen van Erp
4250c61e45
Deprecated Proxy connect methods, moved Sockets utility class to backport package
2015-03-31 09:27:13 +02:00
Jeroen van Erp
ace09fa8c8
Added support for HTTP CONNECT proxies by implementing custom Socket ( Fixes #170 )
2015-03-30 21:53:04 +02:00
Jeroen van Erp
8398b6e3c3
Revert "Added support for (unauthenticated) HTTP proxies ( fixes #170 )"
...
This reverts commit fc535a5e76 .
2015-03-30 21:48:07 +02:00
Andrew Kondratovich
e6c7c17664
Correctly closing channel and socket when LocalPortForwarder fails to open it. ( Fix #175 )
2015-03-27 16:02:07 +01:00
Jeroen van Erp
fc535a5e76
Added support for (unauthenticated) HTTP proxies ( fixes #170 )
2015-03-27 15:19:04 +01:00
Billy Keyes
3ebd2eb363
Detect end-of-stream in TransportImpl#init
...
OpenSSH will drop connections based on the value of MaxStartups when
there are too many unauthenticated connection. When this happens, reads
on the client socket return -1, which was previously inserted into the
identification buffer, leading to the error in #118 .
2015-03-13 15:34:18 -07:00
David Kocher
8638091517
Fix length field for SSH_FXP_WRITE packets.
2015-02-24 15:27:08 +01:00
hierynomus
cb5b7f0943
Setting up integration testing
2015-01-22 09:47:11 +01:00
hierynomus
4a90f99c5f
Not sending EOF on OutputStream close ( reopens #143 )
2015-01-21 10:25:28 +01:00
hierynomus
d59efaa5f9
Fixed KeepAliveRunner for when service not yet set
2015-01-20 17:13:47 +01:00
hierynomus
b17d3fe867
Fixed some warnings
2015-01-20 09:31:49 +01:00
hierynomus
3cefda5bd3
Processed review comments from @demobox. Thx!
2015-01-20 09:31:24 +01:00
hierynomus
7bbfd40627
Moved examples to own 'project'
2015-01-19 21:30:34 +01:00
hierynomus
7ae84be548
Fixed build by adding license headers to new files
2015-01-19 11:54:55 +01:00
hierynomus
3e54e2c955
Merge branch 'heartbeat'
2015-01-19 10:06:23 +01:00
hierynomus
a7802ddcde
Added keep-alive mechanism that detects disconnects ( Fixes #166 )
2015-01-19 10:05:03 +01:00
hierynomus
a7872b394b
Added braces and log message to HeartBeater
2015-01-16 10:33:25 +01:00
Jeroen van Erp
3ade3977ef
Merge pull request #165 from Boris-de/fix_bsize_bug
...
Fix bsize bug
2015-01-12 09:51:06 +01:00
Jeroen van Erp
efb2c547f9
Merge pull request #164 from Boris-de/mac_unittests
...
added unit-tests for the "mac"-package
2015-01-12 09:49:56 +01:00
hierynomus
703a0df09d
Revert "no biggie if we don't send EOF on ChannelOutputStream.close()"
...
This reverts commit d95586508d .
2015-01-12 09:18:42 +01:00
Boris Wachtmeister
73de5b7b08
bugfix: BaseMac would not use bsize in certain cases
...
The implementation of BaseMac would only take the bsize (size of the
hash) into account if the #doFinal(byte[], int) method was called.
Both other #doFinal methods would behave as if bsize==defbsize and
not cut the hash to the right size.
2015-01-11 21:00:16 +01:00
Boris Wachtmeister
665cbf078a
added unit-tests for the "mac"-package
2015-01-11 20:56:36 +01:00
Jeroen van Erp
11da49a4e7
Merge pull request #141 from ziuchkovski/add-proxy-support
...
Add proxy support for SocketClient/SSHClient
2015-01-09 14:30:13 +01:00
Jeroen van Erp
5b1f9f2a7d
Merge pull request #156 from Boris-de/fix_hmac-sha2
...
fixed block sizes for hmac-sha2-256 and hmac-sha2-512
2015-01-09 14:15:14 +01:00
hierynomus
268de458e3
Changed log levels ( Fixes #161 )
2015-01-09 13:45:17 +01:00
Boris Wachtmeister
70720de71b
fixed block sizes for hmac-sha2-256 and hmac-sha2-512
...
Both MACs have to use larger block/digest sizes than SHA1.
Additionally the KEX must be changed so that it will resize
the keys "E" and "F" to get keys of the right size for those
MACs (according to section 7.2 of rfc4253)
2014-11-11 19:32:41 +01:00
Shikhar Bhushan
46791c87f5
Merge pull request #148 from bluekeyes/bugfix/await-timeout
...
Use long for Channel#await timeout
2014-09-18 19:20:29 +05:30
David Kocher
d37b54b1fd
Change handle to byte[]. Fix interoperability issue with Tectia SSH Server. Refer to issue #54 .
2014-09-10 11:10:42 +02:00
Billy Keyes
c4408ac6dd
Use long for Channel#await duration
...
This matches the underlying method called by AbstractChannel and is the
standard for timeouts with a TimeUnit.
2014-09-02 15:00:51 -07:00
Bob Ziuchkovski
ebbf440304
Add proxy support for SocketClient/SSHClient
2014-08-13 18:58:45 -06:00
David Kocher
66514836c8
Add constructor with file offset.
2014-07-29 14:17:51 +02:00
shikhar
0ccc57b5af
consistent license headers using plugin
2014-07-02 11:13:22 +05:30