Code

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