<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div>Hi, <br></div><div><br></div><div>I'm using squid (4.6) on my server (debianedu buster LTSP), and I'm trying to configure a parent proxy.<br></div><div><br></div><div>At first, when I configure the client's firefox (manual proxy configuration) with the ip and port of the parent proxy, it's ok, I can surf on the internet. <br></div><div><br></div><div>But I would like to configure my server's Squid Proxy to forward to a parent proxy (172.16.103.254:3128)<br></div><div>-> So I add these two lines at the end of squid.conf:<br></div><div>cache_peer 172.16.103.254 parent 3128 0 no-query no-digest<br></div><div>never_direct allow all<br></div><div><br></div><div>-> And restart squid. It seems to be ok:<br></div><div><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span class="" style=""><span style="" class=""><span class="" style=""><span style="" class=""><span class="font" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="" style=""><span style="" class=""><span class="" style=""><span style="" class=""><span class="size" style="font-size:16px"># cat /var/log/squid/cache.log</span></span></span></span></span></span></span></span></span></span></span><br></div><div>(.....)<br></div><div><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span style="" class=""><span class="" style=""><span style="" class=""><span class="font" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span style="" class=""><span class="" style=""><span style="" class=""><span class="size" style="font-size:16px">2020/06/23 09:51:12 kid1| Configuring Parent 172.16.103.254/3128/0</span></span></span></span></span></span></span></span></span><br></div><div><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span style="" class=""><span class="" style=""><span style="" class=""><span class="font" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span style="" class=""><span class="" style=""><span style="" class=""><span class="size" style="font-size:16px">(....)</span></span></span></span></span></span></span></span></span><br></div><div><br></div><div>-> Then I configure firefox to use system proxy settings, b<span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span style="" class=""><span class="" style=""><span style="" class=""><span class="font" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span style="" class=""><span class="" style=""><span style="" class=""><span class="size" style="font-size:16px">ut when I try to google something or visit debian-fr.org, it doesn't work (no reponse from the proxy). But my squid's configuration seems to be ok:</span></span></span></span></span></span></span></span></span><br></div><div><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span class="" style=""><span style="" class=""><span class="font" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="" style=""><span style="" class=""><span class="size" style="font-size:16px"># cat /var/log/squid/access.log</span></span></span></span></span></span></span><br></div><div><span style="color: rgb(48, 48, 48); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><span class="" style=""><span style="" class=""><span class="font" style="font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol""><span class="" style=""><span style="" class=""><span class="size" style="font-size:16px">(....)</span></span></span></span></span></span></span><br></div><div>1592921221.753    138 10.0.2.2 TCP_TUNNEL/403 361 CONNECT<span> </span><a href="http://www.google.com:443/" rel="noopener noreferrer" target="_blank" style="outline: none; box-sizing: border-box; color: inherit; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); overflow-wrap: break-word; -webkit-user-drag: none;">www.google.com:443</a><span> </span>- FIRSTUP_PARENT/172.16.103.254 -<br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">1592921275.641    521 10.0.2.2 TCP_MISS/403 4289 GET<span> </span><a href="http://www.debian-fr.org/" rel="noopener noreferrer" target="_blank" style="outline: none; box-sizing: border-box; color: inherit; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); overflow-wrap: break-word; -webkit-user-drag: none;">http://www.debian-fr.org/</a><span> </span>- FIRSTUP_PARENT/172.16.103.254 text/html<br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">1592921275.692      0 10.0.2.2 TCP_HIT/200 13072 GET<br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">(...)<br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">Is it possible that the squid parent refuse to have "a child" ?<br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><br></div><div style="outline: none; box-sizing: border-box; user-select: text !important; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-drag: none; color: rgb(48, 48, 48); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;">Thanks a lot for your help.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-- <br></div><div>Envoi sécurisé avec Tutanota. Obtenez votre propre adresse email chiffrée : <br></div><div>https://tutanota.com<br></div>  </body>
</html>