[Help] Setting Proxy Problems

Firstly, I want to state that I’m really new in Linux and also I’m not really good in networking stuff.

I use Wi-Fi (WPA) connection in my school. I followed the guide on how to setting the proxy for Konqueror and Firefox. They work perfectly fine.

I tried to set proxy for Google Chrome, I did realize Google Chrome use the same setting as Konqueror. I thought it might be working. But, when I tried to surf using Google Chrome, it’s not working. The request always times out.

What should I do to fix it up? I do really need Google Chrome, because it does help me with the zoom ability. The zoom ability is good enough but not as good as IE8.

Another question, when I tried to use Software Management and refresh some repos, the Error box(es) always pop-up saying that:


Error

Download Failed:
Failed to download /content from http://download.opensuse.org/....
History:
-[AbstractCommand.cc:195] URL=http://download.opensuse.org/....

I thought it might be concerning about proxy. As I tried it at home, the Error box(es) never appeared. How to set the proxy for the Software Management?

The proxy for my school is:

http://wpad.r***.edu.**/wpad.dat

I do appreciate any kind of helps :).

On Tue, 02 Feb 2010 05:36:02 +0000, iamatimebender wrote:

> The proxy for my school is:
>
> Code:
> --------------------
> http://wpad.r***.edu.**/wpad.dat
> --------------------

That looks like an autoconfiguration URL - you might try just downloading
that file and see what’s in it.

Jim

Jim Henderson
openSUSE Forums Moderator


//
// Filename     : wpad.dat
// Description  : Web Proxy Automatic Configuration File
//                For use in R*** University
// Written by   : Travers van Lierop
// Created on   : March 10 2004
// 
// Updated      : See files in wpad directory for last changes
//
// elluminate.com via bproxy ChangeRequest 1375

function FindProxyForURL(url, host) {
  // local addresses don't go through cache
  if (
       ( isPlainHostName(host) ||
         shExpMatch(host,"*.r***.edu.**") ||
	 isInNet(host,"127.0.0.0", "255.0.0.0") ||
         isInNet(host,"203.17.179.0","255.255.255.0") ||
         isInNet(host,"131.170.0.0","255.255.0.0") ||
         isInNet(host,"144.205.0.0","255.255.0.0") ||
	 isInNet(host,"192.168.0.0","255.255.0.0") || 
	 isInNet(host,"172.16.0.0","255.240.0.0") || 
	 isInNet(host,"10.0.0.0","255.0.0.0") || 
         isInNet(myIpAddress(),"131.170.170.0","255.255.255.0") ||
	 (host == "203.8.68.150") ||
         shExpMatch(host,"*.nautilus.org") || 
	 shExpMatch(host,"*.mediaportal.com.**") ||  
	 shExpMatch(host,"*.hmdevsite.com") || 
	 shExpMatch(host,"tafe.acer.edu.**") || 
	 shExpMatch(host,"r***1.quick-links.net") || 
         shExpMatch(host,"*.vientianetimes.org.la") ||
	 shExpMatch(host,"*.vetvirtual.com") || 
	 shExpMatch(host,"*.r***publishing.com.**") || 
	 shExpMatch(host,"*.r***englishworldwide.com") || 
	 shExpMatch(host,"*.r***training.com") || 
	 shExpMatch(host,"*.jet.org.**") || 
	 shExpMatch(host,"*.relta.org") || 
	 shExpMatch(host,"*.infor***.com.**") || 
	 shExpMatch(host,"*refchatter.net") 
       ) 
       &&
       !( shExpMatch(host,"*.cfd.r***.edu.**") || 
	  shExpMatch(host,"*libguides.r***.edu.**") ||
	  shExpMatch(host,"*yourcareer.r***.edu.**") ||
	  shExpMatch(host,"*triggerthat.r***.edu.**") ||
	  shExpMatch(host,"researchbank.r***.edu.**") || 
	  shExpMatch(url,"*ejobs.r***.edu.***") 
        ) 
     )
     return "DIRECT";

  // SPECIALS: A few sites playing up via Bluecoats, temporarily use sproxy2 until B/C resolved
  else if (
            // SPECIAL:Novell/BM Patch Problem,Infra 617227,602540,618761,629129,641740,650919,load testing pcmsat,737043,723257 
            shExpMatch(host,"*.ocf.berkeley.edu") ||
	    shExpMatch(host,"*.caul.edu.**") ||
	    shExpMatch(host,"*.math.uni-bielefeld.de") ||
	    shExpMatch(host,"*.caval.edu.**") ||
	    shExpMatch(host,"designvictoria.immersivestaging.net") ||
	    shExpMatch(host,"dev-www.yourbuilding.qut.edu.**")||
	    shExpMatch(host,"gateway.apollo-moon.com.**") ||
	    shExpMatch(host,"www.ncbi.nlm.nih.gov") ||
	    shExpMatch(host,"www.collectionscanada.ca") ||
	    shExpMatch(host,"mail.parentingrc.org.**") ||
	    shExpMatch(host,"*.quick-links.net") ||
	    shExpMatch(host,"pcmsatt.mercury-mms.com") || 
	    shExpMatch(host,"*.skillport.com") ||
	    shExpMatch(host,"sharepoint.melbourne.org.**") ||
	    shExpMatch(host,"gams.arc.gov.**") ||
	    shExpMatch(host,"manage.immersive.com.**") ||
	    shExpMatch(host,"www.eicgrowth.com") ||
	    shExpMatch(host,"*.curriculum.edu.**") ||
	    shExpMatch(host,"www.informaworld.com") || 
	    shExpMatch(host,"www.obhe.ac.uk") || 
	    shExpMatch(host,"xpress.equigroup.com") || 
	    shExpMatch(host,"*.pageuppeople.com") ||
	    shExpMatch(host,"www.tsfx.com.**") ||  
	    shExpMatch(host,"*.elluminate.com") ||  
            shExpMatch(host,"www.gobi3.com") 
          ) 
          return "PROXY bproxy.r***.edu.**:8080";

  // Wireless Subnets
  else if ( isInNet(myIpAddress(),"172.17.0.0","255.255.0.0") )
          return "PROXY proxy.wireless.r***.edu.**:8080";

  // R*** Training Subnets
  else if ( isInNet(myIpAddress(),"131.170.57.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.89.0","255.255.255.0") ||
            isInNet(myIpAddress(),"203.17.179.0","255.255.255.0")
	  )
          return "PROXY trnproxy.training.r***.edu.**:8080";

  // Computer Science Subnets
  // adrianw Infra 1048429: Redirecting 010.11.023 subnet (131.170.205.64/26)
  //                        to proxy.r***.edu.**.
  else if ( isInNet(myIpAddress(),"131.170.24.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.25.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.26.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.27.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.65.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.204.0","255.255.255.0") ||
            isInNet(myIpAddress(),"131.170.205.0","255.255.255.192") ||
            isInNet(myIpAddress(),"131.170.205.128","255.255.255.192") ||
            isInNet(myIpAddress(),"131.170.205.192","255.255.255.192") ||
            isInNet(myIpAddress(),"131.170.206.64","255.255.255.192") ||
            isInNet(myIpAddress(),"131.170.206.128","255.255.255.192") ||
            isInNet(myIpAddress(),"131.170.207.0","255.255.255.0")
          ) 
          return "PROXY proxy.csit.r***.edu.**:8080";

  // Subnet 131.170.205.64/26 in 010.11.023, used by non-CSIT.
  // Subnet 131.170.206.0/26 in 014.09.015
  // Subnet 131.170.206.192/26 in 014.09.023
  else if ( isInNet(myIpAddress(),"131.170.205.64","255.255.255.192")||
            isInNet(myIpAddress(),"131.170.206.0","255.255.255.192")||
            isInNet(myIpAddress(),"131.170.206.192","255.255.255.192")
          )
          return "PROXY proxy.r***.edu.**:8080";

  else
  // Fallback if it can't work it out
          return "PROXY proxy:8080;PROXY proxy.r***.edu.**:8080";

}// FindProxyForURL


Sorry, I replace my institution name into ***.

As I said before, I’m not really good on networking. I wonder how did you know that it was autoconfiguration URL. How to differ auto-config and manual-config? Sorry, if I’m asking stupid questions.

I bet Jim has seen more of these.

On Tue, 02 Feb 2010 10:56:02 +0000, iamatimebender wrote:

> As I said before, I’m not really good on networking. I wonder how did
> you know that it was autoconfiguration URL.

It was an educated guess - the target of the URL was a filename, so it
seemed to be a good guess.

> How to differ auto-config
> and manual-config? Sorry, if I’m asking stupid questions.

So what I would probably do is configure the browser proxy settings to
point to proxy.r****.edu.** port 8080 - in theory, that should do the
trick. This autoconfig file seems to point to that - it tries to make a
determination based on several subnet address blocks, but it falls back
on the default proxy at the end of the file (after the “else”) which
should do the trick for you, I’m guessing.

No such thing as a stupid question when it’s something you don’t know the
answer to. :slight_smile:

Jim

Jim Henderson
openSUSE Forums Moderator

On Tue, 02 Feb 2010 11:06:01 +0000, Knurpht wrote:

> I bet Jim has seen more of these.

Honestly, I’ve never seen one before - never actually used one. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Moderator

Thanks for your share.

[quote=]
So what I would probably do is configure the browser proxy settings to
point to proxy.r****.edu.** port 8080 - in theory, that should do the
trick. This autoconfig file seems to point to that - it tries to make a
determination based on several subnet address blocks, but it falls back
on the default proxy at the end of the file (after the “else”) which
should do the trick for you, I’m guessing.[/quote]
I have tried change the proxy to proxy.r*.edu.** port 8080**, but nothing changes at all using Google Chrome. When I tried using Konqueror, there was an Server Authentication - Konqueror box saying that:


The Server failed the authenticity check (its-wn-proxe.its.r***.edu.**).
The certificate is not signed by any trusted certificate authority

Here is the details:


Current connection is secured with SSL.
Address: its-wn-proxe.its.r***.edu.**
IP address: 1**.170.6.1
Encryotion: 3DES, using 168 bits of a 168 bit key
Details: Auth=RSA, Kx=RSA, MAC=SHA-1
SSL version: SSLv3
Certificate chain: 1**.170.6.1

Subject
-------
Common name: 1**.170.6.1
Organization: R***NET
Organization unit:
Country:
State:
City:

Issuer
------
Common name:
Organization: R***NET
Organization unit: Organization CA
country:
State:
City:

Trusted: Yes
Validity period: 05/14/09 12:22 am to 05/14/11 12:22 am
Serial Number:
MD5 digest:c286ddf68**************

The IT Help Desk at my University didn’t know how to solve this problem :’(. I don’t know where to ask for help :’(.

On Mon, 08 Feb 2010 03:06:01 +0000, iamatimebender wrote:

> I have tried change the proxy to proxy.r**.edu.** port 8080*, but
> nothing changes at all using Google Chrome. When I tried using
> Konqueror, there was an Server Authentication - Konqueror box saying
> that:
>
> Code:
> --------------------
>
> The Server failed the authenticity check
> (its-wn-proxe.its.r***.edu.**). The certificate is not signed by any
> trusted certificate authority

This means you just need to set an exception for the proxy server’s
certificate. You should have an option presented that lets you use that.

For using the proxy in chrome, you probably have to set the Chrome proxy
settings (I don’t think it uses the system settings).

Jim


Jim Henderson
openSUSE Forums Administrator