[squid-users] authenticate request every page problem

From: otrcomm <[email protected]>
Date: Sat, 18 Nov 2006 01:43:38 -0700

hello,

i am running squid.2.4.STABLE3 and can not figure out how to set it up for accelerator mode and authentication and a redirector.

i added

#define AUTH_ON_ACCELERATION 1

to squid.h so the test in acl.c would fire TRUE and recompiled so i could use authentication with accelerator mode.

what i am doing is running a NoCat WiFi gateway on port 5280 and using iptables to redirect port 80 to port 3128, i.e.:

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128

i have squid setup to authenticate via mysql_auth and redirect to squidGuard.

i have:

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

the problem is that squid sends me to the authentication program for every page that i go to even though i tell the browser (both IE
6 and Firefox 1.5.0.7 ) to remember the password. once i have been to a page, it seems to remember the username for the session and
i can come back to that page, but every new page triggers the authentication request from squid.

i do not believe that the problem is with the browsers, because if i connect the laptop via ethernet to the squid server and change
the proxy settings in IE to point at the server and port 3128, i only have to authenticate once for the session. so, it has to be
some setting that i have wrong in squid.

anybody have any ideas what i can do to correct this?

if upgrading away from squid.2.4.STABLE3 will solve it, then that i will. i did try to use squid.3.0-PRE3-CVS, but got errors about
not knowing about the httpd_accel... switches, if i am not mistaken.

thanks,

murrah boswell
Received on Sat Nov 18 2006 - 01:43:35 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST