Hi,
What you are talking about is not possible in a normal straightforward
way. What you need to understand is that squid maintains its own cache /
authentication pool or information about authenticated users through the
authenticate program that you specify. Hence the user needs to enter the
login / password the first time the user tries to go through the proxy OR
when the authentication TTL expires.

What you need to do is to develop your own authentication module, and when
it authenticates the user, you need to find out the allowed amount of
hours for the user in the background. This needs to be checked and updated
maybe in a Mysql backend, coz by default squid does not has any
realtime accounting features. You can surely process the logs afterwards
and update the database.

For these reasons, what you need is not possible in a straightforward way.

VaibhaV
--
Politicians and Diapers need to be changed often,
                and for the same reason.
----------------------------------------------------------
 VaibhaV Sharma             |      [EMAIL PROTECTED]
 Exocore Consulting         |   http://www.exocore.com
 Bangalore, India           |         +91 (80) 3440397
----------------------------------------------------------

On Mon, 25 Jun 2001, Anand Singh Bisen wrote:

> But that's not what I want, In the network many ppl have 95 some have 98 and
> some NT with differentapplications. I just want to regulate the internet
> access. I cant just delete everything and install linux everywhere.
>
> Anand
>
>
>
> On Monday 25 June 2001 02:46 pm, you wrote:
> > Hi,
> > Try using diskless linux boxes as clients. Then, u can
> > allow user logins and time them...perhaps like what
> > VSNL does with our internet accounts!?!
> >
> > Vicky
> >
> > --- Anand Singh Bisen <[EMAIL PROTECTED]> wrote:
> > > Hello
> > >
> > > I need to know that is this kind of setup possible.
> > >
> > > That is a Samba configured in a network of some Win
> > > 9x machines which acts as
> > > a PDC and File & Print Server. Now once the Win9x
> > > user enters his or her
> > > login and password at the time of logging in he can
> > > use shares in the network.
> > >
> > > I want to configure a Squid Proxy server so that if
> > > the person is authorised
> > > to surf the net he can through the proxy installed
> > > in this linux machine
> > > withought entering another set of login and password
> > > and when his alloted
> > > time i.e suppose he is authorised to surf only 30
> > > hrs a month so when he
> > > finishes his quota of 30 hrs... he cant surf any
> > > more.
> > >
> > > Anand
> > >
> > > _______________________________________________
> > > linux-india-help mailing list
> > > [EMAIL PROTECTED]
> >
> > http://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/linux-india-help
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/linux-india-help
>

-- 
Politicians and Diapers need to be changed often,
                and for the same reason.
----------------------------------------------------------
 VaibhaV Sharma             |      [EMAIL PROTECTED]
 Exocore Consulting         |   http://www.exocore.com
 Bangalore, India           |         +91 (80) 3440397
----------------------------------------------------------


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to