]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add 0.0.0.0 as an to_localhost address
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 15 Aug 2009 12:56:39 +0000 (14:56 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Sat, 15 Aug 2009 12:56:39 +0000 (14:56 +0200)
Many TCP/IP(v4) stacks aliases 0.0.0.0 as 127.0.0.1.

src/cf.data.pre

index 6a9e3962f86b16f304452c527680f1c9bfeedabe..f8dce0bd27d38a411b559974350379affead68e4 100644 (file)
@@ -696,7 +696,7 @@ NOCOMMENT_START
 #Recommended minimum configuration:
 acl manager proto cache_object
 acl localhost src 127.0.0.1/32
-acl to_localhost dst 127.0.0.0/8
+acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
 #
 # Example rule allowing access from your local networks.
 # Adapt to list your (internal) IP networks from where browsing