Bonjour,
je n'arrive pas utiliser les listes d'expressions avec squidguard,mais les domains et url listes fonctionnent....
voici mon fichier de squidGuard.conf:
dbhome /var/ipcop/proxy/blacklists
logdir /var/log/squidGuard
dest strict_redirector {
domainlist strict_redirector/domains
expressionlist strict_redirector/expressions
urllist strict_redirector/urls
logfile log/strict_redirector.log
}
dest tricheur {
domainlist tricheur/domains
urllist tricheur/urls
logfile log/tricheur.log
}
dest publicite {
domainlist publicite/domains
expressionlist publicite/expressions
urllist publicite/urls
logfile log/publicite.log
redirect http://xx.xx.xx.xx:81/images/null.gif
}
dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
logfile log/aggressive.log
}
dest mobile-phone {
domainlist mobile-phone/domains
logfile log/mobile-phone.log
}
dest violence {
domainlist violence/domains
expressionlist violence/expressions
urllist violence/urls
logfile log/violence.log
}
dest agressif {
domainlist agressif/domains
expressionlist agressif/expressions
urllist agressif/urls
logfile log/agressif.log
}
dest adult {
domainlist adult/domains
expressionlist adult/expressions
urllist adult/urls
logfile log/adult.log
}
dest gambling {
domainlist gambling/domains
urllist gambling/urls
logfile log/gambling.log
}
dest drogue {
domainlist drogue/domains
urllist drogue/urls
logfile log/drogue.log
}
dest webmail {
domainlist webmail/domains
logfile log/webmail.log
}
dest redirector {
domainlist redirector/domains
expressionlist redirector/expressions
urllist redirector/urls
logfile log/redirector.log
}
dest radio {
domainlist radio/domains
logfile log/radio.log
}
dest forums {
domainlist forums/domains
expressionlist forums/expressions
urllist forums/urls
logfile log/forums.log
}
dest warez {
domainlist warez/domains
expressionlist warez/expressions
urllist warez/urls
logfile log/warez.log
}
dest hacking {
domainlist hacking/domains
urllist hacking/urls
logfile log/hacking.log
}
dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
logfile log/audio-video.log
}
# Liste locale (ne fait pas partie de la blacklist)
dest localblack { domainlist localblack
logfile log/localblack.log
}
# Prioritaire sur les blacklists
dest localwhite { domainlist localwhite
logfile log/localwhite.log
}
# Liste blanche Bibliotheques Universitaire
dest liste_bu {
domainlist liste_bu/domains
urllist liste_bu/urls
logfile log/liste_bu.log
}
src privilegedsource { ip }
src bannedsource { ip }
src lansource { ip xx.xx.xx.0/24 }
acl {
privilegedsource {
pass all
#redirect http://xx.xx.xx.xx:81/squidGuard.c [...] =%t&url=%u
}
bannedsource {
pass none
redirect http://xx.xx.xx.xx:81/squidGuard.c [...] =%t&url=%u
}
lansource {
pass localwhite liste_bu !strict_redirector !tricheur !publicite !aggressive !mobile-phone !violence !agressif !adult !gambling !drogue !localblack !webmail !redirector !radio !forums !warez !hacking !audio-video all
redirect http://xx.xx.xx.xx:81/squidGuard.c [...] =%t&url=%u
}
default {
pass localwhite liste_bu none
redirect http://xx.xx.xx.xx:81/squidGuard.c [...] =%t&url=%u
}
}
l'expression:
(adultos|adultsight|adultsite|adultsonly|adultweb|blow-?job|bondage|centerfold|cumshot|cyberlust|cybercore|hardcore|incest|masturbat|obscene|pedophil|pedofil|playmate|pornstar|sexdream|showgirl|softcore|striptease)
(^|[-.\?+=/_0-9])(all|big|cute|cyber|fake|firm|hard|huge|little|mega|mini|naughty|new|old|pure|real|small|serious|soft|super|tiny|young)?(anal|babe|bharath|boob|breast|busen|busty|clit|cum|cunt|dick|fetish|fuck|hooter|lez|lust|naked|nude|oral|orgy|porno?|pupper|pussy|rotten|sex|shit|smutpump|teen|tit|topp?les|vixen|xxx)s?(cafe|site|surf|surfing|web|website)?([-.\?+=/_0-9]|$)
(^|[-.\?+=/_0-9])(all|big|cute|cyber|fake|firm|hard|huge|little|mega|mini|naughty|new|old|pure|real|small|serious|soft|super|tiny|young)(girl|virgin)s?(cafe|site|surf|surfing|web|website)?([-.\?+=/_0-9]|$)
Les droits sur le fichier sont corrects.
Help me please