Commit Graph
590 Commits
Author SHA1 Message Date
Andreas Gustafsson 7193a1762e suppress logging until UID switch to avoid creating log
files as root
2000-05-02 18:45:08 +00:00
David Lawrence 09f22ac5b0 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Andreas Gustafsson 03384e7070 style 2000-05-02 01:16:21 +00:00
David Lawrence b09983678f 145. [cleanup] Added <isc/lang.h> and ISC_LANG_BEGINDECLS/
ISC_LANG_ENDDECLS to header files that had function
                        prototypes, and removed it from those that did not.
2000-05-01 17:59:10 +00:00
David Lawrence 4be63b1fd8 144. [cleanup] libdns header files too numerous to name were made
to conform to the same style for multiple inclusion
                        protection.
2000-04-29 02:02:38 +00:00
David Lawrence b77f76be2d Where the methods field of an rdataset was compared to NULL, now use
dns_rdataset_isassociated() instead.
2000-04-28 23:46:43 +00:00
Andreas Gustafsson a0f6cda5fd the 'default_debug' log channel was not set up when
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
Mark Andrews 37cf280f49 port is no longer used 2000-04-28 17:50:56 +00:00
Mark Andrews 598b67856b dns_zone_{set,get}masterport() is gone. 2000-04-28 17:18:23 +00:00
David Lawrence 32eddfc189 120. [cleanup] <isc/socket.h> does not need <isc/boolean.h>,
<isc/bufferlist.h>, <isc/task.h>, <isc/mem.h> or
                        <isc/net.h>.
2000-04-28 03:53:48 +00:00
Mark Andrews b8dd48ecf8 119. [cleanup] structure definitions for generic rdata stuctures do
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
David Lawrence 6b7257f756 include config.h 2000-04-28 02:08:20 +00:00
Andreas Gustafsson 82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
Bob Halley 364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
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