Code

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