Results 1 to 1 of 1
my squid.conf
acl ip_local1 src 0.0.0.0/0.0.0.0
acl maxconn_user maxconn 5
icp_access allow all
acl ip_local2 url_regex -i 0.0.0.0/0.0.0.0
acl file_type url_regex -i ftp \.exe$ \.mp3$ \.mp4$ \.bin$ \.wav$ \.iso$ \.qc$ ...
- 03-23-2009 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 84
how to limit simulation download with squid(max_conn)
my squid.conf
acl ip_local1 src 0.0.0.0/0.0.0.0
acl maxconn_user maxconn 5
icp_access allow all
acl ip_local2 url_regex -i 0.0.0.0/0.0.0.0
acl file_type url_regex -i ftp \.exe$ \.mp3$ \.mp4$ \.bin$ \.wav$ \.iso$ \.qc$ \.wmv$ \.mpeg$ \.mpg$ \.avi$ \.tar$ \.ttt$
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow ip_local2
delay_class 2 2
delay_parameters 2 100000000/100000000 100000000/300000
delay_access 2 allow file_type
http_access deny ip_local1 maxconn_user file_type
http_reply_access allow all
**i work fine for limit connection with download manger(IDM,Flashget,DAP)
but script that work for 1 people online (script it limit all network connect to 5 connection only)
how to limit 5 connection/ip address.


Reply With Quote