[squid-users] combination of rules

From: <[email protected]>
Date: Thu, 29 Jan 2004 10:40:13 +0100

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
Received on Sat Jan 31 2004 - 08:23:37 MST

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