Hello
I want to block www acces at some times in a day or week ...
I create this config file but squidguard doesn't filter the connexions.
###################################################################
#
# CONFIG FILE FOR SQUIDGUARD
#
dbhome /var/lib/squidguard/db
logdir /var/log/squid
# Nous interdisons l'acces a internet pour les periodes suivantes.
#
# s= sunday (dimanche)
# m=monday (lundi)
# t=tuesday (mardi)
# w=wednesday (mercredi)
# h=thursday (jeudi)
# f=friday (vendredi)
# a=saturday (samedi)
#
time heuresbloquees {
weekly sa 00:00-24:00
weekly mtwhf 00:00-08:00
weekly mtwhf 17:00-24:00
date *.11.01
date *.11.11
date *.05.01
date *.08.01
}
src ecole {
userlist user/name
}
dest ads {
domainlist ads/domains
urllist ads/urls
redirect 302:http://HOSTNAME/squidguard/pixel.png
}
dest porn {
domainlist porn/domains
urllist porn/urls
redirect
http://HOSTNAME/squidguard/blocked.php?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&url=%u
}
acl {
ecole outside heuresbloquees {
pass good !porn !ads any
} else {
pass none
}
default {
pass none
http://HOSTNAME/squidguard/blocked.php?clientaddr=%a&clientname=%n&
}
}
##################################################################
In fact, i want that nobody can surf outside workings hours and
during working ours porn and ads are forbidden.
I don't understand what is wrong in the file.
Thanks a lot, Pascal
PS :excuse me for my bad english
--
Easter-eggs����������������������������� Sp�cialiste GNU/Linux
44-46 rue de l'Ouest� -� 75014 Paris� -� France -� M�tro Gait�
Phone: +33 (0) 1 43 35 00 37��� -�� Fax: +33 (0) 1 43 35 00 76
mailto:[EMAIL PROTECTED]� -� http://www.easter-eggs.com