Re: [squid-users] Access Control File

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 24 Jun 2003 10:53:05 +0200

On Tuesday 24 June 2003 07.21, Li Wei wrote:
> hi, all
>
> I'm trying to define a specific file as acl source other than a
> sting
>
> For example:
> acl AUTH_IPs src "/usr/local/squid/ip"
>
> while the format of "/usr/local/squid/ip" file like following
> 172.16.8.2/255.255.255.128

This is not a valid address specification. The above specifies a
network, but the host component of the network is not zero... Squid
will complain on this. does not matter if specified inline or in a
separate file.

I think you want to specify a single IP address, not a whole network.
In such case use the following syntax:

172.16.8.2

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Tue Jun 24 2003 - 02:53:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:36 MST