Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-24-2005, 12:16 AM   #1
Registered: Mar 2005
Posts: 146

Rep: Reputation: 15
Squid - Set time to allow full download -- please help me

Here is the part of my Squid delay

# nolimit download in localnet
acl nolimit-localnet url_regex -i 192.168.
# nolimit download from specific users in localnet
acl nolimit-users url_regex -i
# nolimit download from specific site
acl web-permit url_regex -i "/etc/squid/.web-permit"
# limit download from Internet
acl limit-internet url_regex -i .wmv .wma .mp3 .mpg .wma .avi .asf .rm .zip .rar .ram .iso .raw .dat .cab .rar .rpm .exe .vq .pdf .tar .rpm .tar.gz .bin .cue.bz2

# the buckets require for gameloft policy
delay_pools 4
acl work_hours time MTWHF 08:00-19:00
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow nolimit-localnet
delay_class 2 2
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow nolimit-users
delay_class 3 2
delay_parameters 3 -1/-1 -1/-1
delay_access 3 allow web-permit
# delay for internet from internet
delay_class 4 2
delay_parameters 4 5000/150000 5000/120000
delay_access 4 allow limit-internet
delay_access 4 allow work_hours
delay_access 4 deny !work_hours
My purposes is:
- Full traffic in local network
- Limit file type downloaded from Internet (exe, wmv,...) in working hours
- Full traffic of special IP use Internet (download and upload)
- Full traffic to allow website.
- Allow full traffic (full speed) to all file types after working hours.

Is my delay configuration exact? do i need add other configurations to it for my purposes?
Please give me your idea or give me your help.
Thank you very much.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doub about `net time set` and daylight saving time Thakowbbery Linux - Software 0 10-17-2005 05:23 AM
set time acl and custom message squid cgelectek Linux - Software 1 06-25-2005 11:17 AM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM
Download manager that you can set download times? henno Linux - Software 3 03-24-2005 06:49 PM
Which distributions do not support --full-time for ls (ls --full-time)? GCS Linux - Distributions 0 07-28-2004 01:25 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:18 AM.

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