Commit Graph
2059 Commits
Author SHA1 Message Date
Michael Graff dec90b6cae clean up from Bob's quick code walk-through 1999-10-21 01:37:57 +00:00
Michael Graff 29f28fe573 database lookups 1999-10-21 01:18:06 +00:00
Andreas Gustafsson cec82dbad9 attempt journal rollforward even if diff_on_reload is set;
it is needed for dynamic zones and ixfr'ed slave zones
1999-10-21 00:39:40 +00:00
Andreas Gustafsson 6f0768d939 typo caused wrong file to be used as journal file for outgoing ixfr 1999-10-21 00:36:43 +00:00
Andreas Gustafsson 999ae80184 use zone task pool for update queueing; use separate journal file
for each zone
1999-10-21 00:35:53 +00:00
Andreas Gustafsson ef0cb3cc5b create a task pool for use by the zones 1999-10-21 00:33:54 +00:00
Andreas Gustafsson 584ba0e67d Created a new type isc_taskpool_t, a pool of isc_task_t
objects to be shared by multiple users.  This is intended for use by things
like zones, which would need hordes of tasks if each one had a separate task.
1999-10-21 00:32:15 +00:00
William King e88eae12e7 current incarnation 1999-10-20 23:31:17 +00:00
Bob Halley 004da17157 Make the public version of findname() set attributes appropriately. 1999-10-20 23:28:10 +00:00
Bob Halley 71637c6489 Add more comments about synthesizing a CNAME when following a DNAME. 1999-10-20 23:27:25 +00:00
Michael Graff f181f94ec8 snapshot 1999-10-20 23:26:06 +00:00
Michael Graff 09dbb18c6d add isc_random_t, and all the isc_random_*() function to use it. Right now it is
a pretty empty type, but it would be good to flesh it out so each random state
will be separated from one another.  Right now they all just lock
around rand(), which isn't perfect, but good enough for what I need
today.
1999-10-20 23:25:17 +00:00
Bob Halley 9ab8a7477d Synthesize an appropriate CNAME when following DNAME. 1999-10-20 23:22:04 +00:00
Bob Halley ae51af4776 fix memory leak in client_addopt() 1999-10-20 23:20:30 +00:00
Brian Wellington a7d792804f dst error code cleanup 1999-10-20 22:14:15 +00:00
Bob Halley f1962da938 Add fctx_stopidletimer().
Remove some remnants of the old locking system.
Prep work for future calls to DNSSEC validation.
Misc. cleanups.
1999-10-20 19:20:48 +00:00
Brian Wellington 1bdc3fd29a dst_random -> dst_random_get 1999-10-20 19:08:57 +00:00
William King b7828bc2ce name changed from b9tsummary.pl to b9status.pl plus changes necessary to
support flexible build directory location
1999-10-20 17:21:44 +00:00
William King 35ce81690f name change to b9status.pl plus changes to support local or remote builds 1999-10-20 17:20:24 +00:00
Bob Halley d3376f4cf5 start work to allow a client to be cancelled/idled 1999-10-20 01:58:48 +00:00
Bob Halley 1646ae97bc add dns_resolver_cancelfetch 1999-10-20 01:57:05 +00:00
Michael Graff beb2b4f196 Allow the srtt value to be adjusted, and update the goodness and srtt when they are modified 1999-10-19 22:21:27 +00:00
Michael Graff ca924f706b Add a way to adjust goodness. 1999-10-19 22:06:08 +00:00
Michael Graff f36892bffa remove an INSIST that is no longer needed. 1999-10-19 21:44:25 +00:00
Michael Graff 3f6a666894 Clean up zoneinfo when freeing the entry. This makes more sense, since
we will always want to do this anyway, and less code duplication means less
places to forget to do it.
1999-10-19 21:42:56 +00:00
Michael Graff f00d96a15c make lameness work, now. Grr. 1999-10-19 21:28:09 +00:00
Michael Graff f36a81c884 Add the API to allow marking an address as lame for a zone 1999-10-19 21:10:29 +00:00
Michael Graff d8590892d1 Add code to check for a lame zone, and to expire lame entries as needed. 1999-10-19 20:55:04 +00:00
Bob Halley d38a7a518f Set AD. 1999-10-19 20:22:38 +00:00
Bob Halley 3f6714ce54 Remove query_a6additional(), since the latest version of the DNS lookups
draft no longer requires type A and AAAA additional section processing for
the owner name of an A6 rrset.
1999-10-19 20:02:59 +00:00
Bob Halley 000ee57965 Deal with DNS_R_UNCHANGED cases, where we've tried to add data to the cache
but have found that the cache contents are better.
1999-10-19 19:52:56 +00:00
Andreas Gustafsson 8e99b9ed65 warn about failed zone loads 1999-10-19 19:14:14 +00:00
Bob Halley a1ab2f1fde update 1999-10-19 19:12:52 +00:00
Michael Graff a68a847a76 don't include tkey.o/c yet, since the source isn't there. 1999-10-19 17:54:55 +00:00
Brian Wellington 15660bccc1 Lock the reference count and deleted flags in a tsig key 1999-10-19 15:34:39 +00:00
Bob Halley de13dac233 handle negative answers with CNAME/DNAME chains 1999-10-19 02:33:42 +00:00
Michael Graff 30251e07d1 snapshot ; external and internal reference counts are separated out,
and everything but fetches work.
1999-10-19 01:37:22 +00:00
Michael Graff 78b2f25c9a add isc_mem_setname() 1999-10-19 01:22:39 +00:00
Brian Wellington 25811a89c6 Added dst_digest (a wrapper around digest functions), and dst_s_md5 (an
internal wrapper around MD5).  Modified hmac-md5 code to use dst_s_md5.
1999-10-18 21:35:46 +00:00
Bob Halley b500110b22 preliminary DNAME support 1999-10-18 21:05:49 +00:00
Bob Halley 65c025fdf2 The wildcard code added in 1.69 broke DNAMEs at the zone origin. 1999-10-18 21:04:04 +00:00
Bob Halley 8a9f679d60 Ensure version is always NULL for cache databases.
Plug a memory leak in the DNAME code.
1999-10-18 21:02:48 +00:00
David Lawrence e9dd5da241 use isc/netdb.h instead of netdb.h 1999-10-18 00:23:07 +00:00
David Lawrence 13eaef2df2 more INSISTs for proper range before passing integers to isc_buffer_putuint16 1999-10-17 22:40:05 +00:00
David Lawrence 7c03787452 INSIST uint16 range for a call to dns_compress_rollback with int argument.
Cast int c to char c; it was already range limited.

Cast isc_buffer_uint16 int argument to uint16; it was already range checked.

Cast isc_buffer_uint8 int argument to uint8; it was already range checked.
1999-10-17 22:34:16 +00:00
David Lawrence c866769e66 more INSISTs for proper range before passing integers to isc_buffer_putuint16 1999-10-17 22:31:03 +00:00
David Lawrence ea872078bf define isc_interval_zero and isc_time_epoch 1999-10-17 22:26:09 +00:00
David Lawrence f0131db6c3 INSIST rdata.length < 65536 before using it in a call to isc_buffer_putuint16.
I was not entirely sure that all paths to the places where the INSISTS are
would have guaranteed that the unsigned int rdata.length was in the range
of an unsigned short.

Cast bitshifts to isc_uint8_t in encode_win32(); yes, dear compiler, we know
there is a loss of precision.  That's exactly what we want to happen here.
1999-10-17 22:18:45 +00:00
David Lawrence 49d13506ed INSIST rdata.length < 65536 before using it in a call to isc_buffer_putuint16.
I was not entirely sure that all paths to the places where the INSISTS are
would have guaranteed that the unsigned int rdata.length was in the range
of an unsigned short.
1999-10-17 21:33:03 +00:00
William King e5966f9b9a added test for signature stability wrt algorithm changes, etc 1999-10-17 21:18:57 +00:00