[squid-users] Re: transparent proxy on remote box issue

From: WorkingMan <signup_mail2002_at_yahoo.com>
Date: Fri, 25 Oct 2013 20:01:42 +0000 (UTC)

WorkingMan <signup_mail2002 <at> yahoo.com> writes:

> ---------
> GET / HTTP/1.1
> Host: www.nba.com
> Accept-Encoding: gzip, deflate
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8^M
> Cookie: s_fid=32FDC9FA0E2D94CE-297956A1143A207A; s_vi=
> [CS]v1|28AFB9BC0501287A-600001094003481F[CE]^M
> Connection: keep-alive
> Accept-Language: en-us
> User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_2 like Mac OS X)
> AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501
> Safari/9537.53
>
> This looks good to me and works (test and works as a request) but then I
see
> this error message and then it went to show SQUID's error page. It doesn't
> really tell me why it's not working.
>
> client_side.cc(2603) clientProcessRequest: Invalid URL: /
>

When I said it's working with the header info (the one missing hostname) I
used fiddler (as long you add the two ending newline) which probably does
some kind of weird thing to resolve the query because if I telnet to SQUID
on 3130 and enter the above query I get the invalid URL error accordingly.
What does this say to the problem?

On SQUID I don't have any rule but one:

Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
redir ports 3130

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

I don't think that's the issue just in case.

Thanks,
Received on Fri Oct 25 2013 - 20:02:08 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 26 2013 - 12:00:06 MDT