SquidGuard Blocklists Issue (Solved)

chrisl at xp.etowns.net chrisl at xp.etowns.net
Fri Sep 1 20:10:49 UTC 2006


I ended up figuring this one out on my own..

I noticed that the squidGuard.conf file blacklists pointers weren't 
actually pointing to the location of the databases. Here is that part of 
the config for those interested.

destination bl_porn {
        domainlist      blacklists/porn/domains
        urllist         blacklists/porn/urls
        expressionlist  blacklists/porn/expressions
}

destination bl_warez {
        domainlist      blacklists/warez/domains
        urllist         blacklists/warez/urls
}

destination bl_violence {
        domainlist      blacklists/violence/domains
        urllist         blacklists/violence/urls
        expressionlist  blacklists/violence/expressions
}

destination bl_proxy {
        domainlist      blacklists/proxy/domains
        urllist         blacklists/proxy/urls
}

destination bl_hacking {
        domainlist      blacklists/hacking/domains
        urllist         blacklists/hacking/urls
}

destination bl_gambling {
        domainlist      blacklists/gambling/domains
        urllist         blacklists/gambling/urls
}

destination bl_drugs {
        domainlist      blacklists/drugs/domains
        urllist         blacklists/drugs/urls
}

destination bl_audio-video {
        domainlist      blacklists/audio-video/domains
        urllist         blacklists/audio-video/urls
}

destination bl_aggressive {
        domainlist      blacklists/aggressive/domains
        urllist         blacklists/aggressive/urls
}

destination bl_ads {
        domainlist      blacklists/ads/domains
        urllist         blacklists/ads/urls
}




chrisl at xp.etowns.net wrote:
> I've run into an issue with SquidGuard not reading the blocklists.
>
> I see the following error in my squidGuard.log
>
> 2006-09-01 11:35:52 [18372] squidGuard ready for requests (1157128552.377)
> 2006-09-01 11:35:52 [18369] destblock bl_porn missing active content, 
> set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_warez missing active content, 
> set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_violence missing active 
> content, set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_proxy missing active content, 
> set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_hacking missing active content, 
> set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_gambling missing active 
> content, set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_drugs missing active content, 
> set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_audio-video missing active 
> content, set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_aggressive missing active 
> content, set inactive
> 2006-09-01 11:35:52 [18369] destblock bl_ads missing active content, set 
> inactive
> 2006-09-01 11:35:52 [18369] init domainlist 
> /var/lib/squidguard/db/adult.destdomainlist
> 2006-09-01 11:35:52 [18369] loading dbfile 
> /var/lib/squidguard/db/adult.destdomainlist.db
> 2006-09-01 11:35:52 [18369] destblock good missing active content, set 
> inactive
> 2006-09-01 11:35:52 [18369] destblock local missing active content, set 
> inactive
> 2006-09-01 11:35:52 [18369] squidGuard 1.2.0 started (1157128552.449)
> 2006-09-01 11:35:52 [18369] recalculating alarm in 17648 seconds
> 2006-09-01 11:35:52 [18369] squidGuard ready for requests (1157128552.473)
>
> Here are the permissions of the /var/lib/squidguard/db directories
>
> root at localhost:/var/lib/squidguard# ll
> total 8
> drwxrws--- 3 proxy proxy 4096 2006-09-01 10:43 db
> drwxr-xr-x 2 root  root  4096 2005-11-24 22:56 squidGuardRobot
>
> root at localhost:/var/lib/squidguard/db# ll
> total 24
> -rw-r--r--  1 proxy proxy  2768 2006-07-26 06:13 adult.destdomainlist
> -rw-r--r--  1 proxy proxy 16384 2006-07-26 06:13 adult.destdomainlist.db
> drwxr-sr-x 13 proxy proxy  4096 2006-09-01 10:43 blacklists
>
> root at localhost:/var/lib/squidguard/db/blacklists# ll
> total 48
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 ads
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 aggressive
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 audio-video
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 drugs
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 gambling
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 hacking
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 mail
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 porn
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 proxy
> -rw-rw-r-- 1 proxy proxy  508 2000-03-25 13:36 README
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 violence
> drwxr-sr-x 2 proxy proxy 4096 2006-09-01 10:43 warez
>
>
>   





More information about the ubuntu-users mailing list