RE: [squid-users] Squidguard

From: Jay Turner <jturner@dont-contact.us>
Date: Sat, 4 Sep 2004 07:26:32 +0800

>
> Hello,
>
> I am getting the following error and can not find out why:
>
> parse error in configfile squidGuard.conf line 4
>
> Here is the top of the file:
>
> logdir /home/squid/squidextra/squidgaurd/squidGuard/log
> dbhome /home/squid/squidextra/squidgaurd/squidGuard/db
>
> src managers {
> ip X.X.X.X
> ip X.X.X.X
> ip X.X.X.X
> ip X.X.X.X
> }
>

You can only have one IP declaration per source created..

As taken from SquidGuard.org:

" Specification can be any reasonable combination of:

IP addresses and/or ranges (multiple):
    ip xxx.xxx.xxx.xxx [...]
    or
    ip xxx.xxx.xxx.xxx/nn [...]
    or
    ip xxx.xxx.xxx.xxx/mmm.mmm.mmm.mmm [...]
    or
    ip xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy [...]
    where:

        xxx.xxx.xxx.xxx is an IP address (host or net, i.e. 10.11.12.13 or
10.11.12.0),
        /nn a net prefix (i.e. /23),
        mmm.mmm.mmm.mmm is a netmask (i.e. 255.255.254.0) and
        yyy.yyy.yyy.yyy is a host address (must be >= xxx.xxx.xxx.xxx)

IP address/range list (single):
    iplist filename
    where:

        filename is either a path relative to dbhome or an absolute path
(i.e. /full/path) to a database file.
        the iplist file format is simply addresses and/or networks separated
by a newline as above but without the ip keyword. Thus an iplist for all the
private addresses could look something like (Though the preferred use of
"iplist" over "ip" is for long lists of WS/PC addresses primarily to reduce
the size of the configuration file):

            10.0.0.0/8
            172.16.0.0/12
            192.168.0.0/16
"

HTH

Regards
Jay
Received on Fri Sep 03 2004 - 17:25:59 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT