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

How to make a logout? #134

Open
ikey-ru opened this issue Jul 11, 2021 · 2 comments
Open

How to make a logout? #134

ikey-ru opened this issue Jul 11, 2021 · 2 comments
Labels
enhancement New feature or request update pending This issue should be fixed with the next update

Comments

@ikey-ru
Copy link

ikey-ru commented Jul 11, 2021

How to force to log out? If Wi-Fi router is connected to a VPN server on which an external IP is forwarded to the phone's IP, then one authorization allows everyone to log in and see messages.

@sabogalc
Copy link

This is a great suggestion. Here's a conversation I had with the developer on Discord about this topic a few months ago.
image

@itsjunetime
Copy link
Owner

Yeah, so this is kinda a funky issue. I've been working on adding native support for accessing SMServer out-of-network (check out the remote_changes branch), and it's nearly done. I just need to finish up the desktop client that I'm working on and get a host server up and running (to relay messages between clients and hosts) and I can release it for everyone to use.

Once this new version is released, I'll be dropping official support for port forwarding/vpn/etc and instead recommend usage of the new websocket system that I've set up (if you want more details about how it'll work, check out the API docs in the remote_changes branch, or feel free to DM me on a another platform so we don't clog up these issues). This new system will connect directly between clients and hosts and will no longer rely on IP-based verification, so this vulnerability won't be an issue anymore.

In the meantime, one workaround would be SSH'ing into your phone and running killall -9 SMServer. This will completely kill the app, automatically de-authing everyone connected to it, and then you can start up the CLI version of the server again at your convenience. Of course, this relies on you having SSH access, and knowing at least the basics of command line navigation.

@itsjunetime itsjunetime added enhancement New feature or request update pending This issue should be fixed with the next update labels Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request update pending This issue should be fixed with the next update
Projects
None yet
Development

No branches or pull requests

3 participants