Re: [squid-users] Create an acl src IP with matches nothing

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 10 Oct 2007 22:36:12 +0200

On 10.10.07 18:25, Ming-Ching Tiew wrote:
> How to create an acl source IP which matches nothing ?
>
> acl link1 src xx
>
> What is the xx which I need to put so that it will not match
> anything ?
>
> I tried doing xx = ! 0/0. But squid complaints that it's not valid.
>
> Reason I want to this is that I am keeping the acl parameters
> in external file, I want it to matching nothing for default,
> and when needed, I change through the external file for it
> to match specific IPs or subnet.

hmmm did you try using an empty file?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901
Received on Wed Oct 10 2007 - 14:36:17 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT