LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid System Delay Pool (https://www.linuxquestions.org/questions/linux-server-73/squid-system-delay-pool-4175486664/)

ganesh24pal@gmail.com 12-03-2013 04:34 AM

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.

TB0ne 12-03-2013 09:53 AM

Quote:

Originally Posted by ganesh24pal@gmail.com (Post 5074483)
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.

ganesh24pal@gmail.com 12-04-2013 04:32 AM

Quote:

Originally Posted by TB0ne (Post 5074647)
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

TB0ne 12-04-2013 09:23 AM

Quote:

Originally Posted by ganesh24pal@gmail.com (Post 5075144)
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.

markotitel 12-06-2013 02:14 AM

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.


All times are GMT -5. The time now is 11:19 PM.