[Mono-osx] [MonoMac] Impossible to get MonoMac Addin under proxy
s_lessard at yahoo.com
Tue Feb 22 14:11:58 EST 2011
Can mono handle the case where the is only a SOCKS proxy and no HTTP proxy? If so, which SOCKS protocol does it support?
On Feb 22, 2011, at 1:21 AM, Michael Hutchinson <m.j.hutchinson at gmail.com> wrote:
> On Tue, Feb 22, 2011 at 2:52 AM, Steve Lessard <s_lessard at yahoo.com> wrote:
>> Proxies and OS X is a topic on which I recently did a whole lot of
>> investigation. OS X's built-in proxy client is an application-level proxy.
>> It works with apps like Safari, but does not work with commands or utilities
>> like curl or rsync. Some commands or utilities will work when the http_proxy
>> or ftp_proxy env variable is set, but others will not work. (curl works with
>> these variables, likely because it has built in support for virtually every
>> proxy protocol.) Most GUI apps likely will not work with these env vars. If
>> you want one solution that works with both applications and commands/tools
>> you'd need a circuit-level proxy client. There's only a handful of those
>> available on OS X. Proxifier is the best of the lot in my opinion.
>> There are a few things that need to be known in order to help you find a
>> solution. Which proxy protocol is the server running? Is it http, socks4,
>> socks4a or socks5? Does the server require user authentication?
>> I assume you are talking about trying to get the MonoMac plugin from within
>> MonoDevelop. Does MonoDevelop execute a shell command to download the plugin
>> or does it dowload the plugin all by itself?
> MonoDevelop uses the .NET HTTP client APIs to download the plugin.
> This will pick up the proxy from the .NET configuration system. Mono's
> machine.config has a default proxy setting of "autodetect", but that
> setting currently only causes Mono to check the HTTP_PROXY environment
> variable. You could try setting HTTP_PROXY, or use machine.config to
> set a proxy setting for all Mono apps.
> Michael Hutchinson
More information about the Mono-osx