]> git.draconx.ca Git - rarpd-dx.git/blob - ChangeLog.iputils
Use gitlog-to-changelog w/ "make dist".
[rarpd-dx.git] / ChangeLog.iputils
1 2020-08-29  Nuno Silva  <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>
2
3         common: fix infinite loop when getrandom fails
4
5         Fixes: https://github.com/iputils/iputils/issues/291
6
7 2020-01-06  Sami Kerola  <kerolasa@iki.fi>
8
9         common: flush streams before closing them
10
11         On loaded systems slow tty can give false positive exit failure due pending
12         bytes.  Flush the streams that hopefully makes these problems less likely.
13
14         Reference: https://github.com/iputils/iputils/commit/4655ecc5105c383669ef529f21f3344f99e7372f#commitcomment-36628770
15
16 2019-11-24  Sami Kerola  <kerolasa@iki.fi>
17
18         rdisc / ninfod: fix format string warning
19
20         warning: format string is not a string literal [-Wformat-nonliteral]
21
22         The above was reported for rdisc.c lines 210 and 212, and ninfod/ninfod.c
23         lines 162 and 165.
24
25         Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
26
27 2019-10-31  Philipp Kammerer  <kammerer@b1-systems.de>
28
29         doc: Proofreading rarpd.xml
30
31         A few suggestions to make the manpage more easy to read
32
33 2019-10-17  Maciej Żenczykowski  <maze@google.com>
34
35         iputils_common.h: fix missing #include <sys/time.h>
36
37         This fixes:
38           In file included from ping/ping6_common.c:61:
39           iputils_common.h:63:32: error: declaration of 'struct timespec' will not be visible outside of this function [-Werror,-Wvisibility]
40           extern void timespecsub(struct timespec *a, struct timespec *b,
41                                          ^
42
43         Change-Id: Icc30a25c30fc606f46def07704cdc6997018d58f
44
45 2019-09-10  Sami Kerola  <kerolasa@iki.fi>
46
47         ninfod: retire gettimeofday() in favor of clock_gettime()
48
49         Apply to ninfod similar fix as da9a6105b2cab2f92135a282d00cc939760e64c0.
50
51         Discussion about this and the next change spanned over several pull
52         requests that are mentioned below.
53
54         Reference: https://github.com/iputils/iputils/pull/213
55         Reference: https://github.com/iputils/iputils/pull/214
56         Reference; https://github.com/iputils/iputils/pull/215
57         Acked-by: Petr Vorel <petr.vorel@gmail.com>
58
59 2019-09-10  Sami Kerola  <kerolasa@iki.fi>
60
61         common: make seeding pseudo-random number generator easy
62
63         Unify how srand() calls are done, with some care to try avoiding bad
64         seeding with hope pseudo-random numbers are unpredictable.
65
66         Acked-by: Petr Vorel <petr.vorel@gmail.com>
67
68 2019-06-10  Petr Vorel  <petr.vorel@gmail.com>
69
70         common: move various fallback definitions into iputils_common.h
71
72 2019-03-25  Jan Tojnar  <jtojnar@gmail.com>
73
74         doc: Use namespace correctly
75
76         The files declared xmlns:db but did not use the db namespace at all.
77         They did not define the default namespace at all, which coincidentally
78         worked with Docbook 4 stylesheets, making them think the files were
79         written in Docbook 4.
80
81         I fixed the namespaces of the documents and switched to the correct
82         Docbook 5 stylesheets.
83
84 2019-03-23  Sami Kerola  <kerolasa@iki.fi>
85
86         common: use single ARRAY_SIZE definition across files
87
88         The ARRAY_SIZE is Rusty Russell’s version, that looks a bit more complicated
89         than the original, but there is a reason to that.  This macro will ensure
90         macro is used properly, and fail compilation if it is not.  See reference
91         link for further explanation.
92
93         Reference: http://zubplot.blogspot.com/2015/01/gcc-is-wonderful-better-arraysize-macro.html
94
95 2019-03-09  Sami Kerola  <kerolasa@iki.fi>
96
97         documentation: fix various spelling typos
98
99         Foudn with codespell.
100
101         Reference: https://github.com/codespell-project/codespell
102
103 2019-02-03  Sami Kerola  <kerolasa@iki.fi>
104
105         libcommon: add string to a number conversion function
106
107         Based on standard libc strtol(), but has convenience wrapping to catch
108         errors so that one can convert numbers with just a single function call.
109
110 2019-02-02  Sami Kerola  <kerolasa@iki.fi>
111
112         clang scan-build: fix various build warning
113
114         arping: fix dereference of null pointer.
115         clockdiff: fix assigned value is garbage or undefined warnings.
116         ninfod: fix dead assignment and use of uninitialized argument value.
117         ping: fix dead assignment.
118         rarpd: fix uninitialized argument value.
119         rdisc: fix uninitialized argument value.
120         tracepath: fix dereference of null pointer.
121
122 2019-01-01  Sami Kerola  <kerolasa@iki.fi>
123
124         rarpd: use libc function to run in the background
125
126         ninfod: check writing a pid file was successful
127
128 2019-01-01  Sami Kerola  <kerolasa@iki.fi>
129
130         libcommon: check standard streams status at exit
131
132         Earlier commands happily successed when writing to standard out or error did
133         not work.  Following demonstrates old and new behavior of all commands in
134         this project.
135
136             $ ping -c 1 127.0.0.1 > /dev/full ; echo $?
137             0
138             $ ping -c 1 127.0.0.1 > /dev/full ; echo $?
139             ./builddir/ping: write error: No space left on device
140             1
141
142 2018-12-22  Sami Kerola  <kerolasa@iki.fi>
143
144         rarpd: use error() to report command errors
145
146 2018-12-22  Sami Kerola  <kerolasa@iki.fi>
147
148         common: move error() portability go-around to common library
149
150         This allows use of error() in other programs.  The static common library can
151         also be used for other utility functions in future.
152
153 2018-12-20  Sami Kerola  <kerolasa@iki.fi>
154
155         man: reindent xml files
156
157         Due to great amount of change in this update normal review is not possible.
158         I used following to ensure there are no unexpected changes.
159
160             # Generate old manual pages.
161             git checkout origin/master
162             make clean && make
163             mkdir a
164             for i in builddir/doc/*; do man $i > a/${i##*/}; done
165             # Generate new manual pages.
166             git checkout <this-branch>
167             make clean && make
168             mkdir b
169             for i in builddir/doc/*; do man $i > b/${i##*/}; done
170             # Compare.
171             diff -ruP a b
172
173 2018-12-20  Sami Kerola  <kerolasa@iki.fi>
174
175         man: update to docbook 5
176
177 2018-12-20  Sami Kerola  <kerolasa@iki.fi>
178
179         man: fix rarpd command name in synopsis
180
181         While going through this manual page I noticed --help output being
182         incomplete, so lets sort that out in same go.
183
184 2018-12-18  Sami Kerola  <kerolasa@iki.fi>
185
186         localization: move nls headers to iputils_common.h
187
188         Aboid boilerplating.
189
190 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
191
192         warnings: fix multiple errno printing format specifier issues
193
194         All of these report same warning:
195         ISO C does not support the ‘%m’ gnu_printf format [-Wformat=]
196
197 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
198
199         add version print out to remaining commands
200
201         For some reason version print out was not implemented in all commands.  This
202         fixes that.
203
204 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
205
206         ping, rarpd, rdisc: remove historical no-op SA_INTERRUPT
207
208         The sigaction option SA_INTERRUPT has been no-op for long time.
209
210         Reference: https://lwn.net/Articles/229673/
211
212 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
213
214         usage: unify usage outputs, and improve their helpfulness
215
216         Just listing options, like ping(8) did, does not help users.
217
218 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
219
220         various: do not use kernel data types in userspace
221
222         It is long standing recommendation not to mix kernel and user space headers.
223         See reference for details.
224
225         Reference: https://lwn.net/Articles/113349/
226
227 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
228
229         docs: fix docbook xml expectations warnings
230
231         This version of xslproc:
232
233         $ xsltproc --version
234         Using libxml 20907, libxslt 10132-GITv1.1.32-3-g32c88216 and libexslt 820
235         xsltproc was compiled against libxml 20906, libxslt 10132 and libexslt 820
236         libxslt 10132 was compiled against libxml 20906
237         libexslt 820 was compiled against libxml 20906
238
239         Printed following warning at each manual page creation.
240
241         [17/25] Generating arping.8 with a custom command.
242         Note: meta source : no *info/productname or alternative            arping
243         Note: meta source : see http://www.docbook.org/tdg5/en/html/produ  arping
244         Note: meta source : no refentry/refmeta/refmiscinfo@class=source   arping
245         Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi  arping
246         Note: meta version: no *info/productnumber or alternative          arping
247         Note: meta version: see http://www.docbook.org/tdg5/en/html/produ  arping
248         Note: meta version: no refentry/refmeta/refmiscinfo@class=version  arping
249         Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi  arping
250         Warn: meta source : using "iputils" for "source"                   arping
251
252 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
253
254         warnings: fix multiple unused parameter warnings
255
256         This fixes multiple instances of unnused parameter warnings, that look like:
257         ping.c:1025:36: warning: unused parameter 'len' [-Wunused-parameter]
258
259 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
260
261         warnings: fix multiple signed and unsigned integer expressions
262
263         This fixes many many instances of the following warnings.
264
265         warning: comparison between signed and unsigned integer expressions
266         [-Wsign-compare]
267
268         Unfortunately the fix includes lots of type casts.  Each of them was
269         considered from overflow point of view, and will hopefully not cause any
270         issues.
271
272 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
273
274         warnings: fix rarpd variable initialisation
275
276         Refer struct field names in initialiser, and trust compilers to be standard
277         compliant and fill rest of the data with zeros.  This fixes following
278         compiler warning:
279
280         rarpd.c:307:4: warning: missing initializer for field 'lladdr' of 'struct
281         rarp_map' [-Wmissing-field-initializers]
282
283 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
284
285         warnings: add marker to implicit fallthrough
286
287         This fixes an implicit fallthrough warning, that looks like:
288         rarpd.c:483:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
289
290 2018-10-03  Sami Kerola  <kerolasa@iki.fi>
291
292         warnings: remove variable shadowing
293
294         This fixes multiple instances of variable shadowing warning, that look like:
295         warning: declaration of 'var' shadows a previous local [-Wshadow]
296
297 2017-08-05  David Heidelberg  <david@ixit.cz>
298
299         doc: convert from converting SGML to XML
300
301         This work is mostly inspired by systemd manpages procedure creation. [1]
302
303         With this commit, you can freely throw SGML tools and you should be fine
304         with xsltproc :)
305
306         Enjoy!
307
308         Also, please don't be shy fix bugs, it will need more polishing!
309
310         [1] https://github.com/systemd/systemd/tree/master/man
311
312         Fixes bug: https://github.com/iputils/iputils/issues/1
313         Fixes bug: https://github.com/iputils/iputils/issues/27
314
315 2014-04-18  David Heidelberger  <david.heidelberger@ixit.cz>
316
317         replace non-POSIX compilant caddr_t with char *
318
319         fix include paths, now compile with both glibc and musl
320
321 2012-01-09  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
322
323         rarpd: Check return value of chdir().
324
325 2007-10-12  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
326
327         [RARPD]: Fixed several signedness issues for char strings.
328
329 2007-04-04  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
330
331         Fix white space errors.
332
333 2006-12-20  Mike Frysinger  <vapier@gentoo.org>
334
335         [PATCH] Use socklen_t in all the right places.
336
337 2006-04-16  YOSHIFUJI Hideaki  <yoshfuji@linux-ipv6.org>
338
339         Initial import of iputils
340
341         Obtained from <ftp://ftp.inr.ac.ru/ip-routing/iputils-ss020927.tar.gz>.