Search squid archive

Re: [squid-users] User Quota for time limit per week/month

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can acheive this without squid by using authpf (OpenBSD native, and
ported to many other platforms, authpf will allow you to create individual
internet accounts) and the idled daemon. Perhaps the management overhead
would be too high.

Or you could write your own shell scripts and run them via cron to ban
users when they've exceeded their alotted time.



http://www.darkwing.com/idled/


> hi
>  Thanks for you response . My problem is defined bellow.
>  A user can access internet in any time of the day i,e at
>  4:00 / 12:00 / 13:00 / 20:00 or any time but he/she has a restriction
>  in a way such that he can not access internet more than 20 hours a week.
>  If he/she  want to use more than 20 hours per week, automatically he will
>  be  disconnected or an error message sent to him/her.
>
>  Please Help Me.
>
>  Balaram Dey
>
>  or error ma
> nima sadeghian
>> Hi
>> I use the very simple format in my squid for 600 users and 400 pcs
>> I have defined 4 range passwd file(u can define more or less) so by
>> ncsa authantication i mange them. but with cron jobs i CP each range
>> passwd file
>> (alike passwd8-10 or else) in schaduled time in place of another
>> active passwd file. so student can use pc in their limited time. for
>> KB limitation u can use a script to calculate squid log file for each
>> person then after reaching to a limition he or she will diconnect.
>> nisa
>>
>> On 4/12/05, Balaram Dey <bdey@xxxxxxxxxxxxxx> wrote:
>>>
>>> Sir,
>>>
>>> I m a technical asisstant of a college. Student of the college access
>>> internet through a Squid Proxy Cacheing Server. Machines (clients) are
>>> limited but everyone want to access internet. If any student sit in one
>>> machine, he continuously access internet without thinking of the other
>>> student. As a result of that other students fails to get access
>>> internet.
>>> Is it possible to fix some hours(time) per week/month for each
>>> student(user) i,e Quota System.
>>>
>>> I want a solution such that a student(user) can get some fixed
>>> hour(defined in the server) per week.
>>>
>>> Please help me.
>>>
>>>
>>> Balaram Dey (CSE Dept.)
>>> College Of Engineering & Management, Kolaghat
>>> KTPP Town Ship
>>> Kolaghat, Midnapur (East)
>>> West Bengal
>>>
>>>
>>
>>
>> --
>> Best Regards
>> NIMA SADEGHIAN
>>
>
>
> Balaram Dey (CSE Dept.)
> College Of Engineering & Management, Kolaghat
> KTPP Town Ship
> Kolaghat, Midnapur (East)
> West Bengal
>
>


-- 
William Summers
IT Coordinator
The Academy at Swift River
151 South Street
Cummington, MA 01026
800-258-1770 ext. 208
Cell:  413-320-7425
Fax:  413-634-5515
www.swiftriver.com
College Preparation:  A Contemporary Approach, Based on New England
Traditions

A Program of Aspen Education Group
www.aspeneducation.com
Help for Today, Hope for Tomorrow

DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful. Please immediately contact the sender if you have received this
message in error. Thank you, Aspen Education Group, Inc.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux