Koozali.org: home of the SME Server

SquidGuard Unblocking sites

Ashley

SquidGuard Unblocking sites
« on: September 27, 2001, 06:07:46 PM »
I have installed squidGuard and works great but its blocking a few sites that I want access to.

Can someone please point in in the right direction on how to unblock these sites. I have had a look at the squidGuard web site. Thank You

Ashley

Pierluigi Miranda

Re: SquidGuard Unblocking sites
« Reply #1 on: September 28, 2001, 02:51:12 PM »
Ashley wrote:
 
> I have installed squidGuard and works great but its blocking
> a few sites that I want access to.
>
> Can someone please point in in the right direction on how to
> unblock these sites. I have had a look at the squidGuard web
> site. Thank You

SquidGuard blocks requests matching them against three different criteria: domain name (to block access to full domains), url (to block access to a part of a domain only) or expression (to block access to url containing some keywords searched in a regexp way).

During startup, squidGuard loads the trusted database first, then all the remaining others; the trusted database overrides the other databases contents, then if you want to grant access to a site that is otherwise blacklisted you have to add it to the trusted database.

First of all, I'd suggest you to identify the exact reason why squidGuard blocks the site, and the minimum requirement you need to fulfil your users needs. This requirement defines your corrective action.

As an example,  on my system squidGuard blocked some pages in an otherwise fully regular site because some of the urls, let's say in the form "www.some.site/abc/...", were catched by the expression list of the porn database: "www.some.site/abc/titolo4/" contains the keyword "tit", so it was considered an xxx page. :)

The minimum requirement in this case was to grant access to the "www.some.site/abc" url tree: you can do it as root with the single command:
# echo 'www.some.site/abc' >> /usr/local/squidGuard/db/trusted/urls

But if you think that a more general access to the blocked site can be granted, you can do it defining the site or the full domain as trusted; as root issue the commands:
# echo 'www.some.site' >> /usr/local/squidGuard/db/trusted/domains
or
# echo 'some.site' >> /usr/local/squidGuard/db/trusted/domains
respectively.

Note that the trusted/urls database contains URLs, while the trusted/domains database contains domain names only.

You can even override blacklisted sites on an URL keyword basis inserting a regular expression in the trusted/espressions database, if you see fit, but it's not simple and requires a thorough testing to be sure it works as expeted.

HTH...

--

Pierluigi Miranda

FredS

Re: SquidGuard Unblocking sites
« Reply #2 on: September 30, 2001, 11:09:35 PM »
Have a look here. http://www.greencomputer.com

Squidgauard install
http://www.greencomputer.com/squidguard-21.tar


This chap has built an addon for E-smith / SME 5 that gives you full controll over squidguard.

I have been running it for quite some time and it works well

Patrick

Re: SquidGuard Unblocking sites
« Reply #3 on: December 07, 2001, 07:00:49 PM »
FredS,

I'm interested in an "easy" admin tool for SG which will allow for blocking of only certain client IP's or users/groups (since I'd like to be able to access some of the sites which I'd like my employees blocked from), or will I have to go into the SG .conf file and set that up?

If so, could you provide some instruction in that area?

Thanks,
Patrick