Commit Graph

750 Commits

Author SHA1 Message Date
Matt Kimball
c1f44e13a1 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.
2019-02-13 10:30:01 -08:00
Matt Kimball
f54da716ac 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.
2019-02-13 09:33:29 -08:00
Rogier Wolff
3649b04337 Fixed issue #286 2019-01-01 13:27:57 +01:00
Roger Wolff
7e511aa4bc
Merge pull request #284 from Ablesius/ReadmeMarkdown
convert README to markdown
2018-12-19 12:43:35 +01:00
Alexander Blesius
a05f4b7f35 convert README to markdown 2018-12-18 15:53:21 +01:00
Roger Wolff
e41c2135ea
Merge pull request #276 from trittweiler/master
Print program name before error messages.
2018-11-15 16:39:46 +01:00
Tobias Rittweiler
817f171dea 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.)
2018-11-14 13:46:08 +01:00
Tobias Rittweiler
e2ea7911ba Add a .dir-locals.el file for Emacs.
It specifies not to use TABs and to indent by 4 spaces.
2018-11-14 13:43:58 +01:00
Markus Kötter
5c5603d68e sockaddr - save a cast accessing the port 2018-11-02 09:01:34 +01:00
Markus Kötter
08750eb444 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.
2018-11-01 11:34:25 +01:00
Markus Kötter
a54e73c16a probe - use INET6_ADDRSTRLEN 2018-11-01 11:09:59 +01:00
Markus Kötter
b0321e91eb sockaddr - unify access to sockaddr_in/6 port & address 2018-11-01 11:08:03 +01:00
Markus Kötter
9eddfacd8e automake - configure show build options 2018-11-01 10:51:15 +01:00
Markus Kötter
7f68901d28 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
2018-10-29 11:29:22 +01:00
Roger Wolff
5c58a8d411
Merge pull request #272 from magnum7385/patch-1
Update README (Typo in the name of the setup program).
2018-09-28 19:06:10 +02:00
Adam
ba9b7e87cf
Update README 2018-09-28 12:14:12 -04:00
Roger Wolff
b8c98453da
Merge pull request #271 from divinity76/patch-1
use setup.exe's package manager mode, replacing apt-cyg
2018-09-28 16:20:47 +02:00
divinity76
30b1573bff
use setup.exe's package manager mode, replacing apt-cyg
see #270 for rationale
2018-09-28 15:53:41 +02:00
Roger Wolff
7d3e1293cc
Merge pull request #267 from benw01/ui-notes-in-man-page
renamed NOTES to INTERACTIVE CONTROL as per discussion in pull request
2018-08-24 09:10:20 +02:00
Ben Williams
a32bb3a723 renamed NOTES to INTERACTIVE CONTROL as per discussion in pull request 2018-08-24 12:25:55 +09:30
Roger Wolff
9b313de822
Merge pull request #266 from benw01/ui-notes-in-man-page
added UI hotkeys to NOTES section in man page
2018-08-23 09:06:55 +02:00
Ben Williams
8fa2c9a78d added UI hotkeys description (from internal help) to NOTES section in mtr man page 2018-08-23 10:24:36 +09:30
R.E. Wolff
ace8ef7f52 Merge branch 'master' of github.com:traviscross/mtr 2018-06-15 14:23:16 +02:00
R.E. Wolff
1225389cad Netbsd build fixes thanks to yvs2014 2018-06-15 14:23:01 +02:00
Roger Wolff
694dce7595
Merge pull request #262 from arekm/master
mtr to a unreachable host is possible again.
2018-06-07 14:19:35 +02:00
Arkadiusz Miśkiewicz
240725528c mtr to a unreachable host is possible again.
In mtr 0.87 it was possible to start mtr against unreachable
host (that local kernel already knew that it is unreachable).
Later it was broken. Make such tracing possible again.
2018-06-05 17:38:08 +02:00
Roger Wolff
d76c8a70ca
Merge pull request #261 from arekm/master
Also try SOCK_RAW/IPPROTO_ICMP when other fail.
2018-06-05 16:13:00 +02:00
Arkadiusz Miśkiewicz
455ad8a2b1 Also try SOCK_RAW/IPPROTO_ICMP when other fail.
Under Linux Vserver SOCK_RAW is quite limited. Only IPPROTO_ICMP works,
so try to use it.

check_length_order() also doesn't work because sendto is also limited.
Fortunately under linux check_length_order is not needed as described
in comment around check_length_order.
2018-06-05 15:54:44 +02:00
R.E. Wolff
d2fe63fb77 fixed typo 2018-05-07 16:36:23 +02:00
R.E. Wolff
457e2f957e rewritten weiyixuan's patch 2018-05-07 09:59:31 +02:00
Roger Wolff
11da79c450
Merge pull request #259 from weiyixuan/new_dev1
for tcp, fix : bind port failed, try next sequence
2018-05-07 09:50:43 +02:00
weiyixuan
69b39894ad for tcp, fix : bind port failed, try next sequence 2018-05-07 15:24:54 +08:00
R.E. Wolff
231ba5f3e6 -f equals -m fix from yvs2014 2018-04-18 12:22:23 +02:00
Roger Wolff
9602aa6152
Merge pull request #252 from weiyixuan/new_dev
Fix option --ipinfo 1 .  (Was apparently broken in the past)
2018-04-10 12:42:02 +02:00
weiyixuan
706164b791 Option --ipinfo 1 can not work properly 2018-04-10 17:56:04 +08:00
Roger Wolff
6c799fec77
Merge pull request #251 from weiyixuan/new_dev
Option --ipinfo n can not work properly
2018-04-10 09:34:38 +02:00
weiyixuan
3386c0344b Option -y can not work properly 2018-04-10 15:14:22 +08:00
Roger Wolff
e4022259c4
Merge pull request #248 from SaintBol/patch-9
Update mtr-packet.8.in
2018-03-21 09:06:55 +01:00
Roger Wolff
7d3c8072b7
Merge pull request #247 from SaintBol/patch-8
Update report.c
2018-03-21 09:06:42 +01:00
Roger Wolff
b8a5147632
Merge pull request #246 from SaintBol/patch-7
Update mtr.h
2018-03-21 09:06:20 +01:00
Roger Wolff
8a607c68b2
Merge pull request #245 from SaintBol/patch-6
Update curses.c
2018-03-21 09:06:09 +01:00
Roger Wolff
4b544d0f04
Merge pull request #244 from SaintBol/patch-5
Update cmdpipe.c
2018-03-21 09:05:57 +01:00
Roger Wolff
146088ed8f
Merge pull request #243 from SaintBol/patch-4
Update probe.h
2018-03-21 09:05:40 +01:00
Roger Wolff
9f5e7587a9
Merge pull request #242 from SaintBol/patch-3
Update probe.c
2018-03-21 09:05:29 +01:00
Roger Wolff
fc64de5819
Merge pull request #241 from SaintBol/patch-2
Update deconstruct_unix.c
2018-03-21 09:05:16 +01:00
Roger Wolff
3c37a21466
Merge pull request #240 from SaintBol/patch-1
Update protocols.h
2018-03-21 09:04:58 +01:00
SaintBol
6bb1fb1185
Update mtr-packet.8.in
RFC 5462 - MPLS EXP Field renamed to TC Field (Traffic Class)
2018-03-21 01:15:35 +01:00
SaintBol
3acb4431f8
Update report.c
RFC 5462 - MPLS EXP Field renamed to TC Field (Traffic Class)
2018-03-21 01:12:46 +01:00
SaintBol
9b2e128a30
Update mtr.h
RFC 5462 - MPLS EXP Field renamed to TC Field (Traffic Class)
2018-03-21 01:10:58 +01:00
SaintBol
2999f79b7b
Update curses.c
RFC 5462 - MPLS EXP Field renamed to TC Field (Traffic Class)
2018-03-21 01:09:30 +01:00