chiark / gitweb /
+ Fixes from or suggested by Bernd Eckenfels, the Debian maintainer:
[adns.git] / changelog
1 adns (1.1.999.0.2); urgency=medium
2
3   * Include reference to Peter Simons's Haskell bindings
4     in README.html.
5
6   Fixes from or suggested by Bernd Eckenfels, the Debian maintainer:
7   * Correct type of various printf arguments: ptrdiff_t != int.
8   * Do not print size of leaked blocks of memory (this causes
9     a spurious regression test failure on some platforms)
10   * Provide adns_if_none and adns_qf_none (which will help with compilers
11     which complain about plain `0' being passed where an enum is wanted).
12
13  --
14
15 adns (1.1.999.0.1); urgency=medium
16
17   * Fix error in prototype in definition of adns__parse_domain.
18   * New LICENCE.WAIVERS file for GPL-incompatility workarounds.
19   * Clarified GPL-vs-LGPL: a bit less hostile and a bit more mercenary.
20   * Allow `;'-comments in resolv.conf (report from Colin Charles).    
21   * Added a TODO list item.
22   * Add .PHONY: install to Makefile, to help people with demented fs's.
23   * Darwin listed in INSTALL.
24   * New adnsheloex client courtesy of Tony Finch (and copyright notices
25     updated).
26   * Add documentation comment by definition of adns_r_ptr_raw type enum.
27   * Add -Wno-pointer-sign if GCC has that option.
28   * Call Tensurerecordfile in Hgettimeofday (Tensurerecordfile was
29     Tensureinputfile/Tensureoutputfile).
30   * Add bind(2) and listen(2) to test harness (for epithet's benefit, but
31     harmless in adns).
32   * Add missing ENOTSOCK to hcommon.c.m4 (was already in hcommon.c!)
33   * New adns_init_logfn etc. for having logging done with a callback
34     function.
35
36  -- Ian Jackson <ian@davenant.greenend.org.uk>  Sat,  7 Jan 2006 17:10:11 +0000
37
38 adns (1.1); urgency=medium
39
40   Major bugfixes:
41   * Do not spin if connect() fails immediately (!)
42   * Stop searching on a CNAME (even if it's broken).
43   * When search list runs out, _qf_owner sets owner to query domain.
44   * Fix bogus multiple updates to p in transmit.c (!)
45
46   Portability improvements:
47   * Fix up spurious #undef's in hredirect.h.
48   * Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
49     (and there doesn't seem to be much explanation why).
50   * Understand and sort of check OpenBSD `lookup' resolv.conf directive.
51   * #include <stdlib.h> in internal.h (for abort etc).
52   * Always #include <sys/types.h> before <sys/socket.h> (for FreeBSD 4.6).
53
54   Cosmetic and documentation improvements:
55   * Added wishlist entry re configurable port no.
56   * Problem with SERVFAIL in TODO.
57   * README.html: mentioned Jarle Aase's Windows port, and other fixes.
58   * Some better source code formatting/wrapping.
59
60  -- Ian Jackson <ian@davenant.greenend.org.uk>  Tue,  1 Jul 2003 22:55:29 +0100
61
62 adns (1.0); urgency=medium
63
64   Bugfixes:
65   * Treat 8-bit characters in email addrs as RFC822 `special' (=> quote).
66   * Fix incorrect `compressed datagram contains loop' error.
67   * Actually compile shared libraries by default !
68   * Fix adnsresfilter usage message to include correct default timeout.
69
70   General improvements:
71   * adnshost, adnslogres, adnsresfilter have options for config override. 
72   * adnsresfilter has --debug option.
73   * Improvements to adnslogres (incl. new -c option) from Tony Finch.
74   * adnslogres has --help option, all utilities support --version.
75   * Documentation improved somewhat, including new GPL-vs-LGPL file.
76
77   Changes for non-BETA release:
78   * Change shared library soname to 1.0.
79   * Do not install adnstest test utility.
80
81   Regression test improvements:
82   * Tests now include adnshost, adnslogres and adnsresfilter.
83   * Test cancellation both before and after query completion.
84
85   Portability fixes and cleanups:
86   * adnstest: setvbuf(stdout,...) before we do first output.
87   * Cope with compilers that don't do `inline'.
88   * Add and fix various missing system #includes.
89   * Find install-sh properly when we need to use it, and chmod it +x.
90   * Do not use variadic macro, use stdarg instead (adnslogres.c).
91   * Regression tests work even if some syscalls are already macros.
92   * #include "config.h" before "adns.h".
93   * Cast a sizeof(...) in src/event.c to unsigned long before printing.
94   * Add pre-generated versions of m4-generated files in regress/.
95   * Kill bogus warning, adh-main.c: `arg2' might be used uninitialized ...
96   * Add extra {...} near adnslogres.c:167 to kill spurious warning.
97   * Use `printf' instead of `echo -n'.
98   * Add list of tested platforms in INSTALL file.
99
100  -- Ian Jackson <ian@davenant.greenend.org.uk>  Sun, 17 Sep 2000 15:15:58 +0100
101
102 adns (0.9) BETA; urgency=high
103
104   Bug fixes:
105   * Don't make _processany always kill the TCP connection with the message
106     `TCP connection failed: poll/select: exceptional condition detected'.
107   * Call MEM_ROUND in __transfer_interim (avoids assert fail
108     `qu->interim_allocd>=0' on some platforms eg 64 bit).
109   * adnsresfilter doesn't resolve textual prefixes of addresses (eg,
110     10.0.0.1 out of 10.0.0.123) if input happens to block at that point.
111   * Do not spin if TCP connection blocks for writing (and add test case).
112   * Fail queries if TCP dies repeatedly, rather than retrying many times.
113   * Do not abort in a couple of places if TCP unexpectedly broken.
114   * Do not free something twice if query fails and is then cancelled.
115
116   Portability/compilation fixes:
117   * Move `extern "C" {' to after #include <...>'s.
118   * Pass LDFLAGS from configure on to ld via settings.make.in.
119   * make clean deletes *.so and *.so.* files.
120   * New --disable-dynamic configure option for non-ELF systems.
121   * Use AC_PROG_INSTALL (=> perhaps install-sh), to avoid bad `install'.
122
123   Minor improvements:
124   * Do not print warning if sendto() gives EAGAIN.
125   * adnsresfilter default timeout changed to 1000ms.
126   * m1test script can invoke `hrecord' differently.
127   * regress/output-<case>.report file contains more useful info.
128   * TODO list and other docs updated slightly.
129   * Referrals with RD+RA set, or RCODE=Refused, don't generate warnings,
130     just debug messages.  BIND does this kind of thing all the time.
131
132  -- Ian Jackson <ian@davenant.greenend.org.uk>  Wed,  9 Aug 2000 16:59:28 +0100
133
134 adns (0.8) BETA; urgency=medium
135
136   Bugfixes:
137   * Race near adns_beforeselect which could cause infinite timeout fixed
138     (it's now less agressive, and will more often return a zero timeout.)
139   * Fixed infrequent race causing assertion failure in adns__tcp_broken
140     `ads->tcpstate == server_connecting || ads->tcpstate == server_ok'.
141   * Spurious `server failure on unidentifiable query' warning suppressed.
142   * If we get a referral, don't also always complain falsely about RD==0.
143   * adnslogres: cast chars to unsigned char before using ctype.h macros.
144   * In _beforeselect, global failure now means zero timeout, and in
145     tcp_events, really never try to do anything with the TCP connection if
146     act is zero.  This might possibly cause an infinite delay (ie, lockup)
147     if things go badly wrong *and* a really unlikely race happens.
148   * Test suite `lines of syscall left' value is correct; !0 is failure.
149
150   Portability fixes:
151   * install-sh (from autoconf 2.12 Debian r13) included.
152   * adnslogres: do not call equivalent of printf("%.*s",0,(char*)0).
153
154   Documentation improvements:
155   * Security/performance note added, about local nameservers and DNSSEC.
156   * Documented that adns_rr_info _rr_hostaddr ( ) for address list
157     means permanent failure, and ? means temporary failure.
158   * Typo (*now for now in _beforeselect description) in adns.h fixed.
159   * Copyright notices updated.
160   
161   Changes to produce more defensive code:
162   * In adns_wait, assert that the timeout is not infinite.
163   * Make qu->id start out as -2 when initially allocated.
164
165  -- Ian Jackson <ian@davenant.greenend.org.uk>  Sun,  7 May 2000 23:37:13 +0100
166
167 adns (0.7) BETA; urgency=medium
168
169   * New adns_submit_reverse_any for eg RBL lookups, and corresponding
170     option to adnshost.
171   * README updated (from www home page).
172
173   * In answers, quote all except alphanums and - _ / + (and document).
174   * Don't reject specials in cnames even without adns_qf_quotefail_cname.
175   * Better checking of long domain names and labels in queries.
176   * answer->owner may be null on error.  Documented, and adnshost copes.
177   * Better reporting of unexpected or weird replies from nameserver.
178   * Add test case for recursion (infinite loop) domain compression.
179
180  -- Ian Jackson <ian@davenant.greenend.org.uk>  Thu,  2 Mar 2000 01:55:53 +0000
181
182 adns (0.6) BETA; urgency=high
183
184   Core library bugfixes:
185   * Avoid infinite timeouts, causing lockup, when they should be zero !
186   * TCP handling revamped (avoids undefined behaviour due to reentrancy).
187   * Do not fail assertion if _qf_owner, _qf_search, domain ends in `.'.
188   * Many memory leaks fixed.
189
190   Cool new utility:
191   * adnsresfilter is like `cat' but converts addresses to names without
192     delaying the output.  Pipe `netstat -n', `tcpdump -ln', etc. into it.
193
194   Test and client program bug and portability fixes:
195   * Dynamic library building works properly.
196   * adnshost prints somewhat better messages about some wrong usages.
197   * Include <stdlib.h> and <sys/types.h> in adnshost.h.
198   * adnslogres: parsing and error checking improved (Tony Finch).
199   * Regression tests can cope with zero-length reads.
200   * Regression tests check for memory leaks.
201   * adnstest copes with empty query type list.
202   * adnstest uninitialised memory bug fixed.
203
204   General improvements
205   * Better control of adnshost output and error messages (new -F options).
206   * New adns_if_logpid option (functionality suggested by Tony Finch).
207   * New fanftest test program from Tony Finch (ignored by `make install').
208   * Reads /etc/resolv-adns.conf if it exists.
209   * Declare flags parameters as enums again, not ints.
210
211  -- Ian Jackson <ian@davenant.greenend.org.uk>  Wed, 24 Nov 1999 17:13:03 +0000
212
213 adns (0.5) unstable; urgency=high
214
215   New features:
216   * adnslogres, ~100x faster replacement for Apache logresolve;
217     Thanks to Tony Finch for the program and the performance figure.
218   * Internal consistency checking with assert if right options set.
219   * adns_wait_poll function like adns_wait but uses poll, not select.
220   * adns_reverse_submit function for easy in-addr queries.
221   * adns_errtypeabbrev funcion for getting eg "permfail" from _s_nodata.
222   * adnshost utility for scripts and the like (rather alpha).
223
224   Incompatible changes:
225   * RRs with mailboxes never rejected due to strange chars if _raw.
226   * Lack of a mailbox produces `.' not `<>'.
227   * Better usage messages (and no default query domain) for adnstest.
228   * Return EAGAIN from _check instead of EWOULDBLOCK.
229   * adns_rr_info on _r_mx etc. shows status type abbrev and status number.
230   
231   Bugfixes:
232   * Do not invoke __autosys indirectly from __procdgram (result: coredump
233     usually in memmove, unless adns_if_noautosys was used).
234   * Do not scramble innards when a query on the output queue is cancelled.
235   * Do not close tcp socket twice.
236   * Mailboxes containing spaces in their names are quoted.
237   * Give ESRCH, not EAGAIN, if _check called with no queries outstanding.
238   * adns_rr_hostaddr naddrs is -1 on temporary failure (as documented).
239   * Reject TXT RRs with no strings.
240   * Correct error messages for qname CNAME foo, foo CNAME bar.
241   * adns_processany actually does something.
242   * Fixed typos in adns.h.
243
244   General improvements:
245   * Promise not to change fds in adns_beforepoll (if now is specified).
246   * Improved textual error string for _s_prohibitedcname.
247   * New comment in adns_processany and return 0 (not r which is 0).
248   * Documentation of resolv.conf directives and options, and of environment
249     variables understood, in adns.h
250   * Regression test scripts set EF_DISABLE_BANNER (for Electric Fence).
251
252   Portability and build improvements:
253   * Give install the '-c' flag (otherwise some delete the original !).
254   * Do not remove top-level Makefile on `make clean'.
255   * Don't complain so much about poll(2) tests if not available.
256   * Do not give -u 0 -g 0 options to install.
257   * Remove trailing , from some enums in adns.h.
258   * Dynamically linked clients now made with -l, so as to avoid rpath.
259   * Do not use $^ in make rules (should help with non-GNU make).
260   * Declare flags parameters as ints not enums because C++ is crap.
261
262  -- Ian Jackson <ian@davenant.greenend.org.uk>  Wed, 13 Oct 1999 02:24:35 +0100
263
264 adns (0.4) unstable; urgency=high
265
266   General important bugfixes:
267   * make _qf_owner work if _qf_search not specified, and test it (oops!)
268   * ads->configerrno now initialised (in setup.c).
269   * timercmp(,,<=) doesn't work - use !timercmp(,,>).
270   * Changed memory semantics of internal queries to fix bugs.
271   * Restarting a TCP-using query (eg due to CNAME) doesn't abort.
272   
273   Fixes for handling of broken kinds of reply:
274   * Only accept a reply from the subset of servers we sent the query.
275   * Ignore CNAME(s) in answer after RR(s) (and test).
276
277   Other bugfixes and improvements:
278   * adns_s_systemfail is in table of errors (for eg adns_strerror).
279   * Do not ship config.cache, Makefile, etc.
280   * Improvements to install instructions, TODO, etc.
281   * Regression tests compile on systems without poll(2).
282   * Do not install adnstest_s.
283   * _submit returns ENOSYS, not adns_s_unknownquery; documented, tested.
284   * <adns.h> includes <sys/types.h>, <sys/time.h>, <unistd.h>.
285
286  -- Ian Jackson <ian@davenant.greenend.org.uk>  Thu, 5 Aug 1999 01:17:38 +0100
287
288 adns (0.3) unstable; urgency=low
289
290   Incompatible changes:
291   * Low adns_status values (below adns_s_max_tempfail) renumbered to make
292     room for future locally-induced and locally-detected errors.
293   * Event loop functions for use by select(2) renamed and tidied up.
294   
295   Features / improvements:
296   * New adns_errabbrev() for getting status abbreviation strings.
297   * regress/checkall prints summary list of failed tests, if any.
298   * Event loop functions for poll(2), and some raw variants.
299   * adnstest has ability to use poll(2), and user can set initflags.
300   * checkall prints passed list as well as failed list, if any failed.
301   * You can iterate over outstanding queries (but only once at a time).
302   
303   Bugfixes:
304   * Non-RFC822 mailbox `domain' formatting now works, and clarified.
305   * Rejection of bad characters in domains (without quoteok) works.
306   * Clean up parents from adns->childw (otherwise would abort/segfault).
307   * In adnstest, allocate enough space for, and terminate, query types.
308   * In adnstest, don't print errno values as adns_status values.
309  
310   * Added TODO file.
311   * Made adnstest.c test context pointers.
312
313  -- Ian Jackson <ian@davenant.greenend.org.uk>  Thu, 15 Jul 1999 00:23:12 +0100
314
315 adns (0.2) experimental; urgency=low
316
317   Portability fixes for compilation on various platforms:
318   * Include <sys/socket.h> and <netinet/in.h> in files with <arpa/inet.h>.
319   * Don't use GCC union assignment feature (.rrs=0 => .rrs.untyped=0).
320   * Explictly cast things to [const] struct sockaddr* in syscall args.
321   * Check whether we need -lsocket.
322   * Include <sys/times.h> in a few more files.
323   * Include <unistd.h> and <sys/time.h> for select.
324   * Look for inet_aton and inet_ntoa (in -lnsl and -lsocket).
325   * LDLIBS removed from dependency lists (some makes don't support this).
326   * An `ambiguous else' warning from some compilers in types.c is removed.
327
328   Other changes:
329   * Added COPYING (copy of the GPL).
330   * Regression test failure output improved.
331   * Missing targets in regress/Makefile.in added.
332   * Regression test doesn't rely on value of fcntl flags eg O_NONBLOCK.
333
334  -- Ian Jackson <ian@davenant.greenend.org.uk>  Thu, 20 May 1999 00:27:32 +0100
335
336 adns (0.1) experimental; urgency=low
337
338   * Initial public alpha release.
339
340  -- Ian Jackson <ian@davenant.greenend.org.uk>  Sat, 17 April 1999 17:42:19
341
342 Local variables:
343 mode: debian-changelog
344 fill-column: 75
345 End: