I am unfortunately behind a network in which a HTTP proxy is present. This proxy requires an authentication through a Java software. Then all the connections have to pass though this HTTP proxy, without authentication.
On the command line, if I export http_proxy=http://192.1x8.0.1:3128 (added "x" to allow posting) everything works. But if I try something as root (e.g. upgrade my Linux box), all the programs are unable to connect to the proxy. Actually the connection just waits until an answer, with any success.
root@ubuntu:~# export http_proxy="http://192.1x8.0.1:3128" root@ubuntu:~# wget -d www.google.com DEBUG output created by Wget 1.13.4 on linux-gnu. URI encoding = `UTF-8' URI encoding = `UTF-8' --2013-04-23 03:09:30-- http://www.google.com/ Connecting to 192.1x8.0.1:3128... Closed fd 3 failed: Connection timed out.
I really cannot understand why it works perfectly with a regular user and indeed it just always fails with the superuser.
It seems that only the user executing the Java authentication can use the network. How can it be possible?
Do you have any hint of suggestion?
I'm using Ubuntu 12.04 amd64.