Re: [squid-users] 2 Questions - Authentication Caching and Redirectors

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Mar 2002 02:11:21 +0100

Dale Harrod wrote:
>
> OS: Red Hat 7.2
> Squid: 2.4 Stable 4
>
> Scenario 1: Squid configured to use NCSA auth with authenticate_TTL 1 hour
> and authenticate_ip_ttl 300 seconds
> Problem 1: Squid requests authentication for each browser the user spawns.
> Question 1: Can Squid be configured to remember authentication credentials
> for a given user so the user is not prompted for authentication every time
> they spawn a new browser?

Now this isn't a Squid problem but a browser problem. You need to
convince the browser to cache the credentials.

Squid is asking for authentication on each and every requests. It is not
like the user "logs in" to the proxy. When the the user fills in the
"login dialogue" he tells his browser the user credentials to use when
accessing the proxy for all future requests of that browser session.

> Scenario 2: Squid redirector configured to use proprietary content
> filtration engine
> Problem 2: Banner adds on sites that pass URL content filtration test may be
> inappropriate (ex: Banner add from casino.net).
> Question 2: Can squid be configured to use multiple redirectors in a serial
> fashion?

Yes, simply chain them using a small shell script..

#!/bin/sh
redirector1 | redirector2

More advanced chaining capabilities are possible if you know a small
amount of programming.

Regards
Henrik Nordström
Squid Developer
Received on Mon Mar 25 2002 - 20:20:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:05 MST