]>
git.ipfire.org Git - thirdparty/mtr.git/log
yvs [Fri, 8 May 2026 12:59:36 +0000 (16:59 +0400)]
options: add cache mode for known hops
Port the mtr085 cache mode as a long-only option for current upstream. Upstream already uses -x for XML output, so this keeps the user-facing short-option namespace unchanged and exposes only --cache SECONDS.
Ported-from: yvs2014/mtr085@
0700269ce0f3f501fc33ec98176101f2f4f733eb
Ported-from: yvs2014/mtr085@
0cab98cf8d2e0648f8e1bdd52da5d3122d3c091d
Original-author: yvs <VSYakovetsky@gmail.com>
Roger Wolff [Fri, 8 May 2026 12:45:53 +0000 (14:45 +0200)]
Merge pull request #618 from Komzpa/darafei/merge-useful-hostname
refactor(dns): share hostname usefulness helper
Roger Wolff [Fri, 8 May 2026 12:45:12 +0000 (14:45 +0200)]
Merge pull request #619 from Komzpa/darafei/document-braille-displaymode
docs: document braille display mode
Roger Wolff [Fri, 8 May 2026 12:44:18 +0000 (14:44 +0200)]
Merge pull request #620 from Komzpa/darafei/idn-ai-idn
net: resolve IDN hostnames with AI_IDN
Roger Wolff [Fri, 8 May 2026 12:43:37 +0000 (14:43 +0200)]
Merge pull request #621 from Komzpa/darafei/target-port-syntax
options: accept target ports in host arguments
Roger Wolff [Fri, 8 May 2026 12:41:12 +0000 (14:41 +0200)]
Merge pull request #572 from Komzpa/darafei/split-mode-terminal-keys
split: read terminal keys without curses
Roger Wolff [Fri, 8 May 2026 12:39:30 +0000 (14:39 +0200)]
Merge pull request #578 from Komzpa/darafei/quiet-missing-setcap
fix(install): honor transformed packet helper
Darafei Praliaskouski [Fri, 8 May 2026 12:38:23 +0000 (16:38 +0400)]
options: accept target ports in host arguments
Darafei Praliaskouski [Fri, 8 May 2026 12:35:59 +0000 (16:35 +0400)]
net: resolve IDN hostnames with AI_IDN
Darafei Praliaskouski [Fri, 8 May 2026 12:29:52 +0000 (16:29 +0400)]
docs: document braille display mode
Roger Wolff [Fri, 8 May 2026 12:24:48 +0000 (14:24 +0200)]
Merge pull request #577 from Komzpa/darafei/parse-quoted-mtr-options
options: parse quoted MTR_OPTIONS arguments
Roger Wolff [Fri, 8 May 2026 12:23:59 +0000 (14:23 +0200)]
Merge pull request #581 from Komzpa/darafei/rename-udp-checksum-helper
packet: rename shared UDP checksum helper
Roger Wolff [Fri, 8 May 2026 12:23:15 +0000 (14:23 +0200)]
Merge pull request #586 from Komzpa/darafei/preflight-report-targets
report: preflight multiple target families
Roger Wolff [Fri, 8 May 2026 12:21:45 +0000 (14:21 +0200)]
Merge pull request #587 from Komzpa/darafei/document-stripchart-markers
docs: explain stripchart markers
Roger Wolff [Fri, 8 May 2026 12:21:13 +0000 (14:21 +0200)]
Merge pull request #582 from Komzpa/darafei/test-ttl-option-validation
test: cover TTL option validation
Roger Wolff [Fri, 8 May 2026 12:20:16 +0000 (14:20 +0200)]
Merge pull request #591 from Komzpa/darafei/document-raw-time-units
docs: clarify raw ping time units
Roger Wolff [Fri, 8 May 2026 12:19:21 +0000 (14:19 +0200)]
Merge pull request #590 from Komzpa/darafei/add-appstream-metadata
desktop: install AppStream metadata
Roger Wolff [Fri, 8 May 2026 12:18:35 +0000 (14:18 +0200)]
Merge pull request #589 from Komzpa/darafei/report-on-interrupt
report: print partial output on interrupt
Roger Wolff [Fri, 8 May 2026 12:17:10 +0000 (14:17 +0200)]
Merge pull request #593 from Komzpa/darafei/static-analysis-fixes
fix: address static analyzer findings
Roger Wolff [Fri, 8 May 2026 12:12:54 +0000 (14:12 +0200)]
Merge pull request #592 from Komzpa/darafei/xml-host-address-attrs
xml: expose hub host address separately
Roger Wolff [Fri, 8 May 2026 12:10:47 +0000 (14:10 +0200)]
Merge pull request #595 from Komzpa/darafei/gcc-analyzer-fixes
fix(mpls): print stack flag without suffix
Darafei Praliaskouski [Fri, 8 May 2026 12:09:57 +0000 (16:09 +0400)]
refactor(dns): share hostname usefulness helper
Roger Wolff [Fri, 8 May 2026 12:08:23 +0000 (14:08 +0200)]
Merge pull request #596 from Komzpa/darafei/gtk-formatters-snprintf
fix(gtk): bound formatter output
Roger Wolff [Fri, 8 May 2026 12:05:55 +0000 (14:05 +0200)]
Merge pull request #599 from Komzpa/darafei/cygwin-initialize-icmp-remote
fix(cygwin): initialize ICMP reply address
Roger Wolff [Fri, 8 May 2026 12:04:35 +0000 (14:04 +0200)]
Merge pull request #601 from Komzpa/darafei/mtr-packet-startup-hint
fix(cmdpipe): clarify mtr-packet startup failures
Roger Wolff [Fri, 8 May 2026 12:03:03 +0000 (14:03 +0200)]
Merge pull request #603 from Komzpa/darafei/cleanup-dns-processes
fix(dns): harden resolver lifecycle and results
Roger Wolff [Fri, 8 May 2026 11:58:16 +0000 (13:58 +0200)]
Merge pull request #604 from Komzpa/darafei/ipv6-bindtodevice-capability
fix(packet): retain bind-to-device capability
Roger Wolff [Fri, 8 May 2026 11:50:15 +0000 (13:50 +0200)]
Merge pull request #606 from Komzpa/darafei/remove-csv-close-dead-loop
refactor(csv): remove unused close loop
Roger Wolff [Fri, 8 May 2026 11:48:45 +0000 (13:48 +0200)]
Merge pull request #607 from Komzpa/darafei/remove-csv-separator-note
docs: align CSV separator description
Roger Wolff [Fri, 8 May 2026 11:41:59 +0000 (13:41 +0200)]
Merge pull request #612 from Komzpa/darafei/document-asn-disable
docs: clarify ASN lookup defaults
Roger Wolff [Fri, 8 May 2026 11:41:08 +0000 (13:41 +0200)]
Merge pull request #613 from Komzpa/darafei/report-hop-errors
fix(report): show hop errors in report outputs
Roger Wolff [Fri, 8 May 2026 11:38:41 +0000 (13:38 +0200)]
Merge pull request #614 from Komzpa/darafei/explain-packet-permission-denied
fix(cmdpipe): explain probe permission errors
R.E. Wolff [Fri, 8 May 2026 11:37:18 +0000 (13:37 +0200)]
Merge branch 'master' of github.com:traviscross/mtr
R.E. Wolff [Fri, 8 May 2026 11:37:00 +0000 (13:37 +0200)]
Fixed some irritating compiler warnings
Roger Wolff [Fri, 8 May 2026 11:23:59 +0000 (13:23 +0200)]
Merge pull request #571 from Komzpa/codex/document-default-ports
packet: document and constrain default UDP ports
Darafei Praliaskouski [Thu, 7 May 2026 20:45:48 +0000 (00:45 +0400)]
desktop: install AppStream metadata
Darafei Praliaskouski [Thu, 7 May 2026 22:19:27 +0000 (02:19 +0400)]
fix(report): show hop errors in report outputs
Darafei Praliaskouski [Thu, 7 May 2026 22:06:11 +0000 (02:06 +0400)]
fix(dns): check resolver pipe setup failures
Darafei Praliaskouski [Thu, 7 May 2026 22:02:00 +0000 (02:02 +0400)]
fix(dns): ignore empty PTR hostnames
Darafei Praliaskouski [Thu, 7 May 2026 20:41:00 +0000 (00:41 +0400)]
report: print partial output on interrupt
Darafei Praliaskouski [Fri, 8 May 2026 02:53:38 +0000 (06:53 +0400)]
fix(install): honor transformed packet helper
Darafei Praliaskouski [Thu, 7 May 2026 22:21:31 +0000 (02:21 +0400)]
fix(cmdpipe): explain probe permission errors
Darafei Praliaskouski [Thu, 7 May 2026 22:15:37 +0000 (02:15 +0400)]
docs: clarify ASN lookup defaults
Darafei Praliaskouski [Thu, 7 May 2026 21:59:23 +0000 (01:59 +0400)]
docs: align CSV separator description
Darafei Praliaskouski [Thu, 7 May 2026 21:56:34 +0000 (01:56 +0400)]
refactor(csv): remove unused close loop
Darafei Praliaskouski [Thu, 7 May 2026 21:50:58 +0000 (01:50 +0400)]
fix(packet): retain bind-to-device capability
Darafei Praliaskouski [Thu, 7 May 2026 21:45:35 +0000 (01:45 +0400)]
fix(dns): terminate resolver subprocesses on exit
Darafei Praliaskouski [Thu, 7 May 2026 21:37:10 +0000 (01:37 +0400)]
fix(cmdpipe): clarify mtr-packet startup failures
Darafei Praliaskouski [Thu, 7 May 2026 21:24:02 +0000 (01:24 +0400)]
fix(cygwin): initialize ICMP reply address
Darafei Praliaskouski [Thu, 7 May 2026 21:14:40 +0000 (01:14 +0400)]
fix(gtk): bound formatter output
Darafei Praliaskouski [Thu, 7 May 2026 21:12:35 +0000 (01:12 +0400)]
fix(mpls): print stack flag without suffix
Darafei Praliaskouski [Thu, 7 May 2026 21:05:58 +0000 (01:05 +0400)]
fix: address static analyzer findings
Darafei Praliaskouski [Thu, 7 May 2026 20:53:29 +0000 (00:53 +0400)]
xml: expose hub host address separately
Darafei Praliaskouski [Thu, 7 May 2026 20:50:53 +0000 (00:50 +0400)]
docs: clarify raw ping time units
Darafei Praliaskouski [Thu, 7 May 2026 20:31:20 +0000 (00:31 +0400)]
docs: explain stripchart markers
Darafei Praliaskouski [Thu, 7 May 2026 20:29:31 +0000 (00:29 +0400)]
report: preflight multiple target families
Darafei Praliaskouski [Thu, 7 May 2026 20:08:46 +0000 (00:08 +0400)]
test: cover TTL option validation
flu0r1ne [Thu, 7 May 2026 20:03:48 +0000 (00:03 +0400)]
packet: rename shared UDP checksum helper
Darafei Praliaskouski [Thu, 7 May 2026 19:56:38 +0000 (23:56 +0400)]
options: parse quoted MTR_OPTIONS arguments
Darafei Praliaskouski [Thu, 7 May 2026 19:46:46 +0000 (23:46 +0400)]
fix: read split mode keys without curses
Darafei Praliaskouski [Thu, 7 May 2026 16:34:54 +0000 (20:34 +0400)]
packet: avoid privileged default udp source ports
Roger Wolff [Thu, 7 May 2026 16:29:28 +0000 (18:29 +0200)]
Merge pull request #570 from Komzpa/codex/fix-ci-workflow
ci: fix GitHub Actions test workflow
Darafei Praliaskouski [Thu, 7 May 2026 15:55:45 +0000 (19:55 +0400)]
docs: document default trace ports
Darafei Praliaskouski [Thu, 7 May 2026 15:53:12 +0000 (19:53 +0400)]
ci: fix GitHub Actions test workflow
R.E. Wolff [Thu, 7 May 2026 15:50:57 +0000 (17:50 +0200)]
Merge branch 'master' of github.com:traviscross/mtr
R.E. Wolff [Thu, 7 May 2026 15:50:40 +0000 (17:50 +0200)]
Added explanation why restricively running under sudo is not a good idea
Roger Wolff [Thu, 7 May 2026 15:29:25 +0000 (17:29 +0200)]
Merge pull request #569 from Komzpa/fixer-throttle-curses-redraws
ui: throttle curses redraws during packet bursts
Darafei Praliaskouski [Fri, 1 May 2026 13:22:45 +0000 (17:22 +0400)]
ui: throttle curses redraws during packet bursts
Roger Wolff [Sun, 26 Apr 2026 13:38:30 +0000 (15:38 +0200)]
Merge pull request #568 from mayconrcmello/fix/cygwin-braille
ui: fix braille display mode on Cygwin
I would find it neater to add a check for the header that cygwin uses, instead of checking for cygwin and just including that. This involves messing with the autoconf stuff which I'm not familiar with. So that's an item for the "todo list".
Maycon [Fri, 24 Apr 2026 15:23:13 +0000 (12:23 -0300)]
ui: fix braille display mode on Cygwin
Three issues prevented the braille display from rendering correctly
when mtr is built with Cygwin:
1. Wrong ncurses header: Cygwin ships <ncurses.h> as the non-wide
variant, which does not declare addwstr() or add_wch(). Include
<ncursesw/ncurses.h> instead when building with braille support.
2. Wrong output function: printw("%ls", wstr) relies on the C library
wide-to-multibyte conversion path, which can misbehave when the
locale is not fully set up before ncurses initialises. Use
addwstr(), the proper ncursesw API, instead.
3. Locale and console codepage: setlocale(LC_ALL, "") on Cygwin
inherits the Windows ANSI codepage (e.g. CP1252), breaking UTF-8
output. Explicitly request C.UTF-8 and set the Windows console
output codepage to 65001 (UTF-8) before initscr().
Maycon [Fri, 24 Apr 2026 15:22:35 +0000 (12:22 -0300)]
ui: replace non-BMP braille char U+1FB10 with U+28FF
🮐 (U+1FB10) lives outside the Basic Multilingual Plane and requires
a UTF-16 surrogate pair when wchar_t is 16 bits (Windows, Cygwin).
Passing a surrogate pair to wide-char ncurses functions produces
corrupted output on those platforms.
Replace all three uses with ⣿ (U+28FF), the filled braille pattern,
which is the visually closest BMP character and avoids the issue on
any platform where sizeof(wchar_t) == 2.
Roger Wolff [Thu, 19 Mar 2026 13:34:58 +0000 (14:34 +0100)]
Merge pull request #567 from psumbera/solaris
packet: skip bind() on Solaris raw ICMPv4 sockets
Petr Sumbera [Thu, 19 Mar 2026 09:34:32 +0000 (10:34 +0100)]
packet: skip bind() on Solaris raw ICMPv4 sockets
Commit
d529dbeefc6d ("Change UDP and ICMP sockets binding to accept a
source IP from the -a CLI option") started binding the shared IPv4 raw
ICMP send socket in construct_ip4_packet().
On Solaris/illumos this breaks default ICMP probes: bind() on that raw
socket can fail with EINVAL, and mtr exits with:
mtr: mtr-packet reported invalid argument
This does not affect TCP or UDP probes, and mtr 0.95 worked because the
raw ICMPv4 path did not bind the socket.
Keep the pre-0.96 behavior on __sun by skipping bind() for raw ICMPv4
sockets. This restores default ICMP probing on Solaris/illumos without
changing Linux behavior.
Note that -a source address selection is not enforced for raw ICMPv4 on
Solaris/illumos, since those platforms cannot reliably use bind() on the
shared raw ICMP socket in this code path.
Roger Wolff [Sun, 15 Mar 2026 13:03:20 +0000 (14:03 +0100)]
Merge pull request #565 from AradCohen/fix_dos_bug_and_add_fuzzing
dos fixed, oss fuzz integration added
aradcoh [Sat, 14 Mar 2026 23:28:27 +0000 (01:28 +0200)]
fix: formatting in deconstruct unix II
aradcoh [Sat, 14 Mar 2026 23:27:13 +0000 (01:27 +0200)]
fix: formatting in deconstruct unix
aradcoh [Sat, 14 Mar 2026 22:48:14 +0000 (00:48 +0200)]
dos fixed, oss fuzz integration added
Roger Wolff [Sun, 25 Jan 2026 12:29:25 +0000 (13:29 +0100)]
Merge pull request #563 from bluPhy/master
Fix typos in comments and docstrings across codebase
bluPhy [Sat, 24 Jan 2026 05:10:35 +0000 (00:10 -0500)]
Fix typos in comments and docstrings across codebase
Corrected several spelling errors such as 'unparseable' to 'unparsable', 'paramters' to 'parameters', 'virutal' to 'virtual', 'withing' to 'within', and 'non-existant' to 'non-existent' in both source and test files to improve code clarity and documentation accuracy.
R.E. Wolff [Tue, 2 Dec 2025 07:35:16 +0000 (08:35 +0100)]
Included apple ASN fix
Roger Wolff [Mon, 3 Nov 2025 16:47:59 +0000 (17:47 +0100)]
Merge pull request #558 from eakteam/patch-1
Update split.c : Report tenths of millisecond times like throughout the rest of MTR.
Emin Kokalari [Mon, 3 Nov 2025 15:56:38 +0000 (16:56 +0100)]
Update split.c
Enhanced the ping times from Int to Float values
R.E. Wolff [Fri, 31 Oct 2025 16:34:29 +0000 (17:34 +0100)]
Upgraded maxpacket to 64k. Fixes #553
Roger Wolff [Fri, 26 Sep 2025 11:08:41 +0000 (13:08 +0200)]
Merge pull request #548 from dvallyanov/master
fix numhosts calculation. Improve -D (--due-ttl) option
dvallyanov [Fri, 26 Sep 2025 09:04:20 +0000 (12:04 +0300)]
fix numhosts calculation. Improve -D (--due-ttl) option
Dmitrii Allyanov [Mon, 15 Sep 2025 09:44:38 +0000 (09:44 +0000)]
fix numhosts calculation. Improve -D (--due-ttl) option
- numhosts did not take fstTTL into account when calculating the number of hosts in a batch.
- maxUnknown or maxTTL values are now taken into account after the set TTL value is reached,
when the -D (--due-ttl) option is enabled.
Roger Wolff [Wed, 10 Sep 2025 20:10:44 +0000 (22:10 +0200)]
Merge pull request #546 from dvallyanov/due-ttl-option
Add -D (--due-ttl) option.
Dmitrii Allyanov [Wed, 10 Sep 2025 13:49:47 +0000 (13:49 +0000)]
Add -D (--due-ttl) option.
Specifies the minimum TTL value that must be reached when sending network probes.
Closes feature request #295
Roger Wolff [Sun, 13 Jul 2025 15:15:40 +0000 (17:15 +0200)]
Merge pull request #540 from sevan/darwin-buildfix
Legacy IOS system build fix.
Sevan Janiyan [Sat, 12 Jul 2025 18:13:51 +0000 (19:13 +0100)]
packet/construct_unix.c: Only set IPV6_TCLASS if defined.
Resolves build on legacy systems with IPv6 stacks which lack RFC 3542
support e.g Mac OS X, before 10.6.
Sevan Janiyan [Sat, 12 Jul 2025 18:12:44 +0000 (19:12 +0100)]
packet/construct_unix.c: unused variable
Sevan Janiyan [Sat, 12 Jul 2025 18:06:39 +0000 (19:06 +0100)]
ui/asn.c: No need to define BIND_8_COMPAT
Before OS X 10.6, defining BIND_8_COMPAT included arpa/nameser8_compat.h
which was removed in 10.6 and from then on included arpa/nameser_compat.h
until BIND_8_COMPAT was removed somewhere between macOS 10.13 & 10.15.
On systems before 10.6 this causes the build to break due to conflicts.
Roger Wolff [Wed, 9 Jul 2025 14:53:35 +0000 (16:53 +0200)]
Merge pull request #538 from Plutor/master
Raw pings output time in usec. Correct args and docs.
Logan Ingalls [Wed, 9 Jul 2025 14:33:08 +0000 (10:33 -0400)]
Raw pings output time in usec. Correct args and docs.
(An alternate solution is to correct https://github.com/traviscross/mtr/blob/master/ui/net.c#L319, but that would potentially break workflows for users, so this is likely a more acceptable fix)
R.E. Wolff [Sun, 6 Jul 2025 20:03:57 +0000 (22:03 +0200)]
Added backticks around host. Fixes #536
R.E. Wolff [Sun, 6 Jul 2025 15:36:42 +0000 (17:36 +0200)]
The release script bumped the version number to 96
R.E. Wolff [Sun, 6 Jul 2025 15:26:00 +0000 (17:26 +0200)]
Added Arad Cohen to NEWS
R.E. Wolff [Sun, 29 Jun 2025 12:06:08 +0000 (14:06 +0200)]
Merge branch 'master' of github.com:traviscross/mtr
R.E. Wolff [Sun, 29 Jun 2025 12:06:00 +0000 (14:06 +0200)]
Added protection against use of MTR_PACKET under special circumstances
Roger Wolff [Sat, 14 Jun 2025 18:21:54 +0000 (20:21 +0200)]
Merge pull request #534 from jlu5/fix/addrcmp-af-unspec
net: implement addrcmp for AF_UNSPEC