Commit graph

1809 commits

Author SHA1 Message Date
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
Mark Andrews
3864eb0e9a Add DNS_R_NOJOURNAL 1999-12-07 06:06:51 +00:00
Michael Graff
633c5ee7b9 remove a debugging statement that is no longer useful, and fix an error return 1999-12-06 23:07:05 +00:00
Michael Graff
857f8bd11b Cast to (void *) to shut up compiler warnings re signed/unsigned char *. It
would be so nice if people would define 'msg_control' in a msghdr to be
consistant with other pointers...
1999-12-06 22:33:20 +00:00
James Brister
0e0be28c8b Added some extra REQUIREs and fixed up some magic number handling. 1999-12-06 18:25:40 +00:00
James Brister
638434f6d3 Dead code removal. 1999-12-06 18:22:41 +00:00
Andreas Gustafsson
d1422e0bda don't print bogus number of received bytes at end of transfer 1999-12-06 18:00:31 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
James Brister
ce84c593e8 gcc 2.7.2.3 and 2.95.1 both dislike '#warn' but will accept '#warning' cpp
statements.
1999-12-06 12:35:19 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Michael Graff
f684e54a0d remove _S6_u64 from the in6_addr, and define struct in6_pktinfo 1999-12-03 01:22:40 +00:00