win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
1.84k stars 61 forks source link

Support of Proxy/Socks with password #629

Open oleedd opened 1 month ago

oleedd commented 1 month ago

Is it possible? For example, Firefox supports it.

oleedd commented 1 month ago

= with authentication. It means support in the settings or for "username:password@ip_or_host:port" in extensions.

oleedd commented 1 month ago

Maybe to copy from Firefox?

opzch commented 1 month ago

Maybe just use a third-party app like Proxifier? This functionality never existed in vanilla Chromium.

oleedd commented 1 month ago

It is a precise feature request, not a question like "what program can help?".

...and more! If there's a feature you want, which cannot be replicated by a Manifest v2/v3 extension, please ask!

So I ask.

FK2FAGHMS commented 1 month ago

Chromium never had its own proxy settings, it always relied on the OS. You're asking him to add something from scratch, which requires a lot of work, and would it really worth?

oleedd commented 1 month ago

I just ask about this. Not necessarily from scratch, github should have libraries for this. Firefox doesn't support this in the settings as well, but supports in handling proxy strings in the extension proxy api what can be taken from there.

opzch commented 1 month ago

> ...and more! If there's a feature you want, which cannot be replicated by a Manifest v2/v3 extension, please ask! >

So I ask.

There are some extensions that have this capability: https://chromewebstore.google.com/detail/foxyproxy-basic/dookpfaalaaappcdneeahomimbllocnb https://chromewebstore.google.com/detail/oxylabs-proxy-extension/infajoaodhhdogakhloedbppcbeajhoo

oleedd commented 1 month ago

I tried a lot of extensions (Foxy Proxy too). Chrome doesn't support this in the extensions apis what is said on stackoverflow.

Vangelis66 commented 1 month ago

This is actually

https://issues.chromium.org/issues/40829748

and a quote from one of the Chromium devs:

Status: Won't Fix (Obsolete) ... socks usage has gone down. It's only 1% of HTTP(S) proxy server usage.

Given the work involved to support it (especially in terms of tests), and low usage, it's highly unlikely to be implemented. Closing WontFix to avoid creating false hope.

If you're actually depending on an authenticated SOCKS5 proxy and you want to use Supermium with it, I suggest you first install a local HTTP proxy app (e.g. Privoxy) which can be "chained" with a SOCKS5 authenticated proxy, and then configure Supermium to use the local proxy instead...

Below is an excerpt from Privoxy's default config file:

#  5.2. forward-socks4, forward-socks4a, forward-socks5 and forward-socks5t
#  =========================================================================
#
#  Specifies:
#
#      Through which SOCKS proxy (and optionally to which parent HTTP
#      proxy) specific requests should be routed.
#
#  Type of value:
#
#      target_pattern [user:pass@]socks_proxy[:port] http_parent[:port]
#
#      where target_pattern is a URL pattern that specifies to which
#      requests (i.e. URLs) this forward rule shall apply. Use / to
#      denote "all URLs". http_parent and socks_proxy are IP
#      addresses in dotted decimal notation or valid DNS names (
#      http_parent may be "." to denote "no HTTP forwarding"), and
#      the optional port parameters are TCP ports, i.e. integer
#      values from 1 to 65535. user and pass can be used for SOCKS5
#      authentication if required.
(removed for brevity)
#      To connect SOCKS5 proxy which requires username/password
#      authentication:
#
#        forward-socks5   /               user:pass@socks-gw.example.com:1080  .

Refer to Privoxy's own documentation for more (as it's OT here) :stuck_out_tongue_winking_eye: ...

oleedd commented 1 month ago

Again: it is a precise feature request, not a question like "what program can help?". How can they know how many users? How hard is transfering this feature from Firefox?