LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid Working but Not Accepting Blacklist (https://www.linuxquestions.org/questions/linux-newbie-8/squid-working-but-not-accepting-blacklist-913765/)

mascom. 11-15-2011 11:58 PM

Squid Working but Not Accepting Blacklist
 
configuration in SquidGuard.conf

logdir /var/log/squidGuard
dbhome /var/lib/squidGuard/db

src grownups {
ip 10.0.0.0/24 # range 10.0.0.0 - 10.0.0.255
# AND
user foo bar # ident foo or bar
}

src kids {
ip 10.0.0.0/22 # range 10.0.0.0 - 10.0.3.255
}dest blacklist {
domainlist blacklist/domains
urllist blacklist/urls
}

dest ads {
domainlist ads/domains
urllist ads/urls
}

dest adult {
domainlist adult/domains
urllist adult/urls
}

dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
}


acl {
default {
pass !blacklist !ads !adult !audio-video !chat !child
onlinegames !porn !sexuality !virusinfected all
redirect 302:http://example.com/
}



it was working fine before two days...
the site which i blocked now can open easily.. by any one.
i am not getting the issue please help me out.

agentbuzz 11-17-2011 08:43 AM

squidguard
 
mascom,
Did you compile the blacklists and check the ownership of the files? From the squidguard site:
Code:

squidGuard -C all
chown -R <squiduser> /usr/local/squidGuard/db/*

You may have to do the recursive chown every time you drop in new blacklists and compile.
I have also had to stop both squid and squidguard and start them again to get it working.
You shouldn't have to; squidguard should just "see" the blacklists once they are compiled.
But I have had to do that.


All times are GMT -5. The time now is 04:01 PM.