Commit Graph
26645 Commits
Author SHA1 Message Date
David Lawrence 5f73e025a1 enable ISC_MEM_TRACKLINES gnifty feature 2000-07-26 22:42:43 +00:00
Andreas Gustafsson 371827c1e0 added missing DNSSAFE license file 2000-07-26 22:41:28 +00:00
David Lawrence 976f44baa3 needed isc/string.h for memset() prototype 2000-07-26 22:36:34 +00:00
David Lawrence 7b04a0e1df does not need stddef.h, tell emacs to use C mode on the file 2000-07-26 21:56:28 +00:00
David Lawrence 951c247f29 style lint 2000-07-26 21:44:34 +00:00
Andreas Gustafsson 7916c2f2b2 clarified 2000-07-26 21:36:43 +00:00
Brian Wellington a1cbe5c5a1 The example omitted the -o option for the wrong reason. 2000-07-26 21:36:08 +00:00
David Lawrence f6f4d7ee0f separate the ISC_R_NRESULTS macro from those that define result codes, for
clarity
2000-07-26 21:34:11 +00:00
David Lawrence 894a2f61c9 minor style issue -- missing periods at ends of sentences/phrasesin comments. 2000-07-26 21:32:57 +00:00
David Lawrence ef4010aae7 cross-reference error strings with their result.h macros 2000-07-26 21:31:52 +00:00
Brian Wellington 10680f2169 The cycle text was even more confusing than it is now. 2000-07-26 20:58:11 +00:00
Michael Graff 6d016e34bf minor formatting issue -- kill trailing whitespace 2000-07-26 20:56:39 +00:00
Andreas Gustafsson 6967adadcb minor clarifications 2000-07-26 19:13:18 +00:00
Michael Graff 9c3903a58a set isc_mem_debugging = 2 2000-07-26 19:07:36 +00:00
Michael Graff bfab56849d Revamp memory stuff.
Now, if you define ISC_MEM_TRACKLINES, and set isc_mem_debugging = 2 first
thing in main(), isc_mem_stats() will dump the file/line where any leaking
allocations were made.
2000-07-26 19:06:20 +00:00
Andreas Gustafsson 4a9b6178ba incorrect use of plural 2000-07-26 18:52:05 +00:00
Michael Sawyer 761a1c3761 Add sanitizer and hide per-master key code behind sanitizing #ifdefs 2000-07-26 18:47:43 +00:00
Michael Sawyer 222ad9086c Typo 2000-07-26 17:56:37 +00:00
Andreas Gustafsson a32738e3e4 352. [bug] Race condition in dns_client_t startup could cause
an assertion failure.
2000-07-26 17:39:12 +00:00
Andreas Gustafsson 0b7ce4ace9 removed duplicated line 2000-07-26 17:36:42 +00:00
Andreas Gustafsson 97684ed87d new functions isc_task_getname() and isc_task_gettag(),
to be used for debugging
2000-07-26 17:11:14 +00:00
James Brister 6e1de1f55b When unsetting option strings pointer wasn't being NULLed. 2000-07-26 15:21:04 +00:00
Andreas Gustafsson a0b608fd1a not all messages were prefixed with I: 2000-07-26 01:19:43 +00:00
Brian Wellington 5b0413f993 Call isc_log_wouldlog to potentially avoid extra work in validator_log. 2000-07-26 00:50:02 +00:00
Brian Wellington 15ba758c3a minor tweaks 2000-07-26 00:47:17 +00:00
Brian Wellington 53dc771403 The CD bit changes broke insecurity proofs. They work again. 2000-07-26 00:03:18 +00:00
David Lawrence 905e0c1533 [RT #186] check for various networking items (eg, getaddrinfo) after Kame test 2000-07-25 23:54:09 +00:00
Brian Wellington 6dc130c7c9 351. [bug] Constructing a response with rcode SERVFAIL to a TSIG
signed query could crash the server.
2000-07-25 22:51:46 +00:00
Andreas Gustafsson 49855f0856 350. [bug] Also-notify lists specified in the global options
block were not correctly reference counted, causing
                        a memory leak.
2000-07-25 22:46:18 +00:00
Andreas Gustafsson ec34015017 dns_c_view_getalsonotify() should attach the list
like both the global and per-zone counterparts now do
2000-07-25 22:38:29 +00:00
Brian Wellington dc2c974dcf 349. [func] Processing a query with the CD bit set now works
as expected.
2000-07-25 22:07:50 +00:00
Brian Wellington 94ec6e9a1a whitespace fixes 2000-07-25 22:04:33 +00:00
Brian Wellington 69a761838b Support for the cd (checking disabled) bit. Also remove data from the
cache if validation fails.
2000-07-25 22:03:25 +00:00
Brian Wellington 1702f1a0fe Add a 'fetchoptions' field to the query structure, which is currently 0
unless the query has the cd bit set.
2000-07-25 21:37:05 +00:00
Brian Wellington 7e0d7323d7 Detach from the iplist obtained from *_getalsonotify. 2000-07-25 20:26:11 +00:00
James Brister b28affc652 Added missing prototypes. 2000-07-25 20:17:52 +00:00
James Brister 07919f7bb8 Do a dns_c_iplist_attach first when returning the iplist from also-notify. 2000-07-25 20:16:00 +00:00
Michael Sawyer 8cfe1a4846 Typo correction in DNS_MAX/MIN_RETRY usage
Don't #define mins/maxes if they are already defined. (per MG)
2000-07-25 19:29:00 +00:00
James Brister d4ab9cd94f 348. [func] New named.conf boolean values 'glue-from-auth' and
'glue-from-cache' now supported in view and global
			options statement.
2000-07-25 17:55:43 +00:00
Michael Sawyer 0759eb6a0d Olafer's patch to give the server time to start 2000-07-25 17:48:51 +00:00
Brian Wellington 969f24b04c dns_dnssec_verifymessage should make sure that it's verifying with the right
key (which should be the case anyway, but it never hurts to check).  Also
fix a memory leak and change a few _tostruct() calls to not allocate memory.
2000-07-25 17:12:00 +00:00
Andreas Gustafsson 81b94e091c added new fetch option DNS_FETCHOPT_NOVALIDATE 2000-07-25 17:03:21 +00:00
Brian Wellington 60783293cc If a failed positive validation led us to try an insecurity proof, and the
insecurity proof also failed, the validator event should normally contain
the error from the positive validation.
2000-07-25 01:24:18 +00:00
Andreas Gustafsson 398bdb2710 in deleterdataset(), set the DNS_DBADD_FORCE flag
when adding the deletion rdataset so that rdatasets can be deleted
regardless of their trust level
2000-07-25 01:19:51 +00:00
Brian Wellington 5d9e3392b2 Add support for the cd (checking disabled) bit. Setting the cd bit in a
query still doesn't completely work, since the resolver needs to be modified
also.  Basically, if data is in the cache and trust == pending, it will now
be returned when the cd bit is set.
2000-07-25 01:06:18 +00:00
Andreas Gustafsson 9037893f90 add() assumed dns_trust_authsecure is the highest trust level,
but this is no longer the case.  Thus, the DNS_DBADD_FORCE option did not take effect
if the existing data was at level dns_trust_ultimate.  Since the DNS_DBADD_FORCE
option is currently used only with cached data, no actual harm has been done.
2000-07-25 01:06:01 +00:00
Michael Sawyer 080a4fe83c 347. [bug] Don't crash if when an argument is left off
options in dig.
2000-07-25 00:52:11 +00:00
Michael Sawyer fcc6d71462 Don't crash if someone specifies an option (like -f) to dig without its
argument.
2000-07-25 00:51:14 +00:00
Michael Sawyer dc9c461b27 Test that the jnl file is properly recovered after a hard kill of the server 2000-07-25 00:44:18 +00:00
Andreas Gustafsson 56f8b1c404 the "done" variable reintroduced in the previous revision
was not initialized
2000-07-24 23:55:19 +00:00