[squid-users] Re: squid with squidguard issue

From: Muhammad Yousuf Khan <sirtcp_at_gmail.com>
Date: Mon, 5 Mar 2012 18:47:45 +0500

url_rewrite_program /usr/sbin/squidGuard
url_rewrite_children 5

this also doesn't work

On Mon, Mar 5, 2012 at 6:40 PM, Muhammad Yousuf Khan <sirtcp_at_gmail.com> wrote:
> can some one plz help. i followed
> http://wiki.debian.org/DebianEdu/HowTo/SquidGuard and using lenny
> squid 2.7 and squidguard 1.2.0
>
> i write the below line at the end of squid.conf
> redirect_program /usr/bin/squidGuard
>
> i denied "ads" in squidGuard.conf and "addme.com" is a domain which i
> am sure is in the list of blocklist database.
> now when i go to "addme.com" it just open the website (which i dont want though)
>
> here is squidGuard.conf rule.
>
> dest adult {
>        domainlist      ads/domains
> #       urllist         /var/lib/squidguard/db/blacklists/porn/urls
> #       expressionlist  adult/expressions
>        redirect        http://google.com
>
> }
>
> here is squidguard log. /var/log/squid/squidGuard.log
>
> 2012-03-05 08:06:53 [4180] squidGuard 1.2.0 started (1330952813.099)
> 2012-03-05 08:06:53 [4180] recalculating alarm in 30187 seconds
> 2012-03-05 08:06:53 [4180] squidGuard ready for requests (1330952813.101)
> 2012-03-05 08:06:53 [4182] destblock good missing active content, set inactive
> 2012-03-05 08:06:53 [4182] destblock local missing active content, set inactive
> 2012-03-05 08:06:53 [4182] init domainlist /var/lib/squidguard/db/ads/domains
> 2012-03-05 08:06:53 [4182] loading dbfile /var/lib/squidguard/db/ads/domains.db
> 2012-03-05 08:06:53 [4182] squidGuard 1.2.0 started (1330952813.107)
> 2012-03-05 08:06:53 [4182] recalculating alarm in 30187 seconds
> 2012-03-05 08:06:53 [4182] squidGuard ready for requests (1330952813.108)
>
> here is access.log.the thing which is making me confuse that redirect
> tag is not present which suppose to be there. however i can not find
> any redirect tag in default 2.7 squid.conf file. can u please tell me
> what is going on and how can i redirect or can solve the issue
>
> 1330953994.304    640 10.51.100.240 TCP_CLIENT_REFRESH_MISS/200 1910
> GET http://www.addme.com/favicon.ico - DIRECT/69.43.161.4 image/x-icon
>
>
> Thanks,
Received on Mon Mar 05 2012 - 13:47:51 MST

This archive was generated by hypermail 2.2.0 : Tue Mar 06 2012 - 12:00:02 MST