<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
margin-bottom:.0001pt;
background:#DFDBC3;
font-size:9.0pt;
font-family:Courier;
color:#4D2F2D;}
span.s1
{mso-style-name:s1;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Squid version 3.5.27-1.el6<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Linux: Amazon Linux AMI 2018.03.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I saw the warning messages below in squid.out, did some research and found out that the messagesseemed to be caused the two lines:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">acl localhost src 127.0.0.1/32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">acl to_localhost dst 127.0.0.0/8 0.0.0.0/32<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">From <a href="http://www.squid-cache.org/Versions/v3/3.5/cfgman/acl.html">
http://www.squid-cache.org/Versions/v3/3.5/cfgman/acl.html</a> I see that both these two acl’s are now predefined and are not shown in the recommended configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I suspect the person that installed squid for us found an older conf file from somewhere.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2018/06/06 20:49:29| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2018/06/06 20:49:29| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2018/06/06 20:49:29| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The FATAL error messages below is because I added a line with dstdomain in it when there were already an entry with dstdom_regex in it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I assume that is the “type” that is talked about.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2018/06/06 20:49:29| aclParseAclLine: ACL 'aws_s3' already exists with different type.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">FATAL: Bungled /etc/squid/squid.conf line 254: acl aws_s3 dstdomain -n .s3.amazonaws.com<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The issue is that I removed line 254 and I removed both of the lines above and yet I restart squid and continue to get these errors.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Does squid compile the rules and keep them somewhere, and I need to do something else than service squid restart to get rid of rules?<o:p></o:p></span></p>
</div>
<P>IMPORTANT NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited. Nothing in this email, including any attachment, is intended to be a legally binding signature.<br/></P></body>
</html>