Configuring squid with delay_pools
-
- Lance Naik
- Posts: 15
- Joined: Wed Jun 04, 2003 12:26 pm
- Location: Karachi
- Contact:
Configuring squid with delay_pools
AOA to all members
hope u r fine
I want to configure squid through it's source bcuzz i want to enable such options like delay pools.
i know the configuration script but don't know how to set this up on starup as a service & How to use delay pool feature. I just want to limit traffic @ 5KB per host.
Thanks in advance
hope u r fine
I want to configure squid through it's source bcuzz i want to enable such options like delay pools.
i know the configuration script but don't know how to set this up on starup as a service & How to use delay pool feature. I just want to limit traffic @ 5KB per host.
Thanks in advance
Geek
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear imranhussain,
Salam,
You will need :
--enable-delay-pools
during the configure stage of squid. See the file 'INSTALL' as how to compile/install squid. Your mentioned squid is version is >very< old. Advising to use the latest STABLE release. and also check out http://squid.visolve.com/squid24s1/delaypool.htm and http://ezine.daemonnews.org/200209/squid.html
Example Confiuration File:
acl magic_words1 url_regex -i 192.168
acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav $
delay_access 1 allow magic_words2
delay_access 2 allow magic_words1
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 5000/5000000
delay_access 1 allow magic_words2
delay_class 2 2
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow magic_words1
these are my current settings...
now, i need add to magic_words2 all extensions of files, how is it done ?
--
delay_class 1 2
delay_parameters 1 -1/-1 5000/5000000
delay_access 1 allow magic_words2
that means that channel is unlimited and files larger taht ~5mb vil go at ~5kb
so.. if i do:
delay_class 1 4
delay_parameters 1 -1/-1 15000/8000000 10000/12000000
8000/15000000 4000/20000000
delay_access 1 allow magic_words2
files larger than
> 8mb ~15kb
> 10mb ~12kb
> 15mb ~8 kb
> 20mb 4kb ?
btw, maybe someone else could share his delay_pools for examples ?
Best Regards.
Salam,
You will need :
--enable-delay-pools
during the configure stage of squid. See the file 'INSTALL' as how to compile/install squid. Your mentioned squid is version is >very< old. Advising to use the latest STABLE release. and also check out http://squid.visolve.com/squid24s1/delaypool.htm and http://ezine.daemonnews.org/200209/squid.html
Example Confiuration File:
acl magic_words1 url_regex -i 192.168
acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar .avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav $
delay_access 1 allow magic_words2
delay_access 2 allow magic_words1
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 5000/5000000
delay_access 1 allow magic_words2
delay_class 2 2
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow magic_words1
these are my current settings...
now, i need add to magic_words2 all extensions of files, how is it done ?
--
delay_class 1 2
delay_parameters 1 -1/-1 5000/5000000
delay_access 1 allow magic_words2
that means that channel is unlimited and files larger taht ~5mb vil go at ~5kb
so.. if i do:
delay_class 1 4
delay_parameters 1 -1/-1 15000/8000000 10000/12000000
8000/15000000 4000/20000000
delay_access 1 allow magic_words2
files larger than
> 8mb ~15kb
> 10mb ~12kb
> 15mb ~8 kb
> 20mb 4kb ?
btw, maybe someone else could share his delay_pools for examples ?
Best Regards.
Farrukh Ahmed
-
- Lance Naik
- Posts: 15
- Joined: Wed Jun 04, 2003 12:26 pm
- Location: Karachi
- Contact:
more help needed
AOA to all members
hope u r fine
thanks 4 ur kind reply
it's very stupid but i wanna ask one thing that may i paste all that configuration that u've given into my squid.conf @ any place or any specific tag.
hope u r fine
thanks 4 ur kind reply
it's very stupid but i wanna ask one thing that may i paste all that configuration that u've given into my squid.conf @ any place or any specific tag.
Geek
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear imranhussain,
Salam,
Its an example.. so configure your squid.conf @ your need.
Best Regards.
Salam,
Its an example.. so configure your squid.conf @ your need.
Best Regards.
Farrukh Ahmed
by the way
the squid package on redhat ships with delay pools activated.
-
- Lance Naik
- Posts: 15
- Joined: Wed Jun 04, 2003 12:26 pm
- Location: Karachi
- Contact:
required squid.conf
AOA all members
hope u r fine
it 's highly appreciated if anyone plz share their squid.conf with delay pools enabled for testing purpose.
thanks in advance
hope u r fine
it 's highly appreciated if anyone plz share their squid.conf with delay pools enabled for testing purpose.
thanks in advance
Geek
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Imranhussain,
Salam,
I did not setup delay_pools in Squid i use Bandwidht Manager @ FreeBSD so i would like to advice your to check http://squid-docs.sourceforge.net/lates ... book1.html and also http://www.squid-cache.org/mail-archive ... /0208.html and http://www.squid-cache.org/mail-archive ... /0233.html
Hope it will Help you and if any one have configured Squid with delay_pools Options then they will INSAHALLAH Share his/her Squid.conf here. i will be very thank full for them.
Best Regards.
Salam,
I did not setup delay_pools in Squid i use Bandwidht Manager @ FreeBSD so i would like to advice your to check http://squid-docs.sourceforge.net/lates ... book1.html and also http://www.squid-cache.org/mail-archive ... /0208.html and http://www.squid-cache.org/mail-archive ... /0233.html
Hope it will Help you and if any one have configured Squid with delay_pools Options then they will INSAHALLAH Share his/her Squid.conf here. i will be very thank full for them.
Best Regards.
Farrukh Ahmed
-
- Lance Naik
- Posts: 30
- Joined: Tue May 25, 2004 1:28 am
- Location: karachi
- Contact:
delay_pool
my server ip is 192.168.100.1
my user ip range is in between 192.168.100.2 to 192.168.100.60
i am using multinet DSL and my circuit is 64kbps uploading and 128kbps downloading.
my question is how to set delay_pool in my squid.conf for fastest interactive browsing on my client pc's as well as some delay option for files download etc. exe.dat.avi.mpeg etc. with different download speed.
allah hafiz
best regards
my user ip range is in between 192.168.100.2 to 192.168.100.60
i am using multinet DSL and my circuit is 64kbps uploading and 128kbps downloading.
my question is how to set delay_pool in my squid.conf for fastest interactive browsing on my client pc's as well as some delay option for files download etc. exe.dat.avi.mpeg etc. with different download speed.
allah hafiz
best regards
Linux...Har Pal Linux.
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear kashif,
Salam,
Best Regards.
Salam,
http://www.etinc.com/bwmgr.htmkashif wrote:Please can u give some detail and link of Bandwidth Manger
Best Regards.
Farrukh Ahmed