src/oping.c: Implement the "-O" option.
[liboping.git] / ChangeLog
1 2014-11-20, Version 1.8.0:
2         * oping, noping: Average and standard deviation have been removed from
3           the status output, which show median and 95th percentile instead.
4           The percentile can be chosen with the "-P" option.
5         * noping: The additional graph types "histogram" and "boxplot" have
6           been added, which can be selected with the "-g" option.
7
8 2014-09-25, Version 1.7.0:
9         * oping, noping: The new -Z option allows the exit status to indicate
10           the number of failing hosts. Thanks to Barak Pearlmutter for the
11           patch.
12         * noping: The ability to print a "prettyping" style graph has been
13           added. Thanks to Antoine Beaupré for his work!
14         * src/liboping.c: Build issues on Solaris have been fixed. Thanks
15           Scott Severtson for the fix!
16         * Build system: Creation and installation of a pkg-config file has
17           been added. Thanks to Barak Pearlmutter for the patch.
18
19 2012-01-31, Version 1.6.2:
20         * Build system: Setting capabilities and the set-UID bit has been made
21           more fault-tolerant, so that it will work with Debian's fakeroot(1)
22           utility.
23         * src/liboping.c: Fixed a compiler warning about an non-static format
24           string. Thanks to Brian Edwards for pointing this out.
25         * src/liboping.c: Fixed compilation under Mac OS X and Solaris. Thanks
26           to Clayton O'Neill for his patch.
27
28 2011-03-06, Version 1.6.1:
29         * Build system: If "make install" is executed as root, the CAP_NET_RAW
30           capability is added to the binary (on Linux) or the set-UID bit is
31           set (other Unixes).
32         * src/oping.c: Fix compiler warnings which may abort the build. Thanks
33           to James Bromberger for reporting the problem.
34         * noping: Compatibility with ncurses 5.8 has been fixed. Thanks to
35           Gaetan Bisson for his patch.
36
37 2011-01-26, Version 1.6.0:
38         * liboping: Improve timing of received network packets using
39           SO_TIMESTAMP if available. Thanks to Bruno Prémont for his patch.
40
41 2010-11-17, Version 1.5.1:
42         * oping, noping: Alias for the “Voice Admit” DSCP has been added.
43         * src/oping.c, src/liboping.c: Compiler warnings / errors have been
44           fixed. Thanks to James Bromberger for reporting one of them.
45
46 2010-10-27, Version 1.5.0:
47         * src/liboping.c: The possibility to set the QoS byte of outgoing IPv4
48           and IPv6 packets and read the byte from incoming packets has been
49           added. Thanks to Vladimir Melnikov for his patch.
50         * oping, noping: Add the ability to configure the QoS field on the
51           command line. If either the QoS field of outgoing or incoming
52           packets is non-standard, the QoS byte of incoming packets will be
53           printed.
54         * liboping: The library has been relicensed under the LGPL 2.1.
55
56 2010-06-13, Version 1.4.0:
57         * noping: A new front-end to liboping, using the ncurses library, has
58           been added. The new command line application displays ping
59           statistics online and highlights aberrant round-trip times.
60
61 2009-12-20, Version 1.3.4:
62         * src/liboping.c: When one file descriptor was in an error state, the
63           select(2) loop would run indefinitely. Error handling has been
64           improved so the loop ends gracefully now in this case.
65         * src/liboping.c: Drop privileges before reading files if supported by
66           the system. This way files are opened using the user's original
67           privileges when using the “-f” option.
68         * Net::Oping: An off-by-one error has been fixed in the Perl bindings.
69           Thanks to Fredrik Soderblom for his patch.
70
71 2009-09-29, Version 1.3.3:
72         * oping: Disable the “-f” option if the real and effective user IDs
73           don't match. If that is the case the program is probably running
74           SetUID and should not read foreign files. Unfortunately, dropping
75           privileges before reading the file is not possible, because they are
76           required for opening raw sockets.
77
78           Reading from STDIN using “-f -” is still possible.
79
80           Thanks to Steve Kemp for reporting this issue as Debian bug #548684.
81
82 2009-07-27, Version 1.3.2:
83         * src/oping.h: Remove `HAVE_*_H' macros for system headers. Those
84           macros should not be used in system wide installed header files.
85           Thanks to Sebastian for fixing this.
86
87 2009-07-20, Version 1.3.1
88         * src/liboping.c: Fix too eager argument validation that prevented the
89           library to work as documented. Thanks to Sebastian for catching this
90           bug.
91
92 2009-07-18, Version 1.3.0
93         * oping: Documentation and messages have been improved.
94         * oping: Support for the `-D' command line option has been added.
95           Using this new option, the outgoing network device can be set.
96           Thanks to Sebastian Harl for the patch.
97         * src/liboping.c: The value of the `received TTL' information after
98           missing packets has been corrected.
99         * src/liboping.c: A bug when matching received packets to configured
100           hosts has been fixed. This regression was introduced after 1.0, we
101           believe. Thanks to Sebastian Harl for noticing and fixing this bug.
102         * src/liboping.c: Support for the `PING_OPT_DEVICE' option has been
103           added. This option can be used to set the outgoing network device.
104           Thanks to Sebastian for his patch.
105
106 2009-07-15, Version 1.2.0
107         * `oping': Implement the `-f' command line option to read hostnames
108           from a file (or STDIN).
109         * src/liboping.c: No longer export `sstrerror'.
110
111 2009-04-05, Version 1.1.2
112         * liboping.c: A NULL-pointer dereference has been fixed in the IPv4
113           code. This led to a segmentation fault when an ICMPv4 paket could
114           not be associated with any host. This usually happened when one or
115           more hosts were unreachable for some time. Thanks to Tomasz Pala for
116           discovering the problem and finding a way to reproduce it.
117
118 2009-03-23, Version 1.1.1
119         * liboping.c: Use libxnet when available. The `normal' version of
120           `recvmsg' does not provide the `auxiliary data' on some or all
121           versions of Solaris.
122
123 2009-03-15, Version 1.1.0
124         * liboping.c: Eliminate the use of `strerror' and use `strerror_r'
125           instead, removing the (hopefully) last thread-unsafe function.
126         * liboping.c: Provide the TTL of received IP packets.
127         * oping.c: Allow setting of the TTL using the `-t' command line
128           option.
129
130 2009-02-17, Version 1.0.0
131         * oping.h: Provide the OPING_VERSION to easily determine the library's
132           version at compile time.
133         * liboping.c: Fixed an off-by-one error in `ping_iterator_get_info':
134           When determining the buffer size to hold the hostname, the function
135           would return one byte too little.
136         * liboping.c: Fix an incorrect assertion in `ping_timeval_add'. Thanks
137           to Alex Brooks for reporting the issue.
138         * liboping.c: Make sure `EAI_SYSTEM' is defined at compile time.
139           Although specified by POSIX, Cygwin apparently doesn't have it.
140         * liboping.c: Add compatibility code for AIX. Thanks to Doug
141           MacEachern for the patch.
142         * liboping.c: Store and possibly return the host name as provided by
143           the user.
144         * liboping.c: The number of timed out packets is now counted and can
145           be retrieved with `ping_iterator_get_info'.
146         * Perl bindings: The Net::Oping Perl package has been added to
147           bindings/ and is built along with liboping.
148
149 2007-03-27, Version 0.3.5
150         * liboping.c: Close the filedescriptor in `ping_free', not
151           `ping_host_remove'. Thanks to Esteban Sanchez for submitting this
152           patch.
153         * oping.h: Include <sys/types.h> so that `size_t' is defined. Thanks
154           to Alex Brooks for pointing this out.
155         * oping.h: Use `extern "C"' when being used with C++. Thanks to Alex
156           Brooks for pointing this out.
157
158 2006-12-01, Version 0.3.4
159         * Fixes a bug in `ping_host_remove': Due to an incorrect hostname
160           checking the wrong host would be removed.
161
162 2006-07-16, Version 0.3.3
163         * `sendto(2)' now catches `EHOSTUNREACH' and `ENETUNREACH' if they're
164           defined.
165
166 2006-07-13, Version 0.3.2
167         * `oping' now drops root privileges as soon as possible.
168         * `liboping' now contains an `soname' and a version.
169
170 2006-07-09, Version 0.3.1
171         * Removed `libltdl' from the distribution since it's not used.
172         * More nonsense has been removed from the build system. Thanks to
173           Sebastian Harl for pointing it out :)
174
175 2006-07-09, Version 0.3.0
176         * The ability to set the source address from which the packets
177           originate has been added to the library and the oping application.
178
179 2006-07-16, Version 0.2.3
180         * `sendto(2)' now catches `EHOSTUNREACH' and `ENETUNREACH' if they're
181           defined.
182
183 2006-06-05, Version 0.2.2
184         * The `oping' application didn't exit if no hosts could be resolved.
185           This release fixes it's behavior.
186
187 2006-06-01, Version 0.2.1
188         * Fix the behavior for non GNU-Linux systems. liboping tried to
189           `bind(2)' to the raw-socket it uses to send ICMP packets. Apparently
190           (decided by majority vote ;) this is not the right thing to do.
191           GNU/Linux never complained about it, but works find without the bind.
192           Other operating systems don't work at all with the bind.
193         * Build fixes for non-GNU/Linux platforms: Mac OS X doesn't define
194           `size_t' as `unsigned int' and therefore needs casting and FreeBSD
195           needs to have `sys/types.h' included before `netinet/*.h'
196
197 2006-05-29, Version 0.2.0
198         * It's now possible to set the data to be send to the remote host and
199           to get the data received from the host.
200         * The `oping' binary now calculates the standard deviation. Also, it
201           displays the number of byes that were received and other output
202           changes.
203         * Hosts are now returned in the same order as they were added by
204           `ping_host_add'. This is not guaranteed, but makes `oping' prettier.
205
206 2006-05-12, Version 0.1.1
207         * A bug in the library has been fixed: When the sequence got higher
208           than 2^16 the counter in the packets wrapped around, but the
209           internal counter didn't, causing the library to ignore all further
210           ICMP packets. This affected both, ICMPv4 and ICMPv6.
211
212 2006-05-08, Version 0.1.0
213         * Initial release.