[squid-users] Help needed transparent proxy doesnt work

From: Muhammad Bilal Ahmad <[email protected]>
Date: Fri, 24 Feb 2006 17:15:32 +0500

Dear all,

My browser works if I give him the proxy address with port 80 or 3128 but
doesn't work via default gateway. I gave the following command on the
command prompt of windows and got the following output.

C:\> telnet 192.168.0.29 80

HTTP/1.0 400 Bad Request
Server: squid/2.5.STABLE5
Mime-Version: 1.0
Date: Fri, 24 Feb 2006 12:05:34 GMT
Content-Type: text/html
Content-Length: 1219
Expires: Fri, 24 Feb 2006 12:05:34 GMT
X-Squid-Error: ERR_INVALID_REQ 0
X-Cache: MISS from proxy
Proxy-Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.or
g/TR/html4/loose.dtd">
                      <HTML><HEAD><META HTTP-EQUIV="Content-Type"
CONTENT="text/
html; charset=iso-8859-1">
                          <TITLE>ERROR: The requested URL could not be
retrieved
</TITLE>
        <STYLE
type="text/css"><!--BODY{background-color:#ffffff;font-family:ver
dana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
                                                      </HEAD><BODY>
 
<H1>ERROR</H1
>
 <H2>The requested URL could not be retrieved</H2>
                                                  <HR noshade size="1px">
                                                                         <P>
 
Whil
e trying to process the request:
                                <PRE>
                                     www.yahoo.com
&# 3;&# 3;&# 3;

                  </PRE>
                        <P>
                           The following error was encountered:
                                                               <UL>
                                                                   <LI>
 
<STRONG>
 
I
nvalid Request
              </STRONG>
                       </UL>

                            <P>
                               Some aspect of the HTTP Request is invalid.
Poss
ible problems:
              <UL>
                  <LI>Missing or unknown request method
                                                       <LI>Missing URL
 
<LI>Missin
g HTTP Identifier (HTTP/1.0)
                            <LI>Request is too large
                                                    <LI>Content-Length
missing f
or POST or PUT requests
                       <LI>Illegal character in hostname; underscores are
not al
lowed
     </UL>
          <P>Your cache administrator is <A
HREF="mailto:bilal@naveena.com.pk">b
ilal@naveena.com.pk</A>.

                         <BR clear="all">
                                         <HR noshade size="1px">
                                                                <ADDRESS>
 
Generat
ed Fri, 24 Feb 2006 12:05:34 GMT by proxy (squid/2.5.STABLE5)
                                                             </ADDRESS>
 
</BODY></
HTML>

Connection to host lost.

C:\>

If any body can help me I would be very grateful.

Thanx a lot

Kind Regards
M Bilal Ahmad
Received on Fri Feb 24 2006 - 05:20:20 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST