Bonjour,
je tente de parametrer un squidguard (avec son squid) mais a la création de bases de données je recois un message d'erreur...
J'ai déjà vu vu des soucis de ce genre mais je croyais avoir corrigé les erreurs, mais a priori non 😉
" squidGuard: FATAL: ACL destination good is not defined in configfile /etc/squidguard/squidGuard.conf "
Merci pour votre aide
Voici le fichier de config de squidguard:
#
# CONFIG FILE FOR SQUIDGUARD
#
# Caution: do NOT use comments inside { }
#
dbhome /var/lib/squidguard/db
logdir /var/log/squidguard
#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
time workhours {
weekly mtwhf 07:00 - 12:30
weekly mtwhf 14:00 - 18:30
date *-*-01 07:00 - 18:30
}
#
# SOURCE ADDRESSES:
#
src admin {
ip 10.17.208.0/24 #1.2.3.5
user root #foo #bar TEST
within workhours
}
#src foo-clients {
# ip 172.16.2.32-172.16.2.100 172.16.2.100 172.16.2.200
#}
#src bar-clients {
# ip 172.16.4.0/26
#}
src TEST-clients {
ip 10.17.208.0/24
}
#
# DESTINATION CLASSES:
#
# [see also in file dest-snippet.txt]
#dest good {
#}
#dest local {
#}
#dest porn {
# domainlist porn/domains
# urllist porn/urls
#}
dest games {
domainlist games/domains
urllist games/urls
}
dest adult {
domainlist adult/domains
urllist adult/urls
expressionlist adult/expressions
# redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
}
dest porn {
domainlist porn/domains
urllist porn/urls
}
#
# ACL RULES:
#
acl {
admin {
pass #any !porn !adult !games all
}
# foo-clients within workhours {
# pass good !porn any
# } else {
# pass any
# }
# bar-clients {
# pass local none
# }
default {
pass #local none
redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u
}
TEST-clients within workhours {
pass good !porn any
}
}