Skip to content

bug: Zombie users (reproduceable) #359

Open
@ghost

Description

Expected Behavior

User will be kicked when the moderator types

/kick user

Actual Behavior

When using a certain client and exiting, the user lingers and cannot be kicked or banned until restarting the server.

Steps to reproduce behavior

  1. Get an android phone.
  2. Download the app termius from the Google Play Store.
  3. Open the app and click on continue without account.
  4. Go to hosts, click on new host, and enter the details such as your username. Make sure to enter ssh.chat as the IP address.
  5. Once you've successfully ssh into the ssh.chat, completely close the app but leave it running in the background. (This can be done by just swiping the app away). Now let your phone idle on battery saving mode for a long time (I'd say around 45 minutes).
  6. Go back to the app, and swipe right to reveal a menu. Go to terminal, which will show you a list of active terminals.
  7. Finally, close the terminal by pressing the close button. The user should linger and is unable to be kicked or banned.

Additional Comments

This bug is extremely hard to reproduce intentionally and requires some patience.

I noticed that the client for the un-kickable users was SSH-2.0-libssh2_1.9.0_DEV (maybe this can be produced with other apps that support this type of client?).

Android version: 7
Battery Saving: On
SSH Client: Termius

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions