Bob Halley
89b117b756
performance improvements
2000-04-27 21:46:31 +00:00
Bob Halley
bcaf544581
add macros
2000-04-27 21:45:46 +00:00
Brian Wellington
48e27f529d
Conform to the dns_dnssec_verify api change and fix an nxt processing crash
2000-04-27 18:14:11 +00:00
Brian Wellington
9e842bb2d3
Allow dnssec verifications to ignore the validity period.
2000-04-27 18:09:10 +00:00
Michael Graff
1911100e64
add comments about 'RETAIN'
2000-04-27 01:47:38 +00:00
Andreas Gustafsson
d11241a247
make good use of isc_buffer_remaininglength()
2000-04-27 00:24:21 +00:00
Andreas Gustafsson
fa04a194fb
return value from dns_rdataset_first() was ignored;
...
added more comments and logging to nxtvalidate()
2000-04-27 00:15:16 +00:00
David Lawrence
a231769eaa
Made compress_add and compress_find static to lib/dns/compress.c
2000-04-27 00:08:44 +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
ace0c1b3f4
performance tweaks
2000-04-26 23:22:53 +00:00
Bob Halley
048f38385e
change contract for value of order
2000-04-26 23:12:57 +00:00
Bob Halley
7525fa78c0
add XXXRTH comment about sending to ourselves
2000-04-26 19:25:01 +00:00
Michael Graff
95f908eb79
more bug fixes in generation of rdatatype_fromtext() processing
2000-04-26 18:30:04 +00:00
Mark Andrews
e8c91210aa
Add structure definitions.
2000-04-26 18:27:56 +00:00
Andreas Gustafsson
8db70f36be
isc_buffer_putstr() will soon return void
2000-04-26 18:24:15 +00:00
Michael Graff
88cad53724
fix problem with alpha
2000-04-26 17:27:01 +00:00
Mark Andrews
178f9cf89f
fromstruct MUST NOT check mctx
2000-04-26 01:41:58 +00:00
Andreas Gustafsson
ad73ddc323
don't use 'new' as an identifier in installed
...
header files - it's a reserved word in C++
2000-04-26 01:01:23 +00:00
David Lawrence
1f41da8507
needs <stdlib.h> for strtoul
2000-04-25 21:23:04 +00:00
Michael Graff
fa460c223a
hard code some class bits -- they were more or less hard coded before anyway, and this method makes them clearer and faster (dns_rdataclass_{to,from}text())
2000-04-25 21:11:50 +00:00
Michael Graff
18b8cd9e27
add dns_rdataclass_chaos and _reserved0 (used internally to rdata.c) to the enumclass.h file
2000-04-25 21:10:33 +00:00
David Lawrence
7ce81e15fa
80. [cleanup] <isc/print.h> does not need <stdio.h> or <stdlib.h>.
...
(and now dns/ttl.c needs it since it was taken out of isc/print.h)
2000-04-25 20:20:31 +00:00
David Lawrence
8fedfa7b45
79. [cleanup] <dns/callbacks.h> does not need <stdio.h>.
2000-04-25 20:13:54 +00:00
David Lawrence
e1a5f4cd31
Shut up compiler about sigrdataset possibly being used before set in
...
nxtvalidate(). The warning is bogus.
2000-04-25 19:57:47 +00:00
David Lawrence
4b93234940
removed unused stack variable "byte" from dns_nxt_typepresent
2000-04-25 19:36:21 +00:00
David Lawrence
fc8a6561cb
include isc/time.h
2000-04-25 19:35:39 +00:00
Michael Graff
94a537e6ab
optimize dns_rdatatype_fromtext()
2000-04-25 19:09:07 +00:00
David Lawrence
26037ecb22
Unlock zone->lock when skipping zone load because of database file's age.
...
Log at ISC_LOG_DEBUG(1) when dns_zone_load is entered, when it skips
loading because the file is older than the last load time, and when it
has successfully loaded the zone.
2000-04-24 23:30:46 +00:00
David Lawrence
6d4b6f9d4b
added dns_c_ndcctx_getserver, minor style lint
2000-04-24 22:53:41 +00:00
David Lawrence
1e44dac496
Use renamed functions, isc_mktemplate -> isc_file_mktemplate and
...
isc_ufile -> isc_file_ufile.
Don't load a zone if the database file for it is older than the last
time the zone was loaded.
Style lint.
2000-04-24 21:59:08 +00:00
David Lawrence
d7197f2ab0
Add DNS_RBTFIND_NOPREDECESSOR to specify that the predecessor searching code
...
of dns_rbt_findnode should be skipped. Nothing external uses it yet, but
when the chain option is NULL, this option is set internally as predecessor
searching is irrelevant. (It was skipped before now, but via a different
mechanism.)
Add DNS_RBTFIND_NOOPTIONS to make it clear what the options parameter of
dns_rbt_find* is when no options are passed, and use it in dns_rbt_deletename.
REQUIRE that DNS_RBTFIND_NOEXACT and DNS_RBTFIND_NOPREDECESSOR are mutually
exclusive to dns_rbt_findnode.
2000-04-24 21:18:16 +00:00
David Lawrence
69d9d317ae
Add DNS_RBTFIND_NOOPTIONS to make it clear what the options parameter of
...
dns_rbt_find* is when no options are passed.
Add DNS_RBTFIND_NOPREDECESSOR to specify that the predecessor
searching code of dns_rbt_findnode should be skipped.
Much comment cleanup w.r.t. DNS_RBTFIND_* options.
2000-04-24 21:18:02 +00:00
David Lawrence
0ae53264f0
Removed declarations of extern bn_limit_* variables that are declared
...
static in bn_lib.c. They are only used by bn_lib.c.
2000-04-24 21:02:35 +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
Brian Wellington
ec371edc34
Add 'type' as a parameter to dns_validator_create()
2000-04-20 20:43:52 +00:00
Brian Wellington
6f17d90364
Partial support for SIG(0) on incoming messages - works when we have the
...
key and it's marked as secure (that is, when no validator or fetch is needed).
2000-04-20 19:51:39 +00:00
Brian Wellington
e9a9ae4fc6
Added dns_trust_ultimate for zone data (can be renamed later if necessary).
2000-04-20 18:47:21 +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
264fd373f3
added log message about not finding relevant NXTs;
...
added REQUIREs to enforce prerequisites as documented in validator.h;
added cancelation cleanup code
2000-04-20 18:03:12 +00:00
Andreas Gustafsson
ad4e4fe2a3
cache_name() sometimes returned DNS_R_UNCHANGED instead of DNS_R_SUCCESS,
...
causing some queries to secure domains to return SERVFAIL
2000-04-20 17:56:03 +00:00
Andreas Gustafsson
d1bdeae7bb
moved typedef of dns_zone_callbackarg_t from <dns/types.h> to
...
bin/tests/zone2_test.c; it's obsolete and zone2_test.c is the only
place using it
2000-04-20 17:39:02 +00:00
Andreas Gustafsson
06fd648cf2
echeckpoint: check for shutdown condition in
...
validated(); purge posted timer events when stopping the idle timer
2000-04-20 17:05:37 +00:00
Mark Andrews
4be19dcd14
Send shutdown events when irefs -> 0 and exiting.
2000-04-20 13:45:36 +00:00
Mark Andrews
716cb5acca
notify would only be returned from named.conf if dialup was also set.
2000-04-20 12:43:05 +00:00
Michael Graff
354cad3011
another function rename
2000-04-20 03:15:01 +00:00
Michael Graff
668934f778
rename openssl functions and exported data to have a dst_ prefix.
2000-04-20 01:20:54 +00:00