<div dir="ltr">I'm still not having any luck.  I'd like to just leave it open and I understand that it could be abused.  My "CURL" results are;<div><br></div><div><p class="MsoNormal">curl -v --proxy <a href="http://squid_server:3128/" target="_blank">http://SQUID_SERVER:3128</a> -I <a href="http://www.example.com/" target="_blank">http://www.example.com</a><u></u><u></u></p><p class="MsoNormal">* About to connect() to proxy SQUID_SERVER port 3128 (#0)<u></u><u></u></p><p class="MsoNormal">*   Trying xxx.xxx.xxx.xxx...<u></u><u></u></p><p class="MsoNormal">* Connected to SQUID_SERVER (xxx.xxx.xxx.xxx) port 3128 (#0)<u></u><u></u></p><p class="MsoNormal">> HEAD <a href="http://www.example.com/" target="_blank">http://www.example.com/</a> HTTP/1.1<u></u><u></u></p><p class="MsoNormal">> User-Agent: curl/7.29.0<u></u><u></u></p><p class="MsoNormal">> Host: <a href="http://www.example.com/" target="_blank">www.example.com</a><u></u><u></u></p><p class="MsoNormal">> Accept: */*<u></u><u></u></p><p class="MsoNormal">> Proxy-Connection: Keep-Alive<u></u><u></u></p><p class="MsoNormal">><u></u> <u></u></p><p class="MsoNormal">* Empty reply from server<u></u><u></u></p><p class="MsoNormal">* Connection #0 to host SQUID_SERVER left intact<u></u><u></u></p><p class="MsoNormal">curl: (52) Empty reply from server</p><div><br></div><div><br></div><div>This is my configuration;<br></div><div><div><br></div><div>dns_v4_first on<br></div><div><p class="MsoNormal"><u></u></p><p class="MsoNormal">never_direct allow all<br></p><p class="MsoNormal"><u></u></p><p class="MsoNormal">sslproxy_cert_error allow all<u></u><u></u></p><p class="MsoNormal"> <u></u></p><p class="MsoNormal">http_port 3128 intercept<u></u><u></u></p><p class="MsoNormal">acl all src all<u></u><u></u></p><p class="MsoNormal">http_access allow all</p><p class="MsoNormal"><u></u></p><p class="MsoNormal"> <u></u></p><p class="MsoNormal">acl Safe_ports port 443<u></u><u></u></p><p class="MsoNormal"><span lang="FR">acl Safe_ports port 80          # http<u></u><u></u></span></p><p class="MsoNormal"><span lang="FR">http_access deny !Safe_ports<u></u><u></u></span></p><p class="MsoNormal"><span lang="FR"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="FR">acl http proto http<u></u><u></u></span></p><p class="MsoNormal"><span lang="FR">acl port_80 port 80<u></u><u></u></span></p><p class="MsoNormal">acl port_443 port 443<u></u><u></u></p><p class="MsoNormal">acl CONNECT method CONNECT<u></u><u></u></p><p class="MsoNormal"><u></u><br></p><p class="MsoNormal">debug_options ALL,1 33,2 28,9</p></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 17, 2022 at 2:01 PM Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/15/22 21:49, Marcelo wrote:<br>
<br>
> How can I transfer connection information from one squid server to another?<br>
<br>
Use cache_peer login=PASSTHRU or login=PASS. Other login=... options may <br>
also be of interest. See cache_peer documentation in your <br>
squid.conf.documented for details and caveats.<br>
<br>
<br>
HTH,<br>
<br>
Alex.<br>
<br>
<br>
> Example:<br>
> <br>
> An user connects to Squid One (Squid One IP 192.1.1.1) through port 4000 <br>
> using usr/pw credentials.<br>
> <br>
> Squid One authenticates it via SQL DB. This part is already working fine.<br>
> <br>
> Squid One verifies if destination website is in dst domain list.<br>
> <br>
> If yes Squid One routes it to Route A. End of story.<br>
> <br>
> If no Squid One routes it to Squid Two.<br>
> <br>
> But Squid One must inform Squid Two who is the user and witch port he <br>
> asked to connect.<br>
> <br>
> Why? Because Squid Two must use this info as if the user itself is <br>
> connecting to Squid Two.<br>
> Why, again? Because Squid Two will use this info to route this user to <br>
> the correct route. This part is also done.<br>
> <br>
> My doubt is, is there a way to make Squid Two “thinks” that user is <br>
> connecting direct to Squid Two, so that, Squid Two can use user/port <br>
> information to route this poor little guy.<br>
> <br>
> It’s a bit hard to explain it through email.<br>
> <br>
> Best Regards.<br>
> <br>
> Marcelo.<br>
> <br>
> <br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
> <a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>