hi,
is there anyway to notify my web api when client connect/disconnect to server ? I'm using linux edition .
thanks
Client up/down events
-
- Posts: 288
- Joined: Wed Dec 28, 2022 9:10 pm
Re: Client up/down events
No if you are looking for a kind of Web Hooks or built-in Hooks in SE sever.
Yes if you can go to the trouble of working for RPC-JSON API of SE server and implementing your own poll method.
In this regard you will EnumSession every one minute and will compare it with last minute user-list you have already saved.
Thus you can determine who has come to and who has gone.
I have done near 80% to 90% of this method just the diff part has remained to finish the script.
Last edited by shakibamoshiri on Fri Jan 27, 2023 7:05 pm, edited 1 time in total.
-
- Posts: 5
- Joined: Fri Jan 27, 2023 5:08 pm
Re: Client up/down events
Ok, how to read connected users ?
-
- Posts: 288
- Joined: Wed Dec 28, 2022 9:10 pm
Re: Client up/down events
fixed: EnumSession not EnumUser
"EnumSession" RPC API - Get List of Connected VPN Sessions
https://github.com/SoftEtherVPN/SoftEth ... n-sessions