I'm trying to run DansGuardian and squidGuard at the same time but now every time I enable squidGuard it blocks everthing, unless I change the default acl to 'pass all' and then it passes everthing completely ignoring the 'time rules' 'source addresses' or 'destination classes'

 

I've been using squidGuard without dans guardian to block certain sites during office hours and it worked absolutely fine with the config below. Then recently I installed dansguardian because it can check for content of page. And squidGuard stopped working!

 

Any ideas?

 

**********************************
dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

# TIME RULES

time workhours {
     weekly mtwhf 08:30-12:30
     weekly mtwhf 13:30-18:30
}

# SOURCE ADDRESSES

src office {
    ip 192.168.12.1-192.168.12.254
}

# DESTINATION CLASSES

dest local {
   domainlist local/domains
}

acl  {
    office within workhours {
        pass !local any
    } else {
          pass any
           }

   default {
        pass none
redirect http://192.168.12.5/cgi-bin/squidguard.pl
   }
}




*******************************************************************

Should you receive this email in error, please notify the

sender immediately and do not disclose, copy or distribute it.

Citigate Lloyd Northover may not be held responsible for the

content of this email as it may reflect the personal view of the

sender and not that of the company. While Citigate Lloyd Northover

runs anti-virus software on all servers and all workstations,

it cannot be held responsible for any infected files that

you may receive. Citigate Lloyd Northover advises all recipients

to virus scan any file attachments.

*******************************************************************



Reply via email to