David Lawrence
3eab41102f
checkpoint
2000-01-06 03:36:32 +00:00
Andreas Gustafsson
a928d61917
fixed a race condition where a cache cleaning cycle could
...
be started when one was already in progress; restructured to destroy and recreate
the cache database iterator between cleaning cycles instead of just pausing it
2000-01-06 01:12:20 +00:00
Bob Halley
24a2d84aed
add DNS_ADBFIND_STARTATROOT
2000-01-06 00:56:37 +00:00
Bob Halley
35b89fca89
If we're looking up the address of a nameserver who's name is a
...
subdomain of the query domain, tell the ADB to start looking at "." if
it doesn't know the address. This keeps us from getting stuck if the
nameserver is beneath the zone cut and we don't know its address
(e.g. because the A record has expired). By restarting from ".", we
ensure that any missing glue will be reestablished.
Misc. DNSSEC validation groundwork.
2000-01-06 00:56:18 +00:00
Andreas Gustafsson
ed04318ef6
timer event could arrive after cache cleaner was destroyed;
...
use the new <isc/util.h>
2000-01-04 23:24:13 +00:00
Andreas Gustafsson
ffa15cef7f
document the fact that dns_acl_match now always succeeds
2000-01-04 21:45:08 +00:00
David Lawrence
b11bb1dae5
standard lib api file
2000-01-04 20:26:33 +00:00
David Lawrence
bd3195dcec
lint
2000-01-04 20:21:03 +00:00
David Lawrence
d49df8f0d3
renamed from omapip_p.h
2000-01-04 20:19:11 +00:00
David Lawrence
dcf8825fd7
BSD/OS 4.01 returns EPROTONOSUPPORT for failure in try_proto()
2000-01-04 20:15:53 +00:00
David Lawrence
686320ef6e
checkpoint
2000-01-04 20:04:42 +00:00
Mark Andrews
9fd735a3d9
xfrin_start_temporary_kludge() was called when the zone was already locked.
...
DNS_ZONE_F_REFRESH needs to be set when we call xfrin_start_temporary_kludge()
from xfrdone().
1999-12-31 00:20:47 +00:00
Michael Graff
43ea6a67a2
check in preliminary lw packet format. The names may change, but I don't
...
want to lose this while on vacation.
1999-12-24 01:11:51 +00:00
Mark Andrews
60f0c36b17
Reposition call back to capture both successful IXFR's as well as AXFR's.
1999-12-24 00:44:59 +00:00
Mark Andrews
f6c1a76e91
Cached NXDOMAIN for type ANY queries should be bound to a rdataset.
1999-12-23 06:50:51 +00:00
Mark Andrews
1205f38a4c
max_token is now a hint as to largest token.
1999-12-23 05:24:12 +00:00
Mark Andrews
202e42a230
Print lock tracing to stderr.
...
Decrement granted read lock when releasing a read lock if there are no
pending write locks. This still allows fair queuing between read and
write locks but does not block on aquiring a new read relock if we are
below quota of active locks and there are no pending writes.
1999-12-23 05:05:04 +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
Andreas Gustafsson
fba6d4604d
do not log "zone serial has gone backwards" when the
...
serial remains unchanged on zone reload
1999-12-22 20:52:32 +00:00
Andreas Gustafsson
d6f5fc7911
handle null pubkeys and ACLs in dns_zone_compare()
1999-12-22 19:09:29 +00:00
Andreas Gustafsson
9b0e18da3d
dns_result_t/isc_result_t unification
1999-12-22 17:37:31 +00:00
Mark Andrews
4d22a83c38
RWLOCK/RWUNLOCK to return __FILE__ and __LINE__.
...
Use #ifdef ISC_UTIL_TRACEON so that tracing can be turned on per file.
e.g.
#define ISC_UTIL_TRACEON
#include <isc/util.h>
1999-12-22 06:14:59 +00:00
Michael Graff
733b16eb0b
priority rendering
1999-12-22 03:22:59 +00:00
Mark Andrews
491319c34c
dbiterator_pause (dns_dbiterator_pause) can now pause a interator after
...
hitting end of chain. If we have a node increase its reference count
and set paused flag.
1999-12-22 03:01:02 +00:00
Mark Andrews
9ac1456101
A fix comments to match reality.
1999-12-21 00:34:44 +00:00
Brian Wellington
d84ce5d5c6
plug a memory leak on failure
1999-12-17 21:09:34 +00:00
James Brister
e0c873ebc7
Declare new function dns_c_checkconfig that's used in main parsing routine.
1999-12-17 18:34:16 +00:00
James Brister
ad62ba2e70
Do checks on some integers for size limits.
1999-12-17 18:32:38 +00:00
James Brister
4239a56ab2
Added new function dns_c_checkconfig .
1999-12-17 18:29:38 +00:00
Andreas Gustafsson
8f79820c69
wired up the 'cleaning-interval' config option
1999-12-17 01:02:49 +00:00
Michael Graff
59602a4485
set DNS_RDATASETATTR_TTLADJUSTED when the ttl's for rdata don't match
1999-12-17 00:21:38 +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
9416e9751e
need #include <config.h> to define away inline
1999-12-16 23:25:09 +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
Michael Graff
ec075c6efb
revert assertions.h, and add UNUSED() to util.h
1999-12-16 22:42:05 +00:00
Michael Graff
78fed22afc
install util.h, too, and add a warning about its use
1999-12-16 22:29:13 +00:00
Michael Graff
440be4c866
move util.h to <isc/util.h>
1999-12-16 22:24:22 +00:00
Mark Andrews
e7340552be
missed a master xfer out change
1999-12-16 01:24:27 +00:00
Mark Andrews
f6a9dd2c61
complete slave side of notify
1999-12-16 01:23:17 +00:00
Michael Graff
b8ef99c3a7
make the lfsr's real lfsr's, and use two of them to generate random-looking IDs
1999-12-16 00:07:21 +00:00
Bob Halley
f8d63d12dd
Cast to (unsigned char *) in isc_buffer_putstr() because pointer arithmetic
...
on (void *) is not well defined.
1999-12-15 22:29:21 +00:00
Michael Graff
f39add73bc
Actually commit the ipv6 socket code I wrote last week.
1999-12-15 20:47:38 +00:00
Michael Graff
607dc8013a
make dispatcher hash sizes be primes, and provide an increment to help
...
resolve hash collisions
1999-12-15 17:14:52 +00:00
Mark Andrews
271154eafd
dns_message_reply(): copy the question section of notify messages.
1999-12-15 07:28:51 +00:00
Michael Graff
0a9fedafec
Use an LFSR to generate unpredictable IDs.
1999-12-15 03:11:00 +00:00
Michael Graff
21cbbc3e83
document functions. Add isc_lfsr_init() and unimplemented isc_lfsr_findlfsr()
1999-12-15 02:55:27 +00:00
Michael Graff
8752677649
store the taps as unsigned longs, rather than 1<<x notation
1999-12-15 02:26:25 +00:00
Mark Andrews
8b791b4ee8
'covers' was not being set when extracting questions from a incoming message,
...
set covers to zero.
1999-12-15 02:25:35 +00:00
Michael Graff
ad91a3d204
add lfsr.c
1999-12-15 01:49:36 +00:00