Re: [squid-users] Squid 3 in Transparent mode problem

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sat, 19 Apr 2008 17:19:54 +1200

sekar it wrote:
> Hello all,
>
> I have installed and configured the squid-3.0Stable1 in transparent
> mode with following options.
>
> http_port 3128 transparent
>
> I have redirected the traffic from my Gateway to Squid box with
> following rule. ( x.x.x.sq - squid box IP ) ( x.x.x.gw - gateway )
> -A PREROUTING -s ! x.x.x.sq -d ! x.x.x.gw -i eth0 -p tcp -m tcp
> --dport 80 -j DNAT --to-destination x.x.x.sq:3128
>
> I did not have any rule in my squid box.
>
> I got the following message in my broswer when i browse the google.com
>
> -------------------------------------------------------------------------------------------------
> * Invalid URL
> Some aspect of the requested URL is incorrect. Possible problems:
> * Missing or incorrect access protocol (should be `http://'' or similar)
> * Missing hostname
> * Illegal double-escape in the URL-Path
> * Illegal character in hostname; underscores are not allowed
> Your cache administrator is webmaster.
> Generated Sat, 19 Apr 2008 04:39:43 GMT by localhost (squid/3.0.STABLE1)
> -------------------------------------------------------------------------------------------------------
>
> Squid access log:
> 1208580076.277 8 x.x.x.x NONE/400 1747 GET / - NONE/- text/html
>
> Do i need to configure anything more?
>
> Thanks in advance,
> Sekar

You miss out the actual information on which URL squid is trying to use.

Upgrade your squid. STABLE4 is the latest release.
But you may need to go further and use the daily snapshots. A fix for
some URI missing domain in transparent mode was added a few days ago.

http://www.squid-cache.org/Versions/v3/3.0/

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Tue Apr 22 2008 - 14:19:27 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT