Re: [squid-users] Banner insertion on Transparent Proxy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 21 Nov 2002 09:24:14 +0100

The needed redirection is already supported by deny_info, so all that is
needed is a new acl type which triggers "once".

When I think about it I would probably not make this acl dependent on
authentication, but using a separate "session" store. This way it can be
applied to IP addresses OR login names.

Regards
Henrik

Robert Collins wrote:
>
> On Thu, 2002-11-21 at 05:26, Henrik Nordstrom wrote:
>
> > It should also be possible to extend the proxy authentication support in
> > Squid to do something similar I think with only a few lines of code.
>
> More than a few, but less than many. Things to do:
> * Generalise the occurence of redirection in client_side_request.cc aka
> client_side.cc
> * Add a policy config parameter for how often to show the page.
> * Record the last time shown in the user cache entries.
> * Prevent user cache ejection if the policy config time has not been
> reached.
> * Include a link to the original URL in the redirected URL, for the web
> server to put on the page somewhere.
>
> Rob
>
> ------------------------------------------------------------------------
> Name: signature.asc
> signature.asc Type: application/pgp-signature
> Description: This is a digitally signed message part
Received on Thu Nov 21 2002 - 09:51:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:45 MST