unredacted / freesocks-control-plane

The control plane that makes FreeSocks work
https://freesocks.org
GNU General Public License v3.0
14 stars 0 forks source link

Add feature to exclude certain servers to users based on user's country code #1

Open lunarthegrey opened 3 months ago

lunarthegrey commented 3 months ago

Currently, it's possible that a user in a specific country can be provided with an access key from a server that is known to be blocked in their country (usually based on IP).

At the moment, there is no logic regarding this in the FCP.

We could implement a way to retrieve the user's country code in the request sent to the Cloudflare edge, then use that country code to make decisions about what server will be used to issue an access key.