1 2020-01-06 Sami Kerola <kerolasa@iki.fi>
3 common: flush streams before closing them
5 On loaded systems slow tty can give false positive exit failure due pending
6 bytes. Flush the streams that hopefully makes these problems less likely.
8 Reference: https://github.com/iputils/iputils/commit/4655ecc5105c383669ef529f21f3344f99e7372f#commitcomment-36628770
10 2019-10-31 Philipp Kammerer <kammerer@b1-systems.de>
12 doc: Proofreading rarpd.xml
14 A few suggestions to make the manpage more easy to read
16 2019-03-25 Jan Tojnar <jtojnar@gmail.com>
18 doc: Use namespace correctly
20 The files declared xmlns:db but did not use the db namespace at all.
21 They did not define the default namespace at all, which coincidentally
22 worked with Docbook 4 stylesheets, making them think the files were
25 I fixed the namespaces of the documents and switched to the correct
26 Docbook 5 stylesheets.
28 2019-03-09 Sami Kerola <kerolasa@iki.fi>
30 documentation: fix various spelling typos
34 Reference: https://github.com/codespell-project/codespell
36 2019-02-02 Sami Kerola <kerolasa@iki.fi>
38 clang scan-build: fix various build warning
40 arping: fix dereference of null pointer.
41 clockdiff: fix assigned value is garbage or undefined warnings.
42 ninfod: fix dead assignment and use of uninitialized argument value.
43 ping: fix dead assignment.
44 rarpd: fix uninitialized argument value.
45 rdisc: fix uninitialized argument value.
46 tracepath: fix dereference of null pointer.
48 2019-01-01 Sami Kerola <kerolasa@iki.fi>
50 rarpd: use libc function to run in the background
52 ninfod: check writing a pid file was successful
54 2019-01-01 Sami Kerola <kerolasa@iki.fi>
56 libcommon: check standard streams status at exit
58 Earlier commands happily successed when writing to standard out or error did
59 not work. Following demonstrates old and new behavior of all commands in
62 $ ping -c 1 127.0.0.1 > /dev/full ; echo $?
64 $ ping -c 1 127.0.0.1 > /dev/full ; echo $?
65 ./builddir/ping: write error: No space left on device
68 2018-12-22 Sami Kerola <kerolasa@iki.fi>
70 rarpd: use error() to report command errors
72 2018-12-22 Sami Kerola <kerolasa@iki.fi>
74 common: move error() portability go-around to common library
76 This allows use of error() in other programs. The static common library can
77 also be used for other utility functions in future.
79 2018-12-20 Sami Kerola <kerolasa@iki.fi>
81 man: reindent xml files
83 Due to great amount of change in this update normal review is not possible.
84 I used following to ensure there are no unexpected changes.
86 # Generate old manual pages.
87 git checkout origin/master
90 for i in builddir/doc/*; do man $i > a/${i##*/}; done
91 # Generate new manual pages.
92 git checkout <this-branch>
95 for i in builddir/doc/*; do man $i > b/${i##*/}; done
99 2018-12-20 Sami Kerola <kerolasa@iki.fi>
101 man: update to docbook 5
103 2018-12-20 Sami Kerola <kerolasa@iki.fi>
105 man: fix rarpd command name in synopsis
107 While going through this manual page I noticed --help output being
108 incomplete, so lets sort that out in same go.
110 2018-10-03 Sami Kerola <kerolasa@iki.fi>
112 warnings: fix multiple errno printing format specifier issues
114 All of these report same warning:
115 ISO C does not support the ‘%m’ gnu_printf format [-Wformat=]
117 2018-10-03 Sami Kerola <kerolasa@iki.fi>
119 add version print out to remaining commands
121 For some reason version print out was not implemented in all commands. This
124 2018-10-03 Sami Kerola <kerolasa@iki.fi>
126 ping, rarpd, rdisc: remove historical no-op SA_INTERRUPT
128 The sigaction option SA_INTERRUPT has been no-op for long time.
130 Reference: https://lwn.net/Articles/229673/
132 2018-10-03 Sami Kerola <kerolasa@iki.fi>
134 usage: unify usage outputs, and improve their helpfulness
136 Just listing options, like ping(8) did, does not help users.
138 2018-10-03 Sami Kerola <kerolasa@iki.fi>
140 various: do not use kernel data types in userspace
142 It is long standing recommendation not to mix kernel and user space headers.
143 See reference for details.
145 Reference: https://lwn.net/Articles/113349/
147 2018-10-03 Sami Kerola <kerolasa@iki.fi>
149 docs: fix docbook xml expectations warnings
151 This version of xslproc:
154 Using libxml 20907, libxslt 10132-GITv1.1.32-3-g32c88216 and libexslt 820
155 xsltproc was compiled against libxml 20906, libxslt 10132 and libexslt 820
156 libxslt 10132 was compiled against libxml 20906
157 libexslt 820 was compiled against libxml 20906
159 Printed following warning at each manual page creation.
161 [17/25] Generating arping.8 with a custom command.
162 Note: meta source : no *info/productname or alternative arping
163 Note: meta source : see http://www.docbook.org/tdg5/en/html/produ arping
164 Note: meta source : no refentry/refmeta/refmiscinfo@class=source arping
165 Note: meta source : see http://www.docbook.org/tdg5/en/html/refmi arping
166 Note: meta version: no *info/productnumber or alternative arping
167 Note: meta version: see http://www.docbook.org/tdg5/en/html/produ arping
168 Note: meta version: no refentry/refmeta/refmiscinfo@class=version arping
169 Note: meta version: see http://www.docbook.org/tdg5/en/html/refmi arping
170 Warn: meta source : using "iputils" for "source" arping
172 2018-10-03 Sami Kerola <kerolasa@iki.fi>
174 warnings: fix multiple unused parameter warnings
176 This fixes multiple instances of unnused parameter warnings, that look like:
177 ping.c:1025:36: warning: unused parameter 'len' [-Wunused-parameter]
179 2018-10-03 Sami Kerola <kerolasa@iki.fi>
181 warnings: fix multiple signed and unsigned integer expressions
183 This fixes many many instances of the following warnings.
185 warning: comparison between signed and unsigned integer expressions
188 Unfortunately the fix includes lots of type casts. Each of them was
189 considered from overflow point of view, and will hopefully not cause any
192 2018-10-03 Sami Kerola <kerolasa@iki.fi>
194 warnings: fix rarpd variable initialisation
196 Refer struct field names in initialiser, and trust compilers to be standard
197 compliant and fill rest of the data with zeros. This fixes following
200 rarpd.c:307:4: warning: missing initializer for field 'lladdr' of 'struct
201 rarp_map' [-Wmissing-field-initializers]
203 2018-10-03 Sami Kerola <kerolasa@iki.fi>
205 warnings: add marker to implicit fallthrough
207 This fixes an implicit fallthrough warning, that looks like:
208 rarpd.c:483:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
210 2018-10-03 Sami Kerola <kerolasa@iki.fi>
212 warnings: remove variable shadowing
214 This fixes multiple instances of variable shadowing warning, that look like:
215 warning: declaration of 'var' shadows a previous local [-Wshadow]
217 2017-08-05 David Heidelberg <david@ixit.cz>
219 doc: convert from converting SGML to XML
221 This work is mostly inspired by systemd manpages procedure creation. [1]
223 With this commit, you can freely throw SGML tools and you should be fine
228 Also, please don't be shy fix bugs, it will need more polishing!
230 [1] https://github.com/systemd/systemd/tree/master/man
232 Fixes bug: https://github.com/iputils/iputils/issues/1
233 Fixes bug: https://github.com/iputils/iputils/issues/27
235 2014-04-18 David Heidelberger <david.heidelberger@ixit.cz>
237 replace non-POSIX compilant caddr_t with char *
239 fix include paths, now compile with both glibc and musl
241 2012-01-09 YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
243 rarpd: Check return value of chdir().
245 2007-10-12 YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
247 [RARPD]: Fixed several signedness issues for char strings.
249 2007-04-04 YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
251 Fix white space errors.
253 2006-12-20 Mike Frysinger <vapier@gentoo.org>
255 [PATCH] Use socklen_t in all the right places.
257 2006-04-16 YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
259 Initial import of iputils
261 Obtained from <ftp://ftp.inr.ac.ru/ip-routing/iputils-ss020927.tar.gz>.