shadowsocks / shadowsocks-windows

A C# port of shadowsocks
Other
58.46k stars 16.39k forks source link

Load Privoxy as needed #3489

Open robot-dot-win opened 2 months ago

robot-dot-win commented 2 months ago

Is your feature request related to a problem? Please describe.

ss_privoxy.exe will be loaded automatically as soon as Shadowsocks runs, but in fact it's only needed if system proxy is used. However some users never use system proxy - they use SwitchyOmega for browsers and Proxychains/Proxyfier for other applications, in order to get precise control.

Describe the solution you'd like

Load Privoxy only as needed, for reduction of resources.

eebssk1 commented 1 month ago

Shadowsocks does not handle request directly. Privoxy does. Shadowsocks then handles the request from privoxy. App -> privoxy -> SS.

If you want to kick out privoxy then you need to rewrite the architecture yourself.

robot-dot-win commented 1 month ago

Shadowsocks does not handle request directly. Privoxy does. Shadowsocks then handles the request from privoxy. App -> privoxy -> SS.

If you want to kick out privoxy then you need to rewrite the architecture yourself.

Please review my description carefully. Privoxy is only used when Windows system proxy is set to use. In fact I only use SwitchyOmega for Chrome/Edge and Proxychains for other applications and kill the privoxy process manually.