At last a revelation, I upgraded to BerkeleyDB 3.2 and
it now successfully blocks IPs and URLs, however
domain names are not blocked. While looking throught
the blacklist domains I noticed that everything is an
ip. There are no domains. I think this is my
problem. It doesn't resolve the domain befre passing
it so domains like www.playboy.com get out but it's IP
equivalent doesn't. Does anyone else have this
problem, and does anyone know a workaround??
Happy New Year,
Ryan
--- Ryan Kather <[EMAIL PROTECTED]> wrote:
> I've upgraded from squidguard 1.1.4 to 1.2.0.
> I
> had ACL rules working in the earlier version but I
> can't seem to get them to do anything in the later
> version. I have squid running as nobody:nobody and
> I
> have squidguard logging to /var/log/squid and it's
> db
> in /var/db/squidguard/ I have all directories in the
> db and log folder owned as nobody:nobody with 755
> permissions and all files with 770 permission.
>
> My filter.conf file is as follows.
> filter.conf:
>
> logdir /var/log/squid
> dbhome /var/db/squidguard
>
> dest bl_porn {
> domainlist blacklists/porn/domains
> urllist blacklists/porn/urls
> }
>
> ACL {
> default {
> pass !bl_porn any
> redirect http://10.254.4.20:80
> }
> }
>
> My log file is as follows.
> squidGuard.log:
>
> 2001-12-27 08:43:18 [1674] init domainlist
> /var/db/squidguard/blacklists/porn/domains
> 2001-12-27 08:43:18 [1675] init domainlist
> /var/db/squidguard/blacklists/porn/domains
> 2001-12-27 08:43:18 [1676] init domainlist
> /var/db/squidguard/blacklists/porn/domains
> 2001-12-27 08:43:18 [1677] init domainlist
> /var/db/squidguard/blacklists/porn/domains
> 2001-12-27 08:43:18 [1678] init domainlist
> /var/db/squidguard/blacklists/porn/domains
> 2001-12-27 08:43:25 [1675] init urllist
> /var/db/squidguard/blacklists/porn/urls
> 2001-12-27 08:43:25 [1674] init urllist
> /var/db/squidguard/blacklists/porn/urls
> 2001-12-27 08:43:25 [1677] init urllist
> /var/db/squidguard/blacklists/porn/urls
> 2001-12-27 08:43:25 [1676] init urllist
> /var/db/squidguard/blacklists/porn/urls
> 2001-12-27 08:43:26 [1678] init urllist
> /var/db/squidguard/blacklists/porn/urls
> 2001-12-27 08:43:31 [1675] squidGuard 1.2.0 started
> (1009460598.251)
> 2001-12-27 08:43:31 [1674] squidGuard 1.2.0 started
> (1009460598.193)
> 2001-12-27 08:43:32 [1674] squidGuard ready for
> requests (1009460612.010)
> 2001-12-27 08:43:32 [1675] squidGuard ready for
> requests (1009460612.010)
> 2001-12-27 08:43:32 [1677] squidGuard 1.2.0 started
> (1009460598.291)
> 2001-12-27 08:43:32 [1677] squidGuard ready for
> requests (1009460612.071)
> 2001-12-27 08:43:32 [1676] squidGuard 1.2.0 started
> (1009460598.298)
> 2001-12-27 08:43:32 [1676] squidGuard ready for
> requests (1009460612.080)
> 2001-12-27 08:43:32 [1678] squidGuard 1.2.0 started
> (1009460598.498)
> 2001-12-27 08:43:32 [1678] squidGuard ready for
> requests (1009460612.132)
>
> ps -ax shows squid and squidguard running. I can
> get
> to sites and squid caches them but it never blocks
> me
> from www.playboy.com. I'm about out of ideas. I'm
> using BerkeleyDB 2.7.7. Any help is greatly
> appreciated thanks for your time.
>
> Krondor
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com