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 4jd1mc0c1bz2xbM for ; Sun, 29 Nov 2026 22:20:00 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jd1mX4SnHz2xJq for ; Sun, 29 Nov 2026 22:19:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jd1mW6FhFz3db for ; Sun, 29 Nov 2026 22:19:55 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795990796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WPw6Ju27RvEMTHf2JrMhgXkX3Ned7exqe9tq6Qgya3Q=; b=sV0aAjFRiXTgf5Tddkrn2B9pDpGmdr0Juij1qO1YuQyTeETkNShx9J70l4Cn4CTy0ku1hW bgQcNixzGFCl4NCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795990796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WPw6Ju27RvEMTHf2JrMhgXkX3Ned7exqe9tq6Qgya3Q=; b=Rdp3oHOSGUUW5wVXFlyW1R181vyKYahJmAS1fSYrIVyprAZ7vkB8VepyA9Fg5pa3iNRi5z rcWEoPl6NtneyMV36Gt+f17vNzQObZTfmtPXSqaQnAeabI/moYavhdNwkhLGLBnwhjD/Bb Ib1GcsN6Zhsky9QNT7+yeBObx6ouNTtna6d5CbkiWdhxBRaWWnmw73mkheoK3lIomXLf5K 6J8M3OtRWAQJbfek4aoyf54kWHM9OnNeZnH8myc8QB+8zMw29w/s1k1BdfpfZhHtsHb2vw r+vBGcsopPFmEPftLFqDeUtTj9KB4SZD+NNTg+GvJbWTuz6PyfKwTCtE0KTnvQ== Message-ID: Date: Sun, 29 Nov 2026 23:19:47 +0100 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Subject: Re: How to handle the new translation method on a live system? To: development@lists.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> <4jctpP6VvgzTq9G@michael.haj.ipfire.org> Content-Language: en-US From: Matthias Fischer In-Reply-To: <4jctpP6VvgzTq9G@michael.haj.ipfire.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29.11.2026 18:06, Michael Tremer wrote: > Hi Matthias, Hi Michael, many thanks - you *really* took a closer look... ;-) I've tweaked the update routine for po-files a bit more, but other than that, I won't be putting too much more work into squid-graph either. Besides, I don't know how many people other than me actually use this tool. Not much, I think. A long time ago, I wrote something about it, but I don't think it's very common. > 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: I read that, thanks again - that would have been interesting. > * 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. Yep. The cache manager was removed. > * 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. Ok, I didn't know that, but you've got a lot more experience in these things than me. > * 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. Too bad, but as I wrote, it could even be that I'm just one of a few still using this tool. And my problems with the translations have been mostly resolved - I now know what I need to do. And if my adjustments get overwritten by oncoming updates - I got two running 'Devels' and making any necessary adjustments takes about 10 minutes... No problem. ;-) Many thanks for looking into this! Best Matthias