hello, I'v a squid cache that for all connection to internet go through a webwasher proxy with url & content filter. I have a strange behaviour with some blocked request:
in order to simulate the environment I'v made: client -> squid -> (sockspy) -> ww -> internet with wget i'll try to download a forbidden file, follow the output from sockspy: GET http://www.redhat.com/f/ogg/choice.ogg HTTP/1.0 User-Agent: Wget/1.9+cvs-stable (Red Hat modified) Host: www.redhat.com Accept: */* Via: 1.0 squid.intra.lan:3128 (squid/2.5.STABLE6) X-Forwarded-For: unknown Cache-Control: max-age=259200 Proxy-Connection: keep-alive ww respond to squid: HTTP/1.1 403 Forbidden Content-Length: 1287 Content-Type: text/html Pragma: no-cache Proxy-Connection: keep-alive X-Error-Name: mediatypeblocked <html> .... </html> squid try again to get the file!!!! GET http://www.redhat.com/f/ogg/choice.ogg HTTP/1.0 User-Agent: Wget/1.9+cvs-stable (Red Hat modified) Host: www.redhat.com Accept: */* Via: 1.0 squid.intra.lan:3128 (squid/2.5.STABLE6) X-Forwarded-For: unknown Cache-Control: max-age=259200 Proxy-Connection: keep-alive ww respond again with: HTTP/1.1 403 Forbidden Content-Length: 1287 Content-Type: text/html Pragma: no-cache Proxy-Connection: keep-alive X-Error-Name: mediatypeblocked <html> ... </html> squid give me the error message and in the access.og i see only one request: 1104840113.773 37314 10.0.1.155 TCP_MISS/403 1481 GET http://www.redhat.com/f/ogg/choice.ogg - ANY_PARENT/127.0.0.1 text/html obviously I have tried using directly ww with the correct behaviour. ____________________________________________________________ Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. Abbonati subito senza costi di attivazione su http://www.libero.it
