<br><div class="gmail_quote">@anirudh ... <br><br>about git and ssh ..... there is a workaround for git:// for proxy .... changing the url from git://repo/directory.git to <a href="http://repo/directory.git" target="_blank">http://repo/directory.git</a> and then<br>
git clone <a href="http://repo/directory.git" target="_blank">http://repo/directory.git</a> ... works fine .... i am actually using this temporary workaround right now for downloading some sources .... <br><br>though i am still unsuccessful with ssh ... !!<br>
<br>about apt ... it doesnot have a separate proxy configuration ... but it invokes the environment variable values of http_proxy .... which is used by bash and can be configured in .bashrc in /home or bash.rc in /etc !! <br>
<br>and about other applications like firefox and opera .... they have a static file(by static i mean the file is not re-written everytime the os is rebooted) ...which stores the proxy variable and i am sure that can be accomplished for various other applications as well ... <br>
<br>though ... the http_proxy variable works well and fine for almost all the applications .... the only problem i encountered is with git:// for which i found a workaround ... and ssh ... <br><br>there is a second solution as well ... creating a transparent proxy server ... as specified in the idea description ....which will automatically authenticate on the proxy server .. ! in short ... using a transparent proxy server to handle requests for forced proxy requests !! <br>
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Mar 25, 2010 at 11:25 AM, Anirudh Sanjeev <span dir="ltr"><<a href="mailto:anirudh@anirudhsanjeev.org" target="_blank">anirudh@anirudhsanjeev.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hi,<br>
<br>
I'm not an expert, let alone a mentor here. You should get a second opinion<br>
before taking this advice:<br>
<br>
I don't think there can be a "truly" system wide proxy. While<br>
gnome-network-properties sets the proxy, and sets it in gconf2 and the<br>
environment variable, there's nothing that can be done to ensure that the<br>
application that is using a network connection respects the http_proxy env<br>
config.<br>
<br>
In other words, any application developer has to manually add proxy<br>
support. For example, ssh and git:// does not support http_proxy (or<br>
didn't, last time I checked), and so you need to go through hoops to make<br>
them work behind a network proxy.<br>
<br>
The only work that can be done for a "truly system wide proxy" would be to<br>
ensure all the shells - zsh, bash, etc recieve the appropriate http_proxy<br>
and other env variables, and to emit these changes to all the shells, when<br>
changes are made. The second portion will be more challenging.<br>
<br>
To make matters worse, apt has a separate proxy configuration and many<br>
other applications think it's a great idea to set their own individual<br>
proxy server.<br>
<br>
tl;dr - Unless you force all outgoing connections to tunnel through a proxy<br>
emulating a direct connection, and do this during the intial stages of<br>
application loading, there'll be no such thing as a "global http proxy".<br>
<br>
Anirudh<br>
<font color="#888888">--<br>
Senior Undergraduate Student, Indian Institute of Technology, Kharagpur<br>
<a href="http://anirudhsanjeev.org" target="_blank">http://anirudhsanjeev.org</a><br>
<br>
Start something! <a href="http://consumelesscreatemore.com" target="_blank">http://consumelesscreatemore.com</a><br>
</font><br></div></div>--<br>
ubuntu-soc mailing list<br>
<a href="mailto:ubuntu-soc@lists.ubuntu.com" target="_blank">ubuntu-soc@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-soc" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-soc</a><br>
<br></blockquote></div><br>
</div><br>