Commit Graph

4015 Commits

Author SHA1 Message Date
Mark Andrews
694d98c143 cleanup notify_log & zone_log to reduce common code. 2000-09-12 01:22:12 +00:00
Mark Andrews
68516a98cb document dns_message_getrawmessage 2000-09-11 23:37:34 +00:00
Andreas Gustafsson
400f5eeb2c spelling 2000-09-11 20:51:47 +00:00
Bob Halley
ba43c53451 Allow nodes obscured by a DNAME to be accessed if the GLUEOK bit is set. 2000-09-11 16:48:25 +00:00
Mark Andrews
29a9d783b2 440. [func] New function dns_zone_forwardupdate(). 2000-09-11 13:34:18 +00:00
Mark Andrews
b9dead30b1 440. [func] New function dns_zone_forwardupdate(). 2000-09-11 13:26:22 +00:00
Mark Andrews
056141f287 439. [func] New function dns_request_createraw(). 2000-09-11 06:35:57 +00:00
Mark Andrews
5126112bc3 438. [func] New function dns_message_getrawmessage(). 2000-09-11 05:55:27 +00:00
Mark Andrews
668278867b 437. [func] Log NOTIFY activity to the notify channel. 2000-09-11 04:37:52 +00:00
Brian Wellington
230aff0eac Fix the crash caused by a signed message not matching any view [RT #290].
This fixes the crash, but not the real problem, which is that the TSIG needs
to be verified even if there is no matching view.
2000-09-09 10:46:58 +00:00
Andreas Gustafsson
00010dc6a4 TCP receives should never be retried 2000-09-08 22:02:21 +00:00
Andreas Gustafsson
b7e031d517 435. [bug] dns_zone_dump() overwrote existing zone files
rather than writing to a temporary file and
                        renaming.  This could lead to empty or partial
                        zone files being left around in certain error
                        conditions involving the initial transfer of a
                        slave zone, interfering with subsequent server
                        startup. [RT #282]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
c9f54e6d04 unbalanced quotes in comment 2000-09-08 21:35:45 +00:00
Andreas Gustafsson
e881887f18 commented 2000-09-08 21:25:21 +00:00
Andreas Gustafsson
7ec4367f3d 434. [func] New function isc_file_isabsolute(). 2000-09-08 18:37:28 +00:00
Brian Wellington
ec393c0384 Error return cleanup. 2000-09-08 14:25:40 +00:00
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