Commit Graph
576 Commits
Author SHA1 Message Date
Mark Andrews 6c7e680943 115. [cleanup] libdns.a changes:
dns_zone_clearnotify() and dns_zone_addnotify()
                        are replaced by dns_zone_setnotifyalso().
                        dns_zone_clearmasters() and dns_zone_addmaster()
                        are replaced by dns_zone_setmasters().
2000-04-28 00:58:42 +00:00
David Lawrence 6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Andreas Gustafsson 900b9aa25e tostruct_key() no longer requires a non-NULL mctx 2000-04-26 01:44:07 +00:00
David Lawrence 642c20f6a1 style lint 2000-04-25 23:44:37 +00:00
Andreas Gustafsson f6d6835ed5 removed unneeded ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS
from <named/listenlist.h>
2000-04-25 23:21:32 +00:00
Bob Halley 924e26ea2f Look for KEY RRs in both the delegator and delegatee if we're
authoritative for both, the delegatee is nonsecure, and the query
name is at the top of the delegatee zone.

Apply allow-query ACL checks to all response data.
2000-04-25 21:58:17 +00:00
Mark Andrews 4035d33250 apply #69 to just committed also-notify 2000-04-21 02:17:55 +00:00
Mark Andrews 3e8a8028a4 dialup and notify apply to slave zones as well. 2000-04-21 02:14:33 +00:00
Andreas Gustafsson b78f21115c apply view and global defaults for 'max-transfer-idle-out' option
in the correct order
2000-04-21 00:20:22 +00:00
Andreas Gustafsson ade06bd257 support view and global defaults for 'notify' option 2000-04-21 00:18:23 +00:00
Andreas Gustafsson e4e183af57 the zone object's master and also-notify lists grew longer with each reload 2000-04-20 20:58:50 +00:00
Michael Graff 08a768e82a Infrastructure to allow use of alternate openssl libraries. Default is still to use our internal, now renamed, version. 2000-04-20 18:27:43 +00:00
Andreas Gustafsson 8378b720cd issue 'closetcp' trace message only if a TCP connection
was actually open
2000-04-20 17:07:46 +00:00
Bob Halley e2fe0815b3 conform to zt API change 2000-04-19 18:27:42 +00:00
Andreas Gustafsson a8277d18aa install logging configuration after relinquishing root privileges
to ensure that log files specified in named.conf are created as
the unprivileged user
2000-04-18 22:17:27 +00:00
Mark Andrews 9e53cbca72 Add UDP refresh queries.
Generate NOTIFY messages.
2000-04-18 11:43:46 +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 be91d96193 spelling check [bug #95] 2000-04-13 22:41:23 +00:00
Bob Halley 15a0ed3060 fix [RT 94] (name buffer already in use assertion) 2000-04-13 19:34:02 +00:00
Bob Halley 738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
Bob Halley d6f63eca91 isc_task_create() API change; cache has its own mctx 2000-04-12 01:38:26 +00:00
Brian Wellington 3ca4d70c58 base64_cstring_tobuffer() was missing a call to isc_buffer_add(). 2000-04-11 20:47:00 +00:00
Andreas Gustafsson e5afb85e52 added a missing '#ifdef HAVE_LINUXTHREADS' 2000-04-11 20:29:37 +00:00
Andreas Gustafsson ad2c5d060d use dns_name_format() when logging queries 2000-04-11 19:24:20 +00:00
Andreas Gustafsson 5646eb8cd1 use dns_name_format() 2000-04-11 19:08:32 +00:00
Bob Halley 134ba0e08a Linux PR_SET_KEEPCAPS support 2000-04-11 18:51:19 +00:00
Brian Wellington 8469ee3726 Don't include authority data if it would force us to unset the AD bit 2000-04-11 18:43:27 +00:00
Andreas Gustafsson 864a05fa26 configuration failed when trusted-keys statement was missing 2000-04-11 17:52:57 +00:00
Andreas Gustafsson d9b7ec02d9 use the 'trusted-keys' statement to configure security roots 2000-04-11 00:37:59 +00:00
Andreas Gustafsson 84ef83d296 80 columns 2000-04-10 22:00:13 +00:00
Andreas Gustafsson 65e117d576 wired up the 'trusted-keys' config option 2000-04-10 21:31:41 +00:00
Andreas Gustafsson 8571e5ca37 failed to configure default view when there were zone statements
but no explicit views; the unconfigured default view had no resolver and therefore
denied recursion to all clients
2000-04-08 00:49:19 +00:00
Andreas Gustafsson 164f0b0cae configure_view() failed to set result to ISC_R_SUCCESS
on successful completion
2000-04-07 22:37:42 +00:00
Andreas Gustafsson 0c637e129e renamed variable configctx -> cctx for consistency and brevity 2000-04-07 22:36:15 +00:00
Andreas Gustafsson edcb93b49c wired up view options: request-ixfr, provide-ixfr 2000-04-07 22:30:43 +00:00
Michael Graff 7e2c8092db Include <isc/print.h> to get proper definition of vsnprintf() on machines which don't have it. 2000-04-07 19:17:33 +00:00
Andreas Gustafsson e82d19b0c7 wired up view options: max-transfer-time-out, max-transfer-idle-out 2000-04-07 18:16:02 +00:00
Andreas Gustafsson 807b4620fa wired up view option: cleaning-interval 2000-04-07 18:04:24 +00:00
Andreas Gustafsson cb284e7bd4 wired up view options: transfer-source, transfer-source-v6 2000-04-07 17:27:22 +00:00
Andreas Gustafsson dded22b184 comment the fact that cview may be NULL in configure_view;
avoid NULL reference when reporting the (probably impossible) error of
the default view missing root hints
2000-04-07 17:08:12 +00:00
Andreas Gustafsson 8f9f5011b0 assertion failure setting forwarders of default view 2000-04-07 16:23:54 +00:00
Andreas Gustafsson 57423b6cf9 wired up view options 'forward' and 'forwarders' 2000-04-07 01:07:07 +00:00
Andreas Gustafsson 2e91b1f3d4 configuring zone acl from default view caused assertion failure 2000-04-07 00:51:32 +00:00
Andreas Gustafsson a672bfbee4 wired up view options: allow-query, allow-recursion, allow-transfer 2000-04-06 23:59:19 +00:00
Andreas Gustafsson 2e097e67d8 wired up view options: allow-query, allow-recursion, allow-transfer;
fixed recently broken creation of default view
2000-04-06 23:58:01 +00:00
Andreas Gustafsson 94497580d8 wired up view options: recursion, auth-nxdomain, transfer-format 2000-04-06 22:51:17 +00:00
Michael Graff 4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson a895e8e779 wired up view options: recursion, auth-nxdomain, transfer-format;
fixed failure to obey the 'recursion' option
2000-04-06 20:26:39 +00:00
Andreas Gustafsson 66e2dd5001 wired up view options: recursion, auth-nxdomain, transfer-format 2000-04-06 20:25:48 +00:00
James Brister c47baa985c Name change to two config file functions. 2000-04-06 20:08:34 +00:00