Commit Graph
5938 Commits
Author SHA1 Message Date
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
Andreas Gustafsson 2c24bbb10b clarified warning messages 2000-07-12 16:17:38 +00:00
Andreas Gustafsson 4034406393 inet control channels are supported, unix ones are not 2000-07-12 15:55:10 +00:00
James Brister 8af589aea3 It's no longer a fatal error if a keys{} clause is missing on a control
channel definition, nor if the keys{} clause is empty. Warnings are
issued.
2000-07-12 15:36:09 +00:00
David Lawrence e9729674d6 don't warn about missing keys{} clause or non-inet type, since the config
parser will have already warned about that.
2000-07-12 15:33:41 +00:00
Jim Reid b9db5f75cf fixed some typos and incorrect troff macro calls
put the text into our (as yet undocumented) manpage canonical format
2000-07-12 13:49:07 +00:00
Andreas Gustafsson d8417b5f34 added notes about dotted serial numbers and unbalanced quotes 2000-07-12 05:06:33 +00:00
Andreas Gustafsson 52eae74966 reviewed and edited 2000-07-12 02:07:32 +00:00
Brian Wellington a6f31a3fd0 Only install default handlers for SIGTERM and SIGWAIT if we haven't installed
other handlers already.
2000-07-12 01:46:57 +00:00
Michael Sawyer 473cb90680 Choose reasonable default values for +trace mode. 2000-07-12 01:41:35 +00:00
Brian Wellington e7a99528b4 The third parameter to dst_lib_init is an integer, so should be 0, not NULL. 2000-07-12 01:15:34 +00:00
Brian Wellington 42833075de typo in dependency statement 2000-07-12 01:15:00 +00:00
Michael Sawyer 931e154a1e Change ticks to 360, not zones... 2000-07-12 00:46:50 +00:00
Michael Sawyer de73f221e6 Parenthesis error in trace mode.
(To see delegations in +trace, you need to do +trace +authority in dig. Should
this be defaulted?)
2000-07-12 00:42:54 +00:00
Andreas Gustafsson 969b3374ed no space between function name and arg list 2000-07-12 00:22:57 +00:00
Michael Sawyer b95b59db26 Increase max wait time for transfer to Retry time + 1 minute, since some
OS's appear to drop UDP packets and not get the initial SOA reply.
2000-07-11 23:42:56 +00:00
David Lawrence eae2a15326 use ns_g_server->aclenv to match localhost and localnets in the allow{} clause 2000-07-11 23:02:32 +00:00
Andreas Gustafsson 403cc93b27 typo in log message 2000-07-11 22:44:33 +00:00
David Lawrence ce2be9b721 329. [func] omapi_auth_register() now takes a size_t argument for
the length of a key's secret data.  Previously
			OMAPI only stored secrets up to the first NUL byte.

This change was made to cope with decoded base64 secrets, so in this
revision omapiconf.c and rndc.c also decode the secret.
2000-07-11 22:03:12 +00:00
David Lawrence 9bf765ab3a 328. [func] Added isc_base64_decodestring().
(This is basically bin/named/server.c:base64_cstring_tobuffer(), which I
will remove in another revision that will not need to be pulled up.  I also
would like to change isc_base64_totext() and isc_base64_tobuffer() to be
isc_base64_encoderegion() and isc_base64_decodelexer(), unless there are
exceptions.  I find their existing names to be quite confusing with regard to
what translation function each performs.)
2000-07-11 21:51:13 +00:00
James Brister f4d9f465cd 327. [bug] rndc.conf parser wasn't correctly recognising an IP
address where a host specification was required.
2000-07-11 20:13:09 +00:00
Brian Wellington 838f13fbdc Set default signal handlers for SIGINT and SIGTERM (SIGHUP already had one).
This doesn't appear to have an effect on any platform, but it seems like a
good idea.
2000-07-11 19:18:05 +00:00
James Brister adade77942 326. [func] 'keys' in an 'inet' control statement is now
required and must have at least one item in it.

                        warning is issued if a 'unix' control channel is
                        defined (not supported).
2000-07-11 19:09:10 +00:00