| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Source: https://serverfault.com/questions/333116/what-does-mdev-mean-in-ping8
Fixes: https://github.com/iputils/iputils/issues/43
Signed-off-by: David Heidelberg <david@ixit.cz>
|
|
|
|
|
|
| |
Fixes: https://github.com/iputils/iputils/issues/93
Signed-off-by: David Heidelberg <david@ixit.cz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sadly, integer representation may lead to imprecise information about
packet loss. Mostly in cases, where number is near to 0 or 100 percent.
This fix does final calculation and representation in float, so output
will make sense.
Fixes: https://github.com/iputils/iputils/issues/94
Signed-off-by: David Heidelberg <david@ixit.cz>
|
|\
| |
| | |
ping_common.c: POLLERRR is ignored in events
|
| |
| |
| |
| |
| |
| |
| | |
See 'man poll' or fs/select.c in kernel sources, POLLERR is ignored in
events and if error happens it will be returned regardless.
Signed-off-by: Cyril Hrubis <metan@ucw.cz>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This work is mostly inspired by systemd manpages procedure creation. [1]
With this commit, you can freely throw SGML tools and you should be fine
with xsltproc :)
Enjoy!
Also, please don't be shy fix bugs, it will need more polishing!
[1] https://github.com/systemd/systemd/tree/master/man
Fixes bug: https://github.com/iputils/iputils/issues/1
Fixes bug: https://github.com/iputils/iputils/issues/27
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| |
| |
| | |
This commit will speed up CI testing and cleanup .travis.yml file
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recently RELNOTES contained only git commits, which is not very
informative.
Please, use "$ git shortlog" instead.
Also get rid of UNAME_N, not used in Makefile.
Fixes: https://bugs.gentoo.org/626994
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
At this moment, there is no known user of this file.
Later, Meson build system should be able generate file based on
meson.build file.
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After ping and ping6 merge, defining F_FLOWINFO caused ipv4 ping starts
priting F_TIMESTAMP. This weird behaviour has been caused by defines overlap.
This behaviour couldn't happend when ping and ping6 has been standalone
binary, because separate codepaths.
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| | |
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Drop rest of code, duplicated and buggy.
Fixes: https://github.com/iputils/iputils/issues/70
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| | |
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Usage:
meson builddir/
cd builddir
ninja
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
| |
| |
| | |
Signed-off-by: David Heidelberg <david@ixit.cz>
|
|\ \
| |/
|/| |
ping: fix pmtu discovery for ipv6
|
| |
| |
| |
| | |
Fixes: #40
|
| |
| |
| |
| |
| |
| |
| |
| | |
Tracing to an IPv6 address was broken in 40fd68a784 when fixing tracing
to a hostname. It correctly moved the assignment to after the memcpy
into 'to', but that code path is only executed when tracing to a
hostname. The fix just moves the assignment to after the code paths for
filling out 'to' for both IPv6 addresses and hostnames.
|
|/
|
|
|
|
| |
When we call idna_to_ascii_lz, it allocates memory for the output, which
is put into the idn variable. According to the man page, we're required
to free it. This change simply frees the memory if it was allocated.
|
|
|
|
|
|
| |
The memory in result is freed when freeaddrinfo is called. We need to
copy that string into our own memory and free it before we exit. Changed
the exit(0) at the end of the loop to a break to simplify cleanup.
|
| |
|
|
|
|
| |
Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1373333.
|
|
|
|
| |
Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1387542
|
|
|
|
| |
Original bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1410114
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Noah Meyerhans <noahm@debian.org>
|
|\ \
| |/
|/| |
|
|/
|
|
| |
Signed-off-by: Singh <sstattla@gmail.com>
|
|
|
|
| |
Signed-off-by: David Heidelberg <david@ixit.cz>
|
| |
|
|\ |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to man connect(2), EACCES can be set either when pinging a
broadcast address, or when a local firewall rule is in place.
Easily reproduced by running "ip route add prohibit <ipaddr>" and then
trying to ping the address.
|
|\ \ \
| | | |
| | | | |
fix ping -6 -I
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ping passes the device variable to ping6_common.c, but it's not visible
there.
Original patch by Xin Long <lucien.xin@gmail.com>.
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
|/ /
| |
| |
| |
| | |
Also, give a less misleading error when a device cannot be automatically
determined and has to be specified by the user using the -I option.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before dropping our root privileges, we need to make sure that root
does not belong to any other group. That's because setgid() will change
the gid but it will leave the supplementary groups unchanged so we may
still be able to do privilege operations. Use setgroups() before set{u,g}id
to ensure that root does not have any unexpected priviledges.
Link: https://www.securecoding.cert.org/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
| |
| |
| |
| | |
Fixes #54, related #32.
|
| |
| |
| |
| | |
Closes #30.
|
| |
| |
| |
| | |
installation into prefix has to be done with DESTDIR make variable and that there's no prefix support in configure, close #21
|
| | |
|
| |
| |
| |
| | |
fixes #2
|
|\ \ |
|
|/ / |
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
| |
When the sin6_family was set to 0, the initial probe connect()
could have succeeded instead of failing.
Fixes #57.
|
|\ |
|
| | |
|