[squid-users] Limit Download Manager Session...

From: <tommy_at_openbsd.or.id>
Date: Fri, 30 May 2008 02:17:24 +0700

Dear All...

How to limiting the download manager session in Squid? I have the
problem for that case. I wanna limit only 2 download session in every
download manager that connected to my Squid box.
My configuration like this :

acl koneksi maxconn 2
acl TIME-03 time SMTWHFA 00:00-07:59
acl download-01 url_regex -i \.msi$ \.mar$ \.cab$ \.exe$ \.mp3$ \.mp4$
\.tar.gz$ \.gz$ \.tar.bz2$ \.bz2$ \.tar$ \.rpm$ \.z$ \.wmz$ \.zip$
\.rar$ \.avi$ \.mpg$ \.mpeg$ \.rm$ \.iso$ \.wav$ \.mov$ \.da
t$ \.mpe$ \.mid$ \.midi$ \.rmi$ \.wma$ \.wmv$ \.ogg$ \.ogm$ \.m1v$
\.mp2$ \.mpa$ \.wax$ \.m3u$ \.asx$ \.wpl$ \.wmx$ \.dvr-ms$ \.snd$
\.au$ \.aif$ \.asf$ \.m2v$ \.m2p$ \.ts$ \.tp$ \.trp$ \.div$ \.div
x$ \.mod$ \.vob$ \.aob$ \.dts$ \.ac3$ \.cda$ \.vro$ \.deb$ \.wmv$ \.flv$ \.rm$

delay_class 7 1
delay_parameters 7 1000/1000
delay_access 7 allow koneksi download-01 TIME-03
delay_access 7 deny all

The ACL TIME-03, ACL download-01, already running well. But the ACL
koneksi, cannot working properly. Something wrong in my configuration?
Please help me.

Thanks in Advance,

Tommy
Received on Thu May 29 2008 - 19:17:33 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT