Re: [squid-users] which representation is correct

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 20 Apr 2001 21:12:22 +0200

Does not matter if you list them on the same line or two lines.
Internally the same thing.

However, your first network specification look a bit odd as it includes
non-zero bits in the host portion..

Also I would use the Internet standard method of speficying networks

   61.12.102.0/25
   203.12.103.128/26

Less risk for stupid typos in the netmask values that way..

--
Henrik Nordstrom
Squid Hacker
Stuart Clark wrote:
> 
> I need to know which is the best way to specify ip networks in the acl
> section.
> 
> Method 1
> 
> acl all src 61.12.102.1/255.255.255.128
> acl all src 203.12.103.128/255.255.255.192
> 
> Method 2
> 
> acl all src 61.12.102.1/255.255.255.128   203.12.103.128/255.255.255.192
> 
> Regards
> Stuart
Received on Fri Apr 20 2001 - 13:17:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:24 MST