Commit graph

2690 commits

Author SHA1 Message Date
Michael Graff
acafce24bb bump up free list and fill count for items. We're thrashing somewhat. 2000-04-19 17:48:25 +00:00
Mark Andrews
158ade3c6f Don't notify the master server. 2000-04-19 05:17:12 +00:00
Mark Andrews
8400fbd5c6 Fix locking problem w/ notify.
'next' was sometimes overwritten when it should not have been
causing NEEDNOTIFY to be effectivly ignored.
2000-04-19 02:07:03 +00:00
Andreas Gustafsson
468b85d9d1 restrict parser stack size to avoid thread stack overflow in
bison-generated parsers
2000-04-19 00:26:39 +00:00
Andreas Gustafsson
e0a43acbb7 disable notify code until locking bug is fixed 2000-04-18 20:30:47 +00:00
Andreas Gustafsson
d325d53d03 declare static function proveunsecure() before use;
eliminate compiler warning
2000-04-18 18:17:49 +00:00
Brian Wellington
613efcd8fb snapshot - includes (untested) code to find unsecured subdomains, which
won't work until the server returns keys/nxts from the parent zones.
Also some style fixes.
2000-04-18 17:50:38 +00:00
Brian Wellington
2e8e76e547 Added dns_keytable_finddeepestmatch() 2000-04-18 17:47:17 +00:00
Brian Wellington
605b13c0dc Removed the restriction that answers under a security root must have SIG
records in the answer, since they might be in an unsecure subdomain.
2000-04-18 17:44:22 +00:00
Brian Wellington
eb5250f0bd Added dst_key_isnullkey() 2000-04-18 17:39:37 +00:00
Andreas Gustafsson
5ffd8a456d don't INSIST that nxt_bits_length >= 4; it's not currently
enforced on input
2000-04-18 16:49:27 +00:00
Mark Andrews
9e53cbca72 Add UDP refresh queries.
Generate NOTIFY messages.
2000-04-18 11:43:46 +00:00
Mark Andrews
9069fc6030 Cleanup unused mctx.
memset task->name.
2000-04-18 09:05:16 +00:00
Mark Andrews
262e8ed36a Add DNS_EVENT_VIEWREQSHUTDOWN 2000-04-18 08:36:20 +00:00
Mark Andrews
1a1a2ad3e8 add dns_resolver_dispatchv4(), dns_resolver_dispatchv6() and
dns_resolver_socketmgr().
2000-04-18 08:30:24 +00:00
Mark Andrews
a5c30de260 remove memory leak in dns_requestmgr_create().
requestmgr now has internal and external reference counts.
mctx is now attached / detached.
send shutdown events once all requests have completed.
dns_request_create now fails if the manager is exiting.
dns_dispatch_detach(dispatchv6).
2000-04-18 08:27:48 +00:00
Mark Andrews
9b8057fce9 Add dns_adb_attach(). 2000-04-18 08:18:52 +00:00
Andreas Gustafsson
7ead3746f8 consistent wording in log messages 2000-04-18 00:25:41 +00:00
Andreas Gustafsson
e0d1050c57 use single quotes consistently in log messages 2000-04-18 00:18:38 +00:00
Andreas Gustafsson
e3628581ae say that sigrdataset may be NULL 2000-04-17 23:13:50 +00:00
Andreas Gustafsson
a7b62db9ca commented validator API 2000-04-17 23:02:52 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Michael Graff
0d89e0d55c fix a bug where ev_sender wasn't properly set, and convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:21:30 +00:00
Michael Graff
c0a8689438 use correct type, not int 2000-04-14 23:03:13 +00:00
Michael Graff
5d4660ccb5 maila/mailb are only allowed as questions, too 2000-04-14 22:59:01 +00:00
Michael Graff
fa018cb51f axfr and ixfr can occur only in the question section, not in the 'body' 2000-04-14 22:42:24 +00:00
Michael Graff
7ec579cd5d Add functions to check that a type is only or is not allowed in a question section 2000-04-14 20:13:49 +00:00
Michael Graff
3bb3b7ac46 implement singleton type checking 2000-04-14 18:36:45 +00:00
Brian Wellington
77294b9d64 typepresent should be correct now 2000-04-14 18:33:33 +00:00
Brian Wellington
69feefe246 META type hack no longer needed 2000-04-14 17:28:21 +00:00
Brian Wellington
fe5ba8ddb5 memory leak cleanup, error if multiple nxts are present in negative answer 2000-04-14 16:00:33 +00:00
Michael Graff
0ed4c4ee35 make unreachable hard errors. 2000-04-14 15:38:28 +00:00
Brian Wellington
777ac454c0 Fixed locking problems in event handlers. Reordered NXT processing to
do range checks before verify, since it's faster.
2000-04-14 02:30:12 +00:00
Andreas Gustafsson
fa44c25a93 checkpoint: the validated() function now does its thing
for positive validations, but does not yet handle things like shutdown
correctly
2000-04-13 22:35:49 +00:00
Brian Wellington
e83cae7fa8 snapshot - partial support for negative answer verification and a couple bug
fixes.
2000-04-13 18:10:07 +00:00
Brian Wellington
53c892082e Added dns_nxt_typepresent() 2000-04-13 18:08:07 +00:00
Brian Wellington
b5fff54fe9 SIG records were not properly negatively cached. 2000-04-13 17:01:19 +00:00
Andreas Gustafsson
3ae7579332 If a fetch with sigrdataset==NULL joined one with sigrdataset!=NULL
or vice versa, the resolver could catch an assertion or lose signature data,
respectively.
2000-04-13 16:43:02 +00:00
Mark Andrews
b61bbad878 Freebsd 4.0 needs sys/param.h for ALIGN 2000-04-13 08:10:18 +00:00
David Lawrence
c80dde0676 Comments about enhancements that could be made now that parent pointers exist. 2000-04-12 21:38:04 +00:00
David Lawrence
b2e0809295 include dns/rbt.h 2000-04-12 21:32:13 +00:00
David Lawrence
510f4bdcb6 static zapnode_and_fixlevels renamed to public dns_rbt_deletenode.
deletion no long requires a valid chain.  chain gook removed from all
of the deletion functions.

Minor unrelated doc & code convention cleanups.
2000-04-12 21:31:02 +00:00
David Lawrence
d3c34e76d6 Stole one bit from node's 'attributes' bitfield for 'is_root' boolean.
Prototyped and documented dns_rbt_deletenode.
2000-04-12 21:27:49 +00:00
David Lawrence
567f3a25bc do not include dns/rbt.h 2000-04-12 21:25:27 +00:00
David Lawrence
7b4e52d119 include dns/rbt.h 2000-04-12 21:25:10 +00:00
Brian Wellington
9c418665dd Responses containing multiple names in the authority section were not
negatively cached.
2000-04-12 19:27:15 +00:00
Bob Halley
fca5f81ad6 using snprintf or vsnprintf requires isc/print.h 2000-04-12 19:07:12 +00:00
Brian Wellington
63bf060be4 dst_key_iszonekey() checks that the key's protocol is DNSSEC or ANY.
Remove this check from the validator, and remove more redundant constants
from dst.h
2000-04-12 15:52:12 +00:00
Bob Halley
b65c8325a7 If the user has specified auth-nxdomain, do not warn about the default
being changed.
Fix typo.
2000-04-12 02:04:03 +00:00
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00