I am getting a SQUID Error

Posted by Dave on Server Fault See other posts from Server Fault or by Dave
Published on 2010-02-01T11:31:19Z Indexed on 2010/03/20 4:01 UTC
Read the original article Hit count: 771

Filed under:
|

Hello,

What exactly is wrong here

Entry in SQUID File---

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.1.1 192.168.2.0/24
http_access allow localhost

Error after: service squid restart

2010/02/01 14:24:29| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2010/02/01 14:24:29| cache_cf.cc(361) parseOneConfigFile: squid.conf:10 unrecognized: 'broken_vary_encoding'
2010/02/01 14:24:29| WARNING: Netmasks are deprecated. Please use CIDR masks instead.
2010/02/01 14:24:29| WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges.
2010/02/01 14:24:29| WARNING: For now we assume you meant to write /0
2010/02/01 14:24:29| WARNING: (B) '::/4294967200' is a subnetwork of (A) '::'
2010/02/01 14:24:29| WARNING: because of this '::' is ignored to keep splay tree searching predictable
2010/02/01 14:24:29| WARNING: You should probably remove '::/4294967200' from the ACL named 'all'
2010/02/01 14:24:29| WARNING: Netmasks are deprecated. Please use CIDR masks instead.
2010/02/01 14:24:29| WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges.
2010/02/01 14:24:29| WARNING: For now we assume you meant to write /128
2010/02/01 14:24:29| aclParseIpData: unknown netmask '255.255.255.255' in '127.0.0.1/255.255.255.255'
FATAL: Bungled squid.conf line 25: acl localhost src 127.0.0.1/255.255.255.255
Squid Cache (Version 3.1.0.14): Terminated abnormally.
CPU Usage: 0.013 seconds = 0.006 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0

Also please provide me with the simplest squid script for the proxy to run. Restrictions can be entered.

Thanks Dave

© Server Fault or respective owner

Related posts about squid

Related posts about linux