Commit Graph
5960 Commits
Author SHA1 Message Date
Brian Wellington 0e71d03672 Check for DNS_R_NAMETOOLONG when testing names that are too long. 2000-07-14 22:21:14 +00:00
Michael Sawyer 4b7d316065 A few bug fixes. 2000-07-14 21:33:03 +00:00
Andreas Gustafsson db94555582 updated drafts 2000-07-14 20:21:26 +00:00
Michael Sawyer 925a734426 Handle SIGINT properly during batch mode. 2000-07-14 20:14:36 +00:00
David Lawrence 891a1bead8 Use new function dns_name_reset() to make a name have no data, instead
of dns_name_concatenate(NULL, NULL, name, NULL).

Define DNS_NAME_USELINE to get macroized name functions.  Removed
older FAST_COUNTLABELS and FAST_ISABSOLUTE to use standard name
interface, which are covered by DNS_NAME_USEINLINE.
2000-07-14 19:17:39 +00:00
David Lawrence da527e4ff6 332. [func] New function dns_name_reset(). 2000-07-14 19:12:54 +00:00
Michael Sawyer 8cd54a7461 Lots of changes to the shutdown code. Get rid of the annoying "just exit"
method of shutting down.
Known bug: SIGINT while doing batch mode causes assertion.
2000-07-14 17:57:27 +00:00
Andreas Gustafsson 16836f6ab6 9.0.0b5 was built from the release branch, not the mainline 2000-07-14 17:13:49 +00:00
Andreas Gustafsson 074ae7bf09 RT #169: note that logging categories have changed from BIND 8 2000-07-14 17:11:07 +00:00
Brian Wellington da892e9733 Typo in comment - isc_time_microdiff returns microseconds, not milliseconds. 2000-07-14 16:59:32 +00:00
Michael Sawyer e715e01178 More code duplication removal and general cleanup
Slight change in +nssearch output formatting
2000-07-14 16:35:30 +00:00
David Lawrence 1867b6276e char secret[], for decoding the base64 string, should not have been const 2000-07-14 14:57:24 +00:00
Mark Andrews 8d51d9e67e 331. [bug] Only log "recursion denied" if RD is set. (RT #178) 2000-07-14 02:26:22 +00:00
Andreas Gustafsson 10f4e9668a the INSIST condition of 1.145 was too strong, weakened it;
dded another INSIST to help track down the INSIST(!external) crash
2000-07-14 00:37:27 +00:00
Andreas Gustafsson 55da37e18f removed dead code 2000-07-14 00:33:09 +00:00
Brian Wellington 5b4397d387 Updated to reflect current status of insecurity proofs on insecure and
privately secured zones.
2000-07-14 00:03:54 +00:00
Brian Wellington 6bc1a64561 If a positive validation fails and it looks like the reason is that there
are no material DNSSEC signatures, try an insecurity proof.
2000-07-13 23:52:04 +00:00
Michael Sawyer 0840ae769a When doing multi-stage lookups (like +trace and +nss), don't wait for all
of the servers being queried to return results if we only need one of them.
2000-07-13 22:53:51 +00:00
Michael Sawyer a31dbaa03f Replace +aa option, per AG. 2000-07-13 21:12:21 +00:00
Michael Sawyer 8f56f93547 Clean up duplicate code in host.c
Fix a socket cleanup problem which, in some isolated cases, prevented
correct shutdown.
Remove +aa option completely.
2000-07-13 21:01:00 +00:00
Michael Sawyer c5ec9b45bb Lots of duplicate code removed
+tcp mode bug fixed
2000-07-13 18:52:58 +00:00
Brian Wellington 4250285838 Return DNS_R_NAMETOOLONG in a few places where less useful errors were
returned before.
2000-07-13 18:10:18 +00:00
Brian Wellington 618e871c2e Add DNS_R_NAMETOOLONG 2000-07-13 02:41:20 +00:00
Andreas Gustafsson 4532e9e7c6 in isc_log_wouldlog(), deal with the possibility of lctx
being NULL
2000-07-13 02:28:18 +00:00
Michael Sawyer 58cdafb232 Style changes, nothing functional 2000-07-13 02:14:17 +00:00
Michael Sawyer 77365675e9 Use mempools instead of free lists for the comm buffers. 2000-07-13 01:49:44 +00:00
Andreas Gustafsson 0072e42780 use isc_log_wouldlog() in manager_log() 2000-07-13 01:38:40 +00:00
Brian Wellington 2935e25e99 Removed debugging code that is no longer useful. 2000-07-13 01:22:56 +00:00
Michael Sawyer 738310d8cf It's probably a bad idea to pre-allocate 64K buffers for each lookup as soon
as you read in the batch file.  Don't.
2000-07-13 01:22:38 +00:00
Andreas Gustafsson 9317787889 use isc_log_wouldlog() 2000-07-13 01:16:22 +00:00
Brian Wellington febc974d0f Use isc_log_wouldlog() to avoid calling strerror() whenever possible. 2000-07-13 01:13:53 +00:00
Michael Sawyer d2895dd9bb Major changes to how dighost handles lists and shutdown conditions.
Probably not safe to pull up to release branch, since, though it works, it
needs serious testing and more changes are still pending.  In particular,
I INSIST lots of things I didn't used to INSIST, which may be set off
under certain conditions.
2000-07-13 00:32:20 +00:00
Brian Wellington 2e1236ad1e Call isc_log_wouldlog() 2000-07-13 00:30:58 +00:00
Brian Wellington 945c32833b Call isc_log_wouldlog() in a few places. 2000-07-13 00:27:17 +00:00
Andreas Gustafsson 211ac47e07 use isc_log_wouldlog() to avoid unnecessary formatting work
when the debug level does not warrant logging
2000-07-13 00:25:38 +00:00
Brian Wellington 720319de67 Call isc_log_wouldlog in ns_client_log 2000-07-13 00:21:27 +00:00
Andreas Gustafsson 30576c592b 330. [func] New function isc_log_wouldlog(). 2000-07-13 00:19:02 +00:00
Brian Wellington ecb2897c71 Insist that when a fetch returns a successful event, the rdataset is associated.
A test failed about a week ago because this was not true, and because it
died in the event handler, diagnosing the problem was impossible.
2000-07-12 23:56:06 +00:00
David Lawrence 3dae6c4675 minor cleanups from review 2000-07-12 19:39:49 +00:00
Brian Wellington 8d790f3e95 When lwresd is shutting down, don't explicitly send shutdown events to the
clientmgr tasks, since the task manager already sends them.
2000-07-12 19:03:08 +00:00
Jim Reid df5918b068 incorporated Brian's review comments and corrections 2000-07-12 18:29:33 +00:00
Brian Wellington 9df4200a67 Check the return value of kill. This means that the test can now detect
the case when a program no longer exists (due to a crash) or when a
program responds badly to a SIGTERM and doesn't clean up the pid file.
2000-07-12 17:59:08 +00:00
Andreas Gustafsson f83bad6f78 imported new ARM from Mary 2000-07-12 17:54:40 +00:00
Michael Sawyer 76959783dd Documentation changes in usage message. 2000-07-12 17:44:03 +00:00
Andreas Gustafsson a8ea4d2e3f moved rndc.conf.5 from doc/man/misc to doc/man/bin
for inclusion in RC1 (by repository copy)
2000-07-12 17:41:24 +00:00
Andreas Gustafsson 0d3bf3c5f1 reviewed; removed requirement to always quote
host addresses
2000-07-12 17:37:57 +00:00
David Lawrence 8d6c369232 work with new omapi_protocol_listen and omapi_auth_register APIs 2000-07-12 17:29:58 +00:00
Jim Reid 94b7428468 first drafts of the nsupdate and host man pages 2000-07-12 17:17:03 +00:00
Andreas Gustafsson 00148ffb6b reviewed; made minor stylistic changes 2000-07-12 16:48:19 +00:00
David Lawrence 2831bea28e make rndc output appear as I: lines 2000-07-12 16:43:03 +00:00