From patchwork Fri Sep 12 20:08:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9060 Return-Path: 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) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4cNlqF4QK1z3x5T for ; Fri, 12 Sep 2025 20:08:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cNlqF3JVPz3ll for ; Fri, 12 Sep 2025 20:08:25 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=ipfire.org header.s=202003ed25519 header.b=QUu33J4p; dkim=pass header.d=ipfire.org header.s=202003rsa header.b=lGucbDOD; spf=softfail (mail01.ipfire.org: 2001:678:b28::201 is neither permitted nor denied by domain of "development+bounces-963-patchwork=ipfire.org@lists.ipfire.org") smtp.mailfrom="development+bounces-963-patchwork=ipfire.org@lists.ipfire.org"; dmarc=pass (policy=reject) header.from=ipfire.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757707705; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JTW4una3DFJg5XYNpq1TK8WDlYRw2yJeCudjt0ROAC0=; b=JMqhoTpZqRkSHpTcyg5hJaq8sD4yORFfCBtt2VdVftK3arAYuBLOz2jYVGdMjqyuTndpdu c26KyJmGGKAEMlHfUEa4d18a6NO6D9MWCrZMzI8yhcC66XHgOdn/VzYhmdfknPZDvF5qXB ivs8mFQXbG0TBNyKHnWFWPIZxdYugU3vNjipGUyMDsC5y45V8qzNoizNmhHO+kK+kJ9iBr jp+ue9rtBKzMQludJK4DWhKOl0EdS4m3KRkQ5dcAqy7woMVqJjZj7awK2V6hy6EQXXxNSM UiuJL6gBUkA0aEsFTH4S/BeZaWLLDfJIVjohr5XbrgvdmWr+nR7NKC/92W91Dg== ARC-Seal: i=1; s=202003rsa; d=ipfire.org; t=1757707705; a=rsa-sha256; cv=none; b=FlK1vRSa9ndu6rzq+ifvj5EtLfR5fj3lIXo1Gid6bgvatGbowByhvxVq+snPsOiyYKU9dg nKQmPXlh8Adxf2nl43uBt8gsY6JZbYgG66/C+ZhxWAwfCuKri9uXdsX/R1wPGInf141Gyc XBhewDIzLBBiBtSe712dT/jQy30YWhl6nRf2dEAuSB8Ld2+S82/r63u8Lb/RL7NFiaNIb0 rJwtR8wdF1dzKgkSgcv2Tui8wfuyUYQABwd9AtF9DQlNQvjuWngeTwj4l+jTuC9o2nxArJ 1KeQZbKYDqj8h6OMlsXrkjTSiZcgl40QYBhIHEErAPWywRIfg3sj2QZR/eHLoQ== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=ipfire.org header.s=202003ed25519 header.b=QUu33J4p; dkim=pass header.d=ipfire.org header.s=202003rsa header.b=lGucbDOD; spf=softfail (mail01.ipfire.org: 2001:678:b28::201 is neither permitted nor denied by domain of "development+bounces-963-patchwork=ipfire.org@lists.ipfire.org") smtp.mailfrom="development+bounces-963-patchwork=ipfire.org@lists.ipfire.org"; dmarc=pass (policy=reject) header.from=ipfire.org Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cNlq96mpwz32pV for ; Fri, 12 Sep 2025 20:08:21 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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 "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cNlq725mGz312s for ; Fri, 12 Sep 2025 20:08:19 +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 4cNlq70TR9zJ2; Fri, 12 Sep 2025 20:08:19 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757707699; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JTW4una3DFJg5XYNpq1TK8WDlYRw2yJeCudjt0ROAC0=; b=QUu33J4p8jUZmwcTOFv9LacOlj7i5XSPTdmLTcs38RX0U3Pytikge2n2APsfqhMq404wGf wJCf6leCKVuiaQBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757707699; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JTW4una3DFJg5XYNpq1TK8WDlYRw2yJeCudjt0ROAC0=; b=lGucbDODVtH2RrosFVnV+q9UdPEHgjri8Ee2Jbt6FT7SBjz/S9ly/MgtMS4zK5AyJ/dYHa eZwq0o2n6OehT/gDksWffE+bhUPypwWnupwlvmQAgvzYa0cBsl4y0nBbITVl6++9YxL9Tb iAQFbXo8DTqgFYkbYns3bIgB7n5ohMERry2xBID6GvlwmUQ1cVD1/ixdjSMVgwJ1citD2b biZxggd4QnxXXH4gHcq97ef+7iBH0Ye9ZmywzWi1ZTsY48bLoPDvMHgy9O78GLKxJJpB7S JMivykxNjroJ8PFwbTTa5ein0Z40IyM/0xhllQhkz3D5WXPwPHTpG07d9083cw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] mtr: Update to version 0.96 Date: Fri, 12 Sep 2025 22:08:11 +0200 Message-ID: <20250912200814.3489573-4-adolf.belka@ipfire.org> In-Reply-To: <20250912200814.3489573-1-adolf.belka@ipfire.org> References: <20250912200814.3489573-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 X-Spamd-Result: default: False [-9.13 / 11.00]; FROM_INTERNAL_BULK_SENDERS(-2.00)[2001:678:b28::201]; DWL_DNSWL_MED(-2.00)[ipfire.org:dkim]; R_DKIM_ALLOW(-1.68)[ipfire.org:s=202003ed25519,ipfire.org:s=202003rsa]; NEURAL_HAM(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; DKIM_REPUTATION(-0.95)[-0.95086930348832]; IP_REPUTATION_HAM(-0.78)[asn: 204867(-0.22), country: DE(-0.00), ip: 2001:678:b28::(-0.56)]; BAYES_HAM(-0.72)[83.59%]; R_MISSING_CHARSET(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[2001:678:b28::25:received]; MAILLIST(-0.18)[generic]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; HAS_LIST_UNSUB(-0.01)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; ASN(0.00)[asn:204867, ipnet:2001:678:b28::/48, country:DE]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_SIGNED(0.00)[ipfire.org:s=202003rsa:i=1]; FROM_HAS_DN(0.00)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adolf.belka@ipfire.org,development@lists.ipfire.org]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_ALLOW(0.00)[ipfire.org,reject]; DKIM_TRACE(0.00)[ipfire.org:+]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[bounces-963-patchwork=ipfire.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCVD_COUNT_THREE(0.00)[3] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Action: no action X-Rspamd-Queue-Id: 4cNlqF3JVPz3ll - Update from version 0.95 to 0.96 - Update of rootfile not required - Changelog 0.96 Merge branch 'traviscross:master' into master Change UDP and ICMP sockets binding to accept a source IP from the -a CLI option Adjust MIN_PORT to match other implementations Handle EHOSTDOWN and refine error handling better granularity add braille graph support with --displaymode 3 fix legend for braille display fix documentation/comment for ENABLE_BRAILLE use addrs for static host ordering in curses add --max-display-paths option Add a compact mode in curses mtr.8.in: spell --mark argument type properly Fix tiny typo in target Implement ASN lookups in well-known nat64 prefix net: implement addrcmp for AF_UNSPEC Initialize lines to empty string in split mode Add error code ETIMEOUT(110) handle logic fixed the sizes passed into snprintf Allow signed integers in the utils function Split the strtonum function into two parts to create a better structure Remove redundant code Fix https://github.com/traviscross/mtr/issues/475 xml report: remove leading spaces Set UTF-8 encoding for XML reports Update Cygwin ICMP service thread for asynchronous pipes Prevent icmp_socket leak on error Markus pointed out useless statement. merged Merge branch 'master' of github.com:traviscross/mtr Fixed typo noted by @szczot3k Changed how conflicitng first/max TTL works. Increased max probes Added protection against use of MTR_PACKET under special circumstances Merge branch 'master' of github.com:traviscross/mtr Added Arad Cohen to NEWS Set SO_BINDTODEVICE for -I Check if SO_BINDTODEVICE is defined ui: make interactive and non-interactive exit code the same Add WSL method to Windows Install Add Ubuntu as specific distribution Update section title Github actions added to perform lint and compile configure.ac: fix broken cap check Add option to use custom ipinfo provider Fix Capability Management, Retain CAP_NET_ADMIN Fix interface binding by retaining CAP_NET_RAW Linux-Only Interface, Marking, and IP Unit Tests Annotate `set_privileged_socket_opt` with UNUSED Drop capabilities when `setsockopt` errors Fix flake8 linting Change B101->S101 to reflect flake8 Use a uint32 for the type of a Linux mark Use Packet Marking for IP Address Selection Support Hexadecimal Arguments for Packet Marking ipv6 udp checksums like ipv4 but with ipv6 pseudoheader fix typo Merge branch 'master' into compact-layout Add help info for option -E Brought an unlikely privilege escalation scenario to my attention. Signed-off-by: Adolf Belka --- lfs/mtr | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lfs/mtr b/lfs/mtr index dd190a90f..a80df177d 100644 --- a/lfs/mtr +++ b/lfs/mtr @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2020 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,7 +26,7 @@ include Config SUMMARY = Ping and Traceroute Network Diagnostic Tool -VER = 0.95 +VER = 0.96 THISAPP = mtr-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = mtr -PAK_VER = 6 +PAK_VER = 7 DEPS = @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 3c972675b97945b96562802c5d0f10de963160682c93c0ea2991b72eca33d136d18948c5e746ca3dfb280ebc9c3ab154e7774f8409ed4e5f7470a8feb128e71b +$(DL_FILE)_BLAKE2 = c7dff18b6f6e48a648783d719a6cedd14b141fe2013b75031f3ee830e8c4fb9c93639259c860047c8108c21519df30740f7515256ed08552f7697a42e938257b install : $(TARGET) @@ -83,7 +83,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) cd $(DIR_APP) && ./bootstrap.sh - cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && ./configure \ + --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)