mail-archives/mono-osx/2011-February/004067.html

103 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] [MonoMac] Impossible to get MonoMac Addin under proxy
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20Impossible%20to%20get%20MonoMac%20Addin%20under%20proxy&In-Reply-To=AANLkTik6wyU2Z_tsatyrpT%3DYGnW62ypaAvPh1F7XANju%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004112.html">
<LINK REL="Next" HREF="004068.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] [MonoMac] Impossible to get MonoMac Addin under proxy</H1>
<B>Steve Lessard</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20Impossible%20to%20get%20MonoMac%20Addin%20under%20proxy&In-Reply-To=AANLkTik6wyU2Z_tsatyrpT%3DYGnW62ypaAvPh1F7XANju%40mail.gmail.com"
TITLE="[Mono-osx] [MonoMac] Impossible to get MonoMac Addin under proxy">s_lessard at yahoo.com
</A><BR>
<I>Tue Feb 22 14:11:58 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004112.html">[Mono-osx] [MonoMac] Impossible to get MonoMac Addin under proxy
</A></li>
<LI>Next message: <A HREF="004068.html">[Mono-osx] [MonoMac] Test example for OpentGL test
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4067">[ date ]</a>
<a href="thread.html#4067">[ thread ]</a>
<a href="subject.html#4067">[ subject ]</a>
<a href="author.html#4067">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Can mono handle the case where the is only a SOCKS proxy and no HTTP proxy? If so, which SOCKS protocol does it support?
-SteveL
On Feb 22, 2011, at 1:21 AM, Michael Hutchinson &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">m.j.hutchinson at gmail.com</A>&gt; wrote:
&gt;<i> On Tue, Feb 22, 2011 at 2:52 AM, Steve Lessard &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">s_lessard at yahoo.com</A>&gt; wrote:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Proxies and OS X is a topic on which I recently did a whole lot of
</I>&gt;&gt;<i> investigation. OS X's built-in proxy client is an application-level proxy.
</I>&gt;&gt;<i> It works with apps like Safari, but does not work with commands or utilities
</I>&gt;&gt;<i> like curl or rsync. Some commands or utilities will work when the http_proxy
</I>&gt;&gt;<i> or ftp_proxy env variable is set, but others will not work. (curl works with
</I>&gt;&gt;<i> these variables, likely because it has built in support for virtually every
</I>&gt;&gt;<i> proxy protocol.) Most GUI apps likely will not work with these env vars. If
</I>&gt;&gt;<i> you want one solution that works with both applications and commands/tools
</I>&gt;&gt;<i> you'd need a circuit-level proxy client. There's only a handful of those
</I>&gt;&gt;<i> available on OS X. Proxifier is the best of the lot in my opinion.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> There are a few things that need to be known in order to help you find a
</I>&gt;&gt;<i> solution. Which proxy protocol is the server running? Is it http, socks4,
</I>&gt;&gt;<i> socks4a or socks5? Does the server require user authentication?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I assume you are talking about trying to get the MonoMac plugin from within
</I>&gt;&gt;<i> MonoDevelop. Does MonoDevelop execute a shell command to download the plugin
</I>&gt;&gt;<i> or does it dowload the plugin all by itself?
</I>&gt;<i>
</I>&gt;<i> MonoDevelop uses the .NET HTTP client APIs to download the plugin.
</I>&gt;<i> This will pick up the proxy from the .NET configuration system. Mono's
</I>&gt;<i> machine.config has a default proxy setting of &quot;autodetect&quot;, but that
</I>&gt;<i> setting currently only causes Mono to check the HTTP_PROXY environment
</I>&gt;<i> variable. You could try setting HTTP_PROXY, or use machine.config to
</I>&gt;<i> set a proxy setting for all Mono apps.
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Michael Hutchinson
</I>&gt;<i> <A HREF="http://mjhutchinson.com">http://mjhutchinson.com</A>
</I></PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004112.html">[Mono-osx] [MonoMac] Impossible to get MonoMac Addin under proxy
</A></li>
<LI>Next message: <A HREF="004068.html">[Mono-osx] [MonoMac] Test example for OpentGL test
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4067">[ date ]</a>
<a href="thread.html#4067">[ thread ]</a>
<a href="subject.html#4067">[ subject ]</a>
<a href="author.html#4067">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>