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 mina-sshd.version from 2.10.0 to 2.11.0 #8625

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mina-sshd.version from 2.10.0 to 2.11.0.
Updates org.apache.sshd:sshd-common from 2.10.0 to 2.11.0

Release notes

Sourced from org.apache.sshd:sshd-common'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-common'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

Updates 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 will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps `mina-sshd.version` from 2.10.0 to 2.11.0.

Updates `org.apache.sshd:sshd-common` 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)

Updates `org.apache.sshd:sshd-core` 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-common
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.sshd:sshd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 20, 2023
Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release notes look reasonable.

@basil basil self-assigned this Oct 23, 2023
@basil basil merged commit e9ad4d1 into master Oct 23, 2023
16 checks passed
@basil basil deleted the dependabot/maven/mina-sshd.version-2.11.0 branch October 23, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant