-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
288 lines (236 loc) · 10.8 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
===== 20221126 =====
released November 26, 2022
* removed tools (issue: #363)
- ninfod (commit: 8f0d897, reason: experimental unused protocol)
- rarpd (commit: fba7b62, reason: superseded by DHCP protocol)
- rdisc (commit: 7447806, reason: superseded by DHCP protocol)
* license
- use SPDX identifiers for license names
* tree
- make _GNU_SOURCE mandatory (commit: 2410ed1, PR: #402)
* arping
- fix: exit 0 if running in deadline mode and we see replies (commit: 854873b,
PR: #395)
- fix: check correct variable (commit: 8a6a2ce, PR: #395)
- man: Mention IPv4 only and ndisc6(8) (commit: 6becbb3)
* clockdiff
- setcap-setuid.sh: Add cap_sys_nice for clockdiff (commit: 9139397, issue:
#326, #422)
- document CAP_SYS_NICE requirement (PR: #416)
* ping
- feature: add option -C to call connect() before sending/receiving - useful
when using Path MTU Discovery (commit: 07eca4a, PR: #391)
- feature: add option -e to set Identifier field for ICMP ECHO_REQUEST (commit:
43e38f2, PR: #426)
- feature: print various debug info on -v (issue: #411)
- feature: print config options on -V (PR: #432)
- fix: -m (SO_MARK) in 32-bit archs (commit: fecf335, PR: #394, more fixes will
come next release)
- fix: potential memory leakage on -p option (commit: 626ea66, PR: #409)
- fix: socket error reporting (commit: bbe451f, issue: #406)
- fix: make ping_rts struct static - fix occasional segfault (commit: 7861af9,
issue: #423)
- fix: add SA_RESTART to sa_flags - avoid missing output in write on aarch64
(commit: 09f1b37, issue: #424)
- security: drop capabilities for IPv4 (commit: 5990843, PR: #400)
- print warning on missing '%'-notation (commit: c4b8b44, issue: #398, PR: #405)
- man: add "IPV6 LINK-LOCAL DESTINATIONS" section (PR: #405)
- man: use "ICMP datagram socket" (PR: #405)
* CI
- Debian: unstable -> testing (stability)
- Ubuntu: xenial -> bionic, groovy -> jammy (EOL)
- remove CentOS 8 (EOL, commit: 931504a)
* localization
- new translations: Georgian (by Temuri Doghonadze)
- many updates
- 100% translated: Czech, Finnish, Georgian, Korean, Turkish, Ukrainian
* tests
- don't fail when ip binary missing (issue: #383, PR: #390)
===== 20211215 =====
released December 15, 2021
* removed tools (issue: #363)
- tftpd: removing commit: 341975a, PR: #369
replacement:
- tftp-hpa (https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git)
- dnsmasq (https://thekelleys.org.uk/dnsmasq/doc.html)
- traceroute6: removing commit: a139421, PR: #362
replacement:
- mtr (https://www.bitwizard.nl/mtr/)
- traceroute (http://traceroute.sourceforge.net/)
- tracepath (https://github.com/iputils/iputils/blob/master/tracepath.c)
WARNING: More tools (ninfod, rarpd, rdisc) are going to be removed in next
release, see issue: #363
* Meson build system
- require version 0.40 (due multiple install_dir for custom_target; commit: 65941ab)
* arping
- fix: ARP protocol field for AX.25 and NETROM (PR: #360)
* clockdiff
- fix man: remove duplicated word (PR: #384)
* ninfod
- fix: build with -DNINFOD_MESSAGES=false (commit: a0b3917)
- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
* ping
- fix: remove 'unsupported IPv6' warning on disabled IPv6 (issue: #293, PR: #370)
- fix: ping6 binding to VRF and address (PR: #344)
- fix: print reply from Subnet-Router anycast address (issue: #371)
- fix: print reply with wrong source with warning (issue: #371)
- fix: set mark (SO_MARK) on probe socket (PR: #340)
- fix: man: update lowered minimum ping interval (issue: #367)
- fix: mark is unsigned int, not signed (PR: #345)
* rarpd
- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
* rdisc
- systemd unit: add ProtectHostname, ProtectKernelLogs (PR: #375)
* localization
- fix: add missing cs, id, ko languages (commit: be8f704)
- new translations: Finnish, Korean
- updated translations: German, Japanese, Turkish, Ukrainian
* CI
- add build with some non-default options (commit: c4a5373)
- remove Tumbleweed (not only ocassional bugs: 086de3c, b19df68, but the way
how repos are published often breaks using it)
- add latest CentOS (currently CentOS 8, commit: 5f3711e)
* tests
- add -V test for all binaries (commit: 802fade)
- make tests optional with -DSKIP_TESTS=true (PR: #359)
===== 20210722 =====
released July 22, 2021
* Meson build system
- enable NO_SETCAP_OR_SUID by default
* clockdiff
- fix missing new line
* ping
- lower minimal interval for flooding to 2 (issue: #317)
- revert f7710a1 ("Add strict pattern matching on response when pattern was
provided") to fix broken report of truncated packets (issue: #320, PR: #331)
* rdisc
- systemd unit: remove PrivateUsers=yes from systemd service file (issue: #314)
- systemd unit: support /etc/default/rdisc environment file (for Debian, PR: #356)
- systemd unit: Add DynamicUser=yes (PR: #358)
- systemd unit: add CAP_NET_ADMIN capability (PR: #351)
- Add support for capability/setuid (PR: #347, #348) NOTE: This is strongly
discouraged as normal uses could possibly modify routing tables, recommended
way is to run it as systemd service which does not require it to be enabled.
It's added just for non-systemd users, which should run allow it to run just
for dedicated user.
- set correct caps in setcap-setuid.sh
* traceroute6
- mention -V in usage() (PR: #323)
* localization
- new translations: Czech (100%), Indonesian (94%)
- updated translations: Portuguese (Brazil, 95%), Indonesian (94%), French:
(58%), Chinese (Simplified, 53%)
- fully translated languages in this release: Czech, Turkish, Ukrainian
* CI
- migrate from Travis CI to GitHub Actions (PR: #336)
- add very basic ping testing (issue: #338, PR: #243)
- skip tests on Ubuntu Xenial (commit: 9833cae)
- various build.sh improvements
* tests
- skip tests on disabled IPv6 (commit: f10bfd8)
- fix: flood ping test should pass on root (commit: 3dff080)
===== 20210202 =====
released February 2, 2021
* version scheme change: dropped leading 's' (issue: #269)
* Meson build system
- new variable INSTALL_SYSTEMD_UNITS forces installing systemd units even if
systemd is not installed on build host (PR: #297)
* all
- fix infinite loop when getrandom fails (issue: #291)
* arping
- make update neighbours work again (issue: 298)
* ping
- fix dead loop problem (issue: #276)
- process interrupts in ping*_receive_error_msg (commit: 2583fb7)
- restore -W 0 as infinite timeout (issue: #290, PR: #306)
- man: fix formatting (commit: b1ebe35)
* tftpd:
- fix: recvfile: avoid closing the file twice (PR: #311)
- fix: install into sbindir: the xinet.d config expects the daemon to live
in sbin (PR: #310)
* localization
- update POTFILES and iputils.pot (PR: #280)
- updated translations: Portuguese (Brazil) (86%), French (55%),
Japanese (rebased after PR: #280)
* Travis CI
- Use Ubuntu 20.10 groovy instead of Eoan
===== s20200821 =====
released August 21, 2020
* incompatible changes
Handling numeric options changed
- ping: use '.' (dot) as a decimal separator regardless locale (for -i/-W
options). Since s20121121 till s20190709 decimal separator for -i option
depended on locales ($LC_NUMERIC), but only when compiled with USE_IDN=yes.
(issue #290, commit: d865d4c, 1530bc9)
- ping: temporarily allow -i option to contain trailing non-numeric characters.
Previously only -W option allowed this (non-numeric characters were silently
discharged), now both -i/-W print warning. This will become fatal error in
the future. (issue: #236, #290, commit: 562e0d5)
* arping
- [security] disable setcap and setuid (prevent ARP Poisoning, issue: #203)
- fix wrong exit code for -D option (issue: #209, originally reported:
https://github.com/void-linux/void-packages/issues/13304)
- fix -f quit on first reply (issue: #211, originally reported:
https://bugs.debian.org/935946)
- do not fail when unsolicited ARP mode destination does not answer when use -U
or -A (issue: #247)
* clockdiff
- add timeformat options: -T/--time-format <ctime|iso> and -I (alias for
--time-format=iso)
- use strftime() instead of deprecated ctime_r() (commit: d6e1d77)
* ninfod
- fix build with libcap 2.29 (issue: #246)
- fix struct qtypeinfo packing (commit: f0a6348)
* ping
- [security] use random value for the identifier field instead of PID when using
SOCK_RAW socket
- allow user to specify VRF and source IP (commit: 9e08707)
- try next addrinfo on connect failure (fixes reachability when getaddrinfo()
returns IPv6 results first on hosts with only IPv4 routes available, commit:
2705c82, c249e48)
- fix IPv6 name resolution for hostnames with link-local addresses (commit: d217170)
- fix print gateway IP on little endian architectures on IPPROTO_ICMP sockets
(commit: e2e9a2d)
- discard packets with wrong source address (comply RFC 1122, commit: 5e052ad)
- suppress duplicate reply messages when ping multicast (issue: #195,
originally reported: https://bugs.debian.org/498429)
- allow any package size (-s) to be defined by user (issue: #210)
- use C locale for parsing -i/-W options without IDN (commit: d865d4c)
- yet another fix for round-trip time (RTT) (commit: 5b6c194, never ending
story, see issue: #232)
- reintroduce support of flow label for very old systems (issue: #268,
regression: s20190324, originally reported: https://bugs.debian.org/682511,
https://src.fedoraproject.org/rpms/iputils/blob/0bbd37701742cc6da0e91f6cc5ba6cf6a522fca2/f/iputils-20100418-flowlabel.patch,
originally fixes in fed7e6306f37a18 from November 2012)
- fix IPv6 error handling for old kernels without ping socket (regression: s20161105)
- move sources subdirectory (affects built binary location)
* rdisc
- report in --version whether compiled with server support
* tftpd
- stop building by default (use dnsmasq instead)
- add example xinetd file
- move sources subdirectory (affects built binary location)
* localization
- new translations: Ukrainian (100%), Turkish (100%), German (53%), French
(40%), Portuguese (Brazil) (43%), Chinese (Simplified, zh_CN) (38%)
- updated: Japanese (84%)
- starting to manage translations via Fedora's Weblate
https://translate.fedoraproject.org/projects/iputils/iputils/
(issue: #271)
* general cleanup (across code)
- add md5 implementation to avoiding linking to crypto libraries, or expect
kernel api to provide md5 functionality (issue: #239)
- use clock_gettime() rather gettimeofday() (issue: #213, #214, #215)
- use CLOCK_MONOTONIC instead of CLOCK_MONOTONIC_RAW
- various fixes discovered via LGTM scan and clang-tidy (missing includes,
incorrect types and declarations, etc)
- man pages spelling fixes
- refactoring
* Meson build system
- Allow to set using setcap-setuid.sh per application (commit: 054670a)
- fix build for non-systemd builds
- don't require xsltproc any more (instead skip building man and html)
- fix static build with libidn2
* Travis CI
- switch to docker based builds to tests on different distro releases,
including cross-compilation and musl libc (issue: #169)