<html xmlns:v="urn:schemas-microsoft-com:vml" 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>
<!-- Template generated by Exclaimer Signature Manager Exchange Edition on 11:29:46 Friday, 25 January 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="IT" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I need to definitively solve the ipv6 (un)reachbility issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I state I read this topic: <a href="http://squid-web-proxy-cache.1019090.n4.nabble.com/dns-v4-first-on-ignored-td4658427.html">
http://squid-web-proxy-cache.1019090.n4.nabble.com/dns-v4-first-on-ignored-td4658427.html</a> but not found a solution. Amos wrote “Squid tests for IPv6 ability automatically by opening a socket on a private IP address, if that works the socket options are
 noted and used.”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Anyway I disable IPv6 on my Red Hat 7.4 with the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">net.ipv6.conf.all.disable_ipv6 = 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">net.ipv6.conf.default.disable_ipv6 = 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">net.ipv6.conf.bond0.disable_ipv6 = 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">net.ipv6.conf.lo.disable_ipv6 = 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Used the “dns_v4_first on” and also “tcp_outgoing_address 172.31.1.x all” on squid conf to force the use of IPv4.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Anyway squid try to connect to the IPv6 address instead of IPv4 and I’m not able to reach it:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">C:\Users\atroiano>nslookup download.pdfforge.org<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Server:  espevmdxxxx.xxxx.prv<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Address:  172.x.x.x<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Risposta da un server non autorevole:<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Nome:    download.pdfforge.org<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Addresses:  2001:4860:4802:38::15<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          2001:4860:4802:34::15<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          2001:4860:4802:32::15<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          2001:4860:4802:36::15<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          216.239.32.21<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          216.239.38.21<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          216.239.36.21<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">          216.239.34.21<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@HUB-RM-PRX-03 ~]# tail -f /var/log/squid/rsa/access.log | grep pdfforge.org<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">%SQUID-4: 172.31.x.x 49444 [25/Jan/2019:11:02:58 +0100] "GET http://download.pdfforge.org/download/pdfcreator/PDFCreator-stable HTTP/1.1" download.pdfforge.org - - "/download/pdfcreator/PDFCreator-stable" 503 text/html
 4545 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0" TCP_MISS:HIER_DIRECT 2001:4860:4802:38::15 80 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Squid doesn’t try to connect to IPv4 addresses for this site and for many others.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What can I do?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My ISP is IPv4 only.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you, Regards.<o:p></o:p></span></p>
</div>
<br>
<font color="blue" size="1" face="Arial">Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario
 o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente
 messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge.<br>
Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.<br>
</font><font color="blue" size="1" face="Arial">
<hr align="left" color="blue">
The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.<br>
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you
 are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “<br>
This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender<br>
</font>
</body>
</html>