SHA256
1
0
forked from pool/iputils

142 Commits

Author SHA256 Message Date
674b786d30 Sync changes to SLFO-1.2 branch 2025-08-20 09:28:43 +02:00
e3f23f8c2e Accepting request 1283388 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1283388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=74
2025-06-10 06:57:42 +00:00
Petr Vorel
ec680e1c08 - Update to version 20250605
Fixing regression in ping.
  https://github.com/iputils/iputils/releases/tag/20250605

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=124
2025-06-05 14:21:17 +00:00
b0e6f8cdc9 Accepting request 1281957 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1281957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=73
2025-06-03 15:50:55 +00:00
Petr Vorel
49c859846f OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=122 2025-06-02 14:25:16 +00:00
Petr Vorel
fe1820180e - Fix bsc#1243284 - ping on s390x prints invalid ttl
- Run testsuite as a part of building (requires SUSE specific workaround
  iputils-localhost-ipv6-workaround.patch)
- Security fix [bsc#1242300, CVE-2025-47268]
  * integer overflow in RTT calculation can lead to undefined behavior

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=121
2025-06-02 11:11:52 +00:00
Petr Vorel
5ca1f20160 - Remove patches from this release (iputils-CVE-2025-47268.patch,
0001-Fix-ping-man-page-syntax-error.patch)

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=120
2025-06-02 11:05:39 +00:00
Petr Vorel
0bc4afa456 - Update to version 20250602
Security release, fixes CVE-2025-47268 and CVE-2025-48964.
  https://github.com/iputils/iputils/releases/tag/20250602
- Remove html man page (required to avoid a build failure)
- Remove patches from this release

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=119
2025-06-02 10:55:22 +00:00
Petr Vorel
888b21415c - Fix bsc#1243284 - ping on s390x prints invalid ttl
* Add iputils-invalid-ttl-s390x.patch
  * Fix ipv4 ttl value when using SOCK_DGRAM on big endian systems
- Run testsuite as a part of building

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=118
2025-05-20 14:23:19 +00:00
3ce217ce79 Accepting request 1277017 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1277017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=72
2025-05-15 14:59:15 +00:00
Petr Vorel
79a4f35ca0 - Security fix [bsc#1242300, CVE-2025-47268]
* integer overflow in RTT calculation can lead to undefined behavior 
  * Add iputils-CVE-2025-47268.patch

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=116
2025-05-13 06:26:42 +00:00
5f7bff6eaa Accepting request 1234611 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1234611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=71
2025-01-06 15:05:00 +00:00
Petr Vorel
79d893b05a - Backport ping man page fix
0001-Fix-ping-man-page-syntax-error.patch

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=114
2025-01-02 17:39:39 +00:00
34b7ea07b3 Accepting request 1198958 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1198958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=70
2024-09-06 15:18:02 +00:00
9f92ef78d9 Accepting request 1139439 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1139439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=69
2024-01-18 20:51:41 +00:00
Petr Vorel
63bb31e200 Accepting request 1139433 from home:pevik:branches:network:utilities
- Update to version 20240117 (ping bugfix release)
  https://github.com/iputils/iputils/releases/tag/20240117

OBS-URL: https://build.opensuse.org/request/show/1139433
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=110
2024-01-17 11:42:14 +00:00
2feea35c74 Accepting request 1134679 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1134679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=68
2023-12-25 18:04:48 +00:00
Petr Vorel
e5f8dbd7a6 Accepting request 1134678 from home:pevik:branches:network:utilities
- Update to version 20231222
  https://github.com/iputils/iputils/releases/tag/20231222
- Use tar.xz instead of tar.gz
- Update source URL

OBS-URL: https://build.opensuse.org/request/show/1134678
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=108
2023-12-22 21:32:59 +00:00
8665ac43cd Accepting request 1055957 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1055957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=67
2023-01-05 14:00:22 +00:00
Petr Vorel
1a28b4c3a6 Accepting request 1054772 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1054772
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=106
2023-01-04 16:34:02 +00:00
81f9aa9478 Accepting request 1038285 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1038285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=66
2022-11-27 11:52:54 +00:00
Petr Vorel
db5feaf13b Accepting request 1038284 from home:pevik:branches:network:utilities
- Update to version 20221126
  https://github.com/iputils/iputils/releases/tag/20221126
- Update configure variables (ninfod, rarpd and rdisc were removed from
  upstream in next release => remove -DBUILD_NINFOD=false -DBUILD_RARPD=false
  -DBUILD_RDISC=false)
- Remove 2 backported fixes from this release
  0001-ping-Add-SA_RESTART-to-sa_flags.patch
  0002-ping-Make-ping_rts-struct-static.patch

OBS-URL: https://build.opensuse.org/request/show/1038284
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=104
2022-11-26 00:36:03 +00:00
5975787625 Accepting request 1007676 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1007676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=65
2022-10-04 18:37:02 +00:00
Petr Vorel
3c01d125de Accepting request 1007675 from home:pevik:branches:network:utilities
- Backport 2 fixes for bsc#1203957:
  0001-ping-Add-SA_RESTART-to-sa_flags.patch
  0002-ping-Make-ping_rts-struct-static.patch

OBS-URL: https://build.opensuse.org/request/show/1007675
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=102
2022-10-03 11:54:24 +00:00
47dcea21c1 Accepting request 954391 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/954391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=64
2022-02-16 23:29:51 +00:00
Petr Vorel
e0d369c10b Accepting request 954169 from home:pgajdos
- rarpd and rdisc tools are now disabled again [jsc#SLE-23521]

OBS-URL: https://build.opensuse.org/request/show/954169
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=101
2022-02-14 21:32:16 +00:00
6d72e6bd06 Accepting request 949038 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/949038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=63
2022-01-27 22:16:20 +00:00
Petr Vorel
636e0595aa Accepting request 949025 from home:pgajdos
- temporarily reintroduce rarpd and rdisc tools to get them into
  15sp4 [jsc#SLE-23521]

OBS-URL: https://build.opensuse.org/request/show/949025
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=100
2022-01-25 14:58:26 +00:00
7c790c79a1 Accepting request 940744 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/940744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=62
2021-12-18 19:29:35 +00:00
Petr Vorel
dad1ef52fd Accepting request 940741 from home:pevik:branches:network:utilities
- Update to version 20211215
  https://github.com/iputils/iputils/releases/tag/20211215
- rarpd and rdisc are going to be removed in next release
  (https://github.com/iputils/iputils/issues/363)
  therefore don't pack it since this release
- Drop harden_rdisc.service.patch, which was 1) merged upstream
  4bb0ace ("systemd: Add ProtectHostname, ProtectKernelLogs")
  for all services
  2) we don't build rdisc since this release

OBS-URL: https://build.opensuse.org/request/show/940741
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=99
2021-12-15 14:22:56 +00:00
9674c5f9da Accepting request 925486 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/925486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=61
2021-10-19 21:03:27 +00:00
Petr Vorel
83784f207b Accepting request 925462 from home:jsegitz:branches:systemdhardening_protectclock
- Drop ProtectClock hardening, can cause issues if other device acceess is needed

OBS-URL: https://build.opensuse.org/request/show/925462
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=98
2021-10-15 14:18:45 +00:00
4bfbceb2cb Accepting request 921099 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/921099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=60
2021-09-26 19:48:35 +00:00
Petr Vorel
1df0aacc1c Accepting request 921086 from home:jsegitz:branches:systemdhardening:network:utilities
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/921086
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=97
2021-09-23 07:10:34 +00:00
b0b9235022 Accepting request 907798 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/907798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=59
2021-07-26 15:37:52 +00:00
Petr Vorel
14164ba784 Accepting request 907796 from home:pevik:branches:network:utilities
- Update to version 20210722
  https://github.com/iputils/iputils/releases/tag/20210722
- Use rarpd.service from upstream (removes PrivateUsers=yes, which fixes broken
  start of the service, adds DynamicUser=yes for more security)
- Add BuildRequires:  iproute2 (required for running tests)

OBS-URL: https://build.opensuse.org/request/show/907796
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=96
2021-07-22 16:55:39 +00:00
727660aaa6 Accepting request 879744 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/879744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=58
2021-03-21 22:18:47 +00:00
Petr Vorel
9da21027b5 Accepting request 879520 from home:elvigia:branches:network:utilities
- Binaries were found to be not optimized or built
  with proper %optflags.

OBS-URL: https://build.opensuse.org/request/show/879520
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=94
2021-03-17 21:17:19 +00:00
a3ee6949af Accepting request 868573 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/868573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=57
2021-02-07 14:14:08 +00:00
Petr Vorel
4ed924aac8 Accepting request 868572 from home:pevik:branches:network:utilities
- Update to version 20210202
  https://github.com/iputils/iputils/releases/tag/20210202
- Version scheme change: dropped leading 's', update that change

OBS-URL: https://build.opensuse.org/request/show/868572
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=92
2021-02-02 09:47:29 +00:00
b4bbab3178 Accepting request 849626 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/849626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=56
2020-11-23 15:38:55 +00:00
Petr Vorel
c061fdda8a Accepting request 849616 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849616
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=90
2020-11-20 10:37:09 +00:00
2224eaa16d Accepting request 842570 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/842570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=55
2020-10-22 12:22:13 +00:00
Petr Vorel
278c1770a5 Accepting request 842540 from home:dimstar:Factory
- Reference meson's build subdirectory as %_vpath_builddir, to
  line up with meson's structure.

OBS-URL: https://build.opensuse.org/request/show/842540
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=88
2020-10-19 14:15:09 +00:00
67f2a71f74 Accepting request 840044 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/840044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=54
2020-10-10 17:00:51 +00:00
Petr Vorel
8d315d4ca9 Accepting request 840033 from home:mgerstner:branches:network:utilities
- No longer invoke permissions macros for ping. It now uses ICMP_PROTO sockets
  (bsc#1174504).

OBS-URL: https://build.opensuse.org/request/show/840033
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=86
2020-10-07 12:39:55 +00:00
f50bb372b2 Accepting request 828889 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/828889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=53
2020-08-28 19:17:40 +00:00
Petr Vorel
91df0ef2e9 Accepting request 828887 from home:pevik:branches:network:utilities
- Update to version s20200821
  https://github.com/iputils/iputils/releases/tag/s20200821
- Remove BuildRequires libopenssl-devel (added md5 implementation thus not needed)
- Remove patches from this release
  (arping-revert-partially-fix-sent-vs-received-package.patch,
  arping-fix-f-quit-on-first-reply-regression.patch)

OBS-URL: https://build.opensuse.org/request/show/828887
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=84
2020-08-24 09:28:50 +00:00
ad9563cf81 Accepting request 826693 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/826693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=52
2020-08-16 18:33:07 +00:00
Petr Vorel
a6e54f9ced Accepting request 826692 from home:pevik:branches:network:utilities
- Remove 2 old patches (iputils-sec-ping-unblock.diff, iputils-ping-interrupt.diff)
  Although not documented, they both belong to bsc#674304. Fix from 2011 was
  resolved upstream in commit 810dd7f ("ping,ping6: Unmask signals on
  start-up.") [1], released in s20121112.
- Use %autosetup -p1

OBS-URL: https://build.opensuse.org/request/show/826692
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=82
2020-08-14 14:47:40 +00:00
9c347d748e Accepting request 820576 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/820576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=51
2020-07-16 10:09:19 +00:00
Petr Vorel
d21237e341 Accepting request 820573 from home:AndreasStieger:branches:network:utilities
- remove unneeded libidn build dependency (boo#1174049)

OBS-URL: https://build.opensuse.org/request/show/820573
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=80
2020-07-12 21:10:09 +00:00
7f62a3dcd6 Accepting request 729390 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/729390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=50
2019-09-20 12:37:51 +00:00
Petr Vorel
f37f14ff6e Accepting request 728978 from home:pevik:branches:network:utilities
- Fix arping -w problem (https://github.com/iputils/iputils/issues/211)
 * added arping-fix-f-quit-on-first-reply-regression.patch
 (upstream commit 1df5350)

OBS-URL: https://build.opensuse.org/request/show/728978
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=78
2019-09-09 10:06:17 +00:00
85c12f442a Accepting request 725568 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/725568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=49
2019-08-28 14:01:18 +00:00
74f031719a Accepting request 724875 from home:mwilck:branches:network:utilities
- Fix arping -D problem (bsc#1146440)
 * added arping-revert-partially-fix-sent-vs-received-package.patch
 (upstream commit 18f14be)

OBS-URL: https://build.opensuse.org/request/show/724875
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=76
2019-08-23 13:03:57 +00:00
8169fb4aab Accepting request 718749 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/718749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=48
2019-07-31 12:14:48 +00:00
Petr Vorel
aaad44df4d Accepting request 718740 from home:pevik:branches:network:utilities
- Set caps for clockdiff (boo#1140994), based on change in permissions package
  5da6a81e38
- With new permissions package both clockdiff and ping have capabilities
  cap_net_raw+p instead of cap_net_raw+ep (boo#1140993), also ping6 does not
  try to set permissions on links (boo#1140991)
- Pass -DNO_SETCAP_OR_SUID=true (don't run setcap via distro script
  build-aux/setcap-setuid.sh, we set capabilities with rpm)

OBS-URL: https://build.opensuse.org/request/show/718740
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=74
2019-07-26 07:18:34 +00:00
ceefbe7919 Accepting request 714410 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/714410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=47
2019-07-15 20:42:48 +00:00
Petr Vorel
a0994efb59 Accepting request 714409 from home:pevik:branches:network:utilities
- Update to version s20190709
- Removed patches included in this upstream release:
  ping-Fix-unwanted-bell-on-unreachable-address.patch
  0001-build-sys-doc-Fix-the-dependency-on-xsltproc.patch
  meson-remove-setcap-setuid.sh.patch
- Add libcap-progs as a build dependency (setcap is needed)

OBS-URL: https://build.opensuse.org/request/show/714409
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=72
2019-07-10 10:32:03 +00:00
740b60b992 Accepting request 709983 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/709983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=46
2019-06-18 12:54:53 +00:00
Petr Vorel
3b773a7ca4 Accepting request 709982 from home:pevik:branches:network:utilities
- Add patch ping-Fix-unwanted-bell-on-unreachable-address.patch (boo#1135118)

OBS-URL: https://build.opensuse.org/request/show/709982
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=70
2019-06-14 13:15:11 +00:00
9131931e27 Accepting request 705287 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/705287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=45
2019-05-28 07:41:27 +00:00
Petr Vorel
8eebf12ed0 Accepting request 705286 from home:pevik:branches:network:utilities
- Update to version s20190515 (includes changes s20190324)
  * s20190324: 189 commits since s20180629 that include changing build
    system from autotools to meson, added rarpd and rdisc systemd service
    files, many fixes
  * s20190515 bugfix release (6 commits)
- User visible change: arping and clockdiff are moved from /usr/sbin
  to /usr/bin (respect upstream path)
- Backport patch 0001-build-sys-doc-Fix-the-dependency-on-xsltproc.patch
  (fixing build system)
- Add workaround patch meson-remove-setcap-setuid.sh.patch
- Remove 0001-tracepath-Fix-copying-input-IPv6-address.patch
  (included in s20190324 release)
- Refresh old patches (iputils-ping-interrupt.diff, iputils-sec-ping-unblock.diff)
- Changes caused by upstream switching to meson build system (drop sed build dependency)
- Added locales
- Fix typos

OBS-URL: https://build.opensuse.org/request/show/705286
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=68
2019-05-24 17:12:38 +00:00
74b7a994dd Accepting request 625585 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/625585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=44
2018-08-02 12:49:50 +00:00
OBS User mrdocs
95b1378b91 Accepting request 625387 from home:pevik:branches:network:utilities
- Backport upstream patch fixing tracepath6 (poo#38492)
  e0baf20 tracepath: Fix copying input IPv6 address
  0001-tracepath-Fix-copying-input-IPv6-address.patch

+ Reindex patch numbers.

OBS-URL: https://build.opensuse.org/request/show/625387
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=66
2018-07-27 02:50:14 +00:00
c2b83da08e Accepting request 620534 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/620534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=43
2018-07-06 08:38:35 +00:00
Petr Vorel
a4fc3d0421 Accepting request 619908 from home:pevik:branches:network:utilities
- Update to version s20180629
  * ping: Fix signed overflow/conversion warning
  * ping: Fix ping name encoded using ACE on C locale
  * fix checksum always success in IPv4 ping.
  * ping6: Fix device binding
  * Ping: Correct rounding of timing displays
  * docs: Tiny fixes in README.md
  * doc/ping: Update Interface section
  * doc/ping: Replace deprecated commands in "SEE ALSO" section
  * Revert "correctly initialize first hop"
  * tracepath: Support calling `tracepath` as `tracepath4` or `tracepath6`
  * ping: remove spurious error message
  * tracepath: fix heap-buffer-overflow [asan]
  * arping: do not use libsysfs to read from /sys
  * .travis.yml: corrected variable values in matrix
  * .travis.yml: install libidn2
  * ping: use libidn2 instead of libidn
  * ping: Remove workaround for bug in IP_RECVERR on raw sockets
  * ping6: simplified IDNA usage
  * traceroute6: use getaddrinfo IDNA conversion
  * arping,tracepath: removed unused idna header
  * cleanup: really old code, simplify little bit
  * licenses: fill missing clockdiff.c and ping_common.c license
  * LICENSE: convert BSD4 to BSD3 license
  * doc: ping - document mdev behaviour
  * LICENSE: add information about licenses
  * ping: fix incorrect packet loss calculation
  * doc: convert from converting SGML to XML
  * travis-ci: cleanup and switch to Ubuntu 14.04 build
  * RELNOTES: deprecated in favor of git history & github
  * remove iputils.spec
  * ping: fix conflicting defines
  * ping: flowinfo: fixup checks for flowinfo and also add decimal numbers support
  * ping: parsetos verification is enough, allow decimal values
  * ping: fix typo in error tos error message
  * meson: add experimental meson buildsystem support
  * gitignore: prepare for Meson
  * ping: read from error queue when POLLERR is set
  * ping_common.c: POLLERRR is ignored in events
  * ping: fix pmtu discovery for ipv6
  * traceroute6: Fix traceroute to IPv6 address
  * traceroute6: Fix leaking the idn memory
  * traceroute6: Fix use after free for hostname
  * tracepath,doc: Added -4, -6 Parameter in doc and void usage(void)
  * fix multicast setsockopt calls on big endian
  * arping: exit if network disappears while running
  * ping: prevent possible double free after cap_free()
  * Add strict pattern matching on response when pattern was provided
  * traceroute6: Fix udp packet port specification.
- Removed patches (taken from upstream, now in tree)
  * iputils-add-license-info.diff
  * iputils-ping-fix-pmtu-for-ipv6.patch
  * iputils-remove-bogus-check-required-for-2.4.9-kernels.patch
- Rebased patches
  * iputils-ping-interrupt.diff
  * iputils-sec-ping-unblock.diff
- Add build dependency docbook-xsl-stylesheets (required by man pages)
- Add tracepath6 man page, updated list of unwanted man enties (ipg, pgset)
- Removed RELNOTES (upstream removed it)

OBS-URL: https://build.opensuse.org/request/show/619908
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=64
2018-07-03 22:02:17 +00:00
18221250e6 Accepting request 597778 from network:utilities
- Backport license information from upstream (bnc#1082788):
  iputils-add-license-info.diff

OBS-URL: https://build.opensuse.org/request/show/597778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=42
2018-04-22 12:42:33 +00:00
Petr Vorel
efbac8b4c2 Accepting request 597730 from home:jaicaa:branches:network:utilities
Backport license information, fixing bnc#1082788

OBS-URL: https://build.opensuse.org/request/show/597730
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=62
2018-04-18 10:05:35 +00:00
OBS User mrdocs
ff3b7d9a50 Accepting request 597121 from home:jaicaa:branches:network:utilities
Backport license information, fixing bnc#1082788

OBS-URL: https://build.opensuse.org/request/show/597121
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=61
2018-04-18 01:10:52 +00:00
be51b527a4 Accepting request 562249 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/562249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=41
2018-01-16 08:25:16 +00:00
OBS User mrdocs
5a893e3005 Accepting request 561856 from home:NMoreyChaisemartin:branches:network:utilities
- Backport iputils-ping-fix-pmtu-for-ipv6.patch from upstream
  to fix PMTU discovery in ping6. (bsc#1072460)

OBS-URL: https://build.opensuse.org/request/show/561856
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=59
2018-01-07 02:28:26 +00:00
6ae8b2d433 Accepting request 555872 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/555872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=40
2017-12-13 10:56:03 +00:00
Petr Vorel
aac119ea8a Accepting request 555846 from home:pluskalm:branches:network:utilities
- Install rdisc as rdisc, do not use in.rdisc anymore (xinetd which
  was using in.* names is obsolete anyways)

OBS-URL: https://build.opensuse.org/request/show/555846
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=57
2017-12-11 08:46:34 +00:00
Petr Vorel
e2384584c5 Accepting request 555845 from home:pevik:branches:network:utilities
- iputils: remove man pages of unused binaries: ninfod, pg3, rdisc
  (rdisc is in a separate package)

OBS-URL: https://build.opensuse.org/request/show/555845
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=56
2017-12-11 08:21:19 +00:00
OBS User mrdocs
0166b8abd4 Accepting request 555500 from home:pluskalm:branches:network:utilities
- Add systemd service for rarpd

OBS-URL: https://build.opensuse.org/request/show/555500
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=55
2017-12-11 00:05:41 +00:00
940840fd79 Accepting request 546617 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/546617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=39
2017-12-03 09:11:15 +00:00
Petr Vorel
f4d6aa4db5 Accepting request 546607 from home:msmeissn:branches:network:utilities
- mark ping also verify not caps, as these are changed by the
  permissions package. (bsc#1065835)

OBS-URL: https://build.opensuse.org/request/show/546607
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=53
2017-11-30 08:53:47 +00:00
Petr Vorel
a605d9cf5d Accepting request 546244 from home:pluskalm:branches:network:utilities
- Reintroduce rarpd as subpackage
- Explicitly list content in filelist as we have two subpackages
  now

OBS-URL: https://build.opensuse.org/request/show/546244
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=52
2017-11-28 22:18:35 +00:00
861c03bb41 Accepting request 541566 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/541566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=38
2017-11-16 12:57:45 +00:00
Petr Vorel
cbd667006a Accepting request 541556 from home:pluskalm:branches:network:utilities
- Cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/541556
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=50
2017-11-13 18:09:26 +00:00
eb5ef95c88 Accepting request 523726 from network:utilities
- Update to version s20161105 (Changes taken from the RELNOTES file)
  * ping: eliminate deadcode & simplify
  * ping: do not allow oversized packets to root
  * correctly initialize first hop
  * ping: fix ping -6 -I
  * arping,doc: fix documentation of -I
  * ping: fix error message when getting EACCES from connect()
  * renamed INSTALL to INSTALL.md
  * (re)structured INSTALL.md and transformed into markdown; added hint that installation into prefix has to be done with DESTDIR make variable and that there's no prefix support in configure, close #21
  * ping: Silence GCC warnings when building with -fstrict-aliasing
  * tftpd: Drop supplementary groups for root
  * libgcrypt: fix static linking
  * doc: Inserted a missing word
  * tracepath6: avoid redundant family variable
  * tracepath: borrow everything good from tracepath6
  * tracepath: switch to dual-stack operation
  * tracepath: remove now redundant tracepath6
  * docs: fix parallel build of manpages
  * ping: remove assignments of values that are never read
  * docs: remove references to ping6 and traceroute6
  * ping: work with older kernels that don't support ping sockets
  * Revert "ping_common.c: fix message flood when EPERM is encountered in ping"
  * reorder -I option parsing (boo#1057664)
  * ping: also bind the ICMP socket to the specific device
- tracepath6 is now symlink to tracepath. (forwarded request 522166 from pevik)

OBS-URL: https://build.opensuse.org/request/show/523726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=37
2017-09-13 19:37:40 +00:00
Vítězslav Čížek
2671b3941c Accepting request 522166 from home:pevik:branches:network:utilities
- Update to version s20161105 (Changes taken from the RELNOTES file)
  * ping: eliminate deadcode & simplify
  * ping: do not allow oversized packets to root
  * correctly initialize first hop
  * ping: fix ping -6 -I
  * arping,doc: fix documentation of -I
  * ping: fix error message when getting EACCES from connect()
  * renamed INSTALL to INSTALL.md
  * (re)structured INSTALL.md and transformed into markdown; added hint that installation into prefix has to be done with DESTDIR make variable and that there's no prefix support in configure, close #21
  * ping: Silence GCC warnings when building with -fstrict-aliasing
  * tftpd: Drop supplementary groups for root
  * libgcrypt: fix static linking
  * doc: Inserted a missing word
  * tracepath6: avoid redundant family variable
  * tracepath: borrow everything good from tracepath6
  * tracepath: switch to dual-stack operation
  * tracepath: remove now redundant tracepath6
  * docs: fix parallel build of manpages
  * ping: remove assignments of values that are never read
  * docs: remove references to ping6 and traceroute6
  * ping: work with older kernels that don't support ping sockets
  * Revert "ping_common.c: fix message flood when EPERM is encountered in ping"
  * reorder -I option parsing (boo#1057664)
  * ping: also bind the ICMP socket to the specific device
- tracepath6 is now symlink to tracepath.

OBS-URL: https://build.opensuse.org/request/show/522166
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=48
2017-09-12 13:53:00 +00:00
0b28a24d01 Accepting request 448800 from network:utilities
1

OBS-URL: https://build.opensuse.org/request/show/448800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=36
2017-01-10 09:35:22 +00:00
Markos Chandras
99b644e08c Accepting request 448599 from home:markoschandras:branches:network:utilities
- Add ping6 symlink (boo#1017616)

OBS-URL: https://build.opensuse.org/request/show/448599
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=46
2017-01-04 21:38:41 +00:00
1a7ec90e34 Accepting request 399117 from network:utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/399117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=35
2016-06-03 14:36:59 +00:00
99da1dc8ac OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=44 2016-05-24 09:41:51 +00:00
703938bc79 - do not install rarpd and rarpd.8 manpage (comes from rarpd rpm currently)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=43
2016-05-24 09:29:10 +00:00
4dcafed830 - dropped iputils-ifenslave.diff
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=42
2016-05-23 15:44:11 +00:00
d7dc9a770b Accepting request 397465 from home:markoschandras:branches:network:utilities
- Update to version s20160308 (Changes taken from the RELNOTES file)
  * use syntax compatible with busybox date in Makefile
  * 'admin prohibited' should print !X not !S.
  * Makefile: use #define as in previous code changes
  * doc/Makefile: require bash, because we use pushd and popd
  * doc: don't timestamp manpages by default
  * ping: status() now returns received/transmitted instead of trans/recv
  * ping: don't mess with internals of struct msghdr
  * ping: ICMP error replies while errno < 0 is a hard error
  * ping: always use POSIX locale when parsing -i
  * ping: link against libm
  * made ping functions protocol independent
  * ping: perform dual-stack ping by default
  * ping: remove obsolete preprocessor directives
  * ping: avoid name clashes between IPv4 and IPv6 code
  * ping: merge all ping header files into a single one
  * ping: merge `ping6` command into `ping`
  * ping: refactor ping options
  * ping: refactor ping socket code
  * ping: merge IPv4 and IPv6 `pr_addr()`
  * ping: fix defines and libs in Makefile
  * ping: handle single protocol systems
  * iputils ping/ping6: Add a function to check if a packet is ours
  * ping: Add <linux/types.h> to fix compilation error.
  * ping6: Use GNUTLS API directly for MD5. (v2)
  * ping6: Use libgcrypt instead of gnutls for MD5.
  * Allow ping to use IPv6 addresses
  * ping,ping6 doc: More description on CAP_NET_RAW usage.
  * if IPv4 resolving fails fallback to ping6
  * ping: in usage print the 'ping -6' options as well

OBS-URL: https://build.opensuse.org/request/show/397465
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=41
2016-05-23 15:21:37 +00:00
OBS User mrdocs
31dee10b86 Accepting request 347011 from home:posophe:branches:network:utilities
Update
Can you just please review if the binaries are installed in the right place ? Thanks

OBS-URL: https://build.opensuse.org/request/show/347011
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=40
2015-12-03 01:18:20 +00:00
Stephan Kulow
2317333172 Accepting request 298290 from network:utilities
1

OBS-URL: https://build.opensuse.org/request/show/298290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=34
2015-04-27 20:07:03 +00:00
Marcus Schaefer
56d494d8f8 Accepting request 298213 from home:tiwai:branches:network:utilities
- Fix a bogus kernel version check (boo#927831):
  iputils-remove-bogus-check-required-for-2.4.9-kernels.patch

OBS-URL: https://build.opensuse.org/request/show/298213
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=38
2015-04-21 09:53:13 +00:00
Stephan Kulow
aa81defeb7 Accepting request 215343 from network:utilities
- Fixed ping segfaults (bnc#860616,bnc#860655)
  * Removed iputils-pingnamelookuponce.diff (forwarded request 215339 from hreinecke)

OBS-URL: https://build.opensuse.org/request/show/215343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=32
2014-01-29 06:15:09 +00:00
2b136b3d11 Accepting request 215339 from home:hreinecke:branches:network:utilities
- Fixed ping segfaults (bnc#860616,bnc#860655)
  * Removed iputils-pingnamelookuponce.diff

OBS-URL: https://build.opensuse.org/request/show/215339
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=36
2014-01-28 08:17:32 +00:00
d8dca9d3c3 Accepting request 215034 from home:hreinecke:branches:network:utilities
- Update to upstream version s20121221 (FATE#316211)
  - See RELNOTES for full changelog
- Removed merges patches:
  * iputils-pingtypo.diff
  * iputils-s20101006-capabilities.diff
- Updated patches for apply
- Remove libsysfs dependency (FATE#316211)

OBS-URL: https://build.opensuse.org/request/show/215034
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=35
2014-01-25 14:10:50 +00:00
Stephan Kulow
e61868b44c Accepting request 206824 from network:utilities
- also do the usr move with the permissions handlers bnc#841533 (forwarded request 206773 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/206824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=31
2013-11-15 12:22:28 +00:00
747dd7f9a3 Accepting request 206773 from home:msmeissn:branches:network:utilities
- also do the usr move with the permissions handlers bnc#841533

OBS-URL: https://build.opensuse.org/request/show/206773
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=33
2013-11-13 20:41:10 +00:00
Stephan Kulow
f61bc4afe3 Accepting request 184929 from network:utilities
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=29
2013-08-01 15:13:48 +00:00
Marcus Schaefer
e0818bf095 - follow up patch for UNBLOCK mask
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=31
2013-07-23 09:17:26 +00:00
Marcus Schaefer
d4673e7ddd - ping denpend on SIGALRM to exit sometime, so we mask it UNBLOCK (bnc #674304)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=30
2013-07-23 09:05:43 +00:00
Stephan Kulow
415491ebfa Accepting request 158064 from network:utilities
- Build everythiong with full RELRO here. SUID code around.. (forwarded request 157964 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/158064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=28
2013-03-10 07:18:07 +00:00
OBS User mrdocs
cea2a550bc Accepting request 157964 from home:elvigia:branches:network:utilities
- Build everythiong with full RELRO here. SUID code around..

OBS-URL: https://build.opensuse.org/request/show/157964
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=28
2013-03-08 21:11:00 +00:00
Stephan Kulow
7f0e2128b1 Accepting request 157114 from network:utilities
update license to new format (forwarded request 157061 from coolo)

OBS-URL: https://build.opensuse.org/request/show/157114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=27
2013-03-04 16:27:40 +00:00
2b8f906f47 Accepting request 157061 from openSUSE:Factory:Staging:spdx
update license to new format

OBS-URL: https://build.opensuse.org/request/show/157061
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=26
2013-03-02 12:47:47 +00:00
Stephan Kulow
c9057d5e98 Accepting request 105788 from network:utilities
- place binaries in /usr tree (UsrMerge project)

OBS-URL: https://build.opensuse.org/request/show/105788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=24
2012-02-21 06:31:38 +00:00
OBS User mrdocs
7c5c54eb69 Accepting request 105600 from home:rjschwei:branches:network:utilities
usrMerge project - move files from toplevel to /usr

OBS-URL: https://build.opensuse.org/request/show/105600
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=24
2012-02-18 01:51:40 +00:00
Stephan Kulow
0ea0e96379 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=23
2011-12-06 17:19:37 +00:00
Sascha Peilicke
f402e8fd92 Autobuild autoformatter for 72225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=21
2011-05-31 11:03:44 +00:00
Sascha Peilicke
135dec6711 Accepting request 72225 from network:utilities
- fixed typo in ping output. Since 11.4 sequence tag is icmp_req
  instead of icmp_seq beause of that for example cacti ping script
  does not work anymore (bnc #696720)

OBS-URL: https://build.opensuse.org/request/show/72225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=20
2011-05-31 11:03:30 +00:00
Marcus Schaefer
0a8402914a - fixed typo in ping output. Since 11.4 sequence tag is icmp_req
instead of icmp_seq beause of that for example cacti ping script
  does not work anymore (bnc #696720)

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=22
2011-05-31 08:10:07 +00:00
Berthold Gunreben
d7ec3d7b03 Autobuild autoformatter for 53923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=18
2010-11-29 11:22:24 +00:00
Berthold Gunreben
c2c2889f18 Accepting request 53923 from network:utilities
Accepted submit request 53923 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/53923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=17
2010-11-29 11:22:20 +00:00
Cristian Rodríguez
c687806944 Accepting request 53868 from home:lnussel:fscaps
OBS-URL: https://build.opensuse.org/request/show/53868
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=20
2010-11-24 21:11:35 +00:00
OBS User autobuild
33a2b7cd1b Autobuild autoformatter for 53414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=16
2010-11-20 10:35:02 +00:00
OBS User buildservice-autocommit
4352810836 Updating link to change in openSUSE:Factory/iputils revision 16.0
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=d5f82666f5d135aa4eaff345949e87d0
2010-11-20 10:35:02 +00:00
Ruediger Oertel
c6e6f0d485 Accepting request 53414 from network:utilities
Accepted submit request 53414 from user coolo

OBS-URL: https://build.opensuse.org/request/show/53414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=15
2010-11-20 10:34:46 +00:00
Stephan Kulow
c7740699a8 - remove no longer needed patches
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=18
2010-11-19 09:55:27 +00:00
OBS User mrdocs
855e47248c Accepting request 52383 from home:lnussel:fscaps
reviewed Ok and forwarded to Factory

OBS-URL: https://build.opensuse.org/request/show/52383
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=17
2010-11-08 21:32:54 +00:00
OBS User mrdocs
b82c79498e Accepting request 52163 from home:lnussel:fscaps
Reviewed ok - Thanks - will this go to other repos for maintenance/security ?

OBS-URL: https://build.opensuse.org/request/show/52163
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=16
2010-11-04 15:51:08 +00:00
Pavol Rusnak
c087db1fbb Accepting request 50187 from home:RedDwarf:branches:network:utilities
OBS-URL: https://build.opensuse.org/request/show/50187
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=15
2010-10-11 12:51:32 +00:00
OBS User autobuild
5a4278e64e Accepting request 47850 from network:utilities
Copy from network:utilities/iputils based on submit request 47850 from user coolo

OBS-URL: https://build.opensuse.org/request/show/47850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=14
2010-09-13 09:47:12 +00:00
OBS User buildservice-autocommit
c5c1e72571 Updating link to change in openSUSE:Factory/iputils revision 14.0
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=6ed5645c70dc09f525fef5ffb3d618f0
2010-09-13 09:47:12 +00:00
OBS User autobuild
53ec53a9da Accepting request 47850 from network:utilities
checked in (request 47850)

OBS-URL: https://build.opensuse.org/request/show/47850
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=14
2010-09-13 09:47:09 +00:00
OBS User mrdocs
28dfcfb75d Accepting request 47559 from home:a_jaeger:branches:openSUSE:Factory
=reviewed ok, thanks for the fix

OBS-URL: https://build.opensuse.org/request/show/47559
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=13
2010-09-09 09:43:59 +00:00
OBS User autobuild
3bac354875 Accepting request 42903 from network:utilities
Copy from network:utilities/iputils based on submit request 42903 from user sax2

OBS-URL: https://build.opensuse.org/request/show/42903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=13
2010-07-30 13:35:16 +00:00
OBS User autobuild
9e4ab47080 Accepting request 42903 from network:utilities
checked in (request 42903)

OBS-URL: https://build.opensuse.org/request/show/42903
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=12
2010-07-30 13:35:16 +00:00
Marcus Schaefer
a2f67ab311 - fixed device broadcast setup (bnc #614389)
- upstream maintainer has changed. new maintainer is
  YOSHIFUJI Hideaki. Along with this change the versioning
  of the package also changed. Current version is: s20100418
  from 18-Apr-2010
- many patches upstream now, reduced patch set

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=11
2010-07-14 12:07:32 +00:00
Marcus Schaefer
8730ec739f - reverted arping-infiniband.diff, it breaks arping
(bnc #614389) and (bnc #610839)

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=10
2010-07-13 15:06:03 +00:00
Marcus Schaefer
e2cca62cd5 - security fix: replies by a malicious system can
make ping run into an endless loop (bnc #620837)

OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=9
2010-07-08 14:26:00 +00:00
OBS User autobuild
0e5bbb471f Accepting request 41079 from network:utilities
Copy from network:utilities/iputils based on submit request 41079 from user sax2

OBS-URL: https://build.opensuse.org/request/show/41079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=10
2010-06-04 13:02:56 +00:00
OBS User autobuild
9f2c3547e5 Accepting request 41079 from network:utilities
checked in (request 41079)

OBS-URL: https://build.opensuse.org/request/show/41079
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=8
2010-06-04 13:02:56 +00:00
Marcus Schaefer
738a00b0af - fixed arping buffer overflow on Infiniband (bnc #610839)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=7
2010-06-04 07:28:33 +00:00
OBS User autobuild
4809e4513d Accepting request 38628 from network:utilities
Copy from network:utilities/iputils based on submit request 38628 from user sax2

OBS-URL: https://build.opensuse.org/request/show/38628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=9
2010-04-25 16:41:34 +00:00
OBS User autobuild
dbabfd3d75 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=8 2010-03-18 14:53:58 +00:00
OBS User autobuild
f5f2694f27 Accepting request 29027 from network:utilities
Copy from network:utilities/iputils based on submit request 29027 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=7
2010-01-12 08:24:31 +00:00
OBS User unknown
815ebee2cd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=5 2008-10-06 16:55:52 +00:00
OBS User unknown
694d3e68f6 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=4 2008-09-05 00:54:56 +00:00
OBS User unknown
f03ad509ec OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=3 2007-12-12 17:12:16 +00:00
OBS User unknown
6707c9541e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=2 2007-03-06 18:08:15 +00:00
OBS User unknown
909de157bd OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iputils?expand=0&rev=1 2007-01-15 23:17:50 +00:00
9 changed files with 551 additions and 3 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c3f1f4d6f2481dec05b441de9c81d4059bdb202d4d0e98404f62ee1502bf1dc
size 445684

View File

@@ -0,0 +1,134 @@
From 7ec315109dfa20d7734033ff5ffabf44d5ae8ddd Mon Sep 17 00:00:00 2001
From: Petr Vorel <pvorel@suse.cz>
Date: Mon, 5 May 2025 23:55:57 +0200
Subject: [PATCH] ping: Fix signed 64-bit integer overflow in RTT calculation
Crafted ICMP Echo Reply packet can cause signed integer overflow in
1) triptime calculation:
triptime = tv->tv_sec * 1000000 + tv->tv_usec;
2) tsum2 increment which uses triptime
rts->tsum2 += (double)((long long)triptime * (long long)triptime);
3) final tmvar:
tmvar = (rts->tsum2 / total) - (tmavg * tmavg)
$ export CFLAGS="-O1 -g -fsanitize=address,undefined -fno-omit-frame-pointer"
$ export LDFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer"
$ meson setup .. -Db_sanitize=address,undefined
$ ninja
$ ./ping/ping -c2 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.061 ms
../ping/ping_common.c:757:25: runtime error: signed integer overflow: -2513732689199106 * 1000000 cannot be represented in type 'long int'
../ping/ping_common.c:757:12: runtime error: signed integer overflow: -4975495174606980224 + -6510615555425289427 cannot be represented in type 'long int'
../ping/ping_common.c:769:47: runtime error: signed integer overflow: 6960633343677281965 * 6960633343677281965 cannot be represented in type 'long int'
24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
./ping/ping: Warning: time of day goes back (-7256972569576721377us), taking countermeasures
./ping/ping: Warning: time of day goes back (-7256972569576721232us), taking countermeasures
24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
../ping/ping_common.c:265:16: runtime error: signed integer overflow: 6960633343677281965 * 2 cannot be represented in type 'long int'
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.565 ms
--- 127.0.0.1 ping statistics ---
2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 1002ms
../ping/ping_common.c:940:42: runtime error: signed integer overflow: 1740158335919320832 * 1740158335919320832 cannot be represented in type 'long int'
rtt min/avg/max/mdev = 0.000/1740158335919320.832/6960633343677281.965/-1623514645242292.-224 ms
To fix the overflow check allowed ranges of struct timeval members:
* tv_sec <0, LONG_MAX/1000000>
* tv_usec <0, 999999>
Fix includes 2 new error messages (needs translation).
Also existing message "time of day goes back ..." needed to be modified
as it now prints tv->tv_sec which is a second (needs translation update).
After fix:
$ ./ping/ping -c2 127.0.0.1
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.057 ms
./ping/ping: Warning: invalid tv_usec -6510615555424928611 us
./ping/ping: Warning: time of day goes back (-3985394643238914 s), taking countermeasures
./ping/ping: Warning: invalid tv_usec -6510615555424928461 us
./ping/ping: Warning: time of day goes back (-3985394643238914 s), taking countermeasures
24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
./ping/ping: Warning: invalid tv_usec -6510615555425884541 us
./ping/ping: Warning: time of day goes back (-4243165695442945 s), taking countermeasures
24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.111 ms
--- 127.0.0.1 ping statistics ---
2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 101ms
rtt min/avg/max/mdev = 0.000/0.042/0.111/0.046 ms
Fixes: https://github.com/iputils/iputils/issues/584
Fixes: CVE-2025-472
Link: https://github.com/Zephkek/ping-rtt-overflow/
Co-developed-by: Cyril Hrubis <chrubis@suse.cz>
Reported-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Reviewed-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Noah Meyerhans <noahm@debian.org>
[ pvorel: backport of upstream 070cfacd7348386173231fb16fad4983d4e6ae40 to 20221126 ]
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
iputils_common.h | 3 +++
ping/ping_common.c | 22 +++++++++++++++++++---
2 files changed, 22 insertions(+), 3 deletions(-)
Index: iputils-20240905/iputils_common.h
===================================================================
--- iputils-20240905.orig/iputils_common.h
+++ iputils-20240905/iputils_common.h
@@ -10,6 +10,9 @@
!!__builtin_types_compatible_p(__typeof__(arr), \
__typeof__(&arr[0]))])) * 0)
+/* 1000001 = 1000000 tv_sec + 1 tv_usec */
+#define TV_SEC_MAX_VAL (LONG_MAX/1000001)
+
#ifdef __GNUC__
# define iputils_attribute_format(t, n, m) __attribute__((__format__ (t, n, m)))
#else
Index: iputils-20240905/ping/ping_common.c
===================================================================
--- iputils-20240905.orig/ping/ping_common.c
+++ iputils-20240905/ping/ping_common.c
@@ -754,16 +754,32 @@ int gather_statistics(struct ping_rts *r
restamp:
tvsub(tv, &tmp_tv);
- triptime = tv->tv_sec * 1000000 + tv->tv_usec;
- if (triptime < 0) {
- error(0, 0, _("Warning: time of day goes back (%ldus), taking countermeasures"), triptime);
+
+ if (tv->tv_usec >= 1000000) {
+ error(0, 0, _("Warning: invalid tv_usec %ld us"), tv->tv_usec);
+ tv->tv_usec = 999999;
+ }
+
+ if (tv->tv_usec < 0) {
+ error(0, 0, _("Warning: invalid tv_usec %ld us"), tv->tv_usec);
+ tv->tv_usec = 0;
+ }
+
+ if (tv->tv_sec > TV_SEC_MAX_VAL) {
+ error(0, 0, _("Warning: invalid tv_sec %ld s"), tv->tv_sec);
+ triptime = 0;
+ } else if (tv->tv_sec < 0) {
+ error(0, 0, _("Warning: time of day goes back (%ld s), taking countermeasures"), tv->tv_sec);
triptime = 0;
if (!rts->opt_latency) {
gettimeofday(tv, NULL);
rts->opt_latency = 1;
goto restamp;
}
+ } else {
+ triptime = tv->tv_sec * 1000000 + tv->tv_usec;
}
+
if (!csfailed) {
rts->tsum += triptime;
rts->tsum2 += (double)((long long)triptime * (long long)triptime);

View File

@@ -0,0 +1,67 @@
From f4f57679b736367716389d05187bab40666b521d Mon Sep 17 00:00:00 2001
From: Petr Vorel <pvorel@suse.cz>
Date: Fri, 9 May 2025 11:07:02 +0200
Subject: [PATCH 1/4] ping: Fix integer overflow in large -s and -l values
Maximum of preload value (-l) is 65536, but due multiplication with
packat size (-s) there can be integer overflow:
$ export CFLAGS="-O1 -g -fsanitize=address,undefined -fno-omit-frame-pointer"
$ meson setup ..
$ ninja && sudo ./ping/ping -c1 -l 65536 -s 30000 ::1
../ping/ping_common.c:451:24: runtime error: signed integer overflow: 65536 * 46528 cannot be represented in type 'int'
PING ::1 (::1) 30000 data bytes
30008 bytes from ::1: icmp_seq=1 ttl=64 time=0.052 ms
Because setsockopt() requires int, instead of making hold and rcvbuf
variables bigger (long int) limit them to INT_MAX. This will often lead
to warning about rcvbuf is not enough to hold preload, because on
current kernel 6.14 and ICMP datagram socket is the max. socket buffer
size 425984, but probably better not to depend on this value.
After fix:
$ sudo ./ping/ping -c1 -l 65536 -s 30000 127.0.0.1
./ping/ping: WARNING: buffer size overflow, reduce packet size or preload
./ping/ping: WARNING: probably, rcvbuf is not enough to hold preload
PING 127.0.0.1 (127.0.0.1) 30000(30028) bytes of data.
30008 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.053 ms
Link: https://github.com/iputils/iputils/pull/585#pullrequestreview-2820034501
Closes: https://github.com/iputils/iputils/pull/586
Reported-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Suggested-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
[ pvorel: backport of upstream f30f0e5397542a6ebf6bf1d5f6cd785637293393 to 20221126 ]
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
ping/ping_common.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ping/ping_common.c b/ping/ping_common.c
index 687613a..0d0da76 100644
--- a/ping/ping_common.c
+++ b/ping/ping_common.c
@@ -443,9 +443,18 @@ void sock_setbufs(struct ping_rts *rts, socket_st *sock, int alloc)
rts->sndbuf = alloc;
setsockopt(sock->fd, SOL_SOCKET, SO_SNDBUF, (char *)&rts->sndbuf, sizeof(rts->sndbuf));
- rcvbuf = hold = alloc * rts->preload;
+ if (alloc > INT_MAX / rts->preload) {
+ error(0, 0, _("WARNING: buffer size overflow, reduce packet size or preload"));
+ hold = INT_MAX;
+ } else {
+ hold = alloc * rts->preload;
+ }
+
+ rcvbuf = hold;
+
if (hold < 65536)
hold = 65536;
+
setsockopt(sock->fd, SOL_SOCKET, SO_RCVBUF, (char *)&hold, sizeof(hold));
if (getsockopt(sock->fd, SOL_SOCKET, SO_RCVBUF, (char *)&hold, &tmplen) == 0) {
if (hold < rcvbuf)
--
2.49.0

View File

@@ -0,0 +1,112 @@
From 88b9a8ff19ac55c43b714fefc28d718fb4dcd611 Mon Sep 17 00:00:00 2001
From: Petr Vorel <pvorel@suse.cz>
Date: Fri, 9 May 2025 17:18:09 +0200
Subject: [PATCH 2/4] ping: Fix integer overflow in large -W value
918e824 changed probably as a side effect max -W (time to wait for a
response in sec) value from INT_MAX / 1000000 (i.e. 2147 s => ~ 35 min)
to INT_MAX / 1000 (i.e. 2147483 s => ~ 586 h). This allows int overflow
with -W > 2148 s (value which was not previously allowed):
$ export CFLAGS="-O1 -g -fsanitize=address,undefined -fno-omit-frame-pointer"
$ meson setup ..
$ ninja && ./ping/ping -c1 -W 2148 8.8.8.8
../ping/ping_common.c:269:37: runtime error: signed integer overflow: 2148000 * 1000 cannot be represented in type 'int'
It could be fixed by simple casting global_rts->lingertime in:
waittime = (unsigned long)global_rts->lingertime * 1000;
But because max -W value is unreasonably large anyway fix the problem by:
1) storing lingertime as uint32_t (fixed 32bit unsigned int, requires C99)
instead of previous int (first contribution to
https://github.com/iputils/iputils/issues/410).
2) Converting lingertime to us during getopts parsing (ping since ever -
git era was converting lingertime during getopts only to ms, converting
to us was done for some reason later in __schedule_exit()).
New -W max value is now 71 min (over 1 hour) which should be enough
(-W also allows -W0 for an infinite timeout, see 3b43f90):
$ ./ping/ping -c1 -W 4294 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=13.4 ms
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 13.422/13.422/13.422/0.000 ms
Fixes: 918e824 ("ping: add support for sub-second timeouts")
Closes: https://github.com/iputils/iputils/pull/588
Reported-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Reviewed-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Tested-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
[ pvorel: backport of upstream f7d19893aed9188de758b6be940be01501b5315b to 20221126 ]
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
ping/ping.c | 6 +++---
ping/ping.h | 2 +-
ping/ping_common.c | 7 ++++---
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/ping/ping.c b/ping/ping.c
index 02d358e..814ee71 100644
--- a/ping/ping.c
+++ b/ping/ping.c
@@ -543,10 +543,10 @@ main(int argc, char **argv)
double optval;
optval = ping_strtod(optarg, _("bad linger time"));
- if (isless(optval, 0) || isgreater(optval, (double)INT_MAX / 1000))
+ if (isless(optval, 0) || isgreater(optval, (double)UINT_MAX / 1000000))
error(2, 0, _("bad linger time: %s"), optarg);
- /* lingertime will be converted to usec later */
- rts.lingertime = (int)(optval * 1000);
+
+ rts.lingertime = (uint32_t)(optval * 1000000);
}
break;
default:
diff --git a/ping/ping.h b/ping/ping.h
index 46cfbe7..f667c62 100644
--- a/ping/ping.h
+++ b/ping/ping.h
@@ -163,7 +163,7 @@ struct ping_rts {
int interval; /* interval between packets (msec) */
int preload;
int deadline; /* time to die */
- int lingertime;
+ uint32_t lingertime;
struct timespec start_time, cur_time;
volatile int exiting;
volatile int status_snapshot;
diff --git a/ping/ping_common.c b/ping/ping_common.c
index 0d0da76..0fbb825 100644
--- a/ping/ping_common.c
+++ b/ping/ping_common.c
@@ -264,8 +264,9 @@ int __schedule_exit(int next)
waittime = 2 * global_rts->tmax;
if (waittime < 1000 * (unsigned long)global_rts->interval)
waittime = 1000 * global_rts->interval;
- } else
- waittime = global_rts->lingertime * 1000;
+ } else {
+ waittime = global_rts->lingertime;
+ }
if (next < 0 || (unsigned long)next < waittime / 1000)
next = waittime / 1000;
@@ -387,7 +388,7 @@ resend:
if (nores_interval > 500)
nores_interval = 500;
oom_count++;
- if (oom_count * nores_interval < rts->lingertime)
+ if ((uint32_t)(oom_count * nores_interval) < rts->lingertime)
return nores_interval;
i = 0;
/* Fall to hard error. It is to avoid complete deadlock
--
2.49.0

View File

@@ -0,0 +1,97 @@
From 73315cde2e2edd9b0afafe93f96ee5db738ef129 Mon Sep 17 00:00:00 2001
From: Cyril Hrubis <chrubis@suse.cz>
Date: Fri, 16 May 2025 17:57:10 +0200
Subject: [PATCH 4/4] ping: Fix moving average rtt calculation
The rts->rtt counts an exponential weight moving average in a fixed
point, that means that even if we limit the triptime to fit into a 32bit
number the average will overflow because because fixed point needs eight
more bits.
We also have to limit the triptime to 32bit number because otherwise the
moving average may stil overflow if we manage to produce a large enough
triptime.
Fixes: CVE-2025-48964
Fixes: https://bugzilla.suse.com/show_bug.cgi?id=1243772
Closes: https://github.com/iputils/iputils-ghsa-25fr-jw29-74f9/pull/1
Reported-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
[ pvorel: backport of upstream afa36390394a6e0cceba03b52b59b6d41710608c to 20221126 ]
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
iputils_common.h | 2 +-
ping/ping.h | 2 +-
ping/ping_common.c | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
Index: iputils-20240905/iputils_common.h
===================================================================
--- iputils-20240905.orig/iputils_common.h
+++ iputils-20240905/iputils_common.h
@@ -11,7 +11,7 @@
__typeof__(&arr[0]))])) * 0)
/* 1000001 = 1000000 tv_sec + 1 tv_usec */
-#define TV_SEC_MAX_VAL (LONG_MAX/1000001)
+#define TV_SEC_MAX_VAL (INT32_MAX/1000001)
#ifdef __GNUC__
# define iputils_attribute_format(t, n, m) __attribute__((__format__ (t, n, m)))
Index: iputils-20240905/ping/ping.h
===================================================================
--- iputils-20240905.orig/ping/ping.h
+++ iputils-20240905/ping/ping.h
@@ -194,7 +194,7 @@ struct ping_rts {
long tmax; /* maximum round trip time */
double tsum; /* sum of all times, for doing average */
double tsum2;
- int rtt;
+ uint64_t rtt; /* Exponential weight moving average calculated in fixed point */
int rtt_addend;
uint16_t acked;
int pipesize;
Index: iputils-20240905/ping/ping_common.c
===================================================================
--- iputils-20240905.orig/ping/ping_common.c
+++ iputils-20240905/ping/ping_common.c
@@ -282,7 +282,7 @@ int __schedule_exit(int next)
static inline void update_interval(struct ping_rts *rts)
{
- int est = rts->rtt ? rts->rtt / 8 : rts->interval * 1000;
+ int est = rts->rtt ? (int)(rts->rtt / 8) : rts->interval * 1000;
rts->interval = (est + rts->rtt_addend + 500) / 1000;
if (rts->uid && rts->interval < MIN_USER_INTERVAL_MS)
@@ -798,7 +798,7 @@ restamp:
if (triptime > rts->tmax)
rts->tmax = triptime;
if (!rts->rtt)
- rts->rtt = triptime * 8;
+ rts->rtt = ((uint64_t)triptime) * 8;
else
rts->rtt += triptime - rts->rtt / 8;
if (rts->opt_adaptive)
@@ -970,7 +970,7 @@ int finish(struct ping_rts *rts)
int ipg = (1000000 * (long long)tv.tv_sec + tv.tv_nsec / 1000) / (rts->ntransmitted - 1);
printf(_("%sipg/ewma %d.%03d/%d.%03d ms"),
- comma, ipg / 1000, ipg % 1000, rts->rtt / 8000, (rts->rtt / 8) % 1000);
+ comma, ipg / 1000, ipg % 1000, (int)(rts->rtt / 8000), (int)((rts->rtt / 8) % 1000));
}
putchar('\n');
return (!rts->nreceived || (rts->deadline && rts->nreceived < rts->npackets));
@@ -995,7 +995,7 @@ void status(struct ping_rts *rts)
fprintf(stderr, _(", min/avg/ewma/max = %ld.%03ld/%lu.%03ld/%d.%03d/%ld.%03ld ms"),
(long)rts->tmin / 1000, (long)rts->tmin % 1000,
tavg / 1000, tavg % 1000,
- rts->rtt / 8000, (rts->rtt / 8) % 1000, (long)rts->tmax / 1000, (long)rts->tmax % 1000);
+ (int)(rts->rtt / 8000), (int)((rts->rtt / 8) % 1000), (long)rts->tmax / 1000, (long)rts->tmax % 1000);
}
fprintf(stderr, "\n");
}

View File

@@ -0,0 +1,55 @@
From a41fbf36f331e1b0945c8e30581381e2f2fdff6e Mon Sep 17 00:00:00 2001
From: Cyril Hrubis <chrubis@suse.cz>
Date: Thu, 5 Jun 2025 15:39:00 +0200
Subject: [PATCH] ping: Fix regression in -c1
We change the rts->lingertime to be stored directly in us instead of ms
in order to simplify the overflow checks, however we missed two places
where the value was not properly converted.
The initialization of the lingertime has to be converted to us as well
since the MAXWAIT is in seconds it has to be multiplied by 1000000 now.
The check againts the nores_interval has to be updated too since the
nores_interval is initialized from rts->interval that is stored in ms
and the oom_count is a counter, hence the product of the multiplication
is still in ms and the rts->lingertime has to be divided by 1000 in this
case to be converted back to ms.
Fixes: f7d1989 ("ping: Fix integer overflow in large -W value")
Fixes: https://github.com/iputils/iputils/issues/596
Closes: https://github.com/iputils/iputils/pull/597
Reported-by: Alberto Salvia Novella <es20490446e.wordpress.com>
Co-developed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
ping/ping.c | 2 +-
ping/ping_common.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ping/ping.c b/ping/ping.c
index 63b943e0..1e976a90 100644
--- a/ping/ping.c
+++ b/ping/ping.c
@@ -335,7 +335,7 @@ main(int argc, char **argv)
static struct ping_rts rts = {
.interval = 1000,
.preload = 1,
- .lingertime = MAXWAIT * 1000,
+ .lingertime = MAXWAIT * 1000000,
.confirm_flag = MSG_CONFIRM,
.tmin = LONG_MAX,
.pipesize = -1,
diff --git a/ping/ping_common.c b/ping/ping_common.c
index fad52280..9a0c1248 100644
--- a/ping/ping_common.c
+++ b/ping/ping_common.c
@@ -389,7 +389,7 @@ int pinger(struct ping_rts *rts, ping_func_set_st *fset, socket_st *sock)
if (nores_interval > 500)
nores_interval = 500;
oom_count++;
- if ((uint32_t)(oom_count * nores_interval) < rts->lingertime)
+ if ((uint32_t)(oom_count * nores_interval) < rts->lingertime/1000)
return nores_interval;
i = 0;
/* Fall to hard error. It is to avoid complete deadlock

View File

@@ -0,0 +1,46 @@
From c9c82b4576f0b616793ffbdc815c02e2e4da1f5c Mon Sep 17 00:00:00 2001
From: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Thu, 15 May 2025 17:56:52 +0300
Subject: [PATCH] ping: Fix ipv4 ttl value when using SOCK_DGRAM on big endian
systems
7e7ffff attempted to fix a GCC warning about strict aliasing (which
it seems may have been an erroneous one in the first place), but
caused the ttl value when pinging an ipv4 address using SOCK_DGRAM
on a big endian system (for ex. IBM S390) to always appear as 0.
Using memcpy() instead of directly casting the value should be the
safest option, fixing the issue and also avoiding the possibility
of unaligned access to the value returned by CMSG_DATA.
Fixes: 7e7ffff ("ping: Silence GCC warnings when building with -fstrict-aliasing")
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
---
ping/ping.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/ping/ping.c b/ping/ping.c
index 0faa8704..63b943e0 100644
--- a/ping/ping.c
+++ b/ping/ping.c
@@ -1642,7 +1642,7 @@ int ping4_parse_reply(struct ping_rts *rts, struct socket_st *sock,
int csfailed;
struct cmsghdr *cmsgh;
int reply_ttl;
- uint8_t *opts, *tmp_ttl;
+ uint8_t *opts;
int olen;
int wrong_source = 0;
@@ -1670,8 +1670,7 @@ int ping4_parse_reply(struct ping_rts *rts, struct socket_st *sock,
if (cmsgh->cmsg_type == IP_TTL) {
if (cmsgh->cmsg_len < sizeof(int))
continue;
- tmp_ttl = (uint8_t *)CMSG_DATA(cmsgh);
- reply_ttl = (int)*tmp_ttl;
+ memcpy(&reply_ttl, CMSG_DATA(cmsgh), sizeof(reply_ttl));
} else if (cmsgh->cmsg_type == IP_RETOPTS) {
opts = (uint8_t *)CMSG_DATA(cmsgh);
olen = cmsgh->cmsg_len;

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue Jun 10 07:18:36 UTC 2025 - Angel Yankov <angel.yankov@suse.com>
- Security fix [bsc#1243772, CVE-2025-48964]
* Fix integer overflow in ping statistics via zero timestamp
* Add iputils-CVE-2025-48964_01.patch
* Add iputils-CVE-2025-48964_02.patch
* Add iputils-CVE-2025-48964_03.patch
* Add iputils-CVE-2025-48964_regression.patch
-------------------------------------------------------------------
Fri May 16 12:25:35 UTC 2025 - Angel Yankov <angel.yankov@suse.com>
- Fix bsc#1243284 - ping on s390x prints invalid ttl
* Add iputils-invalid-ttl-s390x.patch
* Fix ipv4 ttl value when using SOCK_DGRAM on big endian systems
- Enable test suite
-------------------------------------------------------------------
Tue May 13 06:13:26 UTC 2025 - Angel Yankov <angel.yankov@suse.com>
- Security fix [bsc#1242300, CVE-2025-47268]
* integer overflow in RTT calculation can lead to undefined behavior
* Add iputils-CVE-2025-47268.patch
-------------------------------------------------------------------
Thu Sep 5 10:47:27 UTC 2024 - Petr Vorel <pvorel@suse.cz>

View File

@@ -24,6 +24,17 @@ License: BSD-3-Clause AND GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://github.com/iputils/iputils
Source0: https://github.com/iputils/iputils/releases/download/%{version}/iputils-%{version}.tar.xz
# PATCH-FIX-UPSTREAM: bcs#1242300 CVE-2025-47268 integer overflow in RTT calculation can lead to undefine d behavior
Patch1: iputils-CVE-2025-47268.patch
#PATCH-FIX-UPSTREAM: bsc#1243284 ping on s390x prints invalid ttl
Patch2: iputils-invalid-ttl-s390x.patch
#PATCH-FIX-UPSTREAM: bsc#1243772 CVE-2025-48964 integer overflow in ping statistics via zero timestamp
Patch3: iputils-CVE-2025-48964_01.patch
Patch4: iputils-CVE-2025-48964_02.patch
Patch5: iputils-CVE-2025-48964_03.patch
#PATCH-FIX-UPSTREAM: Fix regression in -c1
Patch6: iputils-CVE-2025-48964_regression.patch
BuildRequires: docbook5-xsl-stylesheets
BuildRequires: docbook_5
BuildRequires: iproute2
@@ -34,6 +45,7 @@ BuildRequires: meson
BuildRequires: opensp
BuildRequires: perl-SGMLS
BuildRequires: pkgconfig
BuildRequires: netcfg
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libidn2)
BuildRequires: pkgconfig(systemd)
@@ -83,6 +95,9 @@ ln -sf %{_bindir}/tracepath6 %{buildroot}/bin
%find_lang %{name}
%check
%meson_test
%post
%set_permissions %{_bindir}/clockdiff