411645b6f81ee8ed945ce590836396b623f89e24
[adns] / changelog
1 adns (1.5.0~rc1~) UPSTREAM; urgency=low
2
3 ABI/API changes:
4 * Provide adns_qf_cname_strict flag, currently ignored because it's the
5 default. This will allow us to make this not the default in the future
6 while retaining forward and backward API and ABI compatibility.
7 * Add `sizeforce' enum member value to force enum types in the APIs to be
8 big (which will avoids theoretical future ABI-incompatibility).
9 * Reject unknown flags passed by our caller. This will make it ABI-safe
10 (although not ABI-backward-compatible) to add new flags in the future,
11 as newer clients running against this old library will get ENOSYS.
12
13 resolv.conf parsing:
14 * Support `adns_ignoreunkcfg' resolv.conf option to ignore unknown
15 options and keywords in resolv.conf.
16 * Ignore various BIND9 resolv.conf keywords and options.
17 * Fix resolv.conf option word splitting.
18
19 Tests, build system, coding style, etc.:
20 * Test cases show rrtype flag values in hex.
21 * Parallelise `make check'.
22 * Make vbuf__append_quoted1035 no longer extern (there are no out-of-file
23 callers).
24 * Remove all RCSids.
25 * When releasing, check that the `make dist' tarball is identical to git.
26 And provide a test mode for the RELEASE-CHECKLIST doc/script.
27 * Add `make dist' tarball signature to .gitignore.
28 * More correctly and effectively work around bugs in make (Debian #4073,
29 #756123) affecting regress.
30
31 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 26 Oct 2014 13:21:38 +0000
32
33 adns (1.5.0~rc0) UPSTREAM; urgency=low
34
35 New features:
36 * Support for queries about IPv6 data in all applicable adns
37 query types (including AAAA, PTR, and adns_r_addr queries).
38 (Thanks very much to Mark Wooding.)
39 * Support for transport over IPv6. (Thanks to Mark Wooding again.)
40 * adns_addr2text and adns_text2addr: Convenient functions for
41 converting between addresses and address literals.
42
43 Bugfixes:
44 * Fix a crashing bug in adnslogres. (Debian#392102.)
45 * Do all checks of checked PTR owner name before actually sending the
46 query, and reject IPv4 PTR owner names whose labels have leading zero
47 digits or values >255.
48
49 Build system fixes and improvements:
50 * `make clean' removes the pipes.
51 * Work around bugs in make (Debian #4073, #756123) affecting regress.
52 * Do not include Makefile and src/config.h in distribution tarball.
53
54 Regression test debugging improvements:
55 * Provide gdbwrap convenience script.
56 * Honour ADNS_TEST_DEBUG env. var. (Mark Wooding.)
57
58 Other improvements:
59 * Licence changed to GPLv3 (still LGPLv2 for adns.h).
60 * Source code cleanups. (Some from Mark Wooding.)
61 * Now in git.
62 * Documentation and webpage updates.
63
64 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 20 Oct 2014 01:29:50 +0100
65
66 adns (1.4); urgency=low
67
68 Improvements for multithreaded programs:
69 * New documentation comment in adns.h explaining thread guarantees
70 (or lack of them), replaces `single-threaded' note at the top.
71 * Fix string conversion of adns_r_addr not to use a static buffer
72 (function csp_addr) so as to make thread promise true.
73 * Make an internal variable const-correct (expectdomain in pa_ptr).
74
75 -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 17 Oct 2006 17:05:08 +0100
76
77 adns (1.3); urgency=low
78
79 Portability fixes:
80 * Cast ptrdiff_t to int for %.*s length in adnsheloex and adnslogres,
81 as is required. (Report from Jim Meyering.)
82 * In configure.in, quote macro name argument to define() to
83 suppress spurious autoconf error. (Report from Mihai Ibanescu.)
84 * Use autoconf's values for {bin,lib,include}dir rather than inventing
85 our own from @exec_prefix@, making configure --libdir work.
86 (Patch from Mihai Ibanescu.)
87 * Remove spurious `_' from {bin,lib,include}dir Makefile variables.
88 (Report from Mihai Ibanescu.)
89 * Do away with `mismatch' variable in parse.c:adns__findrr_anychk so that
90 overzealous GCC cannot complain about members of eo_fls being
91 uninitialised. (Report from Jim Meyering.)
92
93 -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 6 Jun 2006 20:22:30 +0100
94
95 adns (1.2); urgency=medium
96
97 New features:
98 * Support for SRV RRs.
99 * Support for unknown RR types (according to RFC3597) via adns_r_unknown.
100 * Allow `;'-comments in resolv.conf (report from Colin Charles).
101 * New adnsheloex client courtesy of Tony Finch.
102 * New adns_init_logfn etc. for having logging use a callback function.
103
104 Bugfixes:
105 * Fix error in prototype in definition of adns__parse_domain.
106 * Add missing ENOTSOCK to hcommon.c.m4 (was already in hcommon.c!)
107
108 Portability fixes prompted by Bernd Eckenfels, the Debian maintainer:
109 * Correct type of various printf arguments: ptrdiff_t != int.
110 * Do not print size of leaked blocks of memory (this causes
111 a spurious regression test failure on some platforms).
112 * Provide adns_if_none and adns_qf_none (which will help with compilers
113 which complain about plain `0' being passed where an enum is wanted).
114 * adnstest converts some errno values to EFOOBAR: all of the ones
115 mentioned in adns.h, at least. This makes the regression test
116 more portable (fixes problem noticed by Bernd Eckenfels).
117 * Add -Wno-pointer-sign if GCC has that option.
118
119 Documentation improvements:
120 * Add documentation comment by definition of adns_r_ptr_raw type enum.
121 * Document in adns.h EINVAL from adns_init meaning bad configuration.
122 * Include several new references to related programs to README.html.
123 * Redacted the TODO list.
124 * New LICENCE.WAIVERS file for GPL-incompatility workarounds.
125 * Clarified GPL-vs-LGPL: a bit less hostile and a bit more mercenary.
126 * Copyright notices updated.
127
128 Packaging changes:
129 * Update MINOR to 2 and DISTVERSION and ADNS_VERSION_STRING to 1.2.
130 * Reran autoconf/autoheader (autoconf Debian 2.13-54).
131 * Create $(bin_dir) and $(lib_dir) on `make install', and also
132 make a libadns.so.1 -> libadns.so.1.<minor> link. (Suggestions
133 and patch from Nix of esperi.org.uk.)
134 * Add .PHONY: install to Makefile, to help people with demented fs's.
135 * Darwin listed in INSTALL.
136
137 Minor test harness improvements:
138 * Hgettimeofday calls Tensurerecordfile (was Tensureinput/outputfile).
139 * Add bind(2) and listen(2) wrappers (for epithet, but harmless in adns).
140
141 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 8 Apr 2006 15:41:28 +0100
142
143 adns (1.1); urgency=medium
144
145 Major bugfixes:
146 * Do not spin if connect() fails immediately (!)
147 * Stop searching on a CNAME (even if it's broken).
148 * When search list runs out, _qf_owner sets owner to query domain.
149 * Fix bogus multiple updates to p in transmit.c (!)
150
151 Portability improvements:
152 * Fix up spurious #undef's in hredirect.h.
153 * Don't use <sys/select.h> any more, it was a mistake made in pre-1.0
154 (and there doesn't seem to be much explanation why).
155 * Understand and sort of check OpenBSD `lookup' resolv.conf directive.
156 * #include <stdlib.h> in internal.h (for abort etc).
157 * Always #include <sys/types.h> before <sys/socket.h> (for FreeBSD 4.6).
158
159 Cosmetic and documentation improvements:
160 * Added wishlist entry re configurable port no.
161 * Problem with SERVFAIL in TODO.
162 * README.html: mentioned Jarle Aase's Windows port, and other fixes.
163 * Some better source code formatting/wrapping.
164
165 -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 1 Jul 2003 22:55:29 +0100
166
167 adns (1.0); urgency=medium
168
169 Bugfixes:
170 * Treat 8-bit characters in email addrs as RFC822 `special' (=> quote).
171 * Fix incorrect `compressed datagram contains loop' error.
172 * Actually compile shared libraries by default !
173 * Fix adnsresfilter usage message to include correct default timeout.
174
175 General improvements:
176 * adnshost, adnslogres, adnsresfilter have options for config override.
177 * adnsresfilter has --debug option.
178 * Improvements to adnslogres (incl. new -c option) from Tony Finch.
179 * adnslogres has --help option, all utilities support --version.
180 * Documentation improved somewhat, including new GPL-vs-LGPL file.
181
182 Changes for non-BETA release:
183 * Change shared library soname to 1.0.
184 * Do not install adnstest test utility.
185
186 Regression test improvements:
187 * Tests now include adnshost, adnslogres and adnsresfilter.
188 * Test cancellation both before and after query completion.
189
190 Portability fixes and cleanups:
191 * adnstest: setvbuf(stdout,...) before we do first output.
192 * Cope with compilers that don't do `inline'.
193 * Add and fix various missing system #includes.
194 * Find install-sh properly when we need to use it, and chmod it +x.
195 * Do not use variadic macro, use stdarg instead (adnslogres.c).
196 * Regression tests work even if some syscalls are already macros.
197 * #include "config.h" before "adns.h".
198 * Cast a sizeof(...) in src/event.c to unsigned long before printing.
199 * Add pre-generated versions of m4-generated files in regress/.
200 * Kill bogus warning, adh-main.c: `arg2' might be used uninitialized ...
201 * Add extra {...} near adnslogres.c:167 to kill spurious warning.
202 * Use `printf' instead of `echo -n'.
203 * Add list of tested platforms in INSTALL file.
204
205 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 17 Sep 2000 15:15:58 +0100
206
207 adns (0.9) BETA; urgency=high
208
209 Bug fixes:
210 * Don't make _processany always kill the TCP connection with the message
211 `TCP connection failed: poll/select: exceptional condition detected'.
212 * Call MEM_ROUND in __transfer_interim (avoids assert fail
213 `qu->interim_allocd>=0' on some platforms eg 64 bit).
214 * adnsresfilter doesn't resolve textual prefixes of addresses (eg,
215 10.0.0.1 out of 10.0.0.123) if input happens to block at that point.
216 * Do not spin if TCP connection blocks for writing (and add test case).
217 * Fail queries if TCP dies repeatedly, rather than retrying many times.
218 * Do not abort in a couple of places if TCP unexpectedly broken.
219 * Do not free something twice if query fails and is then cancelled.
220
221 Portability/compilation fixes:
222 * Move `extern "C" {' to after #include <...>'s.
223 * Pass LDFLAGS from configure on to ld via settings.make.in.
224 * make clean deletes *.so and *.so.* files.
225 * New --disable-dynamic configure option for non-ELF systems.
226 * Use AC_PROG_INSTALL (=> perhaps install-sh), to avoid bad `install'.
227
228 Minor improvements:
229 * Do not print warning if sendto() gives EAGAIN.
230 * adnsresfilter default timeout changed to 1000ms.
231 * m1test script can invoke `hrecord' differently.
232 * regress/output-<case>.report file contains more useful info.
233 * TODO list and other docs updated slightly.
234 * Referrals with RD+RA set, or RCODE=Refused, don't generate warnings,
235 just debug messages. BIND does this kind of thing all the time.
236
237 -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 9 Aug 2000 16:59:28 +0100
238
239 adns (0.8) BETA; urgency=medium
240
241 Bugfixes:
242 * Race near adns_beforeselect which could cause infinite timeout fixed
243 (it's now less agressive, and will more often return a zero timeout.)
244 * Fixed infrequent race causing assertion failure in adns__tcp_broken
245 `ads->tcpstate == server_connecting || ads->tcpstate == server_ok'.
246 * Spurious `server failure on unidentifiable query' warning suppressed.
247 * If we get a referral, don't also always complain falsely about RD==0.
248 * adnslogres: cast chars to unsigned char before using ctype.h macros.
249 * In _beforeselect, global failure now means zero timeout, and in
250 tcp_events, really never try to do anything with the TCP connection if
251 act is zero. This might possibly cause an infinite delay (ie, lockup)
252 if things go badly wrong *and* a really unlikely race happens.
253 * Test suite `lines of syscall left' value is correct; !0 is failure.
254
255 Portability fixes:
256 * install-sh (from autoconf 2.12 Debian r13) included.
257 * adnslogres: do not call equivalent of printf("%.*s",0,(char*)0).
258
259 Documentation improvements:
260 * Security/performance note added, about local nameservers and DNSSEC.
261 * Documented that adns_rr_info _rr_hostaddr ( ) for address list
262 means permanent failure, and ? means temporary failure.
263 * Typo (*now for now in _beforeselect description) in adns.h fixed.
264 * Copyright notices updated.
265
266 Changes to produce more defensive code:
267 * In adns_wait, assert that the timeout is not infinite.
268 * Make qu->id start out as -2 when initially allocated.
269
270 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 7 May 2000 23:37:13 +0100
271
272 adns (0.7) BETA; urgency=medium
273
274 * New adns_submit_reverse_any for eg RBL lookups, and corresponding
275 option to adnshost.
276 * README updated (from www home page).
277
278 * In answers, quote all except alphanums and - _ / + (and document).
279 * Don't reject specials in cnames even without adns_qf_quotefail_cname.
280 * Better checking of long domain names and labels in queries.
281 * answer->owner may be null on error. Documented, and adnshost copes.
282 * Better reporting of unexpected or weird replies from nameserver.
283 * Add test case for recursion (infinite loop) domain compression.
284
285 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 2 Mar 2000 01:55:53 +0000
286
287 adns (0.6) BETA; urgency=high
288
289 Core library bugfixes:
290 * Avoid infinite timeouts, causing lockup, when they should be zero !
291 * TCP handling revamped (avoids undefined behaviour due to reentrancy).
292 * Do not fail assertion if _qf_owner, _qf_search, domain ends in `.'.
293 * Many memory leaks fixed.
294
295 Cool new utility:
296 * adnsresfilter is like `cat' but converts addresses to names without
297 delaying the output. Pipe `netstat -n', `tcpdump -ln', etc. into it.
298
299 Test and client program bug and portability fixes:
300 * Dynamic library building works properly.
301 * adnshost prints somewhat better messages about some wrong usages.
302 * Include <stdlib.h> and <sys/types.h> in adnshost.h.
303 * adnslogres: parsing and error checking improved (Tony Finch).
304 * Regression tests can cope with zero-length reads.
305 * Regression tests check for memory leaks.
306 * adnstest copes with empty query type list.
307 * adnstest uninitialised memory bug fixed.
308
309 General improvements
310 * Better control of adnshost output and error messages (new -F options).
311 * New adns_if_logpid option (functionality suggested by Tony Finch).
312 * New fanftest test program from Tony Finch (ignored by `make install').
313 * Reads /etc/resolv-adns.conf if it exists.
314 * Declare flags parameters as enums again, not ints.
315
316 -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 24 Nov 1999 17:13:03 +0000
317
318 adns (0.5) unstable; urgency=high
319
320 New features:
321 * adnslogres, ~100x faster replacement for Apache logresolve;
322 Thanks to Tony Finch for the program and the performance figure.
323 * Internal consistency checking with assert if right options set.
324 * adns_wait_poll function like adns_wait but uses poll, not select.
325 * adns_reverse_submit function for easy in-addr queries.
326 * adns_errtypeabbrev funcion for getting eg "permfail" from _s_nodata.
327 * adnshost utility for scripts and the like (rather alpha).
328
329 Incompatible changes:
330 * RRs with mailboxes never rejected due to strange chars if _raw.
331 * Lack of a mailbox produces `.' not `<>'.
332 * Better usage messages (and no default query domain) for adnstest.
333 * Return EAGAIN from _check instead of EWOULDBLOCK.
334 * adns_rr_info on _r_mx etc. shows status type abbrev and status number.
335
336 Bugfixes:
337 * Do not invoke __autosys indirectly from __procdgram (result: coredump
338 usually in memmove, unless adns_if_noautosys was used).
339 * Do not scramble innards when a query on the output queue is cancelled.
340 * Do not close tcp socket twice.
341 * Mailboxes containing spaces in their names are quoted.
342 * Give ESRCH, not EAGAIN, if _check called with no queries outstanding.
343 * adns_rr_hostaddr naddrs is -1 on temporary failure (as documented).
344 * Reject TXT RRs with no strings.
345 * Correct error messages for qname CNAME foo, foo CNAME bar.
346 * adns_processany actually does something.
347 * Fixed typos in adns.h.
348
349 General improvements:
350 * Promise not to change fds in adns_beforepoll (if now is specified).
351 * Improved textual error string for _s_prohibitedcname.
352 * New comment in adns_processany and return 0 (not r which is 0).
353 * Documentation of resolv.conf directives and options, and of environment
354 variables understood, in adns.h
355 * Regression test scripts set EF_DISABLE_BANNER (for Electric Fence).
356
357 Portability and build improvements:
358 * Give install the '-c' flag (otherwise some delete the original !).
359 * Do not remove top-level Makefile on `make clean'.
360 * Don't complain so much about poll(2) tests if not available.
361 * Do not give -u 0 -g 0 options to install.
362 * Remove trailing , from some enums in adns.h.
363 * Dynamically linked clients now made with -l, so as to avoid rpath.
364 * Do not use $^ in make rules (should help with non-GNU make).
365 * Declare flags parameters as ints not enums because C++ is crap.
366
367 -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 13 Oct 1999 02:24:35 +0100
368
369 adns (0.4) unstable; urgency=high
370
371 General important bugfixes:
372 * make _qf_owner work if _qf_search not specified, and test it (oops!)
373 * ads->configerrno now initialised (in setup.c).
374 * timercmp(,,<=) doesn't work - use !timercmp(,,>).
375 * Changed memory semantics of internal queries to fix bugs.
376 * Restarting a TCP-using query (eg due to CNAME) doesn't abort.
377
378 Fixes for handling of broken kinds of reply:
379 * Only accept a reply from the subset of servers we sent the query.
380 * Ignore CNAME(s) in answer after RR(s) (and test).
381
382 Other bugfixes and improvements:
383 * adns_s_systemfail is in table of errors (for eg adns_strerror).
384 * Do not ship config.cache, Makefile, etc.
385 * Improvements to install instructions, TODO, etc.
386 * Regression tests compile on systems without poll(2).
387 * Do not install adnstest_s.
388 * _submit returns ENOSYS, not adns_s_unknownquery; documented, tested.
389 * <adns.h> includes <sys/types.h>, <sys/time.h>, <unistd.h>.
390
391 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 5 Aug 1999 01:17:38 +0100
392
393 adns (0.3) unstable; urgency=low
394
395 Incompatible changes:
396 * Low adns_status values (below adns_s_max_tempfail) renumbered to make
397 room for future locally-induced and locally-detected errors.
398 * Event loop functions for use by select(2) renamed and tidied up.
399
400 Features / improvements:
401 * New adns_errabbrev() for getting status abbreviation strings.
402 * regress/checkall prints summary list of failed tests, if any.
403 * Event loop functions for poll(2), and some raw variants.
404 * adnstest has ability to use poll(2), and user can set initflags.
405 * checkall prints passed list as well as failed list, if any failed.
406 * You can iterate over outstanding queries (but only once at a time).
407
408 Bugfixes:
409 * Non-RFC822 mailbox `domain' formatting now works, and clarified.
410 * Rejection of bad characters in domains (without quoteok) works.
411 * Clean up parents from adns->childw (otherwise would abort/segfault).
412 * In adnstest, allocate enough space for, and terminate, query types.
413 * In adnstest, don't print errno values as adns_status values.
414
415 * Added TODO file.
416 * Made adnstest.c test context pointers.
417
418 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 15 Jul 1999 00:23:12 +0100
419
420 adns (0.2) experimental; urgency=low
421
422 Portability fixes for compilation on various platforms:
423 * Include <sys/socket.h> and <netinet/in.h> in files with <arpa/inet.h>.
424 * Don't use GCC union assignment feature (.rrs=0 => .rrs.untyped=0).
425 * Explictly cast things to [const] struct sockaddr* in syscall args.
426 * Check whether we need -lsocket.
427 * Include <sys/times.h> in a few more files.
428 * Include <unistd.h> and <sys/time.h> for select.
429 * Look for inet_aton and inet_ntoa (in -lnsl and -lsocket).
430 * LDLIBS removed from dependency lists (some makes don't support this).
431 * An `ambiguous else' warning from some compilers in types.c is removed.
432
433 Other changes:
434 * Added COPYING (copy of the GPL).
435 * Regression test failure output improved.
436 * Missing targets in regress/Makefile.in added.
437 * Regression test doesn't rely on value of fcntl flags eg O_NONBLOCK.
438
439 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 20 May 1999 00:27:32 +0100
440
441 adns (0.1) experimental; urgency=low
442
443 * Initial public alpha release.
444
445 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 17 April 1999 17:42:19
446
447 Local variables:
448 mode: debian-changelog
449 fill-column: 75
450 End: