2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00
Commit Graph

258 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Andreas Gustafsson
807b4620fa wired up view option: cleaning-interval 2000-04-07 18:04:24 +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
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
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +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
Andreas Gustafsson
1921b4f619 wired up the 'match-clients' view option 2000-04-06 17:31:33 +00:00
Bob Halley
e81af5be3e lint 2000-03-23 20:01:41 +00:00
Andreas Gustafsson
7e03d1e22f wired up the new 'provide-ixfr' option 2000-03-20 21:06:27 +00:00
Andreas Gustafsson
4bc5101166 wired up the new 'request-ixfr' option 2000-03-20 19:42:21 +00:00
David Lawrence
8e12f9c899 style lint 2000-03-14 21:19:31 +00:00
Andreas Gustafsson
1c4fb0e315 wired up the transfer-source-v6 option 2000-03-08 22:31:52 +00:00
David Lawrence
4bcc9c7bdc When loading a configuration file, set log defaults if and only if no
"category default" clause was found in a logging statement.
2000-03-04 18:30:56 +00:00
Andreas Gustafsson
77668e0fce preserve cache contents when reloading 2000-03-02 23:47:39 +00:00
Andreas Gustafsson
e02c696ea5 checkpoint: restructured logging configuration code
to enable the default logging configuration to be defined
in one place
2000-03-01 00:40:54 +00:00
Andreas Gustafsson
32b61e553b foreground mode with logging to stderr is now -g, not -ff 2000-02-29 18:37:14 +00:00
Andreas Gustafsson
f30f2b279c direct logging to stderr iff the '-f' option is doubled 2000-02-28 22:17:59 +00:00
Andreas Gustafsson
353dcaf1cc 'logging' statement partially wired up 2000-02-28 18:38:44 +00:00
Andreas Gustafsson
cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson
e01ecff4b1 Implemented the 'transfers' clause of the 'server' statement
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Andreas Gustafsson
604b92d94d removed outdated comment 2000-02-24 21:41:56 +00:00
Andreas Gustafsson
03ccfda9ec the view now has a peer list 2000-02-24 21:12:16 +00:00
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Andreas Gustafsson
9fdf20d0de implemented periodic network interface scanning 2000-02-16 19:58:39 +00:00
Andreas Gustafsson
71385229ce use the UNUSED() macro 2000-02-16 18:21:17 +00:00
James Brister
e3f0a6821c configure_view() was not detaching iplist after use. 2000-02-11 15:29:37 +00:00
Andreas Gustafsson
a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Bob Halley
19389c0bb1 lint 2000-02-09 19:23:30 +00:00
James Brister
35393c5cfa Get query source address and port together 2000-02-09 16:36:19 +00:00
Bob Halley
bfc2d518d1 use ns_g_defaultpidfile 2000-02-08 21:15:41 +00:00
Bob Halley
8545bb4765 change working directory immediately after parsing the options block 2000-02-08 01:30:16 +00:00