I have an issue with our CentOS 6.5 installation to do with downloading files. Mods please feel free to move this post to another section if it is in the wrong section.
The CentOS 6.5 server is acting as a proxy with Squid installed to isolate our test network from our main network (which is connected to the internet). On our test network, we mainly have Windows machines (2008 R2 and 7 Ent) as well as other CentOS 6.5 and Macs. We have a Sophos server that is licensed to protect Windows, Linux and Mac OS X. The proxy is set up correctly as everyone on the test network can access the internet. The issue is the Sophos fails to download the initial binaries for the Mac OS X subscription. It has no issues with the Windows and Linux subscriptions.
I have been doing lots of testing and have concluded with the following:
1. The issue is with the CentOS 6.5 proxy. However, it is not squid that is preventing the download. The downloads are what are known as Mach-O binaries.
2. I have set up a standard CentOS 6.5 desktop install on our main network (so bypassing proxy) and it also has difficulty downloading these files (via wget and browser).
3. An Ubuntu PC on our main network is able to download these files (via wget and broweser).
4. The only way that I am able to download these files on a CentOS 6.5 server (and on our test network), is via https (using wget and browsers).
The following is the output using wget with http:
Code: Select all
Setting --verbose (verbose) to 1 DEBUG output created by Wget 1.12 on linux-gnu. --2014-08-21 12:22:21-- http://d1.sophosupd.com/update/639f8414c87cfb8f1c00595b74fb6374x000.dat Resolving d1.sophosupd.com... 18.104.22.168, 22.214.171.124 Caching d1.sophosupd.com => 126.96.36.199 188.8.131.52 Connecting to d1.sophosupd.com|184.108.40.206|:80... connected. Created socket 3. Releasing 0x0000000000c5f600 (new refcount 1). ---request begin--- GET /update/639f8414c87cfb8f1c00595b74fb6374x000.dat HTTP/1.0 User-Agent: Wget/1.12 (linux-gnu) Accept: */* Host: d1.sophosupd.com Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Closed fd 3 Retrying.
Code: Select all
wget --no-check-certificate https://d1.sophosupd.com/update/639f8414c87cfb8f1c00595b74fb6374x000.dat