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