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