tuliprox icon indicating copy to clipboard operation
tuliprox copied to clipboard

Improve Account Load Balancer: Skip Banned Accounts

Open g0ldyy opened this issue 8 months ago • 1 comments

Is your feature request related to a problem? Please describe. Currently, the account load balancer only checks the maximum number of connections but not whether an account has been banned, which can cause problems when m3u-filter tries to use the account.

Describe the solution you'd like You should check if the account is banned before doing anything else. We can check whether a GET to the player_api.php endpoint without action returns a status 404 or whether the status is Banned.

Describe alternatives you've considered X

Additional context X

g0ldyy avatar Apr 18 '25 12:04 g0ldyy

can u make this dynamic and a logic into the load balancing strategic? for example on the fly read the line to see if it is banned, expired, etc and mark it accordingly into a db or similar so TP can keep track of it. as well current and max cxn said lines have which will then play a role in the load balancing strategic.

aniel300 avatar Jun 14 '25 11:06 aniel300