rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
6.46k stars 1.35k forks source link

Get peer status on the server #263

Open merlink01 opened 1 year ago

merlink01 commented 1 year ago

Hi @All,

I'm trying to get the information if a user is currently online on the server. Currently we are using the SQLite database for seeing what ID numbers exist currently.

But the only time entry is created_at. Also I can see a status row, but that is empty.

Is there any possibility to get a list of "Currently active IDs" on the server.

Thank you.

ScriblJ commented 1 year ago

@merlink01 , I searched everything, nothing.

insert_peer and update_pk functions don't even mention the status. https://github.com/rustdesk/rustdesk-server/blob/33331be361016f5f71679ecfccbaca53bf3006a1/src/database.rs#L46

@rustdesk Please give at least minimum statuses, is there a connection or not ;(

DevJupyHUB commented 1 year ago

@rustdesk Please give at least minimum statuses, is there a connection or not ;(

One has to fully agree with this This should be a minimum functionality, cannot depend on whether it is PRO or not...

LIHAQ commented 1 year ago

确实,需要这个功能

Kellerian commented 1 year ago

This is indeed required function! Pls implement this!

ScriblJ commented 6 months ago

Hey, what do you say? Are you implementing it? @rustdesk

mimkisa commented 6 months ago

Can give me an id of your server relay server api srrver and key Thanks

На чт, 29.02.2024 г., 11:47 ч. ScriblJ @.***> написа:

Hey, what do you say? Are you implementing it? @rustdesk https://github.com/rustdesk

— Reply to this email directly, view it on GitHub https://github.com/rustdesk/rustdesk-server/issues/263#issuecomment-1970770989, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFWCLN5LTDOYUN6WGJXXZX3YV34LZAVCNFSM6AAAAAAZDEWJF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQG43TAOJYHE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ScriblJ commented 5 months ago

Можете дать мне идентификатор вашего сервера ретрансляции API srrver и ключ Спасибо На чт, 29.02.2024 г., 11:47 ч. ScriblJ @.> описание: Эй, что ты скажешь? Вы это реализуете? @rustdesk < https://github.com/rustdesk > — ответьте на это письмо напрямую, просмотрите его на GitHub < # 263 (комментарий) > или отмените подписку < https://github.com/notifications/unsubscribe-auth/BFWCLN5LTDOYUN6WGJXXZX3YV34LZAVCNFSM6AAAAAAZDEWJF2VHI2DSMVQWIX3LMV43OSLTON 2WKQ3PNVWWK3TUHMYTSNZQG43TAOJYHE > . Вы получили это, потому что подписаны на эту тему. Идентификатор сообщения: @.>

Dude no. What would you use my rented server for your needs?