Welcome aboard!

What does it say in your squidGuard.log file?  squidGuard does a pretty
good job of complaining about any problems that it has. You'll probably
find your answer there.

> redirect 302:http://www.mrated.com/NerdInside.gif

Is "NerdInside.gif" a transparent 1x1 gif file? That's what works best
for blocking (potentially) multiple ads within a single page. (I've
attached a 1x1.gif file.)

For what it's worth, I prefer the redirect without the "302" for
blocking full pages (sites/urls). A redirect without the 302 will show
the redirect screen with the original address in the address bar, with
the 302 it will show the address of the redirect. It makes more sense to
me for the user to see:

Address: http://www.playboy.com
screen: Access to this site is blocked
than
Address: http://address.of.your.block.page
screen: Access to this site is blocked.

> # Created with the SquidGuard Configuration Webmin Module

I pointed out a few issues with this module in a post to this group
dated 12/15/2001, subject: squidGuard Module for Webmin. (I'll forward a
copy to you via email.)

Let us know what you find in the log file.

Rick Matthews

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Justin Adler
Sent: Thursday, January 10, 2002 11:27 PM
To: '[EMAIL PROTECTED]'
Subject: [NEWBIE] SquidGuard not blocking.


G'Day all.

  Like the subject says, Ad sites are not being blocked.

  I'm a linux newbie so please try and hold back on the flames.

  I've also had a read of the FAQ, but not the archives (only glanced
them).


  I would like some possible suggestoins, what i should check to see if
squidGuard is blocking / why it's not blocking.
  I'm really stuck for ideas :(  Can someone please suggest some things
i
should check?

  Any EXACT syntax i could pass to the squidGuard command line to test
blocking ??? The 'install' page on the S.G. website mentioned something
about this, but i couldn't understand the syntax.

  Thank you in advance to any help regarding this serious matter.

Sincerly: Pure Krome

--------------------

Here is some information about my setup.

machine : Mandrake 8.1 OS

root      6302  0.0  0.6  4076 1164 ?        S    15:50   0:00 squid -D
squid     6304  0.2  3.0  7760 5752 ?        S    15:50   0:02
(squid) -D
squid     6306  0.0  0.4  1856  768 ?        S    15:50   0:00
(squidGuard)
-c /etc/squid/squidGuard.conf
squid     6307  0.0  0.4  1856  768 ?        S    15:50   0:00
(squidGuard)
-c /etc/squid/squidGuard.conf
squid     6308  0.0  0.4  1856  768 ?        S    15:50   0:00
(squidGuard)
-c /etc/squid/squidGuard.conf
squid     6309  0.0  0.4  1856  768 ?        S    15:50   0:00
(squidGuard)
-c /etc/squid/squidGuard.conf
squid     6310  0.0  0.3  1852  760 ?        S    15:50   0:00
(squidGuard)
-c /etc/squid/squidGuard.conf
squid     6311  0.0  0.1  1388  332 ?        S    15:50   0:00 (unlinkd)
root      6381  0.2  0.8  3408 1632 ?        S    16:04   0:00
/usr/sbin/sshd
root      6382  0.4  0.8  2740 1560 pts/0    S    16:04   0:00 -bash
root      6414  0.0  0.3  2652  728 pts/0    R    16:05   0:00 ps aux


Webmin Admin:-
Helper -> Custom redirect program : /usr/bin/squidGuard -c
/etc/squid/squidGuard.conf
Admin Options -> Run as Unix user : squid
Admin Options -> Run as Unix group: squid


SquidGuard Config file (/etc/squid/squidGuard.conf)
[root@leia root]# more /etc/squid/squidGuard.conf
#
# Configuration File for SquidGuard
#
# Created with the SquidGuard Configuration Webmin Module
# Copyright (C) 2001 by Tim Niemueller <[EMAIL PROTECTED]>
# http://www.niemueller.de/webmin/modules/squidguard/
#
# File created on 5/Jan/2002 15:45
#

dbhome /etc/squidGuard/db
logdir /var/log/squidGuard


destination bl_ads {
        domainlist      blacklists/ads/domains
        urllist         blacklists/ads/urls
}

acl {
        default {
                pass !bl_ads none
                redirect 302:http://www.mrated.com/NerdInside.gif
        }
}
[root@leia root]#

Attachment: 1x1.gif
Description: GIF image

Reply via email to