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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 16 Oct 2007 00:58:23 +0200

On ons, 2007-10-10 at 18:25 +0800, Ming-Ching Tiew wrote:
> How to create an acl source IP which matches nothing ?
>
> acl link1 src xx

0.0.0.0/32 is quite effective "nothing"..

> 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.

An empty file works as well, but Squid will warn you that the acl is
empty..

Regards
Henrik

Received on Mon Oct 15 2007 - 16:58:28 MDT

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