Re: [squid-users] User Authentication

From: Mohammad Shoaib Irtaza <[email protected]>
Date: Thu, 23 Dec 2004 02:34:25 -0500

Ok, I have a helper that
redirects the user to the login page ff:

#!/usr/bin/perl
$|=1;
my %logged_in;

while(<>) {
  if (!defined($logged_in{$_})) {
    $logged_in{$_} = 1;
    print "ERR\n";
  } else {
    print "OK\n";
  }
}

 and in my squid.conf i have the
ff settings:

external_acl_type mynet concurrency=10 ttl=4400 negative_ttl=1 %LOGIN /etc/squid/access.pl
acl mynet external mynet
http_access deny !mynet
deny_info index.php mynet

Can this helper be used to provide squid with the authentication information.
i am still confused on how the helper will transmit the authenticated information
to squid.

Shoaib Irtaza

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "Mohammad Shoaib Irtaza" <msirtaza@consultant.com>
Subject: Re: [squid-users] User Authentication
Date: Wed, 22 Dec 2004 01:44:48 +0100 (CET)

>
> You will need
>
> * A database/registry of some kind where you keep the session timers
>
> * A web server which can run CGI scripts or similar, updating
> the registry on successful login.
>
> * A redirector helper to Squid monitoring the sessions and
> redirecting users to the login page if the session for their
> station have expired.
>
>
> Regards
> Henrik
>
>
> On Mon, 20 Dec 2004, Mohammad Shoaib Irtaza wrote:
>
> > How do i go about it? could you please give me a starting point.
> > Thanks
> > Shoaib Irtaza
> >
> > ----- Original Message -----
> > From: "Henrik Nordstrom" <hno@squid-cache.org>
> > To: "Mohammad Shoaib Irtaza" <msirtaza@consultant.com>
> > Subject: Re: [squid-users] User Authentication
> > Date: Thu, 16 Dec 2004 23:29:23 +0100 (CET)
> >
> >>
> >> On Thu, 16 Dec 2004, Mohammad Shoaib Irtaza wrote:
> >>
> >>> I would like to know if there is a way to transmit authentication
> >>> information to squid from a web page [login page] instead of
> >>> calling the traditional pop-up window?
> >>
> >> Not easily in a Internet proxy. The closest you can get is to build
> >> a session concept based on the source IP address of the user.
> >>
> >> Regards
> >> Henrik
> >
> > -- ___________________________________________________________
> > Sign-up for Ads Free at Mail.com
> > http://promo.mail.com/adsfreejump.htm
> >

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
Received on Thu Dec 23 2004 - 00:34:27 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST