• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

squidguard problem mit www in URL

lazy_1st

Newbie
Hallo erstmal,

ich habe da folgendes Problemchen. Der Squid mit Squidguard funktioniert soweit ohne Problem, allerdings block der Guard nur Seiten aus der Blacklist welche mit http://dieSeite.de aufgerufen werden. Ruft man die Seite mit http://www.dieSeite.de oder nur www.dieSeite.de wird nichts geblockt.
Hat jemand einen Tipp für mich was ich ändern muss damit die Domain in jedem falll geblockt wird?

Schonmal vielen Dank für eure Hilfe!
 
OP
L

lazy_1st

Newbie
SquidGuad.conf sieht folgendermassen aus:

Code:
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
dest ads {
        domainlist squidguard-blacklists/ads/domains
        urllist    squidguard-blacklists/ads/urls
#   enable next line to log blocked urls
#       log        ads-block.log
}

dest aggressive {
        domainlist squidguard-blacklists/aggressive/domains
        urllist    squidguard-blacklists/aggressive/urls
#   enable next line to log blocked urls
#       log        aggressive-block.log
}

dest audio-video {
        domainlist squidguard-blacklists/audio-video/domains
        urllist    squidguard-blacklists/audio-video/urls
#   enable next line to log blocked urls
#       log        audio-video-block.log
}

dest drugs {
        domainlist squidguard-blacklists/drugs/domains
        urllist    squidguard-blacklists/drugs/urls
#   enable next line to log blocked urls
#       log        drugs-block.log
}

dest gambling {
        domainlist squidguard-blacklists/gambling/domains
        urllist    squidguard-blacklists/gambling/urls
#   enable next line to log blocked urls
#       log        gambling-block.log
}

dest hacking {
        domainlist squidguard-blacklists/hacking/domains
        urllist    squidguard-blacklists/hacking/urls
#   enable next line to log blocked urls
#       log        hacking-block.log
}

dest mail {
        domainlist squidguard-blacklists/mail/domains
#   enable next line to log blocked urls
#       log        mail-block.log
}

dest porn {
        domainlist squidguard-blacklists/porn/domains
        urllist    squidguard-blacklists/porn/urls
        expressionlist squidguard-blacklists/porn/expressions
#   enable next line to log blocked urls
#       log        porn-block.log
}

dest proxy {
        domainlist squidguard-blacklists/proxy/domains
        urllist    squidguard-blacklists/proxy/urls
#   enable next line to log blocked urls
#       log        proxy-block.log
}

dest violence {
        domainlist squidguard-blacklists/violence/domains
        urllist    squidguard-blacklists/violence/urls
        expressionlist squidguard-blacklists/porn/expressions
#   enable next line to log blocked urls
#       log        violence-block.log
}

dest warez {
        domainlist squidguard-blacklists/warez/domains
        urllist    squidguard-blacklists/warez/urls
#   enable next line to log blocked urls
#       log        warez-block.log
}

dest good {
    domainlist custom/good/domains
}

dest bad {
    domainlist custom/bad/domains
#   enable next line to log blocked urls
#    log bad.log
}


dest timo
{
 domainlist timo/domains
# urllist timo/urls
# expressionlist timo/expressions
log timo.log
}



acl {

    default {
        pass good !bad !ads !aggressive !drugs !gambling !hacking !porn !proxy !violence !warez !timo !in-addr all
#       redirect http://localhost/index.html
        redirect http://localhost/cgi-bin/squidGuard-simple.cgi/?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
#       redirect 302:http://localhost/cgi-bin/squidGuard-simple.cgi/?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t
#       redirect 302:http://localhost/cgi-bin/squidGuard.cgi/?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u

   }
}

Die Blacklists liegen in /var/lib/squidguard/db/*
Hier mal ein Beispiel für die Blacklist timo. Rechte stimmen soweit alle.

Code:
monitor:/var/lib/squidGuard/db # ls -lrh timo
insgesamt 100K
-rw-r--r-- 1 squid nogroup   0 15. Okt 10:03 urls
-rw-r--r-- 1 squid nogroup   0 15. Okt 10:03 expressions
-rw-r--r-- 1 squid nogroup 72K 15. Okt 12:18 domains.db
-rw-r--r-- 1 squid nogroup 27K 15. Okt 12:15 domains
Inhalt in der domain:
Code:
103bees.com
1100i.com
123banners.com
123found.com
123pagerank.com
180hits.de
180searchassistant.com
180solutions.com
1x1rank.com
207.net
247media.com
24log.com
24pm-affiliation.com
2log.com
2mdn.net
2o7.net
4affiliate.net
4d5.net
50websads.com
.......
 
Oben