Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.apache.sshd:sshd-core from 2.10.0 to 2.11.0 #328

Merged
merged 2 commits into from
Nov 25, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2023

Bumps org.apache.sshd:sshd-core from 2.10.0 to 2.11.0.

Release notes

Sourced from org.apache.sshd:sshd-core's releases.

SSHD 2.11.0

Introduced in 2.11.0

This new minor release provides a bunch of bug fixes and enhancements. This release is available for download from the Apache MINA SSHD website.

Bug Fixes

  • GH-328 Added configurable timeout(s) to DefaultSftpClient
  • GH-370 Also compare file keys in ModifiableFileWatcher.
  • GH-371 Fix channel pool in SftpFileSystem.
  • GH-383 Use correct default OpenOptions in SftpFileSystemProvider.newFileChannel().
  • GH-384 Use correct lock modes for SFTP FileChannel.lock().
  • GH-388 ScpClient: support issuing commands to a server that uses a non-UTF-8 locale.
  • GH-398 SftpInputStreamAsync: fix reporting EOF on zero-length reads.
  • GH-403 Work-around a bug in WS_FTP <= 12.9 SFTP clients.
  • GH-407 (Regression in 2.10.0) SFTP performance fix: override FilterOutputStream.write(byte[], int, int).
  • GH-410 Fix a race condition to ensure SSH_MSG_CHANNEL_EOF is always sent before SSH_MSG_CHANNEL_CLOSE.
  • GH-414 Fix error handling while flushing queued packets at end of KEX.
  • GH-420 Fix wrong log level on closing an Nio2Session.
  • SSHD-789 Fix detection of Android O/S from system properties.
  • SSHD-1259 Consider all applicable host keys from the known_hosts files.
  • SSHD-1310 SftpFileSystem: do not close user session.
  • SSHD-1327 ChannelAsyncOutputStream: remove write future when done.
  • SSHD-1332 (Regression in 2.10.0) Resolve ~ in IdentityFile file names in HostConfigEntry.

New Features

Behavioral changes and enhancements

SFTP file handle size

Previous versions of Apache MINA sshd used SFTP file handles that were twice as large as configured via SftpModuleProperties.FILE_HANDLE_SIZE. The reason for this was that the file handle bytes were stringified, representing each byte as two hex characters. This stringified file handle was then send over the wire. If SftpModuleProperties.FILE_HANDLE_SIZE was configured as 16, the actual file handle size was thus 32 bytes.

This has been fixed in this version.

Additionally, the default setting for the size of file handles has been changed from 16 to 4 bytes. OpenSSH also uses 4-byte SFTP file handles. Using the same size not only means that there is a little more space left in SSH packets for actual data transfer, it also completely avoids the WS_FTP bug mentioned in GH-403.

Potential compatibility issues

KeepAliveHandler global request handler moved from server to common global requests package

Was previously only on server-side - now also for client (see SSHD-1330). This should be fully backward compatible since most servers do not send this request. However, if users have somehow added this handler to the client side independently, the code should be re-examined and the independent handler removed or make it replace the global one.

Server-side SFTP file handle encoding

... (truncated)

Changelog

Sourced from org.apache.sshd:sshd-core's changelog.

Version 2.9.2 to 2.10.0

Version 2.10.0 to 2.11.0

Planned for next version

Bug Fixes

New Features

Behavioral changes and enhancements

Potential compatibility issues

Server-side SFTP file handle encoding

Major Code Re-factoring

Commits
  • d65128c [maven-release-plugin] prepare release sshd-2.11.0
  • ed83224 Prepare 2.11.0 release
  • 9cb6fad Bump version to 2.11.0
  • 9b485a7 GH-420: avoid spurious exceptions on closing forwarded channel
  • c49e82c Upgraded Bouncycastle version to 1.76
  • 6dade0c GH-328 Added configurable timeout(s) to DefaultSftpClient
  • 1283515 Merge pull request #416 from lgoldstein/SSHD-1330
  • d12e052 [SSHD-1330] Using common keep-alive global request handler in client as well ...
  • ba8f36e Fix detection of Android O/S from system properties
  • e92a46b GH-414: Correct error handling in KeyExchangeMessageHandler
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [org.apache.sshd:sshd-core](https://github.com/apache/mina-sshd) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/apache/mina-sshd/releases)
- [Changelog](https://github.com/apache/mina-sshd/blob/master/CHANGES.md)
- [Commits](apache/mina-sshd@sshd-2.10.0...sshd-2.11.0)

---
updated-dependencies:
- dependency-name: org.apache.sshd:sshd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Bump dependency java Pull requests that update Java code labels Oct 23, 2023
@fonimus fonimus merged commit 88ad8ee into main Nov 25, 2023
2 of 3 checks passed
@fonimus fonimus deleted the dependabot/maven/org.apache.sshd-sshd-core-2.11.0 branch November 25, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Bump dependency java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant