Code

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