LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2013, 01:10 PM   #1
mmhs
Member
 
Registered: Oct 2010
Posts: 99

Rep: Reputation: 1
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
 
Old 08-22-2013, 01:37 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,710

Rep: Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090
Quote:
Originally Posted by mmhs View Post
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth Limitation for users with squid centos 6.3 Golden Red Hat 2 10-31-2012 05:25 AM
Redirecting trasparent squid traffic to squid by using iptables imran76 Linux - Security 1 03-13-2012 08:49 AM
squid - limited time slot for accessing the internet via squid. shahg_shahg Linux - Server 1 09-20-2008 07:41 AM
Squid Overwhelmed With Traffic dablew Linux - Server 4 04-07-2008 11:19 AM
traffic spliiting using squid sunethj Linux - Networking 4 12-14-2006 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration