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