I understand this question has been asked before, and without any response.

http://www.squid-cache.org/mail-archive/squid-users/200310/0699.html

Any pointers? I'm thinking of tearing up Squid 2.5.STABLE4 code to get this to work. Probably alter the basic authentication code: if the user is authenticated to the "NOBLOCK" group, then do not use the redirector (squidGuard.); if the user is not authenticated, then route traffic to the redirector; if the redirector indeed redirects it then process the authentication; if the user authenticates correctly then go back to the top and let them through; if the user fails authentication send them to the redirected page.

Peter

Original message:
Hello all. Just a quick question--I have a need to funnel proxy traffic through squidGuard and if a site is blacklisted, allow access to the site if the user can provide appropriate authentication. If the site is not blacklisted it will go through anyways regardless of authentication.


I'm currently using "redirector_access", "redirect_program", and "redirect_children" to implement squidGuard. I'm looking at "external acl" as a possibility for handling this--perhaps a Perl app that runs the URL through squidGuard and if it is blacklisted then consider whether or not the user is currently authenticated. If they are not then return the 407 to get authentication, if they are then pass them through.

Any ideas are greatly appreciated.

Peter Smith

Reply via email to