[squid-users] restrict downloads by time limit

From: RAHUL T. KARTHA <rtk@dont-contact.us>
Date: Wed, 11 Jun 2003 17:30:25 +0300

This mail is probably spam. The original message has been attached
along with this report, so you can recognize or block similar unwanted
mail in future. See http://spamassassin.org/tag/ for more details.

Content preview: Hi list As you can see I with a lot of help from the
  mailing list have been able to restrict windows update downloads and
  restrict a segment of users to only 5 connects but I still face one
  problem the download restrict is permamnt for the entire day I would
  like to keep a small window of time after 23:00 rhs for all downloads I
  tried a lot of combination on the ines of max connect but to no avail
  can anybody help pls ☺ [...]

Content analysis details: (5.70 points, 5 required)
X_PRIORITY_HIGH (2.0 points) Sent with 'X-Priority' set to high
MSGID_CHARS_SPAM (0.4 points) Message-Id has characters indicating spam
FORGED_MUA_OUTLOOK (3.3 points) Forged mail pretending to be from MS Outlook

attached mail follows:


Hi list

As you can see I with a lot of help from the mailing list have been able to restrict windows update downloads and restrict a segment of users to only 5 connects but I still face one problem the download restrict is permamnt for the entire day I would like to keep a small window of time after 23:00 rhs for all downloads I tried a lot of combination on the ines of max connect but to no avail can anybody help pls ☺

#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl naaoffice src 192.168.1.1-192.168.1.9 192.168.1.11-192.168.1.22 192.168.1.24-192.168.1.30
acl naadomainristrict dstdomain microsoft.windowsupdate.com windowsupdate.com windowsupdate.microsoft.com download.microsoft.com
acl snmp snmp_community public
acl movies urlpath_regex -i \.mp[e]g$
acl naaconectlimit maxconn 5
acl naaserver src 192.168.1.230-192.168.1.230 192.168.1.154-192.168.1.154
acl naaristrict src 192.168.1.10-192.168.1.10 192.168.1.23-192.168.1.23
acl naaspecial src 192.168.1.40-192.168.1.41
acl downloadtime1 time 05:00-23:59

http_access allow localhost
http_access deny movies
http_access deny naadomainristrict
http_access deny naaconectlimit !naaoffice !naaserver
http_access deny naaspecial
http_access allow naaristrict
http_access allow naaoffice
http_access allow naaserver
http_access deny all

Best Regards, Asante Sana, Med venlig hilsen
 
Rahul T. Kartha
IT Coordinator
NCC-Aarsleff Joint Venture TANZANIA
P.O.Box 252, Morogoro
Tanzania
 
Tel, reception: +255 (0)23 260 1196 / 1345
Mobil Phone direct: +255 (0)744 277266
email: rtk@nccaarsleff.com
Received on Wed Jun 11 2003 - 08:33:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:19 MST