SquidGuard issues.

Hello,
I successfully installed squid, squidGuard and it works well ( it control Http and Https with sslbump).
There is just one problem:
When I want to block an IP adress from my localnet to access the web, It wont.
Here is my
Code:
#squidGuard.conf
# ----------------------------------------------
dbhome /var/filter/db
logdir /var/log/squidGuard
# ----------------------------------------------
dest drugs {
  domainlist  drugs/domains
  urllist  drugs/urls
}
dest spyware {
  domainlist  spyware/domains
  urllist  spyware/urls
}
# ----------------------------------------------
# My own list of domains 
dest blackdom {
  domainlist  uclists/blackdom
}
src blackips {
  iplist  uclists/blackips
}
# ----------------------------------------------
acl {
  blackips {
      pass none
    redirect [URL]http://google.com[/URL]           
  }  
  default {
    pass !drugs !blackdom all
    redirect [URL]http://google.com[/URL]
  }  
}
This config file do not work, it even do not compile while doing
squidGuard -C /var/filter/db/uclists/blackips
content of
/var/filter/db/uclists/blackips
Code:
192.168.1.5/32
When trying to compile the squidGuard enter the emergency mode, then the filter allow all.
The output message in the log is something like :
ACL not defined in configfile /usr/local/etc/squid/squidGuard.conf.
I tried every possible way, even copied examples from squidGuard FAQ.
I think It cannot block traffic issued from some localnet ip address.

Help needed.
Thanks.
 
Back
Top