- Feb 02, 2021
-
-
Petr Vorel authored
Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
Closes: https://github.com/iputils/iputils/issues/308 Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Feb 01, 2021
-
-
Petr Vorel authored
86% translated, by Rafael Fontenelle Signed-off-by:
Rafael Fontenelle <rafaelff@gnome.org> Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Jan 27, 2021
-
-
Petr Vorel authored
* French (55%) * Brazilian (53%) and reflect changes in d3ce250b. Signed-off-by:
Julien Humbert <julroy67@gmail.com> Signed-off-by:
Rafael Fontenelle <rafaelff@gnome.org> [ pvorel: add copyright + cleanup header ] Signed-off-by:
Petr Vorel <petr.vorel@gmail.com>
-
- Jan 26, 2021
-
-
Petr Vorel authored
Still 84%, but reflect changes in d3ce250b. Signed-off-by:
Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> Signed-off-by:
Petr Vorel <petr.vorel@gmail.com>
-
- Jan 25, 2021
-
-
Rafael Fontenelle authored
Closes: https://github.com/iputils/iputils/pull/280 Signed-off-by:
Rafael Fontenelle <rafaelff@gnome.org> [ pvorel: rebased ] Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Mike Gilbert authored
The xinet.d config expects the daemon to live in sbindir. Closes: https://github.com/iputils/iputils/pull/310 Reviewed-by:
Petr Vorel <pvorel@suse.cz> Signed-off-by:
Mike Gilbert <floppym@gentoo.org>
-
Mike Gilbert authored
The close_stream function calls fclose, so don't call it again. This resolves an abort in glibc: Message: Process 1038079 (tftpd) of user 65534 dumped core. Stack trace of thread 1038079: #0 0x00007f5f650ed204 raise (libc.so.6 + 0x39204) #1 0x00007f5f650d6547 abort (libc.so.6 + 0x22547) #2 0x00007f5f6512f25f n/a (libc.so.6 + 0x7b25f) #3 0x00007f5f651372fa n/a (libc.so.6 + 0x832fa) #4 0x00007f5f65138dc2 n/a (libc.so.6 + 0x84dc2) #5 0x00007f5f65124b2f fclose (libc.so.6 + 0x70b2f) #6 0x000055571a50de73 recvfile (tftpd + 0x2e73) #7 0x000055571a50e064 tftp (tftpd + 0x3064) #8 0x000055571a50e387 tftpd_inetd (tftpd + 0x3387) #9 0x000055571a50e50f main (tftpd + 0x350f) #10 0x00007f5f650d7e6d __libc_start_main (libc.so.6 + 0x23e6d) #11 0x000055571a50d3ca _start (tftpd + 0x23ca) Fixes: 5d6be657 ("tftpd: remove global variables by using a run state struct") Reviewed-by:
Petr Vorel <pvorel@suse.cz> Signed-off-by:
Mike Gilbert <floppym@gentoo.org>
-
- Jan 22, 2021
-
-
Petr Vorel authored
We agreed that it does not make sense to follow https://semver.org/, but leading s is useless nowadays. Thus update docs before new release, which implement it. References: https://github.com/iputils/iputils/issues/269 Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
Fixes: 918e824d ("ping: add support for sub-second timeouts") References: https://github.com/iputils/iputils/issues/290 Closes: https://github.com/iputils/iputils/pull/306 Reviewed-by:
Noah Meyerhans <noahm@debian.org> Reviewed-by:
Joerg Vehlow <joerg.vehlow@aox-tech.de> Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Jan 13, 2021
-
-
Petr Vorel authored
Due wrong formatting man page contained unwanted '.RE'. Fixes: e3467f62 ("doc/ping: Document decimal separator changes") Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Dec 28, 2020
-
-
Petr Vorel authored
Eoan is failing: E: The repository 'http://security.ubuntu.com/ubuntu eoan-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. And 20.04 LTS focal in Travis is still fails on debconf issue ("debconf: unable to initialize frontend: Dialog") Old 16.04 LTS xenial is still supported and working in Travis, thus move to new groovy gives us good coverage both old and new releases. Signed-off-by:
Petr Vorel <petr.vorel@gmail.com>
-
- Nov 29, 2020
-
-
Sami Kerola authored
It doesn't matter how many spaces is used to indent yaml, but one should be consistent with number of spaces when indenting. Signed-off-by:
Sami Kerola <kerolasa@iki.fi>
-
Andreas Rammhold authored
In some environments it is desired to generate the systemd units even thought systemd doesn't exist there. One of those use cases are sandboxed builds that only have the build dependencies. This commit adds support for setting the option INSTALL_SYSTEMD_UNITS to true (in combination with systemdunitdir) to still install the files without systemd being available. Signed-off-by:
Andreas Rammhold <andreas@rammhold.de>
-
- Nov 17, 2020
-
-
Artem Leshchev authored
If recvmsg(..., MSG_ERRQUEUE) returned error, ping can misinterpret EHOSTUNREACH from recvmsg in the main loop as error that happened from his own packets and print the following message: ping: recvmsg: No route to host However, this also could be an error from other ping, that was received by this process because of RAW socket. So it's better to skip this error and process it properly in the next cycle. Signed-off-by:
Artem Leshchev <matshch@yandex-team.ru>
-
- Nov 01, 2020
-
-
lac-0073 authored
The arping is using inconsistent sender_ip_addr and target_ip_addr in messages. This causes the client receiving the arp message not to update the arp table entries. The specific performance is as follows: There is a machine 2 with IP 10.20.30.3 configured on eth0:0 that is in the same IP subnet as eth0. This IP was originally used on another machine 1, and th IP needs to be changed back to the machine 1. When using the arping command to announce what ethernet address has IP 10.20.30.3, the arp table on machine 3 is not updated. Machine 3 original arp table: 10.20.30.3 machine 2 eth0:0 00:00:00:00:00:02 10.20.30.2 machine 2 eth0 00:00:00:00:00:02 10.20.30.1 machine 1 eth0 00:00:00:00:00:01 Create interface eth0:0 on machine 1, and use the arping command to send arp packets. Expected outcome on machine 3: 10.20.30.3 machine 1 eth0:0 00:00:00:00:00:01 10.20.30.2 machine 2 eth0 00:00:00:00:00:02 10.20.30.1 machine 1 eth0 00:00:00:00:00:01 Actual results on machine 3: 10.20.30.3 machine 2 eth0:0 00:00:00:00:00:02 10.20.30.2 machine 2 eth0 00:00:00:00:00:02 10.20.30.1 machine 1 eth0 00:00:00:00:00:01 Fixes: https://github.com/iputils/iputils/issues/298 Fixes: 68f12fc4 Signed-off-by:
Aichun Li <liaichun@huawei.com>
-
- Aug 29, 2020
-
-
l00450120 authored
This change will make ping exit normally when system clock is changed during time time when ping runs, and more imporatntly the is set before start time. Earlier that caused infinite loop. Fixes: https://github.com/iputils/iputils/issues/276
-
Nuno Silva authored
Fixes: https://github.com/iputils/iputils/issues/291
-
- Aug 21, 2020
-
-
Petr Vorel authored
Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
- we now require list the most notable changes and important or security related fixes in CHANGES file (versioned) - add instructions and example commands for giving credit for all contributors in release message - rename variable s/$date/$tag/ to be more descriptive Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
=> in the future (add missing definite article) https://jakubmarian.com/in-the-future-vs-in-future-in-british-and-american-english/ NOTE: ignoring source code comments. Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
Fixes: 275e1e52 ("localization: Update translations"), 5393c052 ("localization: Update translations") Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Aug 18, 2020
-
-
Petr Vorel authored
Handling -i and -W parameter changed over the time, recently introducing several *incompatible* changes: * -i interval option Until s20121114 ping used '.' (dot) as a decimal separator. Then in 04d3f798 ("ping,ping6: Do not assume radix point is denoted by '.' (-i option).") released in s20121121 decided to use decimal point from locales (depended on $LC_NUMERIC). But even then it depend on USE_IDN=yes which does not make much sense. Recently d865d4c4 ("ping: Use C locale for parsing -i/-W without IDN") addressed that and called setlocale() unconditionally. Maybe condition based on ENABLE_NLS definition should have been discussed, but that would probably lead just to LC_ALL=C setup in the scripts. People also get confused by old behavior when decimal separator depends on locale as some distros e.g. compile without IDN but other don't (see issue #273) But that introduced *incompatible* behavior for next release, thus documenting it in this commit. 562e0d57 fixed problems for -W, but also introduced yet another *incompatible* behavior as invalid number is no longer fatal error (see below). d1961773 ("ping: Add missing preprocesses checks around setlocale() calls") unintentionally restored the old behavior, which was fixed by previous commit 7a90bd5 ("ping: Fix handling decimal separator for -i/-W opt"). * -W timeout option Until s20180629 there was undocumented behavior: 1) timeout silently rounded down to the next lower integral number 2) -W N for N < 1 was rounded to 0 => infinite timeout (obviously a bug) 3) -W Ns worked as expected (sleep for N sec, as 's' was dropped, this could be considered as a feature) 4) -W Nm -W Nh also slept for N sec instead of N min or hour (obviously a bug) 918e824d ("ping: add support for sub-second timeouts") released in s20190324 fixed 1) and 2) by allowing real number with locale based decimal separator when USE_IDN=yes configured. But that introduced *incompatible* behavior as broke 3 and 4). As it was not documented in release notes, people complained (issue #236). 562e0d57 ("ping: allow -i and -W option arguments contain garbage input") restored 3) and 4) support (everything including and after first non-numeric character is dropped, warning printed). See also: #290 Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
This reverts commit d1961773. Restore the behavior which was introduced in 918e824d. We always want to use "." as a decimal separator for parsing -i/-W option regardless used locale and whether IDN is used. Therefore we always need to call strtod() with C locale. Thus we always need to set C locale for parsing -i/-W option as was introduced in 918e824d (which brought regression: missing include <locale.h>). Also include <locale.h> (d1961773 included it only conditionally via iputils_common.h and 918e824d didn't include it at all). This effectively reverts d1961773 ("ping: Add missing preprocesses checks around setlocale() calls") which unintentionally restored the old behavior. Fixes: 918e824d ("ping: add support for sub-second timeouts") See also: #290 Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Aug 16, 2020
-
-
Petr Vorel authored
Japanese (84% translated, by Tomohiro KATO) Turkish (100% translated, by Oğuz Ersen, new translation) Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
keep them on single line. Fixes: 5393c052 ("localization: Update translations") Signed-off-by:
Petr Vorel <petr.vorel@gmail.com>
-
- Aug 10, 2020
-
-
Petr Vorel authored
Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Aug 05, 2020
-
-
Petr Vorel authored
To cover #284 issue (fixed in previous build). NOTE: not all travis jobs fail when built with -DUSE_GETTEXT=false, only these are affected: * Alpine * CentOS 7 * Debian oldstable * Ubuntu Xenial Choose Ubuntu Xenial. Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Noah Meyerhans authored
This fixes build with -Wimplicit-function-declaration on old distros (it looks like to be issue on Debian oldstable, CentOS 7, Ubuntu Xenial and on musl (Alpine), but not on recent ones): [10/22] cc -Iping/ping.p -Iping -I../ping -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -g -include config.h -include git-version.h -MD -MQ ping/ping.p/ping.c.o -MF ping/ping.p/ping.c.o.d -o ping/ping.p/ping.c.o -c ../ping/ping.c FAILED: ping/ping.p/ping.c.o cc -Iping/ping.p -Iping -I../ping -I. -I.. -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c99 -g -include config.h -include git-version.h -MD -MQ ping/ping.p/ping.c.o -MF ping/ping.p/ping.c.o.d -o ping/ping.p/ping.c.o -c ../ping/ping.c ../ping/ping.c: In function ‘ping_strtod’: ../ping/ping.c:181:2: warning: implicit declaration of function ‘setlocale’ [-Wimplicit-function-declaration] 181 | setlocale(LC_ALL, "C"); | ^~~~~~~~~ ../ping/ping.c:181:12: error: ‘LC_ALL’ undeclared (first use in this function); did you mean ‘P_ALL’? 181 | setlocale(LC_ALL, "C"); | ^~~~~~ | P_ALL ../ping/ping.c:181:12: note: each undeclared identifier is reported only once for each function it appears in Fixes: 918e824d ("ping: add support for sub-second timeouts") Fixes: #284 Reviewed-by:
Petr Vorel <pvorel@suse.cz> Signed-off-by:
Noah Meyerhans <noahm@debian.org> [ pvorel: add missing include to have <locale.h>, extend commit message ] Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
-Wformat -Werror=format-security -Werror=implicit-function-declaration -Werror=return-type -fno-common Used for travis CI build, can be overridden for local builds. Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
to have yet another stable distro. Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
on Debian testing Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
Petr Vorel authored
to fix Travis before release. Debian testing has package dependency problems: The following packages have unmet dependencies: libc6:arm64 : Depends: libgcc-s1:arm64 but it is not installable E: Unable to correct problems, you have held broken packages. Debian stable cannot be used because 0.49.2 fails to cross compile: Cross C compiler: aarch64-linux-gnu-gcc (gcc 8.3.0) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 112, in run return options.run_func(options) ... File "/usr/lib/python3/dist-packages/mesonbuild/environment.py", line 971, in detect_static_linker linker = self.cross_info.config['binaries']['ar'] KeyError: 'ar' (Debian testing uses 0.54.3, unstable: 0.55) Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Aug 04, 2020
-
-
Petr Vorel authored
Update translations from [1]. new translations: * German (53% translated, by Jens Maucher) * French (40% translated, by Julien Humbert) * Portuguese (Brazil) (43% translated, by Rafael Fontenelle) * Chinese (Simplified, zh_CN) (38% translated, by Qiyu Yan) updated: * Ukrainian (100% translated, by Yuri Chornoivan) [1] https://translate.fedoraproject.org/projects/iputils/iputils/ Co-Developed-by:
Jens Maucher <de@li.org> Co-Developed-by:
Julien Humbert <julroy67@gmail.com> Co-Developed-by:
Rafael Fontenelle <rafaelff@gnome.org> Co-Developed-by:
Qiyu Yan <yanqiyu01@gmail.com> Co-Developed-by:
Yuri Chornoivan <yurchor@ukr.net> [ pvorel: fixed Language-Team: URL ] Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Aug 03, 2020
-
-
Petr Vorel authored
Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- Jul 05, 2020
-
-
Duncan Eastoe authored
Since b3a41a6e presence of the -B option has caused the strictroute flag to be set instead of strictsource. Signed-off-by:
Duncan Eastoe <duncan.eastoe@att.com>
-
- Jun 21, 2020
-
-
Petr Vorel authored
Closes: #271 Signed-off-by:
Petr Vorel <petr.vorel@gmail.com>
-
- Jun 01, 2020
-
-
Petr Vorel authored
aarch64 builds are failing due package problems on Debian: The following packages have unmet dependencies: libidn2-0:arm64 : Depends: libunistring2:arm64 (>= 0.9.7) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Although these problems will be probably fixed soon, Debian testing is more stable and still new enough. Signed-off-by:
Petr Vorel <pvorel@suse.cz>
-
- May 26, 2020
-
-
Sami Kerola authored
These are defined in <linux/in6.h> that is included in "ping.h" but <linux/libc-compat.h> is setting definitions avoid headers clashes with libc definitions causing <linux/in6.h> defines not to be reached. While avoiding local #ifndef checks might be possible it doesn't seem to be unreasonable to add defines to keep things simple. Addresses: https://github.com/iputils/iputils/issues/268 Fixes: 43afde29 Tested-by:
Petr Vorel <petr.vorel@gmail.com> Signed-off-by:
Sami Kerola <kerolasa@iki.fi>
-