From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jctpV05bnz2xQW for ; Sun, 29 Nov 2026 17:06:10 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jctpQ32wcz2x9t for ; Sun, 29 Nov 2026 17:06:06 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bit raw public key) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "michael.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jctpQ0MsFz31Z; Sun, 29 Nov 2026 17:06:06 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795971966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FNtrc+oqYvSWcvCP+uAE8narX5MB3pPsFalsho3kHTE=; b=qY7U6r+Bsw+2Fj8MUXTLXK6fVdPcxbLyOneQzJZVP7vp0mz0qPDtnfOcbm7/6d4GwcdOyU BV1yd3T6fkOm5FDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795971966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FNtrc+oqYvSWcvCP+uAE8narX5MB3pPsFalsho3kHTE=; b=tEHmG3V4MPPs4La3q+KEdOBLUDezwqdiV17eqGR+PXqZr/XGbVwnmh2H1GKZw4T5mlDrrd YEBvahfh+XvM4eL/grgnmJBGdcWr6yJcdLMwmDw5z+DQjaEGSpcqCy1FUtOWC+xq9qNHFX gsx4IdNr/a697zI6a+E4aq1LjmtbTxthqK+C0ImiuS/Z+jwxSjigAofzXqNRwliHHyCVz5 4vU1J1EVG0ku7ST2la8qRnZ7mLUocIIqUYNSyUQ9SxN2eQ6rZEctyyyJefy721437kye4D bFvKYbAkSGVJXW0XT5taTwmWCZk/GoAdo+cmCW/cGDUWVnIjeSHxEFVdZIBDqQ== Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4jctpP6VvgzTq9G; Sun, 29 Nov 2026 17:06:05 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: Matthias Fischer Subject: Re: How to handle the new translation method on a live system? In-Reply-To: <05d222be-77fa-47aa-aa03-64d73260f7f0@ipfire.org> References: <4jWLMm6NGhzTq0T@michael.haj.ipfire.org> <393a3f97-4606-4785-bbe8-7b2e9351e7bd@ipfire.org> <214A071B-56FD-480E-8BD3-C88D33AAB87F@ipfire.org> <05d222be-77fa-47aa-aa03-64d73260f7f0@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <4jctpP6VvgzTq9G@michael.haj.ipfire.org> Date: Sun, 29 Nov 2026 17:06:05 +0000 (UTC) Hi Matthias, I looked into replacing squid-graph with a telemetryd source. Unfortunately, I cannot make it work in a way that I am happy with. The full investigation is in https://bugzilla.ipfire.org/show_bug.cgi?id=14949, but here is the short version: * Squid has no command that prints its statistics. `squidclient` used to do this, but it was removed in Squid 7, together with `cachemgr.cgi`. The release notes say to use curl or wget instead. * The cache manager itself still works. I built Squid 7.8 and `GET /squid-internal-mgr/counters` returns everything we would need (requests, hits, errors, bytes in and out on the client and server side). The default `http_access allow localhost manager` rule is enough. * The problem is that it is only reachable over TCP on whatever `http_port` is configured. Squid has no UNIX socket for this (we do that for knot-resolver). `http_port /path` is rejected and the only UNIX sockets in the source are for its internal worker IPC. * All the alternatives need Squid's configuration to be known to telemetryd. Those are parsing `squid.conf`, probing ports, reading `/proc//fd` (needs extra privileges) and SNMP. The last way out is parsing `access.log`, which is what squid-graph does and what I wanted to avoid. I therefore don't want to add a source that guesses, so I have closed the ticket as CANTFIX. If we ever want to revisit this, a dedicated manager-only listener on a fixed localhost port in our generated `squid.conf` would make it a very small source. I would rather not do that just for this. That means we cannot replace squid-graph with telemetryd right now. If you still want to keep it for the time being, the translation question from your original mail applies to it as before. Best, -Michael