I'm pretty much brand new to this squid/dansguardian stuff so please bear with me.
I've installed dansguardian and squid on a centos 5.2 running inside a vmware. Everything is working fine and I'm able to get around blocks that are causing me problems except I can't figure out how to allow google searches.
Judging by the HTML error file that comes up it has nothing to do with dansguardian...
Quote:
ERROR
The requested URL could not be retrieved
While trying to process the request:
GET /search?q=s&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US fficial&client=firefox-a&safe=active HTTP/1.1
Host: www.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: identity,gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: Close
Cookie: SS=Q0=cw; PREF=ID=fd4751c5a0ee360d:FF=1:LD=en:NR=10:TM=1217478924:LM=1217482598:GM=1:S=cjHQa-LOORSZkfpM; NID=13=toO1eynAT_5z2ZR2w91PnlgJwtcfgts10MbnYDH8dP4M41LGmpZ2qZ0QdDiR5NTbYSfHCINJUbkCowLZbacWxLWtrQvua b5SJoHPQ616LGiksSOa2Cu0vdNFKYRWJbYV; S=adsense=4RYwSady87s:dasher_cpanel=iSMQWa5GcZ8; TZ=240; GMAIL_RTT=276; SID=DQAAAHoAAAAns7PTe5HtuF2Yn5yh4CztDUE7gWtu2tP1ymr276PkQXGMEdM5nvijKfH8sJ8rUie9lO-Sc1HLGNqh-Ke_sAmrUsmtgfwWZNzIWFZOOKvRTjH6pQXOPBpxjk84FvWyx_UyqJbp62Exy4_fGgLS3gJnL7Z2vH1NKEHw7OEb-u1mcg
The following error was encountered:
* Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:
* Missing or unknown request method
* Missing URL
* Missing HTTP Identifier (HTTP/1.0)
* Request is too large
* Content-Length missing for POST or PUT requests
* Illegal character in hostname; underscores are not allowed
|
/var/log/squid/access.log has the following output for the latest search (please ignore the date/time strangeness):
Quote:
1217521098.286 36 127.0.0.1 TCP_DENIED/400 2175 GET error:invalid-request - NONE/- text/html
|
/var/log/squid/store.log has the following output from the same google search attempt. Again please ignore the date/time
Quote:
1217521098.286 RELEASE -1 FFFFFFFF 5DC17DCE65F89A41AB1AB54DD8EF6902 400 1217521098 0 1217521098 text/html 2175/2175 GET error:invalid-request
|
My squid.out log file only has stuff in it from earlier when I tried to create an external access control list to allow google. In case anyone needs it...
Quote:
2008/07/29 21:33:38| squid.conf line 4327: acl unblockedsites url_regex -i "/etc/squid/unblock.txt"
2008/07/29 21:33:38| aclParseRegexList: Invalid regular expression '*.google.com*': Invalid preceding regular expression
2008/07/29 21:33:38| squid.conf line 4327: acl unblockedsites url_regex -i "/etc/squid/unblock.txt"
2008/07/29 21:33:38| aclParseRegexList: Invalid regular expression '*.google.com': Invalid preceding regular expression
|
I've since removed the external ACL attempt and put things in squid.conf
I've added the following to squid.conf but it does nothing.
acl ALLOW_ME .google.com
http_access allow ALLOW_ME
Yahoo searches go through just fine without any problem but google searches choke. So far I've not found anything in my journey around that is working. Does anyone have any ideas what the problem is? Thanks I appreciate your time!