Re: [SQU] CONNECT Method..

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 10 Feb 2001 16:21:45 +0100

Se SSL_Ports in squid.conf. By default (to protect from misuse of the
proxy) only the https (443) and snews (563) ports are allowed in
CONNECT.

You do not need to send a Host header to Squid. The host name in the
CONNECT method is sufficient.

--
Henrik Nordstrom
Squid Hacker
Chris wrote:
> 
> I had a thought this weekend (I did have more than one, but tried this)
> 
> How about connecting to an irc server through squid, using the connect
> method.  I modified the proxy configuration in xchat to send a CONNECT like
> the following.
> 
> CONNECT 216.234.231.220:6667 HTTP/1.1   #I also tried HTTP/1.0
> Host: 216.234.231.220:6667:6667
> 
> then the proxy chewed on that and sent back this....
> 
> HTTP/1.0 403 Forbidden
> Server: Squid/2.2.STABLE5-hno.20000202
> Mime-Version: 1.0
> Date: Sat, 10 Feb 2001 12:12:07 GMT
> Content-Type: text/html
> Content-Length: 2194
> Expires: Sat, 10 Feb 2001 12:12:07 GMT
> X-Squid-Error: ERR_ACCESS_DENIED 0
> X-Cache: MISS from sneezy.mcc.ac.uk
> X-Cache-Lookup: NONE from sneezy.mcc.ac.uk:3128
> Proxy-Connection: close
> 
> I'm not familiar with squid so I don't know exactly what's wrong - anyone
> explain this to me? (irc.openprojects.net == 216.234.231.220:6667)
> 
> Chris.
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sat Feb 10 2001 - 08:32:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:57 MST