[squid-users] Re: ubuntu apt-get update 404

From: Matthew Morgan <atcs.matthew_at_gmail.com>
Date: Fri, 06 Nov 2009 17:09:50 -0500

Matthew Morgan wrote:
> Are there any known issues with squid 3.x and apt-get update on
> Ubuntu? On 2.7 everything worked fine, but on 3.0-stable19 and
> 3.0-stable20, I get random 404 responses when doing apt-get update. I
> tried starting with a fresh cache, but no dice. Here's my squid.conf:
Quick note: the errors are not always 404's. Sometimes they are like:

  Err http://us.archive.ubuntu.com jaunty Release.gpg
  The HTTP server sent an invalid reply header [IP: 91.189.88.45 80]
>
> visible_hostname proxy
> http_port 192.168.2.1:3128 transparent
> snmp_port 3401
> acl all src all
> acl manager proto cache_object
> acl localhost src 127.0.0.1/32
> acl to_localhost dst 127.0.0.0/8
> acl snmppublic snmp_community public
> acl localnet src 192.168.1.0/24 # RFC1918 possible internal network
> acl localnet src 192.168.2.0/24
> acl SSL_ports port 443 # https
> acl SSL_ports port 563 # snews
> acl SSL_ports port 873 # rsync
> acl Safe_ports port 80 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 # https
> acl Safe_ports port 70 # gopher
> acl Safe_ports port 210 # wais
> acl Safe_ports port 1025-65535 # unregistered ports
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl Safe_ports port 631 # cups
> acl Safe_ports port 873 # rsync
> acl Safe_ports port 901 # SWAT
> acl purge method PURGE
> acl CONNECT method CONNECT
> http_access allow manager localhost
> http_access deny manager
> http_access allow purge
> http_access allow purge localhost
> http_access deny purge
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localnet
> http_access allow localhost
> http_access deny all
> icp_access allow localnet
> icp_access deny all
> http_port 192.168.2.1:3128
> hierarchy_stoplist cgi-bin ?
> cache_dir diskd /usr/local/squid/var/cache2 15000 16 256
> maximum_object_size 819200 KB
> access_log /usr/local/squid/var/logs/access.log squid
> pid_filename /var/run/squid.pid
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
> refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
> refresh_pattern . 0 20% 4320
> cache_effective_user proxy
> cache_effective_group proxy
> client_persistent_connections off
> server_persistent_connections off
> snmp_port 3401
> snmp_access allow snmppublic localnet
> snmp_access allow localnet
> snmp_access allow localhost
> snmp_incoming_address 0.0.0.0
> snmp_outgoing_address 255.255.255.255
> hosts_file /etc/hosts
> forwarded_for off
> coredump_dir /usr/local/squid/var/cache
>
Received on Fri Nov 06 2009 - 22:10:17 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 07 2009 - 12:00:02 MST