+ * Fixed infrequent race causing assertion failure in adns__tcp_broken
[adns] / changelog
1 uadns (0.8) BETA; urgency=medium
2
3 * bug_if_query_done feature for debugging (SHOULD BE TAKEN OUT FOR RELEASE)
4
5 Bugfixes:
6 * Race near adns_beforeselect which could cause infinite timeout fixed
7 (it's now less agressive, and will more often return a zero timeout.)
8 * Fixed infrequent race causing assertion failure in adns__tcp_broken
9 `ads->tcpstate == server_connecting || ads->tcpstate == server_ok'.
10 * Spurious `server failure on unidentifiable query' warning suppressed.
11 * If we get a referral, don't also always complain falsely about RD==0.
12 * adnslogres: cast chars to unsigned char before using ctype.h macros.
13 * In _beforeselect, global failure now means zero timeout, and in
14 tcp_events, really never try to do anything with the TCP connection if
15 act is zero. This might possibly cause an infinite delay (ie, lockup)
16 if things go badly wrong *and* a really unlikely race happens.
17 * Test suite `lines of syscall left' value is correct; !0 is failure.
18
19 Portability fixes:
20 * install-sh (from autoconf 2.12 Debian r13) included.
21 * adnslogres: do not call equivalent of printf("%.*s",0,(char*)0).
22
23 Documentation improvements:
24 * Security/performance note added, about local nameservers and DNSSEC.
25 * Documented that adns_rr_info _rr_hostaddr ( ) for address list
26 means permanent failure, and ? means temporary failure.
27 * Typo (*now for now in _beforeselect description) in adns.h fixed.
28
29 Changes to produce more defensive code:
30 * In adns_wait, assert that the timeout is not infinite.
31 * Make qu->id start out as -2 when initially allocated.
32
33 --
34
35 adns (0.7) BETA; urgency=medium
36
37 * New adns_submit_reverse_any for eg RBL lookups, and corresponding
38 option to adnshost.
39 * README updated (from www home page).
40
41 * In answers, quote all except alphanums and - _ / + (and document).
42 * Don't reject specials in cnames even without adns_qf_quotefail_cname.
43 * Better checking of long domain names and labels in queries.
44 * answer->owner may be null on error. Documented, and adnshost copes.
45 * Better reporting of unexpected or weird replies from nameserver.
46 * Add test case for recursion (infinite loop) domain compression.
47
48 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 2 Mar 2000 01:55:53 +0000
49
50 adns (0.6) BETA; urgency=high
51
52 Core library bugfixes:
53 * Avoid infinite timeouts, causing lockup, when they should be zero !
54 * TCP handling revamped (avoids undefined behaviour due to reentrancy).
55 * Do not fail assertion if _qf_owner, _qf_search, domain ends in `.'.
56 * Many memory leaks fixed.
57
58 Cool new utility:
59 * adnsresfilter is like `cat' but converts addresses to names without
60 delaying the output. Pipe `netstat -n', `tcpdump -ln', etc. into it.
61
62 Test and client program bug and portability fixes:
63 * Dynamic library building works properly.
64 * adnshost prints somewhat better messages about some wrong usages.
65 * Include <stdlib.h> and <sys/types.h> in adnshost.h.
66 * adnslogres: parsing and error checking improved (Tony Finch).
67 * Regression tests can cope with zero-length reads.
68 * Regression tests check for memory leaks.
69 * adnstest copes with empty query type list.
70 * adnstest uninitialised memory bug fixed.
71
72 General improvements
73 * Better control of adnshost output and error messages (new -F options).
74 * New adns_if_logpid option (functionality suggested by Tony Finch).
75 * New fanftest test program from Tony Finch (ignored by `make install').
76 * Reads /etc/resolv-adns.conf if it exists.
77 * Declare flags parameters as enums again, not ints.
78
79 -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 24 Nov 1999 17:13:03 +0000
80
81 adns (0.5) unstable; urgency=high
82
83 New features:
84 * adnslogres, ~100x faster replacement for Apache logresolve;
85 Thanks to Tony Finch for the program and the performance figure.
86 * Internal consistency checking with assert if right options set.
87 * adns_wait_poll function like adns_wait but uses poll, not select.
88 * adns_reverse_submit function for easy in-addr queries.
89 * adns_errtypeabbrev funcion for getting eg "permfail" from _s_nodata.
90 * adnshost utility for scripts and the like (rather alpha).
91
92 Incompatible changes:
93 * RRs with mailboxes never rejected due to strange chars if _raw.
94 * Lack of a mailbox produces `.' not `<>'.
95 * Better usage messages (and no default query domain) for adnstest.
96 * Return EAGAIN from _check instead of EWOULDBLOCK.
97 * adns_rr_info on _r_mx etc. shows status type abbrev and status number.
98
99 Bugfixes:
100 * Do not invoke __autosys indirectly from __procdgram (result: coredump
101 usually in memmove, unless adns_if_noautosys was used).
102 * Do not scramble innards when a query on the output queue is cancelled.
103 * Do not close tcp socket twice.
104 * Mailboxes containing spaces in their names are quoted.
105 * Give ESRCH, not EAGAIN, if _check called with no queries outstanding.
106 * adns_rr_hostaddr naddrs is -1 on temporary failure (as documented).
107 * Reject TXT RRs with no strings.
108 * Correct error messages for qname CNAME foo, foo CNAME bar.
109 * adns_processany actually does something.
110 * Fixed typos in adns.h.
111
112 General improvements:
113 * Promise not to change fds in adns_beforepoll (if now is specified).
114 * Improved textual error string for _s_prohibitedcname.
115 * New comment in adns_processany and return 0 (not r which is 0).
116 * Documentation of resolv.conf directives and options, and of environment
117 variables understood, in adns.h
118 * Regression test scripts set EF_DISABLE_BANNER (for Electric Fence).
119
120 Portability and build improvements:
121 * Give install the '-c' flag (otherwise some delete the original !).
122 * Do not remove top-level Makefile on `make clean'.
123 * Don't complain so much about poll(2) tests if not available.
124 * Do not give -u 0 -g 0 options to install.
125 * Remove trailing , from some enums in adns.h.
126 * Dynamically linked clients now made with -l, so as to avoid rpath.
127 * Do not use $^ in make rules (should help with non-GNU make).
128 * Declare flags parameters as ints not enums because C++ is crap.
129
130 -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 13 Oct 1999 02:24:35 +0100
131
132 adns (0.4) unstable; urgency=high
133
134 General important bugfixes:
135 * make _qf_owner work if _qf_search not specified, and test it (oops!)
136 * ads->configerrno now initialised (in setup.c).
137 * timercmp(,,<=) doesn't work - use !timercmp(,,>).
138 * Changed memory semantics of internal queries to fix bugs.
139 * Restarting a TCP-using query (eg due to CNAME) doesn't abort.
140
141 Fixes for handling of broken kinds of reply:
142 * Only accept a reply from the subset of servers we sent the query.
143 * Ignore CNAME(s) in answer after RR(s) (and test).
144
145 Other bugfixes and improvements:
146 * adns_s_systemfail is in table of errors (for eg adns_strerror).
147 * Do not ship config.cache, Makefile, etc.
148 * Improvements to install instructions, TODO, etc.
149 * Regression tests compile on systems without poll(2).
150 * Do not install adnstest_s.
151 * _submit returns ENOSYS, not adns_s_unknownquery; documented, tested.
152 * <adns.h> includes <sys/types.h>, <sys/time.h>, <unistd.h>.
153
154 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 5 Aug 1999 01:17:38 +0100
155
156 adns (0.3) unstable; urgency=low
157
158 Incompatible changes:
159 * Low adns_status values (below adns_s_max_tempfail) renumbered to make
160 room for future locally-induced and locally-detected errors.
161 * Event loop functions for use by select(2) renamed and tidied up.
162
163 Features / improvements:
164 * New adns_errabbrev() for getting status abbreviation strings.
165 * regress/checkall prints summary list of failed tests, if any.
166 * Event loop functions for poll(2), and some raw variants.
167 * adnstest has ability to use poll(2), and user can set initflags.
168 * checkall prints passed list as well as failed list, if any failed.
169 * You can iterate over outstanding queries (but only once at a time).
170
171 Bugfixes:
172 * Non-RFC822 mailbox `domain' formatting now works, and clarified.
173 * Rejection of bad characters in domains (without quoteok) works.
174 * Clean up parents from adns->childw (otherwise would abort/segfault).
175 * In adnstest, allocate enough space for, and terminate, query types.
176 * In adnstest, don't print errno values as adns_status values.
177
178 * Added TODO file.
179 * Made adnstest.c test context pointers.
180
181 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 15 Jul 1999 00:23:12 +0100
182
183 adns (0.2) experimental; urgency=low
184
185 Portability fixes for compilation on various platforms:
186 * Include <sys/socket.h> and <netinet/in.h> in files with <arpa/inet.h>.
187 * Don't use GCC union assignment feature (.rrs=0 => .rrs.untyped=0).
188 * Explictly cast things to [const] struct sockaddr* in syscall args.
189 * Check whether we need -lsocket.
190 * Include <sys/times.h> in a few more files.
191 * Include <unistd.h> and <sys/time.h> for select.
192 * Look for inet_aton and inet_ntoa (in -lnsl and -lsocket).
193 * LDLIBS removed from dependency lists (some makes don't support this).
194 * An `ambiguous else' warning from some compilers in types.c is removed.
195
196 Other changes:
197 * Added COPYING (copy of the GPL).
198 * Regression test failure output improved.
199 * Missing targets in regress/Makefile.in added.
200 * Regression test doesn't rely on value of fcntl flags eg O_NONBLOCK.
201
202 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 20 May 1999 00:27:32 +0100
203
204 adns (0.1) experimental; urgency=low
205
206 * Initial public alpha release.
207
208 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 17 April 1999 17:42:19
209
210 Local variables:
211 mode: debian-changelog
212 fill-column: 75
213 End: