PfSense Squid Package Status Page unofficial fix

Jonathan Lee <[email protected]> Mon, 9 Mar 2026 22:26:41 -0700
Newsgroups gmane.comp.web.squid.general
Message-ID <[email protected]>
--===============8268851157398229383==
Content-Type: multipart/alternative; boundary=Apple-Mail-CB08EC48-E302-4171-B790-A8CA73636781
Content-Transfer-Encoding: 7bit


--Apple-Mail-CB08EC48-E302-4171-B790-A8CA73636781
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html class=3D"apple-mail-supports-explicit-dark-mode"><head><meta http-equi=
v=3D"content-type" content=3D"text/html; charset=3Dutf-8"></head><body dir=3D=
"auto"><p style=3D"box-sizing: border-box; caret-color: rgb(51, 51, 51); col=
or: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 14px; -web=
kit-text-size-adjust: 100%;">I wanted to share my findings I had some help a=
 while back with working on this.&nbsp;</p><p style=3D"box-sizing: border-bo=
x; caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-family: Verdan=
a, sans-serif; font-size: 14px; -webkit-text-size-adjust: 100%;"><br></p><p s=
tyle=3D"box-sizing: border-box; caret-color: rgb(51, 51, 51); color: rgb(51,=
 51, 51); font-family: Verdana, sans-serif; font-size: 14px; -webkit-text-si=
ze-adjust: 100%;">Resolution:<br style=3D"box-sizing: border-box;">Bug&nbsp;=
<a class=3D"issue tracker-1 status-1 priority-4 priority-default created-by-=
me" title=3D"Bug: cache_object://URL Scheme is removed in Squid-6 (New)" hre=
f=3D"https://redmine.pfsense.org/issues/15410" style=3D"box-sizing: border-b=
ox; color: rgb(17, 102, 153); text-decoration: none; overflow-wrap: break-wo=
rd;">#15410</a>&nbsp;- cache_object:// scheme removed in Squid 6.&nbsp;<br s=
tyle=3D"box-sizing: border-box;">squidclient sends Proxy-Authorization heade=
r which Squid 6 rejects&nbsp;<br style=3D"box-sizing: border-box;">for squid=
-internal-mgr endpoint.</p><p style=3D"box-sizing: border-box; caret-color: r=
gb(51, 51, 51); color: rgb(51, 51, 51); font-family: Verdana, sans-serif; fo=
nt-size: 14px; -webkit-text-size-adjust: 100%;">Fix: Modified /usr/local/www=
/status_squid.php to use curl instead&nbsp;<br style=3D"box-sizing: border-b=
ox;">of squidclient, sending Authorization header directly:</p><p style=3D"b=
ox-sizing: border-box; caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51);=
 font-family: Verdana, sans-serif; font-size: 14px; -webkit-text-size-adjust=
: 100%;">exec("/usr/local/bin/curl -s --max-time 10 -u 'admin:PASSWORD'&nbsp=
;<br style=3D"box-sizing: border-box;"><a class=3D"external" href=3D"http://=
&amp;lt;interface_ip&amp;gt;:3128/squid-internal-mgr/info" style=3D"box-sizi=
ng: border-box; color: rgb(17, 102, 153); text-decoration: none; overflow-wr=
ap: break-word; background-position: 0% 60%; background-repeat: no-repeat; p=
adding-left: 12px; background-image: url(&quot;../images/external.png&quot;)=
;">http://&amp;lt;interface_ip&amp;gt;:3128/squid-internal-mgr/info</a>", $r=
esult);</p><p style=3D"box-sizing: border-box; caret-color: rgb(51, 51, 51);=
 color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 14px; -=
webkit-text-size-adjust: 100%;">Note: cachemgr_passwd is configured in squid=
.conf but under normal&nbsp;<br style=3D"box-sizing: border-box;">circumstan=
ces manager access is controlled by manager_hosts ACL&nbsp;<br style=3D"box-=
sizing: border-box;">(src 127.0.0.1 ::1 192.168.1.1). Password is only requi=
red because&nbsp;<br style=3D"box-sizing: border-box;">curl/squidclient must=
 authenticate =E2=80=94 direct browser access from&nbsp;<br style=3D"box-siz=
ing: border-box;">allowed IPs would prompt via WWW-Authenticate challenge.</=
p><p style=3D"box-sizing: border-box; caret-color: rgb(51, 51, 51); color: r=
gb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 14px; -webkit-t=
ext-size-adjust: 100%;">Upstream bug: pfSense bugtracker&nbsp;<a class=3D"is=
sue tracker-1 status-1 priority-4 priority-default created-by-me" title=3D"B=
ug: cache_object://URL Scheme is removed in Squid-6 (New)" href=3D"https://r=
edmine.pfsense.org/issues/15410" style=3D"box-sizing: border-box; color: rgb=
(17, 102, 153); text-decoration: none; overflow-wrap: break-word;">#15410</a=
></p><div dir=3D"ltr">Sent from my iPhone</div></body></html>=

--Apple-Mail-CB08EC48-E302-4171-B790-A8CA73636781--

--===============8268851157398229383==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
squid-users mailing list
[email protected]
https://lists.squid-cache.org/listinfo/squid-users

--===============8268851157398229383==--