What does the log report? Are you certain everything is actually being
blocked or is it that squidguard is quitting for some reason?
Regards,
Tim Rainier
Fabian Zeindl <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/24/2004 03:05 PM
To: [EMAIL PROTECTED]
cc:
Subject: Expression blocks everything
Hi There
I created a domainfile, a urlfile and two expressionlist for ad and porn
blocking.
When I make "squidGuard -d -C all" everything compiles without errors.
But when I include one of the expressionlists in my squidGuard.conf,
almost everything is blocked...
Greetz
Fabian
My Ad Expressions:
(/ads/|/ad/|/banner/|/sponsor/|/event.ng/|/Advertisement/|adverts/)
(/cgi-bin/nph-adclick\.exe|/ads/media/images/|/smartbanner/|\.com/ads/banners/|/apfbanners/|/realmedia/ads/|/event\.ng/|/pics/banner/|/viewcgi?pool=|/clicktrack|/hittrack|/images\.go2net\.com/go2net/ads/|\.com/banners/|\.com/httpads/|\.com/advertising/|/ads/adview\.php\?)
^(ads\.|ad\.|adserver\.|k5ads\.)
ad*\.*\.*
ad*\.*\.*\.*
banner*\.*\.*
banner*\.*\.*\.*
My Porn Expressions:
(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]|$)
My squidGuard.conf
#
# CONFIG FILE FOR SQUIDGUARD
#
dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log
#
# DESTINATION CLASSES:
#
dest PornExpressions {
expressionlist dest/blacklist/porn_expressions
}
dest AdExpressions {
expressionlist dest/blacklist/ad_expressions
}
dest Blacklist {
domainlist dest/blacklist/domains
urllist dest/blacklist/urls
}
dest Whitelist {
domainlist dest/whitelist/domains
}
acl {
default {
pass Whitelist !Blacklist any
redirect
http://192.168.0.1:81/cgi-bin/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+url=%u
}
}