Code

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