Re: Dynamic ACL Regex's associated with authenticated user

2007-03-05 Thread Henrik Nordstrom
sön 2007-03-04 klockan 19:22 -0500 skrev louis gonzales: My question for the Development group: Q: If I want to use external_acl_type eXhelper %LOGIN %{Header} /path/to/MY/eXhelper.pl How can my PERL program read the contents of %{Header}? Header in the above is the HTTP header name you

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-05 Thread louis gonzales
Hello all, There is one %{Header}'s that I want to read in my external helper program. %{Host} external_acl_type eXhelper %LOGIN %{Host} /path/to/my/eXhelper.pl I read in STDIN and get the username password as supplied by the user, who is prompted by basic authentication. Where are the

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-05 Thread Henrik Nordstrom
mån 2007-03-05 klockan 18:17 -0500 skrev louis gonzales: Hello all, There is one %{Header}'s that I want to read in my external helper program. %{Host} external_acl_type eXhelper %LOGIN %{Host} /path/to/my/eXhelper.pl I read in STDIN and get the username password as supplied by the user,

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-05 Thread louis gonzales
Ok, maybe I'm doing something silly. I've read a line in from STDIN then split; my ($ID, $PW, $URL) = split; ... print OFH ID: $ID PW: $PW URL: $URL;// where OFH is an output file handle when I look at my os file it only ever shows the ID and PW, but not the URL Henrik Nordstrom

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-04 Thread louis gonzales
Hello Henrik, I've been working with Squid without sleep for the last couple of days. I got access into an external PERL helper program using basic auth_param. My original external_acl_type line looks like: external_acl_type eXhelper %LOGIN /path/to/MY/eXhelper.pl - then of course I call

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-02 Thread Henrik Nordstrom
tis 2007-02-06 klockan 00:14 -0500 skrev louis gonzales: Is the process to tap into a database for regex's(which are stored in a database) as easy as using the external_acl to call, for instance a PERL program which can search the database via DBI, which can check if the %LOGIN id is

Dynamic ACL Regex's associated with authenticated user

2007-03-01 Thread louis gonzales
Hello Dev team, I'm curious, but have found limited information through different FAQ's and archives about Squid functionality, which provides dynamic new regex's to be checked against specific authenticated users? Two functionalities I'm wondering about specifically: 1) Can Squid use a

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-01 Thread Henrik Nordstrom
mån 2007-02-05 klockan 13:13 -0500 skrev louis gonzales: Hello Dev team, I'm curious, but have found limited information through different FAQ's and archives about Squid functionality, which provides dynamic new regex's to be checked against specific authenticated users? Yes. Two

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-01 Thread louis gonzales
Thank you for quick response. Would you all recommend, for fastest results, to review the source code/API for external helper, or is there a document out there(in the big world) that gives technical details on this? Thanks again! Henrik Nordstrom wrote: mån 2007-02-05 klockan 13:13 -0500

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-01 Thread Henrik Nordstrom
mån 2007-02-05 klockan 15:09 -0500 skrev louis gonzales: Thank you for quick response. Would you all recommend, for fastest results, to review the source code/API for external helper, or is there a document out there(in the big world) that gives technical details on this? The external acl

Re: Dynamic ACL Regex's associated with authenticated user

2007-03-01 Thread louis gonzales
Hello Henrik, Thank you for the reply. I was able to get so far Squid integrated with SASLAuthd. I looked at the helpers that are pre-built with Linux on squid.2-5 stable 9-7 and also thoroughly at the squid.conf. Is the process to tap into a database for regex's(which are stored in a