All fixed now guys, thanks to hno on squid irc.
It was because I was redirecting traffic on port 80 to 8080 and my http_port was set to this
http_port 192.168.1.2:80 transparent
so simply changed the port to be 8080 has fixed the issue.
Cheers
Jason
-----Original Message-----
From: Jason Neurohr [mailto:Jason.Neurohr@uniqueworld.net]
Sent: Wednesday, 13 June 2007 8:20 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Squid 2.6stable13 transparent proxy not working
I've installed squid 2.6STABLE13 and its popping up this error in the web browser unless the browser is specifically set up to use the proxy:
ERROR
The requested URL could not be retrieved
While trying to process the request:
GET / HTTP/1.1
Host: www.google.com.au
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: PREF=ID=7aa0efd17af3c427:TM=1180072030:LM=1180072030:S=j62Hn0QgEm84t2x7
Pragma: no-cache
Cache-Control: no-cache
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
I've put in http_port 80 transparent in squid.conf, as far as I'm aware that is all that's needed for it to work in transparent mode now?
Received on Tue Jun 12 2007 - 17:49:58 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT