> Is it possible to use a file to hold all the ip's I want in my
> source list?

>From <http://www.squidguard.org/config/>:

Source group declarations
Source group, or client groups if you prefer, are declared by: 
src|source name [within|outside time_space_name] { 
        specification
        specification
        ...
        } 

where:

Specification can be any reasonable combination of: 
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 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


Rick Matthews


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ross Bateman
> Sent: Tuesday, June 25, 2002 12:48 AM
> To: squidGuard
> Subject: src file
> 
> 
> Hi
> 
> Is it possible to use a file to hold all the ip's I want in my source list?
> 
> eg:
> 
> src full_access {
>               file_name  # containing ip's that can have access
>               }
> 
> src limited_access {
>               file_name2 # containing ip's that do not have access
>               }
> 
> Hope that makes sense.
> 
> TIA
> 
> Ross
> 
> 

Reply via email to