Brian Wellington
ba9e9a88c8
The last change didn't compile due to faulty cut&paste.
2001-06-08 22:48:28 +00:00
Brian Wellington
3b6bcedffe
891. [bug] Return an error when a SIG(0) signed response to
...
an unsigned query is seen. This should actually
do the verification, but it's not currently
possible. [RT #1391 ]
2001-06-08 19:37:29 +00:00
Brian Wellington
01535cfb3a
removed erroneous UNUSED macro
2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548
Don't die when trying to delete a nonexistent key [RT #1392 ]
2001-06-08 18:29:31 +00:00
Andreas Gustafsson
11c8a04f9b
grammar
2001-06-07 20:11:30 +00:00
Andreas Gustafsson
d358eea93e
megabytes is abbreviated MB, not mb
2001-06-07 18:31:54 +00:00
Brian Wellington
571688b02f
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
Mark Andrews
99a8d30559
860. [func] Drop cross class glue in zone transfers.
2001-06-05 23:43:15 +00:00
David Lawrence
f991461dc1
The most notable change is that incremental_cleaning_action() will now
...
wait at least six seconds between each pass of the tree. This keeps
the CPU from being bogged down in a persistent overlimit condition, and
because it uses timers also lets the cache cleaner know right away when
the server is being shut down, so it can stop trying to clean.
Also fixed an unlocked access to cache->live_tasks in dns_cache_detach().
Also fixed a problem with repeated calls to dns_cache_setcachesize() setting
the database as not overmem, even though it might have still been in
the process of cleaning from a previous limit. Just set the new
isc_mem_setwater() limits instead and let the mem.c call water() if cleaning
needs to be either started or stopped because of the new limits.
Minor code cleanups.
2001-06-05 22:27:51 +00:00
Mark Andrews
92296c744e
complete the rollback
2001-06-05 09:23:14 +00:00
Mark Andrews
8af4b7042d
rollback individual RR.
2001-06-05 09:17:21 +00:00
Mark Andrews
03f91269f5
856. [func] Allow partial rdatasets to be returned in answer and
...
authority sections to help non-TCP capable clients
recover from truncation. [RT #1301 ]
2001-06-05 09:02:16 +00:00
Brian Wellington
7e93abafe6
spelling & style
2001-06-05 06:34:45 +00:00
Mark Andrews
afb0a628ef
855. [bug] Stop spurious "using RFC 1035 TTL semantics" warnings.
2001-06-05 05:12:47 +00:00
David Lawrence
163e27991b
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-04 20:57:25 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Brian Wellington
c39911afea
functions returning void should not return the result of other functions
...
returning void. [RT #1372 ]
2001-06-03 19:03:37 +00:00
Mark Andrews
3042b3e271
851. [bug] Handle responses from servers which do not know
...
about IXFR.
2001-06-01 15:22:56 +00:00
Bob Halley
eba5c23154
undo 1.54, which was an accidental commit
2001-06-01 03:07:54 +00:00
Bob Halley
875542855a
update to 9.3.0, now that the 9.2 release branch has been created
2001-06-01 03:05:07 +00:00
Brian Wellington
59d5cc31e5
#include <dns/types.h>
2001-06-01 01:09:10 +00:00
David Lawrence
7fe56f41ec
slight optimization for dns_rbt_findnode() when bitstrings are involved:
...
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence
68f4a1696f
In dns_rbt_findnode() when using hashing, check for a bitstring after
...
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence
11c4f6b687
Reversed the sense of my earlier change to hmacmd5 key generation that
...
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence
b79e66b06d
While searching in dns_rbt_findnode(), cope with the possibility that
...
a bitstring label might be founding things from any label of a
multilabel search_name.
2001-05-31 11:03:33 +00:00
David Lawrence
ed8daea264
enforce a minimum cache size of 2mb
2001-05-31 10:53:42 +00:00
David Lawrence
719f0c0028
A trivial change (added a blank line) so I could add the comment I
...
*wanted* to add on the last check-in.
The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not. This change was approved
by Brian. The control channel key generator needed it to be able to do
its job all on-the-fly.
2001-05-31 10:49:28 +00:00
David Lawrence
d744418e64
hmac_link.c
2001-05-31 10:47:17 +00:00
David Lawrence
25efbc557e
set the permissions on a symmetric keyfile before anything is written to it,
...
rather than after it is closed
2001-05-31 10:45:32 +00:00
David Lawrence
fe2d25382f
don't define INADDR_LOOPBACK; isc/net.h should be ensuring it exists
2001-05-31 10:43:37 +00:00
David Lawrence
4f36774273
include <dns/soa.h> for dns_soa_serial() prototype
2001-05-31 10:38:01 +00:00
Brian Wellington
6d28d54e6f
be more tolerant of blank lines
2001-05-31 00:38:07 +00:00
Brian Wellington
1969ab5360
copyright updates
2001-05-30 20:31:08 +00:00
Brian Wellington
a78196366c
move variable initialization
2001-05-29 23:07:28 +00:00
Brian Wellington
cbb781f277
uninitialized variable
2001-05-29 22:54:07 +00:00
Brian Wellington
8358be5851
uninitialized variable
2001-05-29 22:44:12 +00:00
Brian Wellington
e2fd12f3a0
841. [bug] When sdb modules were not declared threadsafe, their
...
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Andreas Gustafsson
508d17362c
834. [func] Accept (but warn about) master files beginning with
...
an SOA record without an explicit TTL field and
lacking a $TTL directive, by using the SOA MINTTL
as a default TTL. This is for backwards compatibility
with old versions of BIND 8, which accepted such
files without warning although they are illegal
according to RFC1035.
2001-05-22 01:44:37 +00:00
Andreas Gustafsson
e7a4f58d55
833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
...
<dns/soa.h>, and extended them to support
all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Andreas Gustafsson
ec4df1f908
consistently use lower case in error messages
2001-05-21 22:49:24 +00:00
Brian Wellington
0716b32560
remove unnecessary const
2001-05-21 22:10:23 +00:00
Andreas Gustafsson
1242c132a8
removed comment that was no longer correct
2001-05-17 18:14:36 +00:00
Andreas Gustafsson
21a0926b4f
the epoch of time() is sytem dependent - use isc_stdtime_get()
...
instead [RT #1300 ]
2001-05-15 22:05:35 +00:00
Bob Halley
4e9d4ceadf
Take two of new semantics for ANY queries at zone cut points. Now doing
...
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before. Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things. These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Andreas Gustafsson
0d205b805a
backed out changes to handling of DNS_DBFIND_VALIDATEGLUE
...
option in previous commit - they broke DNS_DBFIND_GLUEOK lookups,
causing several of the system tests to fail
2001-05-15 03:52:31 +00:00
Andreas Gustafsson
135b1206c9
don't retry UDP receives after they return an error -
...
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson
054777a694
eliminated redundant assignments to disp->shutting_down;
...
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
Brian Wellington
50097b38c0
830. [func] Implement 'rndc status'.
2001-05-14 20:44:16 +00:00
Bob Halley
751aa24c98
only return DNS_R_ZONECUT from secure zones
2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155
more of 'rndc status'
2001-05-14 19:06:47 +00:00