Re: [squid-users] authentication

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 27 Jul 2006 21:51:42 +0200

tor 2006-07-27 klockan 13:48 -0500 skrev Paul:
> I have a doubt, what is the format of iplist file, can I a range of IP
> address? and how?

The format of included acl files is the same as in squid.conf, but with
a single entry per line. Meaning that any of the following forms can be
used:

 172.0.2.1 specific IP (*)
 172.0.2.1/32 specific IP
 172.0.2.1/255.255.255.255 specific IP
 172.0.2.0/24 Whole 172.0.2.X network
 172.0.2.0/255.255.255.0 Whole 172.0.2.X network
 172.0.2.1-172.0.2.42 IP range (*)
 192.168.1.0-192.168.5.0/24 Network range
 192.168.1.0-192.168.6.0/255.255.255.0 Network range

Note: The forms marked with * is a bit magic in older versions of Squid,
where if the address ends in .0 Squid then assumes it's a network..
Current versions always reads it as an explicit IP if there is no mask
specified.

Regards
Henrik

Received on Thu Jul 27 2006 - 13:51:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT