Jump to content

Recommended Posts

Posted
Im having a play with Squid and got Sarg working to look at the logs, but it does not seem able to log google search queries. Does anybody here use anything to do this with squid?
Posted

Check your logging level in Squid is set to the appropriate level of detail (details in squid.conf). Squid logs won't break out search terms but they will obviously be embedded in the URL fetched. I'm not familiar with Sarg but as a first step you could look at the raw Squid logs just to make sure they are recording the information you are looking for.

 

/var/log/squid3/access.log

Posted
Yep Google searches are https now so you are unable to log search phrases etc. We currently forward all traffic for google to 216.239.32.20 which forces nossl , it works fine here until Google change it at there end.. which undoubtedly they will.
  • 2 weeks later...
Posted

As other people have mentioned, Google searches now go over HTTPS, and the old nosslsearch.google.com DNS hack that everyone used to use to force searches onto HTTP has been replaced with forcesafesearch.google.com (turns safe search on, but the search itself still goes over https).

 

Our servers analyse the users' Google search queries by intercepting the HTTPS session. Basically, the proxy forges the certificate - clients need to have the proxy's certificate installed in order to accept the forged certificates. Have a look at Squid's "ssl_bump server-first" configuration options.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...