Commit graph

3999 commits

Author SHA1 Message Date
Brian Wellington
8c7fa43b3c Make dst_region_computeid() take an algorithm, since it was returning the
wrong id for RSA keys.  Also clean up a few error messages from dst routines.
2000-09-08 14:23:49 +00:00
Brian Wellington
c38cf70db1 Fix an assertion failure and a case where an rdataset's trust wasn't set. 2000-09-08 14:18:17 +00:00
Brian Wellington
8447ecf6fd Check for NULL before checking for key size. 2000-09-08 07:51:28 +00:00
Andreas Gustafsson
2c9c7c5bb5 433. [func] isc_base64_decodestring() now accepts newlines
within the base64 data.  This makes it possible
                        to break up the key data in a trusted-keys
                        statement into multiple lines. [RT #284]
2000-09-08 00:34:21 +00:00
Michael Graff
4e8518aa8f add up to 10 minutes of jitter for refresh/retry, clammed as: RETRYTIME >= actual_retry >= RETRYTIME * .80 2000-09-08 00:07:44 +00:00
Michael Graff
95236b0363 make the returned value sane in all cases 2000-09-08 00:06:39 +00:00
Brian Wellington
abaec24086 429. [bug] The space reserved for a TSIG record in a response
was 2 bytes too short, leading to message
                        generation failures.
2000-09-07 21:08:52 +00:00
Brian Wellington
70d950d16e Log a warning if TSIG keys are too short (where too short is less than 8 bytes). 2000-09-07 20:34:04 +00:00
Bob Halley
3ad16d4c3a In find_closest_nxt(), do not return DNS_R_BADDB because of glue 2000-09-07 20:10:36 +00:00
Brian Wellington
32b2cdf212 427. [bug] Avoid going into an infinite loop when the validator
gets a negative response to a key query where the
                        records are signed by the missing key.
2000-09-07 19:46:52 +00:00
Bob Halley
3113e4dac8 fix auth-nxdomain default message [RT #287] 2000-09-07 19:24:33 +00:00
Andreas Gustafsson
d782d0dc8d major rewrite 2000-09-07 16:36:29 +00:00
Brian Wellington
79028ea477 uninitialized variables could lead to a core dump. 2000-09-07 12:10:36 +00:00
Mark Andrews
50bea34058 more notify_createmessage() cleanup. 2000-09-07 04:20:52 +00:00
Michael Graff
1deaf52c98 kill persistent errors. Always retry the I/O now. 2000-09-07 01:59:57 +00:00
Michael Graff
d2439ad5af log message about strange socket error at ISC_LOG_ERROR level 2000-09-07 01:53:31 +00:00
Mark Andrews
05fff5d905 424 [bug] notify_createmessage could trigger a REQUIRE failure
w/ two SOA records for the zone (illegal). [RT #279]
2000-09-07 01:06:45 +00:00
Andreas Gustafsson
1ed3e846a2 make the initial iterator state of rdatasets undefined
so that we can detect cases where the user fails to call dns_rdataset_first()
before calling dns_rdataset_current()
2000-09-06 23:16:14 +00:00
Michael Graff
e558faa60b make unreachable errors on unconnected UDP sockets be soft errors, rather than hard ones. 2000-09-06 22:55:33 +00:00
Michael Graff
346e6a3a23 touch up a comment 2000-09-06 21:56:20 +00:00
Michael Graff
db84234e52 add some quick text describing client- and server-side flow 2000-09-06 21:54:23 +00:00
Michael Graff
1e92a4f7a4 specify which fields are set by what in the packet header 2000-09-06 20:54:44 +00:00
Andreas Gustafsson
3bd723c53a clarified comment 2000-09-06 16:25:35 +00:00
Mark Andrews
9916239908 Initial opaque rdata support. 2000-09-06 03:25:23 +00:00
Michael Graff
7da0286b54 get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value. 2000-09-06 02:40:00 +00:00
Mark Andrews
6c6bed90cb Add comments describing isc_mem_putanddetach(). 2000-09-05 22:20:36 +00:00
Andreas Gustafsson
87ecd67dae 419. [bug] The certificate type PKIX was misspelled as SKIX. 2000-09-05 17:09:30 +00:00
Mark Andrews
d22b4de3f1 Throttled answer while loading support (still needs config file hooks). 2000-09-05 03:35:24 +00:00
Mark Andrews
1162a4e02a New function isc_mem_putanddetach(). 2000-09-05 03:30:19 +00:00
Jim Reid
fa263add26 First draft of resolver(5) man page 2000-09-03 20:45:58 +00:00
Brian Wellington
d3735e0e25 DST_ALG_RSA -> DST_ALG_RSAMD5 2000-09-02 01:17:20 +00:00
Andreas Gustafsson
f38a84ce83 418. [bug] At debug levels >= 10, getting an unexpected
socket receive error would crash the server
                        while trying to log the error message.
2000-09-01 22:41:46 +00:00
Brian Wellington
1b32bc7da1 417. [func] Add isc_app_block() and isc_app_unblock(), which
allow an application to handle signals while
                        blocking.
2000-09-01 21:31:54 +00:00
Andreas Gustafsson
da41917c3f cleanup and simplification 2000-09-01 19:59:35 +00:00
Andreas Gustafsson
122d284b61 there is no such thing as a for...while loop 2000-09-01 16:39:07 +00:00
Andreas Gustafsson
1b088f4680 reordered some statements for clarity 2000-09-01 16:37:30 +00:00
Michael Graff
ca0db0cdc8 stop mumbling in dispatch.h by filling out the comments. Fixed a bug, since I was here already. 2000-09-01 07:16:06 +00:00
Brian Wellington
88b9c12a3c rdataslabs are now sorted. Also added a function to compare two rdataslabs. 2000-09-01 01:35:21 +00:00
Andreas Gustafsson
4187398298 416. [bug] Slave zones with no master file tried to use a
NULL pointer for a journal file name when they
                        received an IXFR.
2000-08-31 23:56:00 +00:00
Brian Wellington
4b809ba346 415. [bug] The logging code leaked file descriptors. 2000-08-31 20:58:15 +00:00
Andreas Gustafsson
a69cebac84 414. [bug] Server did not shut down until all incoming zone
transfers were finished.
2000-08-31 17:48:47 +00:00
Andreas Gustafsson
04cec6dc5b comment style 2000-08-31 17:10:58 +00:00
Andreas Gustafsson
50a3152b70 clarified comment 2000-08-31 16:58:28 +00:00
Mark Andrews
7523838d84 make error message more informative. 2000-08-31 13:38:55 +00:00
Mark Andrews
4a30ede93d add overmem method 2000-08-31 13:04:47 +00:00
Mark Andrews
ce0c777a38 overmem was out of order 2000-08-31 13:00:57 +00:00
Mark Andrews
3a34b87c87 Add cache cleaning support (disabled). 2000-08-31 12:15:17 +00:00
Mark Andrews
a21fbfdd30 413. [bug] notify could attempt to use the zone database after
it had been unloaded. (RT#267)
2000-08-31 06:16:42 +00:00
Mark Andrews
5ebcf506a1 remove unneccessary call to notify_createmessage() 2000-08-31 00:31:38 +00:00
Brian Wellington
5a842a6fc3 The non-threaded version does a better job avoiding starvation. 2000-08-30 23:47:16 +00:00