2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

60 Commits

Author SHA1 Message Date
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Mark Andrews
0bfcec250f 254. [bug] suppress "query denied" messages on additional data
lookups.
 ISC-Bugs #139
2000-06-15 04:42:01 +00:00
Andreas Gustafsson
11d0a4a55e wired up the sig-validity-interval option; renamed its
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
Brian Wellington
4bf54f182d include dns/fixedname.h 2000-05-30 23:12:47 +00:00
Brian Wellington
311918e5a6 Don't allow dynamic updates of SIG records, since it either leaves the
database in an inconsistent state or fails when it shouldn't.  This will be
supported at some point, but it's better to flat out refuse than fail badly.
2000-05-27 00:07:52 +00:00
David Lawrence
553727079c one more macro (FAIL()) where ISC_R_SUCCESS needed to be tested against a
variable instead of a constant.
2000-05-24 21:41:14 +00:00
David Lawrence
94296c8d5b quiet HP/UX and Solaris compilers by testing "result" variable (as opposed to
"code" constant) against ISC_R_SUCCESS in FAILC() and FAILS() macros.
2000-05-24 18:25:35 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
cfefc47443 removed unused stack variable "zoneclass" from ns_update_start.
ISC style fixups.
2000-05-24 03:26:35 +00:00
Andreas Gustafsson
224553741e send notifies after dynamic update 2000-05-22 16:01:58 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
David Lawrence
f2fdfe7c42 Silence "end-of-loop condition not reached" warnings from Solaris compiler 2000-05-10 03:33:57 +00:00
David Lawrence
8a47ea1dad a few lingering (mem|str)(cmp|cpy|len) missing prototypes 2000-05-09 15:02:20 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +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
Bob Halley
e2fe0815b3 conform to zt API change 2000-04-19 18:27:42 +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
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington
84feab0fad If an ssutable is present, it's used instead of an allow-update acl 2000-03-06 19:08:05 +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
3b14e4434a dynamic updates now attach to client object while waiting
to be executed
2000-02-11 21:09:32 +00:00
Brian Wellington
26e1af486a Use dns_message_reply() when responding to an update message 2000-02-10 22:14:39 +00:00
Andreas Gustafsson
a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Bob Halley
7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Andreas Gustafsson
d2bb8318e5 removed #include <dns/confip.h> 2000-02-02 21:05:18 +00:00
Andreas Gustafsson
66c41c5b4f use the UNUSED() macro 2000-01-27 01:14:13 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Andreas Gustafsson
542189f21b dns_result_torcode() now converts ISC_R_SUCCESS into
dns_rcode_noerror, not dns_rcode_servfail
1999-12-22 22:11:18 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson
6017f424ee introducing dns_acl_t; other restructuring of server
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Mark Andrews
a8f4de1bf1 opcode was not being set in response 1999-12-16 01:47:57 +00:00
Andreas Gustafsson
5cee8302fc dns_aml_checkrequest() now takes signer name, not message 1999-12-10 18:14:49 +00:00
Andreas Gustafsson
de90a25a59 changed arguments to dns_aml_checkrequest() 1999-12-02 22:28:25 +00:00
Andreas Gustafsson
d8c70cbcd7 use new AML code for checking "allow-update" 1999-11-30 22:11:11 +00:00
Andreas Gustafsson
1a3d6530f6 deleting the last NS should always succeed when not at the zone apex 1999-11-19 19:07:16 +00:00
Andreas Gustafsson
5012c7b994 obey the allow-update configuration statement, kind of -
allowing a key will currently allow any key, and allowing an IP address
will allow updates from any IP address
1999-11-18 22:29:45 +00:00
Mark Andrews
19c5c23ef6 fix compiler warning: While loop condition is always non-zero.
nxt_30.c enforce type range to 1..127. DNS_R_RANGE otherwise.
1999-11-03 01:07:02 +00:00
Andreas Gustafsson
f977908972 log dynamic update signature approval 1999-11-02 23:47:41 +00:00
Andreas Gustafsson
8e8c5f7081 require a valid signature on dynamic updates 1999-11-02 23:37:04 +00:00
Andreas Gustafsson
ea398d3eba result code was not always being set on failure 1999-11-02 19:17:39 +00:00
Mark Andrews
fe37278859 in6_addr.s6_addr is *always* an array. 1999-10-29 06:36:05 +00:00
Andreas Gustafsson
71a16ee135 checkpoint, introducing new type dns_zonemgr_t 1999-10-29 00:46:53 +00:00
Andreas Gustafsson
8803b05108 use the logging library, not printf 1999-10-25 20:23:13 +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
30805ef951 undo previous change: both issues were already addressed 1999-10-14 19:55:34 +00:00
Mark Andrews
92450223ca missing variable, result could be used before being set. 1999-10-14 04:20:20 +00:00
Andreas Gustafsson
e112f5a7ab uninitialized variable 1999-10-14 02:07:10 +00:00