On Fri, Dec 6, 2024 at 10:57 PM Andrew M.A. Cater <amaca...@einval.com>
wrote:

> On Fri, Dec 06, 2024 at 05:20:02PM -0500, Timothy M Butterworth wrote:
> > On Fri, Dec 6, 2024 at 4:19 PM Timothy M Butterworth <
> > timothy.m.butterwo...@gmail.com> wrote:
> >
> > >>
> > >
> > > According to squid upstream version 5.7 is no longer supported. Version
> > > 6.7 has a workaround fix for the problem. The latest release version is
> > > 6.12. I downloaded the source code for 6.12 and I am going to try it
> out.
> > >
>
> 6.12 is built in Testing/trixie - you may find that you can either install
> just squid from there or at least use the Debian files as a basis for
> repackaging.
>
> There doesn't seem to be a squid in debian-backports.
>
> All the very best, as ever,
>
> Andy
>

I built 6.12 from source, it now works. I reconfigured the systemd
squid.service file.

/lib/systemd/system/squid.service
[Unit]
Description=Squid Web Proxy Server
Documentation=man:squid(8)
After=network.target network-online.target nss-lookup.target

[Service]
Type=notify
PIDFile=/usr/local/squid/var/run/squid.pid
Group=proxy
RuntimeDirectory=squid
RuntimeDirectoryMode=0775
ExecStartPre=/usr/local/squid/sbin/squid --foreground -z
ExecStart=/usr/local/squid/sbin/squid --foreground -sYC
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
NotifyAccess=all

[Install]
WantedBy=multi-user.target

It now starts squid 6.12 on boot.

The only problem I have left is getting IPv4 and IPv6 both working.
According  to the documentation http_port 3128 should open both IPv4 and
IPv6 ports but only IPv6 currently binds. I reconfigured it to use: http_port
0.0.0.0:3128. So now I have a working IPv4 proxy. I think the problem here
is just PEBCAC. I'm missing something.

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply via email to