unregistered / Maxel

A native download accelerator for Mac OS X.
http://maxelapp.com/
28 stars 2 forks source link

Maxel Ignoring System Proxy #69

Closed ibrokemypie closed 8 years ago

ibrokemypie commented 8 years ago

Maxel seems to always go direct, regardless of system proxy config.

ibrokemypie commented 8 years ago

Any update on this? Renders Maxel unusable in some environments.

unregistered commented 8 years ago

Will take a look soon, still working on fixing 2.0 crashes

On Apr 13, 2016, at 5:07 PM, Conor Randall notifications@github.com wrote:

Any update on this? Renders Maxel unusable in some environments.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

unregistered commented 8 years ago

What kind of proxy do you use? (HTTP, SOCKS, automatic proxy configuration, etc)

Libcurl can be configured with a proxy, but it's not going to pick it up automatically from the system. Adding automatic support for Apple's supported proxies is going to be a pain, and the less-often used ones could dredge up weird bugs.

The best way forward might be for Maxel to have its own proxy configuration, or for me to abandon libcurl as the download engine.

Both of these are significant work items

ibrokemypie commented 8 years ago

I use an http proxy at home and a socks proxy at school. Is there no way to force and app to route all traffic through a proxy?

On 18 Apr 2016, at 7:31 AM, Chris notifications@github.com wrote:

What kind of proxy do you use? (HTTP, SOCKS, automatic proxy configuration, etc)

Libcurl can be configured with a proxy, but it's not going to pick it up automatically from the system. Adding automatic support for Apple's supported proxies is going to be a pain, and the less-often used ones could dredge up weird bugs.

The best way forward might be for Maxel to have its own proxy configuration, or for me to abandon libcurl as the download engine.

Both of these are significant work items

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

unregistered commented 8 years ago

It didn’t look like it. Even when you have a system proxy on, you’ll notice that if you run

curl https://ifconfig.co/ <https://ifconfig.co/>

the traffic isn’t run through the proxy, but rather direct. Having the system proxy doesn’t mean all apps will respect its settings, so you’ll still leak information (as I recall, Firefox used to have its own proxy settings, not sure if it still does)

However, I noticed that both Maxel and curl on the command line are automatically routed through a VPN. Mac OS X has excellent support for creating VPNs, and you can set up your own endpoint (relatively) easily using something like https://github.com/jlund/streisand https://github.com/jlund/streisand

If that’s not enough, I can create an item to add proxy support for basic things like HTTP / SOCKS, though I would hesitate to add more exotic proxies and encourage VPN usage instead.

On Apr 17, 2016, at 2:43 PM, Conor Randall notifications@github.com wrote:

I use an http proxy at home and a socks proxy at school. Is there no way to force and app to route all traffic through a proxy?

On 18 Apr 2016, at 7:31 AM, Chris notifications@github.com wrote:

What kind of proxy do you use? (HTTP, SOCKS, automatic proxy configuration, etc)

Libcurl can be configured with a proxy, but it's not going to pick it up automatically from the system. Adding automatic support for Apple's supported proxies is going to be a pain, and the less-often used ones could dredge up weird bugs.

The best way forward might be for Maxel to have its own proxy configuration, or for me to abandon libcurl as the download engine.

Both of these are significant work items

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/unregistered/Maxel/issues/69#issuecomment-211120644

CodenixLR commented 8 years ago

One benefit of adding proxy support is for caching proxies. Schools and Colleges often use them to reduce repeat downloads, especially for updates etc. I use one at home because our web speeds are appalling, so I use router QoS rules to restrict all direct connections to a very low rate, prioritising proxied connections. If the download manager doesn't support proxied connections, it will be granted very slow speeds through the router, which isn't ideal.

unregistered commented 8 years ago

Ah, interesting. Thanks for sharing. I've renamed #55 and make it an issue to work on since it sounds useful.

ibrokemypie commented 8 years ago

Proxifier seems to be an effective work-around, although it is not free and uses it's own proxy configurations rather than the systems, making them redundant.

unregistered commented 8 years ago

Closing since this is expected behavior. The proxy support feature will be tracked in #55