Code

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