Fwd: [squid-users] combination of rules

From: <mortbox@dont-contact.us>
Date: Sat, 31 Jan 2004 20:51:00 -0500

i've asked to be removed countless times. here's another message that
i didn't want. it's really not that hard to remove somebody is it...

This is a forwarded message
From: krtecek@jazgym-ostrava.cz <krtecek@jazgym-ostrava.cz>
To: squid-users@squid-cache.org
Date: Thursday, January 29, 2004, 5:26:29 AM
Subject: [squid-users] combination of rules

===8<==============Original message text===============
Hello squid-guys,

another small problem from me.

I managed my time-based restriction (thanks Deepak :-). I use about 15 time-rules for
our IT room -

acl time1 time M 09:00-09:45
acl tme2 time M 10:00-10:45
.....
acl time15 time F12:00-12:45

acl myips src 192.168.1.2 192.168.1.3 ....

http_access allow myips time1
http_access allow myips time2
http_access allow myips time15
http_access deny all

I wrote also two others rules for blocking internet content (for all users) and
downloading files(onlz for IT room) -

acl block_files urlpath_regex \.zip$ \.exe$ ...
acl www_forbbiden dstdom_regex "/etc/squid/www_forbidden"

http_access deny myips block_files
http_access deny www_forbidden
http_access deny all

But now, i can't find the right combination for these rules. Every rule work fine alone,
but when i need internet working out of class hours with restrictions of content and
download, it's problem (for me:-( .

Thanks a lot,

krtecek

===8<===========End of original message text===========

-- 
Best regards,
 mortbox                            mailto:mortbox@gamebox.net
Received on Sat Jan 31 2004 - 19:26:08 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:10 MST