cs16/squid: correctly allow only the /24 subnet of the 192.168.101.0 network

the notation previously used would have allowed the whole /16, despite a
single address being specified.

This was also causing warnings:

2018/10/09 06:25:09| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.101.16/16'
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 53ab78ff
......@@ -974,7 +974,8 @@
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
#acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.101.16/16 # RFC1918 possible internal network
#acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src 192.168.101.0/24 # private network between the codethink nodes
#acl localnet src fc00::/7 # RFC 4193 local private network range
#acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment