Gareth Randall [Tue, 9 Dec 2014 13:16:32 +0000 (13:16 +0000)]
Corrected the "without gtk" reference to "./configure --without-gtk", because the previous version "--WITHOUT_GTK" caused an error.
The error message was:
configure: error: unrecognized option: `--WITHOUT_GTK'
Also fixed a couple of README typos.
Colourize the ping graph in curses.
I've been thinking about making this an option (i.e. you can disable this on the command line).
Decision: No, set your terminal type to something that doesn't support colors if you don't want colors.
- generally improve the look of the man page and help message
- add missing command line options to the man page
- reorder command line options to be more consistent
- use the same order for command line options everywhere (man page, code, help message)
- add missing switches in getopt_long call (-M, -F)
- fix incorrect switch in getopt_long call (-Z)
Note that a few options were never documented (they are now marked as
"MISSING" in the man page).
Adam Borowski [Fri, 11 Jul 2014 19:47:03 +0000 (21:47 +0200)]
Colourize the ping graph in curses.
The display used, .123abc> is nearly completely unreadable at a glance.
We can use colours, as the only terminal from last 25 years I'm aware of
that did not support colours was Win3.1/95 telnet.exe, and even that did
degrade to monochrome rather than to garbage.
Add support for setting SO_MARK through --mark option.
This emulates the -m option for ping provided in iputils. When coupled
with iptables, this option provides a means of using source routing to
force probes through a consistent nexthop on multihomed systems.
aquerubin [Wed, 29 Jan 2014 00:50:06 +0000 (14:50 -1000)]
Restore the name resolver query order to their relative position in
/etc/resolv.conf (the IPv6 resolver patch I submitted earlier broke this
normal, expected behaviour). Ie. currently, IPv6 resolvers are always
queried before IPv4 resolvers regardless of their position in
resolv.conf.
Michal Sekletar [Tue, 24 Sep 2013 10:56:11 +0000 (12:56 +0200)]
dns: iterate over all configured nameservers
Previously if there were three nameservers configured and third one was
reachable via IPv6 we didn't sent query to it, since NSCOUNT6 was equal to
one. Clearly it was the original intention to sent query to all IPv6
nameservers.
core: introduce grace period
This patch was somehow lost. I wrote and included this for 0.81, but it was removed again in 0.82. This was before git, so things were a bit messy back then. Sorry.
Michal Sekletar [Tue, 17 Sep 2013 14:11:20 +0000 (16:11 +0200)]
core: introduce grace period
In report mode we break out from select loop immediately after we reach
maximum count of iterations. But we should wait for packets which are still on
the way.
In order to fix the issue we introduce grace period during which we don't send
out more packets but we just wait for responses which might be still on the way.
Markus Chou [Sat, 6 Jul 2013 17:01:10 +0000 (01:01 +0800)]
fix building on osx
On Linux, they use 'BIND_4_COMPAT' and #include <arpa/nameser_compat.h> in <arpa/nameser.h>
On OSX, if 'BIND_8_COMPAT' is #defined, <arpa/nameser_compat.h> is #included in <arpa/nameser.h>
rewolff [Tue, 18 Jun 2013 05:36:08 +0000 (22:36 -0700)]
Merge pull request #16 from rpwoodbu/fix_sizes
Convey static array sizes with a constant instead of manual immediate values.
Good work. You say "log scale" while it is quadratic. wouldn't
for (i=NUM_FACTORS-1,t=1.0;i>0;i--, t = t/2.5) factors[i] = t;
work better? (I'm away, I remember seeing factors 0.02 and 0.05 next to each other hence the 2.5 )
Vaibhav Bajpai [Sun, 5 May 2013 16:35:53 +0000 (18:35 +0200)]
when looping on a list of service names with --csv, do not exit on the first
failure; instead write the error on stderr, skip that service names and move
on to the next service name in the list
Vaibhav Bajpai [Sun, 5 May 2013 15:09:12 +0000 (17:09 +0200)]
added --filename=FILE option
service names read from this file are allocated in a linked list
multiple service names are only accepted with --csv flag
without --csv flag, the first service name is used
Vaibhav Bajpai [Sun, 5 May 2013 14:06:37 +0000 (16:06 +0200)]
updated --csv format: VERSION;TIMESTAMP;STATUS;HOSTNAME;TTL;ENDPOINT;ASN;PING(ms)
STATUS field is hardcoded to "OK" for now; not sure what "FAIL" would mean