Skip to content
Snippets Groups Projects
  1. Dec 31, 2023
  2. Dec 30, 2023
  3. Dec 29, 2023
    • Deucе's avatar
      Add a new channel state · eed2ebe8
      Deucе authored
      Previously, there were (basically) three states... active, closed,
      and writeclosed where writeclosed indicated that a channel close
      message was sent, no more writes are allowed, and it's waiting for
      the close to be acked.
      
      This adds a readclosed state where we have received a close request
      from the remote (and acked it), but have not deactivated the channel
      ourselves.
      
      This fixes a race condition where we could select a channel, then,
      when we write data to it, we receive a close and the channel becomes
      inactive so a new active channel is selected (effectively at random).
      
      This is a bit suboptimal though since we still don't get a
      notification when a channel is closed by the remote.  Instead, if
      we use more than one channel, we need to periodically make the
      channel active for writes and explicitly check if it's closed.
      eed2ebe8
    • Deucе's avatar
      Clean up sftp popups. · 0ead18b9
      Deucе authored
      0ead18b9
    • Deucе's avatar
      Don't log error on final channel message · ad1520fd
      Deucе authored
      ad1520fd
    • Deucе's avatar
      faab6081
    • Deucе's avatar
      Fix issue found by coverity. · 4bf3165a
      Deucе authored
      4bf3165a
    • Deucе's avatar
      Remove debug output · f0883bff
      Deucе authored
      f0883bff
    • Deucе's avatar
      Allow retrying SSH client auth. · 2c036f74
      Deucе authored
      If you initially try private key auth for example, allow retrying
      with password auth and vice-versa.  This is needed for reasonable
      fallback from private-key auth since we don't know in advance
      which will work, and we don't want to disconnect an reconnect.
      
      This takes the guardrails of adding a password.  Previously, it was
      ensured that a password was always added immediately after a username.
      This is to ensure when using the server for example and stuffing a
      list full of all the user/pw pairs, each pw goes with a user.
      
      Instead of returning an error, this now allows adding passwords
      without a corrsponding user that won't be used, and there will be
      no indication of why.
      
      Death Star mode for this feature is better than not having fallback
      in my opinion.
      2c036f74
Loading