libssh 0.9.x randomly closes connection

Bug #1894982 reported by Alexander Kirhenshtein
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libssh (Ubuntu)
Fix Released
High
Unassigned

Bug Description

libssh versions between 0.8 and 0.9.5 have a bug which leads to random disconnections.
This bug was reported to libssh developers (https://bugs.libssh.org/T231) and fixed in stable-0.9 branch. Fix will be included with upcoming 0.9.5, unfortunately there are no time frame defined for this release.

Only Ubuntu 20 (both Focal and Groovy) is affected.

Since it might take a while until 0.9.5 will be released by the upstream and issue is rather important (e.g. for monitoring tools), I suggest to backport original patch (https://bugs.libssh.org/rLIBSSH74e162c67fca502cca1213de6345db7fe8e24d05) into current version of the package (focal - 0.9.3-2ubuntu2.1, 0.9.4-1ubuntu2 - groovy).

Tags: patch
Revision history for this message
Alexander Kirhenshtein (alk) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "original patch from libssh authors" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. I've uploaded a backport of the fix to the Ubuntu G serie, do you have a testcase which could be used to verify as a SRU (https://wiki.ubuntu.com/StableReleaseUpdates)?

Changed in libssh (Ubuntu):
importance: Undecided → High
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libssh - 0.9.4-1ubuntu3

---------------
libssh (0.9.4-1ubuntu3) groovy; urgency=medium

  * debian/patches/git_close_error.patch:
    - don't return an error if the server properly closed the channel
      (lp: #1894982)

 -- Sebastien Bacher <email address hidden> Thu, 10 Sep 2020 12:05:15 +0200

Changed in libssh (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.