Code

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