Commit graph

1819 commits

Author SHA1 Message Date
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
Michael Graff
cb5f37d93b add lfsr.h 1999-12-15 01:49:07 +00:00
Michael Graff
4534478a8b Define UNUSED() in assertions.h. I can't think of a better place, and
changing many, many .c files to include <isc/unused.h> seems somehow wrong.
1999-12-15 01:48:46 +00:00
Andreas Gustafsson
016191545a removed unused variable and unnecessary #includes 1999-12-14 23:43:03 +00:00
James Brister
b9dc54b8dd - Fixed transfer/idle times in zones that were being lef as minutes.
- Added checking for minutes that are too big to be converted to seconds.
1999-12-14 10:28:00 +00:00
Andreas Gustafsson
8146ee1fac make an unexpectedly empty journal file cause a DNS_R_UNEXPECTED return,
like other forms of journal corruption do.
1999-12-14 01:26:03 +00:00
Bob Halley
4a3ad0da97 IPv6 query flood suppression 1999-12-14 00:10:06 +00:00
Bob Halley
525cdd36b3 exponential backoff on retransmission 1999-12-13 22:30:55 +00:00
Mark Andrews
4bb1729d24 dns_zone_getxfrtime -> dns_zone_getmaxxfrin 1999-12-13 07:57:36 +00:00
Mark Andrews
24b22ddce7 typo's 1999-12-13 07:56:26 +00:00
Mark Andrews
76a8dfb307 Add idle and max xfer timeouts. 1999-12-13 06:39:39 +00:00
Mark Andrews
2ea83bcfe5 Stub zones do not transfer out.
Master zones do transfer out.
1999-12-13 05:24:13 +00:00
Mark Andrews
8436cbc6a4 Connect zone transfers to refresh timers.
Various logging changes.
Add dns_zone_getclass().
Added locking to zonemgr.
1999-12-13 03:04:55 +00:00
Mark Andrews
0b87eaccdb Add callback when xfrin completes/fails.
Perform a SOA serial upto date check when IXFR attempt fails.
1999-12-13 03:01:53 +00:00
Mark Andrews
33a2ca5a71 dns_journal_print() nor returns DNS_R_NOJOURNAL if the journal does not exist. 1999-12-13 02:58:06 +00:00
Mark Andrews
4754765cc0 Fully declare function pointers. 1999-12-13 02:22:09 +00:00
Mark Andrews
8a21ac0f09 Add isc_buffer_putstr(). 1999-12-13 02:18:02 +00:00
James Brister
e8cf926e39 Fix (and test) for max-transfer statements inside zones. 1999-12-11 14:07:19 +00:00
Mark Andrews
29b1cf6c7a Check for DNS_R_NOJOURNAL when rolling back a journal.. 1999-12-11 14:05:22 +00:00
James Brister
0b8e472452 Support new max-transfer-time-out, max-transfer-idle-in and
max-transfer-idle-out statements in options block and zone statements.
1999-12-11 13:44:46 +00:00
Michael Graff
d947011dc3 change macro name from ADB_NCACHE_MINIMUM to ADB_CACHE_MINIMUM since it's used
as a general purpose minimum ttl, and actually set the TTL to the minimum
when re get a negative cache entry.
1999-12-11 02:30:24 +00:00
Michael Graff
a44bd6a6ed Unlock the right bucket in the race condition avoidance case 1999-12-10 23:22:13 +00:00
Andreas Gustafsson
5cee8302fc dns_aml_checkrequest() now takes signer name, not message 1999-12-10 18:14:49 +00:00
Andreas Gustafsson
211e0a6fc2 the TC bit was only checked in messages that ended
prematurely; it should be checked always
1999-12-10 17:31:08 +00:00
Michael Graff
efff2a52af Make this compile (without ipv6 socket support) on half-done implementations. 1999-12-10 16:51:39 +00:00
Mark Andrews
bd1a878734 Update dns_name_fromregion to match reality. 1999-12-10 02:23:08 +00:00
Michael Graff
c2b450fa72 don't hide the fact that some ipv6 stacks aren't all there. 1999-12-09 00:19:31 +00:00
Michael Graff
8b7f596003 Use one more returned-event attribute to indicate fatal error, where
retrying on a socket is pointless, as it will immediately fail.
1999-12-08 22:53:08 +00:00
Mark Andrews
6cefa82d9a dns_journal_rollforward() now returns DNS_R_JOURNAL if the file does not exist. 1999-12-07 06:26:59 +00:00