Search squid archive

transparent configuration with upstream proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

I'm trying to setup a transparent squid with an upstream proxy that 
needs authentication.

I've already tried:
http://www.squid-cache.org/Doc/FAQ/FAQ-23.html#ss23.6

The relevant options of the squid.conf:
cache_peer localhost       parent    8080  7 login=PASS proxy-only 
no-query allow-miss
acl all src 0/0
never_direct allow all
no_cache deny all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on


I've attached some snippets of the access.log. In when I try transparent 
mode, I only get TCP_MISS/407 and the browser doesn't asks for 
user/password. But when I configure the proxy settings in the browser 
it asks user/password and I can browse the web.


Any thoughts??

PS: By the way I don't mind giving up the caching, but it could be nice 
to be able to have caching too.

-- 

Atentamente,
Nicolás Velásquez O.
Bogotá, Colombia

(^)   ASCII Ribbon Campaign
 X    NO HTML/RTF in e-mail
/ \   NO Word docs in e-mail

### TRANSPARENT
1128122205.230      1 192.168.237.98 TCP_MISS/407 397 GET http://www.tldp.org/ - FIRST_UP_PARENT/localhost text/html
1128122205.458      1 192.168.237.98 TCP_MISS/407 397 GET http://www.tldp.org/ - FIRST_UP_PARENT/localhost text/html
1128122205.691      1 192.168.237.98 TCP_MISS/407 397 GET http://www.tldp.org/ - FIRST_UP_PARENT/localhost text/html
### END TRANSPARENT


### NOT TRANSPARENT
1128123269.011      5 192.168.237.98 TCP_MISS/407 403 GET http://www.mplayerhq.hu/ - FIRST_UP_PARENT/localhost text/html
1128123285.160  12053 192.168.237.98 TCP_MISS/200 705 GET http://www.mplayerhq.hu/ - FIRST_UP_PARENT/localhost text/html
1128123289.557   4396 192.168.237.98 TCP_MISS/200 858 GET http://www.mplayerhq.hu/homepage/index.html - FIRST_UP_PARENT/localhost text/html
1128123294.974   5364 192.168.237.98 TCP_MISS/404 546 GET http://www.mplayerhq.hu/homepage/default.css - FIRST_UP_PARENT/localhost text/html
1128123296.266  10951 192.168.237.98 TCP_MISS/200 1627 GET http://www.mplayerhq.hu/favicon.ico - FIRST_UP_PARENT/localhostimage/x-icon
1128123304.138   3317 192.168.237.98 TCP_MISS/200 2184 GET http://www.mplayerhq.hu/homepage/design7/default.css - FIRST_UP_PARENT/localhost text/css
1128123308.801  13810 192.168.237.98 TCP_MISS/404 546 GET http://www.mplayerhq.hu/homepage/favicon.ico - FIRST_UP_PARENT/localhost text/html
1128123309.341   5177 192.168.237.98 TCP_MISS/200 1012 GET http://www.mplayerhq.hu/homepage/design7/favicon.ico - FIRST_UP_PARENT/localhost image/x-icon
1128123311.704  16636 192.168.237.98 TCP_MISS/200 1627 GET http://www.mplayerhq.hu/favicon.ico - FIRST_UP_PARENT/localhostimage/x-icon
### END NOT TRANSPARENT

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux