Squid proxy(2)-How to limit connection make by Flashget, DAP, IDM,..--please help me
I have charged my local network with over 50 users, however they usually use the programs as FlashGet, DAP, IDM to get file from Internet. They open more connection ( 10 connections/time download).
So, how can i limit those programs or how can i limit connection get data of user with Squid proxy. Thanks so much. |
Use Iptables ( -m limit option).
|
Also try limiting bandwidth using "delay" in squid.
http://www.faqs.org/docs/Linux-HOWTO...ing-HOWTO.html |
Thanks for your reply,
Quote:
Quote:
Here is my delay configuration: ===================================================== # 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 192.168.1.80 192.168.1.81 192.168.1.90 192.168.1.20 # # nolimit download from specific site acl web-permit url_regex -i abc.com # # 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# # the buckets require for gameloft policy delay_pools 1 #We want to limit bandwidth during the day, and allow #full bandwidth during the night #Caution! with the acl below your downloads are likely to break #at 23:59. Read the FAQ in this bandwidth if you want to avoid it. delay for download in localnet acl gameloft_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 1 -1/-1 -1/-1 delay_access 3 allow web-permit # # delay for internet from internet delay_class 1 2 delay_parameters 1 5000/150000 5000/120000 delay_access 1 allow limit-internet =============================================================================== Are there something wrong configuration in my delay above? Please show me the problem of my configuration. Thank you very much. |
Everybody, please help me. :((
|
All times are GMT -5. The time now is 12:39 PM. |