Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275375

Re: Squid on Debian 12 not staring via systemd

From Timothy M Butterworth <timothy.m.butterworth@gmail.com>
Newsgroups linux.debian.user
Subject Re: Squid on Debian 12 not staring via systemd
Date 2024-12-07 12:40 +0100
Message-ID <JR1kd-epAe-5@gated-at.bofh.it> (permalink)
References (2 earlier) <JQJnj-eezG-5@gated-at.bofh.it> <JQK9H-ef5F-15@gated-at.bofh.it> <JQOdj-ehty-5@gated-at.bofh.it> <JQP9n-ei1U-7@gated-at.bofh.it> <JQPM5-eixw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Dec 6, 2024 at 10:57 PM Andrew M.A. Cater <amacater@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.butterworth@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/
⠈⠳⣄⠀⠀

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 11:10 +0100
  Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 11:30 +0100
    Re: Squid on Debian 12 not staring via systemd Jeffrey Walton <noloader@gmail.com> - 2024-12-06 17:30 +0100
      Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 18:20 +0100
        Re: Squid on Debian 12 not staring via systemd Jeffrey Walton <noloader@gmail.com> - 2024-12-06 19:20 +0100
          Re: Squid on Debian 12 not staring via systemd Charles Curley <charlescurley@charlescurley.com> - 2024-12-06 20:10 +0100
      Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 22:40 +0100
        Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 23:40 +0100
          Re: Squid on Debian 12 not staring via systemd "Andrew M.A. Cater" <amacater@einval.com> - 2024-12-07 00:20 +0100
            Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-07 12:40 +0100
          Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-07 04:00 +0100
            Re: Squid on Debian 12 not staring via systemd Andy Smith <andy@strugglers.net> - 2024-12-07 04:20 +0100
            Re: Squid on Debian 12 not staring via systemd Greg Wooledge <greg@wooledge.org> - 2024-12-07 04:40 +0100
            Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-07 05:00 +0100
  Re: Squid on Debian 12 not staring via systemd Stefan Monnier <monnier@iro.umontreal.ca> - 2024-12-06 17:00 +0100

csiph-web