LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   squid time and traffic limitation (https://www.linuxquestions.org/questions/linux-general-1/squid-time-and-traffic-limitation-4175474300/)

mmhs 08-22-2013 12:10 PM

squid time and traffic limitation
 
hi guys
is there any way to limit access time in squid based on using duration .

e.g
users can access to internet only for 2 hours and it doesn't mind which hour is that !!

after using internet for 2 hours access block ?

and second question is about traffic .
is there any way to limit traffic for user . for example users have 1G traffic . after using that access denied for using internet ?


thx in advance

TB0ne 08-22-2013 12:37 PM

Quote:

Originally Posted by mmhs (Post 5013926)
hi guys
is there any way to limit access time in squid based on using duration. e.g users can access to internet only for 2 hours and it doesn't mind which hour is that !! after using internet for 2 hours access block ?

A brief search leads you to ext_time_quota_acl for Squid:
http://www.squid-cache.org/mail-arch...1104/0009.html
https://www.facebook.com/permalink.p...34779809883543
http://squid-web-proxy-cache.1019090...td4658738.html
http://www.squid-cache.org/Doc/code/...__acl_8cc.html
Quote:

and second question is about traffic .
is there any way to limit traffic for user . for example users have 1G traffic . after using that access denied for using internet ?
thx in advance
Again, a brief search leads you to delay pools:
http://www.howtoforge.com/squid-dela...dth-management
http://linuxadmin.melberi.com/2010/0...ols-howto.html

And please spell out your words.


All times are GMT -5. The time now is 07:52 PM.