net4people / bbs

Forum for discussing Internet censorship circumvention
3.19k stars 75 forks source link

Fake User-Agent for HTTP Subscriptions & HTTP Configs #298

Open APT-ZERO opened 8 months ago

APT-ZERO commented 8 months ago

HELLO I am wondering why V2ray/Xray/Clash clients does not use a Fake User-Agent to get the Subscription configs when the Subscription Link is not HTTPS And why they use Golang User-Agent when they connect to a HTTP config? Why the client itself don't add a Fake User-Agent when it's not SSL Protected (Except for non v2ray link subscriptions that can contain a fake User-Agent) They can use Fingerprint argument in the v2ray link to set a random User-Agent

mmmray commented 8 months ago

I do not believe that subscriptions themselves are supposed to be used to bootstrap connections if there is no initial access to clearnet by the user. I distribute 1 or more proxy URLs (vmess:// or whatever) and the subscription URL. But users should access it over the proxy itself.

But what are you doing with unencrypted subscription URLs anyway? In a world with hundreds of thousands of https pastebins this seems entirely unnecessary.