]> git.ipfire.org Git - thirdparty/mtr.git/log
thirdparty/mtr.git
4 years agoreport: fix display of MPLS labels when using --report 391/head
Vincent Bernat [Tue, 9 Mar 2021 22:15:13 +0000 (23:15 +0100)] 
report: fix display of MPLS labels when using --report

Previously, using --report --mpls would not display MPLS labels unless
combined with --aslookup or -y. Fix this case.

```
 23:03 ❱ ./mtr  -z --report-wide -e 203.0.113.10
Start: 2021-03-09T23:03:43+0100
HOST: H1                    Loss%   Snt   Last   Avg  Best  Wrst StDev
  1. AS???    192.0.2.1      0.0%    10    1.0   1.1   0.8   1.8   0.3
  2. AS???    169.254.0.2    0.0%    10    2.5   2.5   2.4   2.8   0.1
       [MPLS: Lbl 299776 TC 0 S u TTL 1]
       [MPLS: Lbl 16 TC 0 S u TTL 1]
  3. AS???    203.0.113.1    0.0%    10    2.2   2.7   2.1   4.8   1.1
  4. AS???    203.0.113.10   0.0%    10    2.3   2.3   2.2   2.6   0.1
 23:04 ❱ ./mtr   --report-wide -e 203.0.113.10
Start: 2021-03-09T23:04:07+0100
HOST: H1           Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 192.0.2.1     0.0%    10    0.8   2.9   0.7  20.9   6.3
  2.|-- 169.254.0.2   0.0%    10    2.8   2.7   2.4   2.8   0.1
       [MPLS: Lbl 299776 TC 0 S u TTL 1]
       [MPLS: Lbl 16 TC 0 S u TTL 1]
  3.|-- 203.0.113.1   0.0%    10   16.1   3.7   2.0  16.1   4.4
  4.|-- 203.0.113.10  0.0%    10    3.5   2.5   2.2   3.5   0.4
```

This is not really elegant and I didn't try to display with vertical
bars like it should be done when no additional IP info is requested,
but the code already has many branches with very similar code and I
didn't want to add even more complexity to it.

Fix #341

4 years agoMerge pull request #389 from vincentbernat/fix/avoid-void-casting
Roger Wolff [Mon, 8 Mar 2021 08:26:54 +0000 (09:26 +0100)] 
Merge pull request #389 from vincentbernat/fix/avoid-void-casting

ui: don't cast to void* when calling display_rawhost()

4 years agoui: don't cast to void* when calling display_rawhost() 389/head
Vincent Bernat [Mon, 8 Mar 2021 07:29:53 +0000 (08:29 +0100)] 
ui: don't cast to void* when calling display_rawhost()

The provided types are compatible with the function signature.
Moreover, this seems to hide a bug where `display_rawhost()` is called
with an address instead of an MPLS struct.

4 years agoMerge pull request #376 from epanoff/fix-readme
Roger Wolff [Fri, 30 Oct 2020 14:56:43 +0000 (15:56 +0100)] 
Merge pull request #376 from epanoff/fix-readme

Updated Readme for windows: added libjansson

4 years agoUpdated Readme 376/head
Egor Panov [Fri, 30 Oct 2020 14:34:57 +0000 (17:34 +0300)] 
Updated Readme

added libjansson-devel for building on win

4 years agoadded clarification to readme suggested by Zenithal
Rogier Wolff [Sun, 18 Oct 2020 07:54:45 +0000 (09:54 +0200)] 
added clarification to readme suggested by Zenithal

4 years agoCode formatting for Zenithal pull
Rogier Wolff [Sun, 18 Oct 2020 07:48:46 +0000 (09:48 +0200)] 
Code formatting for Zenithal pull

4 years agoMerge pull request #373 from ZenithalHourlyRate/master
Roger Wolff [Sun, 18 Oct 2020 07:45:28 +0000 (09:45 +0200)] 
Merge pull request #373 from ZenithalHourlyRate/master

Add display of destination with resolved addr under curses mode

4 years agoAdd display of destination with resolved addr under curses mode 373/head
Zenithal [Sat, 17 Oct 2020 15:03:51 +0000 (23:03 +0800)] 
Add display of destination with resolved addr under curses mode

4 years agoThe release script bumped the version number to 94 v0.94
R.E. Wolff [Thu, 24 Sep 2020 08:26:14 +0000 (10:26 +0200)] 
The release script bumped the version number to 94

4 years agoThe release script bumped the version number to 94
R.E. Wolff [Thu, 24 Sep 2020 08:09:53 +0000 (10:09 +0200)] 
The release script bumped the version number to 94

4 years agoChanged MAXPATH to MAX_PATH for AIX compatibility. -- aixtools
R.E. Wolff [Wed, 23 Sep 2020 15:28:49 +0000 (17:28 +0200)] 
Changed MAXPATH to MAX_PATH for AIX compatibility. -- aixtools

4 years agoAdded extra help text to configure --yvs
R.E. Wolff [Mon, 21 Sep 2020 20:35:58 +0000 (22:35 +0200)] 
Added extra help text to configure --yvs

4 years agoMerge pull request #364 from atibdialpad/custom-mtr
Roger Wolff [Mon, 31 Aug 2020 07:11:51 +0000 (09:11 +0200)] 
Merge pull request #364 from atibdialpad/custom-mtr

Code to allow maxTTL to change dynamically when path changes in the middle of mtr execution

4 years agoTODO list changes 364/head
atibdialpad [Mon, 31 Aug 2020 03:55:47 +0000 (09:25 +0530)] 
TODO list changes

4 years agoChange TTL dynamically to adjust for path changes
atibdialpad [Sun, 23 Aug 2020 15:11:27 +0000 (20:41 +0530)] 
Change TTL dynamically to adjust for path changes

4 years agoMerge pull request #362 from atib92/mtr-109
Roger Wolff [Sat, 8 Aug 2020 11:16:06 +0000 (13:16 +0200)] 
Merge pull request #362 from atib92/mtr-109

Added code to print multiple addresses regitered on the same hop count

4 years agoAdded code to print multiple addresses regitered on the same hop count 362/head
atib [Sat, 8 Aug 2020 09:12:05 +0000 (14:42 +0530)] 
Added code to print multiple addresses regitered on the same hop count

5 years agoMerge pull request #355 from ltWolfik/jansson
Roger Wolff [Fri, 10 Jul 2020 04:30:28 +0000 (06:30 +0200)] 
Merge pull request #355 from ltWolfik/jansson

report: json: reworked with libjansson

5 years agoreport: json: reworked with libjansson 355/head
Kulemin Alexander [Thu, 9 Jul 2020 16:40:57 +0000 (19:40 +0300)] 
report: json: reworked with libjansson

5 years agoMerge pull request #354 from bluPhy/master
Roger Wolff [Sat, 4 Jul 2020 06:24:39 +0000 (08:24 +0200)] 
Merge pull request #354 from bluPhy/master

Updating some coments (SIC) :-)

5 years agoUpdating some comments 354/head
Alejandro Leal [Fri, 3 Jul 2020 18:53:28 +0000 (14:53 -0400)] 
Updating some comments

5 years agoMerge pull request #352 from bluPhy/master
Roger Wolff [Thu, 18 Jun 2020 05:52:23 +0000 (07:52 +0200)] 
Merge pull request #352 from bluPhy/master

few updates to manual page and README.md

5 years agofew updates to manual page and README.md 352/head
Alejandro Leal [Wed, 17 Jun 2020 21:05:21 +0000 (17:05 -0400)] 
few updates to manual page and README.md

5 years agoMerge pull request #345 from markeganfuller/display_target
Roger Wolff [Thu, 7 May 2020 16:02:56 +0000 (18:02 +0200)] 
Merge pull request #345 from markeganfuller/display_target

Add display of destination.

5 years agoAdd display of destination. 345/head
Mark Egan-Fuller [Thu, 7 May 2020 15:34:02 +0000 (16:34 +0100)] 
Add display of destination.

5 years agoMerge pull request #340 from Sea-n/master
Roger Wolff [Wed, 25 Mar 2020 09:48:34 +0000 (10:48 +0100)] 
Merge pull request #340 from Sea-n/master

Fix parameter in ui/net.c

5 years agoFix parameter in ui/net.c 340/head
Sean Wei [Wed, 25 Mar 2020 03:24:21 +0000 (11:24 +0800)] 
Fix parameter in ui/net.c

The 'net_send_query' function was use global varible 'packetsize'
and ignoring 'packet_size' parameter.

5 years agoMerge pull request #336 from ym/master
Roger Wolff [Sun, 16 Feb 2020 16:10:51 +0000 (17:10 +0100)] 
Merge pull request #336 from ym/master

show mpls information in raw output

5 years agoshow mpls information in raw output 336/head
Siyuan Miao [Sun, 16 Feb 2020 01:19:22 +0000 (09:19 +0800)] 
show mpls information in raw output

5 years agoMore compilation warning fixes from obouizi
R.E. Wolff [Thu, 13 Feb 2020 08:20:12 +0000 (09:20 +0100)] 
More compilation warning fixes from obouizi

5 years agoMerge branch 'master' of github.com:traviscross/mtr
R.E. Wolff [Wed, 12 Feb 2020 11:19:31 +0000 (12:19 +0100)] 
Merge branch 'master' of github.com:traviscross/mtr

5 years agoAdded include errno --obouizi
R.E. Wolff [Wed, 12 Feb 2020 11:19:19 +0000 (12:19 +0100)] 
Added include errno --obouizi

5 years agoMerge pull request #331 from commonism/ip6udp
Roger Wolff [Wed, 15 Jan 2020 15:03:58 +0000 (16:03 +0100)] 
Merge pull request #331 from commonism/ip6udp

ip6 udp - fix probes with local or remote port

5 years agoip6 udp - fix probes with local or remote port 331/head
Markus Kötter [Wed, 15 Jan 2020 14:42:58 +0000 (15:42 +0100)] 
ip6 udp - fix probes with local or remote port

only set the remote port in raw packet, not as sendto parameter

does not fix local and remote port, seq number is checksum then,
payload has to be adjusted as with ipv4

5 years agofix closing brace testbsderr
R.E. Wolff [Mon, 6 Jan 2020 12:16:01 +0000 (13:16 +0100)] 
fix closing brace

5 years agoproposed patch for bsd compile error
R.E. Wolff [Mon, 6 Jan 2020 11:21:22 +0000 (12:21 +0100)] 
proposed patch for bsd compile error

5 years agonet find local address fix by meingtsla
R.E. Wolff [Tue, 31 Dec 2019 10:54:01 +0000 (11:54 +0100)] 
net find local address fix by meingtsla

5 years agoMerge pull request #325 from kbucheli/tun_interface_segfault
Roger Wolff [Fri, 6 Dec 2019 09:16:53 +0000 (10:16 +0100)] 
Merge pull request #325 from kbucheli/tun_interface_segfault

fix segmentation fault if there is no IP address on an interface (fixes #320)

5 years agofix segmentation fault if there is no IP address on an interface (fixes #320) 325/head
Konrad Bucheli [Fri, 6 Dec 2019 09:06:38 +0000 (10:06 +0100)] 
fix segmentation fault if there is no IP address on an interface (fixes #320)

5 years agoMerge pull request #322 from commonism/cleanups
Roger Wolff [Thu, 10 Oct 2019 09:54:15 +0000 (11:54 +0200)] 
Merge pull request #322 from commonism/cleanups

sockaddr related cleanups

5 years agosimplification - improve readability 322/head
Markus Kötter [Wed, 14 Aug 2019 11:43:53 +0000 (13:43 +0200)] 
simplification - improve readability

5 years agosimplification - address addrcmp
Markus Kötter [Wed, 14 Aug 2019 11:41:41 +0000 (13:41 +0200)] 
simplification - address addrcmp

5 years agoMerge pull request #319 from krisl/fix/stack_use_after_scope
Roger Wolff [Sat, 10 Aug 2019 00:23:20 +0000 (02:23 +0200)] 
Merge pull request #319 from krisl/fix/stack_use_after_scope

Fix/stack use after scope

5 years agoavoid stack use after scope 319/head
Aaron Lipinski [Fri, 9 Aug 2019 20:52:53 +0000 (08:52 +1200)] 
avoid stack use after scope

5 years agointroduce libasan
Aaron Lipinski [Fri, 9 Aug 2019 20:13:16 +0000 (08:13 +1200)] 
introduce libasan

5 years agoMerge pull request #310 from krisl/fix/raw_dns
Roger Wolff [Fri, 9 Aug 2019 08:14:27 +0000 (10:14 +0200)] 
Merge pull request #310 from krisl/fix/raw_dns

Fix/raw dns

5 years agoin hindsight my previous patch wasn't so nice. And nobody told me.
Rogier Wolff [Fri, 9 Aug 2019 06:59:39 +0000 (08:59 +0200)] 
in hindsight my previous patch wasn't so nice. And nobody told me.

5 years agosimplification - remove rsa{4,6}
Markus Kötter [Thu, 8 Aug 2019 10:18:58 +0000 (12:18 +0200)] 
simplification - remove rsa{4,6}

5 years agosimplification - remove addrcpy
Markus Kötter [Thu, 8 Aug 2019 09:50:11 +0000 (11:50 +0200)] 
simplification - remove addrcpy

5 years agorely on final return NULL 310/head
Aaron Lipinski [Sun, 28 Jul 2019 20:08:51 +0000 (08:08 +1200)] 
rely on final return NULL

5 years agoshow resolved hostname in raw dnsline
Aaron Lipinski [Sun, 28 Jul 2019 10:35:39 +0000 (22:35 +1200)] 
show resolved hostname in raw dnsline

5 years agoMerge branch 'master' of github.com:traviscross/mtr
Rogier Wolff [Thu, 8 Aug 2019 09:23:29 +0000 (11:23 +0200)] 
Merge branch 'master' of github.com:traviscross/mtr

5 years agomake the code for gtk2/3 a bit nicer.
Roger Wolff [Thu, 8 Aug 2019 09:21:45 +0000 (11:21 +0200)] 
make the code for gtk2/3 a bit nicer.

5 years agoMerge branch 'gtk3_with_fallback' of https://github.com/krisl/mtr
Rogier Wolff [Thu, 8 Aug 2019 09:13:53 +0000 (11:13 +0200)] 
Merge branch 'gtk3_with_fallback' of https://github.com/krisl/mtr

5 years agosimplification - remove sockaddrtop
Markus Kötter [Thu, 8 Aug 2019 09:07:37 +0000 (11:07 +0200)] 
simplification - remove sockaddrtop

5 years agoMerge branch 'master' of github.com:traviscross/mtr
R.E. Wolff [Thu, 8 Aug 2019 08:47:59 +0000 (10:47 +0200)] 
Merge branch 'master' of github.com:traviscross/mtr

5 years agofix warning on recent compilers.
R.E. Wolff [Thu, 8 Aug 2019 08:47:44 +0000 (10:47 +0200)] 
fix warning on recent compilers.

5 years agogtk_menu_popup -> gtk_menu_popup_at_pointer 318/head
Aaron Lipinski [Thu, 8 Aug 2019 02:54:46 +0000 (14:54 +1200)] 
gtk_menu_popup -> gtk_menu_popup_at_pointer

5 years agohbox/vbox -> gtk_box_new
Aaron Lipinski [Thu, 8 Aug 2019 02:50:11 +0000 (14:50 +1200)] 
hbox/vbox -> gtk_box_new

5 years agogtk3
Aaron Lipinski [Thu, 8 Aug 2019 02:28:58 +0000 (14:28 +1200)] 
gtk3

5 years agogtk_button_new_from_stock -> gtk_button_new_with_label
Aaron Lipinski [Thu, 8 Aug 2019 02:44:33 +0000 (14:44 +1200)] 
gtk_button_new_from_stock -> gtk_button_new_with_label

5 years agoGTK_OBJECT -> G_OBJECT
Aaron Lipinski [Thu, 8 Aug 2019 02:29:15 +0000 (14:29 +1200)] 
GTK_OBJECT -> G_OBJECT

5 years agogtk_menu_append -> gtk_menu_shell_append
Aaron Lipinski [Thu, 8 Aug 2019 02:23:20 +0000 (14:23 +1200)] 
gtk_menu_append -> gtk_menu_shell_append

5 years agoMerge pull request #166 from meingtsla/asn-open-always-hcreate
Roger Wolff [Wed, 7 Aug 2019 07:51:53 +0000 (09:51 +0200)] 
Merge pull request #166 from meingtsla/asn-open-always-hcreate

Fix repeated DNS queries when toggling ipinfo

5 years agoMerge pull request #315 from lembacon/find_source_addr
Roger Wolff [Tue, 6 Aug 2019 16:24:27 +0000 (18:24 +0200)] 
Merge pull request #315 from lembacon/find_source_addr

probe: fix find_source_addr

5 years agoprobe: fix find_source_addr 315/head
Chongyu Zhu [Tue, 6 Aug 2019 15:01:57 +0000 (23:01 +0800)] 
probe: fix find_source_addr

6 years agoThe release script bumped the version number to 0.93 v0.93
R.E. Wolff [Sat, 3 Aug 2019 08:31:26 +0000 (10:31 +0200)] 
The release script bumped the version number to 0.93

6 years agoMerge pull request #274 from commonism/udp_checksum
Roger Wolff [Sun, 28 Jul 2019 14:46:02 +0000 (16:46 +0200)] 
Merge pull request #274 from commonism/udp_checksum

udp checksum is incorrect

6 years agoconstruct - fix set port 274/head
Markus Kötter [Wed, 24 Jul 2019 06:32:34 +0000 (08:32 +0200)] 
construct - fix set port

 - introducing sockaddr_port_offset broke setting a port

6 years agoAdded parentheses
Rogier Wolff [Wed, 17 Jul 2019 21:22:39 +0000 (23:22 +0200)] 
Added parentheses

6 years agoMerge pull request #306 from kerolasa/eaddrnotavail
Roger Wolff [Wed, 17 Jul 2019 21:20:11 +0000 (23:20 +0200)] 
Merge pull request #306 from kerolasa/eaddrnotavail

mtr-packet: make address-not-available errors less likely

6 years agomtr-packet: make address-not-available errors less likely 306/head
Sami Kerola [Wed, 17 Jul 2019 19:17:56 +0000 (20:17 +0100)] 
mtr-packet: make address-not-available errors less likely

Use MIN_PORT to MAX_PORT port range to avoid getting EADDRNOTAVAIL caused by
sockets in FIN-WAIT-1 state.  This issue is easy to reproduce with following
loop (as root).

    src="$(ip route | awk '/default/ {print $9}')"
    while true; do
      echo "6000 send-probe ip-4 1.1.1.1 local-ip-4 $src port 443 protocol tcp" |
      ./mtr-packet
    done | head -n 10
    6000 reply ip-4 1.1.1.1 round-trip-time 11306
    6000 address-not-available
    6000 address-not-available
    [...]

Reported-by: Scott Pearson <scott@cloudflare.com>
Reproeuced-by: Jarred Trainor <jarred@cloudflare.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi> && <kerolasa@cloudflare.com>
6 years agoMerge pull request #292 from matt-kimball/cygwin-signals
Roger Wolff [Sun, 3 Mar 2019 16:12:50 +0000 (17:12 +0100)] 
Merge pull request #292 from matt-kimball/cygwin-signals

Rework Cygwin mtr-packet to respond to signals (such as SIGTERM)

6 years agoRework Cygwin mtr-packet to respond to signals (such as SIGTERM) 292/head
Matt Kimball [Sun, 3 Mar 2019 16:00:55 +0000 (08:00 -0800)] 
Rework Cygwin mtr-packet to respond to signals (such as SIGTERM)

The prior implementation of mtr-packet on Cygwin would
not respond to Unix-style signals sent from other processes.
It was unkillable from the Cygwin shell, even with SIGKILL,
and exiting mtr would sometimes stall for several seconds because
it would ignore the SIGTERM sent from the main mtr process.
It would then wait for all outstanding probes to timeout before
exiting.

Signals were ignored because they are implemented by the Cygwin
library at the user level, (i.e. not provided by the OS kernel),
and mtr-packet often bypassed Cygwin's I/O functions by calling
Win32 APIs directly.

With this rework, the Cygwin implementation uses an ICMP service
thread to call the Win32 ICMP functions, but the main thread
uses a POSIX-style select() loop, similar to the Unix version mtr.

I would have liked to avoid multithreading entirely, but here are
the constraints:

    a)  mtr was originally a Unix program which used "raw sockets"
    b)  In order to port mtr to Windows, Cygwin is used to get a
        Unix-like environment
    c)  You can't use a raw socket to receive an ICMP reply on Windows.
        However, Windows provides a separate API in the form of
        ICMP.DLL for sending and receiving ICMP messages.
    d)  The ICMP API works asynchronously, and requires completion
        through an asynchronous procedure call ("APC")
    e)  APCs are only delivered during blocking Win32 operations
        which are flagged as "alertable."  This prevents apps from
        having APCs execute unexpectedly during an I/O operation.
    f)  Cygwin's implementation of POSIX functions does all I/O
        through non-alertable I/O operations.  This is reasonable
        because APCs don't exist in the POSIX API.
    g)  Cygwin implements Unix-style signals at the application level,
        since the Windows kernel doesn't have them.  We want our
        program to respond to SIGTERM and SIGKILL, at least.
    h)  Cygwin's signal implementation will deliver signals during
        blocking I/O functions in the Cygwin library, but won't
        respond to signals if the signal is sent while the application
        is in a blocking Windows API call which Cygwin is not aware of.
    i)  Since we want to both send/receive ICMP probes and also respond
        to Unix-style signals, we require two threads:  one which
        uses Cygwin's POSIX style blocking I/O and can respond to
        signals, and one which uses alertable waits using Win32
        blocking APIs.

The solution is to have the main thread using select() as the
blocking operation in its loop, and also to have an ICMP service
thread using WaitForSingleObjectEx() as its blocking operation.
The main thread will respond to signals.  The ICMP service thread
will run the APCs completing ICMP.DLL requests.

This change doesn't affect non-Windows versions of mtr, other than
moving the code from command_unix.c back into command.c,
since it can now be shared between Unix-like systems and Windows.

6 years agoMerge pull request #291 from angt/add-help-line-curses
Roger Wolff [Thu, 28 Feb 2019 12:27:27 +0000 (13:27 +0100)] 
Merge pull request #291 from angt/add-help-line-curses

Add a help line for the t command in curses

6 years agoAdd a help line for the t command in curses 291/head
Adrien Gallouët [Thu, 28 Feb 2019 11:53:52 +0000 (11:53 +0000)] 
Add a help line for the t command in curses

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
6 years agoMerge pull request #290 from matt-kimball/mtrpacket-python-manpage
Roger Wolff [Thu, 14 Feb 2019 11:21:38 +0000 (12:21 +0100)] 
Merge pull request #290 from matt-kimball/mtrpacket-python-manpage

Mention Python mtrpacket package in mtr-packet man page

6 years agoManpage fix for Darwin by Matt. Rewritten by REW
Rogier Wolff [Thu, 14 Feb 2019 11:18:41 +0000 (12:18 +0100)] 
Manpage fix for Darwin by Matt. Rewritten by REW

6 years agoMerge pull request #288 from matt-kimball/macos-error-func
Roger Wolff [Thu, 14 Feb 2019 10:55:24 +0000 (11:55 +0100)] 
Merge pull request #288 from matt-kimball/macos-error-func

Link portability/error.c with mtr-packet when missing on MacOS

6 years agoMention Python mtrpacket package in mtr-packet man page 290/head
Matt Kimball [Wed, 13 Feb 2019 17:37:21 +0000 (09:37 -0800)] 
Mention Python mtrpacket package in mtr-packet man page

There is now a package for Python which invokes mtr-packet and sends
network probes asynchronously:  https://pypi.org/project/mtrpacket/

This change adds mention of it to the mtr-packet man page, which
should help people interested in using mtr-packet in monitoring scripts
find it.

6 years agoLink portability/error.c with mtr-packet when missing on MacOS 288/head
Matt Kimball [Wed, 13 Feb 2019 17:33:29 +0000 (09:33 -0800)] 
Link portability/error.c with mtr-packet when missing on MacOS

Change 817f171d broke the MacOS build.

Change 817f171d converted the error reporting in mtr-packet from
perror() to error().  That's fine, but error() is missing on MacOS.
We already had portability/error.c for this reason, but that was
previously only linked into the mtr binary, not mtr-packet.

This change also links portability/error.c with mtr-packet, when
error() is missing from the OS.

6 years agoFixed issue #286
Rogier Wolff [Tue, 1 Jan 2019 12:27:57 +0000 (13:27 +0100)] 
Fixed issue #286

6 years agoMerge pull request #284 from Ablesius/ReadmeMarkdown
Roger Wolff [Wed, 19 Dec 2018 11:43:35 +0000 (12:43 +0100)] 
Merge pull request #284 from Ablesius/ReadmeMarkdown

convert README to markdown

6 years agoconvert README to markdown 284/head
Alexander Blesius [Tue, 18 Dec 2018 14:53:21 +0000 (15:53 +0100)] 
convert README to markdown

6 years agoMerge pull request #276 from trittweiler/master
Roger Wolff [Thu, 15 Nov 2018 15:39:46 +0000 (16:39 +0100)] 
Merge pull request #276 from trittweiler/master

Print program name before error messages.

6 years agoReplace perror(...); exit(...); by error(...); 276/head
Tobias Rittweiler [Wed, 14 Nov 2018 12:46:08 +0000 (13:46 +0100)] 
Replace perror(...); exit(...); by error(...);

Rationale is that error(...) will prefix the error message with the
program name which is useful information now that mtr is split into
two executables (mtr and mtr-packet.)

6 years agoAdd a .dir-locals.el file for Emacs.
Tobias Rittweiler [Wed, 14 Nov 2018 12:43:58 +0000 (13:43 +0100)] 
Add a .dir-locals.el file for Emacs.

It specifies not to use TABs and to indent by 4 spaces.

6 years agosockaddr - save a cast accessing the port
Markus Kötter [Fri, 2 Nov 2018 08:01:34 +0000 (09:01 +0100)] 
sockaddr - save a cast accessing the port

6 years agoprobe - extend matching to src/dst host&port
Markus Kötter [Thu, 1 Nov 2018 10:34:25 +0000 (11:34 +0100)] 
probe - extend matching to src/dst host&port

Running multiple instances of mtr in udp mode will lead to incorrect
response pick ups due to sequence number re-use.
The changes address the issue by using more values to prevent incorrect
probe matches.

6 years agoprobe - use INET6_ADDRSTRLEN
Markus Kötter [Thu, 1 Nov 2018 10:09:59 +0000 (11:09 +0100)] 
probe - use INET6_ADDRSTRLEN

6 years agosockaddr - unify access to sockaddr_in/6 port & address
Markus Kötter [Thu, 1 Nov 2018 10:08:03 +0000 (11:08 +0100)] 
sockaddr - unify access to sockaddr_in/6 port & address

6 years agoautomake - configure show build options
Markus Kötter [Thu, 1 Nov 2018 09:51:15 +0000 (10:51 +0100)] 
automake - configure show build options

6 years agoset udp checksum
Markus Kötter [Mon, 29 Oct 2018 10:29:22 +0000 (11:29 +0100)] 
set udp checksum

in case the checksum field is used fpr the sequence number,
calculate the checksum and write to the udp payload field so the seq no
matches the checksum

6 years agoMerge pull request #272 from magnum7385/patch-1
Roger Wolff [Fri, 28 Sep 2018 17:06:10 +0000 (19:06 +0200)] 
Merge pull request #272 from magnum7385/patch-1

Update README (Typo in the name of the setup program).

6 years agoUpdate README 272/head
Adam [Fri, 28 Sep 2018 16:14:12 +0000 (12:14 -0400)] 
Update README

6 years agoMerge pull request #271 from divinity76/patch-1
Roger Wolff [Fri, 28 Sep 2018 14:20:47 +0000 (16:20 +0200)] 
Merge pull request #271 from divinity76/patch-1

use setup.exe's package manager mode, replacing apt-cyg

6 years agouse setup.exe's package manager mode, replacing apt-cyg 271/head
divinity76 [Fri, 28 Sep 2018 13:53:41 +0000 (15:53 +0200)] 
use setup.exe's package manager mode, replacing apt-cyg

see #270 for rationale

6 years agoMerge pull request #267 from benw01/ui-notes-in-man-page
Roger Wolff [Fri, 24 Aug 2018 07:10:20 +0000 (09:10 +0200)] 
Merge pull request #267 from benw01/ui-notes-in-man-page

renamed NOTES to INTERACTIVE CONTROL as per discussion in pull request

6 years agorenamed NOTES to INTERACTIVE CONTROL as per discussion in pull request 267/head
Ben Williams [Fri, 24 Aug 2018 02:55:55 +0000 (12:25 +0930)] 
renamed NOTES to INTERACTIVE CONTROL as per discussion in pull request