Hi,
Here's one more clue (thank's wireshark):
-> When I try to surf on the Net with client's firefox configued (manual proxy configuration) with the ip and port of the parent proxy, it's ok :
58 5.940721294 172.16.103.101 172.16.103.254 HTTP 255 CONNECT www.google.com:443 HTTP/1.1
62 6.046854511 172.16.103.254 172.16.103.101 HTTP 75 HTTP/1.1 200 Connection established
-> When I configure firefox to use system proxy settings , it doesn't work:
35 4.798844976 172.16.103.101 172.16.103.254 HTTP 265 GET http://172.16.103.254:3128/squid-internal-dynamic/netdb HTTP/1.1
47 4.800699191 172.16.103.254 172.16.103.101 HTTP 890 HTTP/1.1 403 Forbidden (text/html)
I think I'm going to disable netdb by adding no-netdb-exchange in my conf.
And by the way, what's the difference between CONNECT and GET ?
Yannick
--
Envoi sécurisé avec Tutanota. Obtenez votre propre adresse email chiffrée :
https://tutanota.com
26 juin 2020 à 07:11 de squid3@xxxxxxxxxxxxx:
On 24/06/20 7:27 am, yannick.rousseau@xxxxxxxxxxxx wrote:Hi,I'm using squid (4.6) on my server (debianedu buster LTSP), and I'mtrying to configure a parent proxy.At first, when I configure the client's firefox (manual proxyconfiguration) with the ip and port of the parent proxy, it's ok, I cansurf on the internet.But I would like to configure my server's Squid Proxy to forward to aparent proxy (172.16.103.254:3128)-> So I add these two lines at the end of squid.conf:cache_peer 172.16.103.254 parent 3128 0 no-query no-digestnever_direct allow all-> And restart squid. It seems to be ok:# cat /var/log/squid/cache.log(.....)2020/06/23 09:51:12 kid1| Configuring Parent 172.16.103.254/3128/0(....)-> Then I configure firefox to use system proxy settings, but when I tryto google something or visit debian-fr.org, it doesn't work (no reponsefrom the proxy).That is odd. The log shows a 403 response being delivered by the parentproxy and delivered to Firefox.Browsers refuse to display proxy responses on CONNECT requests. So thefirst is expected. But the second one using http:// should be shown.But my squid's configuration seems to be ok:# cat /var/log/squid/access.log(....)1592921221.753 138 10.0.2.2 TCP_TUNNEL/403 361CONNECT www.google.com:443 <http://www.google.com:443/> -FIRSTUP_PARENT/172.16.103.254 -1592921275.641 521 10.0.2.2 TCP_MISS/403 4289GET http://www.debian-fr.org/ - FIRSTUP_PARENT/172.16.103.254 text/html1592921275.692 0 10.0.2.2 TCP_HIT/200 13072 GET(...)Is it possible that the squid parent refuse to have "a child" ?Maybe. You will need to know the parent proxy configuration to tellthat. All that is visible from the detail you have shown is that parentproxy has forbidden the requests it is receiving.Amos_______________________________________________squid-users mailing listsquid-users@xxxxxxxxxxxxxxxxxxxxxhttp://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users