|
Excuse me to
send email at this adress, but i didn't arrive to write on the mail
list!
I want to
create multiples time rules.
I would like to reduce the length of the text, so i would create multiple rules and use more than one for a same user... i.e: time leisure-time-all-user { weekly * 21:00-24:00 # evening weekly * 00:00-08:00 # night weekly saturdays sundays # weekend date *.01.01 # New Year's Day date *.12.24 12:00-24:00 # Christmas Eve date *.12.25 # Christmas Day date 2002.04.01-2002.04.05 # Easter } time leisure-time-single-user { weekly * 12:00-13:30 # lunchtime weekly * 18:30-21:00 # evening weekly fridays 16:00-17:00 # weekend } time leisure-time-student-user { weekly * 00:00-08:00 # night and evening } .... src single-user { ip 192.168.0.0/24 } ... acl { single-user outside leisure-time-all-user and outside leisure-time-single-user { pass all # don't censor peoples leisure-time } else { pass !porn all # restrict access during business hours } default { pass none # reject unknown clients redirect http://info.foo.bar/cgi/blocked? } } This is my problem. Is it possible to merge multiple time rules in the same line with "and" or "or" construction (i.e outside x and within y or outside z)? Thank's for your answers... Have a nice day! E.Bullier |
