FoldingAtHome / fah-client-bastet

Folding@home client, code named Bastet
GNU General Public License v3.0
74 stars 13 forks source link

Support HTTP proxy #206

Closed jcoffland closed 4 months ago

Jersh commented 7 months ago

Any sign of proxy support being in the pipeline, or at least support for using the widnows defined proxy details?

jcoffland commented 7 months ago

This feature is not in high demand.

kbernhagen commented 4 months ago

Someone on Linux reporting DNS problems with proxy: https://foldingforum.org/viewtopic.php?t=41682

jcoffland commented 4 months ago

The next client alpha will have basic HTTP proxy support. SOCKS, pac, wpad, HTTPS proxies and proxy authentication will not supported at least initially.

I'm not sure how common SOCKS is anymore. It's a completely different protocol. I believe really only SOCKS5 is used.

pac and wpad are used for proxy auto-configuration. Evaluating pac requires running JavaScript. I wonder if the OS does pac and/or wpad on it's own. It would make more sense for the OS to do the auto discovery and use it to configure the manual proxy settings. It seems silly for every app on the system to have to know these protocols.

I'm also not sure how common HTTPS proxies are. They require two layers of SSL encryption to connect to https websites. HTTP proxies have an address like http://127.0.0.1:3128 whereas HTTPS proxies have an address like https://127.0.0.1:3128. Double encryption is more complicated to implement but could be added if there's sufficient demand.

Proxy authentication is probably not too hard to add.

kbernhagen commented 4 months ago

I think auto proxy configuration is handled by higher level platform specific apis.

jcoffland commented 4 months ago

Completed as described above in v8.4.0 alpha.