LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-03-2013, 04:34 AM   #1
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Squid System Delay Pool


Dear Team,

We have Ubuntu 12.4 OS with SQUID3 . My proxy is working fine but customer want to be configure Squid Proxy such as user can not download more than 1 GB.

I gone through googled found solution delayed pool.
 
Old 12-03-2013, 09:53 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,680

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by ganesh24pal@gmail.com View Post
Dear Team,
We have Ubuntu 12.4 OS with SQUID3 . My proxy is working fine but customer want to be configure Squid Proxy such as user can not download more than 1 GB.

I gone through googled found solution delayed pool.
So if you know what you need to do, what's your question here??? Can you not find the squid documentation and examples that tell you how to do this?? They're easily found with a Google search, and on the Squid website (which you've been pointed to before). What have you done/tried?? And why did you post this question THREE TIMES (twice in your other thread, and once here??)

Putting "how to limit download size in squid" into Google will pull up LOTS, with examples. Did you try that????

http://www.squid-cache.org/mail-arch...0801/0531.html
http://servercomputing.blogspot.com/...-in-squid.html
http://nixcraft.com/showthread.php/1...-size-in-squid

Please show some effort of your own.
 
Old 12-04-2013, 04:32 AM   #3
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193

Original Poster
Blog Entries: 5

Rep: Reputation: 3
Quote:
Originally Posted by TB0ne View Post
So if you know what you need to do, what's your question here??? Can you not find the squid documentation and examples that tell you how to do this?? They're easily found with a Google search, and on the Squid website (which you've been pointed to before). What have you done/tried?? And why did you post this question THREE TIMES (twice in your other thread, and once here??)

Putting "how to limit download size in squid" into Google will pull up LOTS, with examples. Did you try that????

http://www.squid-cache.org/mail-arch...0801/0531.html
http://servercomputing.blogspot.com/...-in-squid.html
http://nixcraft.com/showthread.php/1...-size-in-squid

Please show some effort of your own.
I tried but I getting below error.

sudo squid3 -k reconfigure
2013/12/04 16:00:02| aclParseAclList: ACL name 'deny' not found.
FATAL: Bungled squid.conf line 710: reply_body_max_size 15 MB deny localnet
Squid Cache (Version 3.1.19): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 14976 KB
Page faults with physical i/o: 0
 
Old 12-04-2013, 09:23 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,680

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by ganesh24pal@gmail.com View Post
I tried but I getting below error.

sudo squid3 -k reconfigure
2013/12/04 16:00:02| aclParseAclList: ACL name 'deny' not found.
FATAL: Bungled squid.conf line 710: reply_body_max_size 15 MB deny localnet
Squid Cache (Version 3.1.19): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 14976 KB
Page faults with physical i/o: 0
Did you read/understand the error???? It's is VERY CLEARLY telling you that there is a bad line in your squid config file, and even TELLS YOU WHAT THE LINE IS. How much more clear does it need to be? Fix the errors in your squid config.

AGAIN, the squid documentation even TELLS YOU how to test your config file. Have you read the documentation that you've been pointed to numerous times so far??
http://wiki.squid-cache.org/SquidFaq...start_Squid.3F

All you did was take one of the examples that someone else looked up for you and pasted it in to your config...the ACL doesn't exist, so naturally it can't be referenced, and the error very clearly tells you this. Again, please show some effort of your own.
 
Old 12-06-2013, 02:14 AM   #5
markotitel
Member
 
Registered: Feb 2009
Location: Titel - Serbia
Posts: 181

Rep: Reputation: 18
You want to restrict internet acces to your customers when they download more that 1 GB. I think squid cannot do that. Different case if you want to restrict downloading files larger than 1 GB.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Delay pool help. landysaccount Linux - Newbie 1 08-08-2010 11:40 AM
delay pool in squid raheelch Linux - Server 4 03-01-2010 05:26 AM
How to find out if Squid is compiled with Delay Pool linuxgirlie Linux - Server 2 02-03-2010 04:03 AM
Understanding Delay Pool Configuration (Squid) carl0ski Linux - Server 0 04-20-2007 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:39 PM.

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
Open Source Consulting | Domain Registration