Commit Graph
1931 Commits
Author SHA1 Message Date
Andreas Gustafsson c6ab6ca3fd moved linux_keepcaps() call and check for Linux nonroot caps back
to earlier locations; use a separate boolean flag for keeping track of whether a
UID switch was requested rather than overloading the UID value zero
2000-07-05 22:03:42 +00:00
Brian Wellington 58208669bc Should sleep for a while between kill -TERM and kill -KILL 2000-07-05 20:56:11 +00:00
Andreas Gustafsson aade2614cb work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-05 19:42:34 +00:00
Andreas Gustafsson 24139527f3 lots of style changes; no functional change 2000-07-05 19:31:26 +00:00
Brian Wellington 5618f70327 Modify the tests so that if any server doesn't die with a TERM signal,
it's an error.
2000-07-05 18:49:06 +00:00
Brian Wellington bb915db969 Check to see that kill actually kills the server. If not, it's an error,
so print a message, increment status, and kill -9 the server.
2000-07-05 18:16:39 +00:00
Mark Andrews 29e59609b9 Add "SOA not at top of zone" test. 2000-07-05 00:35:36 +00:00
Brian Wellington b2dcacc728 Fix the hang on ^C problem by not calling isc_app_start(), since
isc_app_run() wasn't being called anyway.  Also some more cosmetic
cleanup.
2000-07-04 02:33:29 +00:00
Mark Andrews 84b8fdfeac Add not soa not top of zone test 2000-07-04 02:28:23 +00:00
Andreas Gustafsson a074e41b97 style and new comments; no functional change 2000-07-04 01:33:47 +00:00
David Lawrence a53efa1718 nrdc->rndc typo, uses TCP not UDP 2000-07-04 01:25:01 +00:00
Brian Wellington 9a68d61341 Implement -k keyfile and fix -y keyname:secret 2000-07-03 23:42:48 +00:00
Brian Wellington 7408b050c0 Don't use the search list by default. This makes dig 9 compatible with
dig 8 (although not the dig 8 manpage).
2000-07-03 21:52:13 +00:00
Brian Wellington cbc6e83597 Use lwres_net_ntop now that including both lwres/net.h and isc/net.h is
possible
2000-07-03 20:08:13 +00:00
Brian Wellington 1e105376dd linux_keepcaps() was called without checking the various defines that
surrounded the function definition.
2000-07-03 20:00:44 +00:00
Brian Wellington 79e873be59 The reordering of code in the last change broke linux, since the determination
of whether we could call setuid() was moved after the check.
2000-07-03 18:28:38 +00:00
Mark Andrews b6747cf19d 302. [bug] MXNAME should be large enough to hold any legal domain
name in presentation format + terminating NULL.
2000-07-03 05:26:50 +00:00
Mark Andrews 1318ddb52d 301. [bug] uninitalised pointer host:printmessage(). (RT #159) 2000-07-03 05:10:14 +00:00
Mark Andrews 989000eadd Add $include tests. 2000-07-03 03:08:22 +00:00
David Lawrence 202991557a 299. [cleanup] Get the user and group information before changing the
root directory, so the administrator does not need to
			keep a copy of the user and group databases in the
			chroot'ed environment.  Suggested by Hakan Olsson.
2000-07-01 00:48:06 +00:00
Brian Wellington 6dd953f666 including both <lwres/lwres.h> and <lwres/net.h> doesn't work, but
lwres_net_ntop only works when <lwres/net.h> is included.  For now,
don't include <lwres/net.h> and call inet_pton instead.
2000-07-01 00:22:00 +00:00
Brian Wellington b8dbd3c5dc The last patch had 2 lines reversed. 2000-06-30 22:57:47 +00:00
Brian Wellington 704eba6330 Remove crashes in dig related to freeing global state (in this case, the
tsig keyring) while it was still needed.
2000-06-30 22:53:07 +00:00
Andreas Gustafsson 277bbd41d4 when reporting errors due to timer events not happening at the
expected time, print the number of microseconds by which the true time differs
from the expected one, to aid in determining whether the offset is due to a genuine
bug or too small a fudge factor
2000-06-30 22:01:40 +00:00
Brian Wellington 81dcbe87a7 Use lwres to parse resolv.conf 2000-06-30 21:47:35 +00:00
Brian Wellington 835658d2be Support tcp mode (-v). 2000-06-30 18:59:21 +00:00
Brian Wellington 0a35d55b99 Handle value dependent prerequisites. 2000-06-30 18:44:51 +00:00
Michael Sawyer 1893b56ef9 Move taskmgr shutdown to the correct place. 2000-06-30 14:11:49 +00:00
Brian Wellington 85dd6d777a Multiple spaces between tokens weren't handled correctly. 2000-06-30 06:35:50 +00:00
Brian Wellington 1513eda9f0 Fix some more crashes and a memory leak. 2000-06-30 03:45:54 +00:00
Brian Wellington 3b7ddac82a Another snapshot. Fixes a crash and removes all occurrences of strtok(),
since it wasn't working correctly when the rdata contained multiple tokens.
2000-06-30 03:24:27 +00:00
Andreas Gustafsson 8f874cca90 removed unnecessary locking in ns_interface_shutdown() that
caused the server to deadlock on shutdown on the Alphas.
2000-06-30 02:48:06 +00:00
Brian Wellington 778775be7a I'm apparently good at confusing CVS. This diff has no changes.
The previous one, on the other hand (with an empty log message), is a fairly
large rewrite of nsupdate.  It's much more compatible with the bind 8 version
(the commands in the man page actually work now).  There's a lot less code
duplication, and some other general simplification.  This is still a work in
progress.
2000-06-30 01:59:49 +00:00
Brian Wellington ea32d34e58 *** empty log message *** 2000-06-30 01:56:14 +00:00
Mark Andrews 323b6387ce 293. [port] Add support for freebsd 4.0 system tests. 2000-06-29 15:28:23 +00:00
Michael Graff eb305df466 use %p for pointers, not %lu with a cast of (unsigned long) 2000-06-29 07:43:46 +00:00
Jim Reid e4b125e8d6 first draft of rdnc.conf manpage 2000-06-29 06:14:18 +00:00
Jim Reid 65e5eed890 first draft of rdnc man page 2000-06-29 05:31:42 +00:00
Michael Sawyer db8b100cae DO NOT PULL ME UP TO THE RELEASE BRANCH.
This is a fix for the race condition in dig.  It seems to work well, except
there's a memory leak I can't quite track down.  Michael and I will look at
it on the plane ride tommorow, and commit a change via modem once we arrive
in PA.  We'll also be doing general code cleanup.
2000-06-29 05:21:12 +00:00
Brian Wellington a04a6cbaca if (debugging), not if (debug) 2000-06-29 02:16:44 +00:00
Brian Wellington f3b813b89a Install nsupdate, not dig, in ${bindir}, not ${sbindir} 2000-06-29 00:00:20 +00:00
Andreas Gustafsson 349a0a0b78 build nsupdate by default 2000-06-28 23:55:28 +00:00
Jim Reid bb09af99a5 fixed some brokwn .Ar macro calls that should have been .Fl calls
tidied up some clumsy English and missing option intros.
2000-06-28 23:41:01 +00:00
Brian Wellington 316e03c2df Makefile was broken for out-of-tree builds 2000-06-28 23:19:02 +00:00
Brian Wellington 3f358cfc9f Try to avoid signedness warnings. 2000-06-28 22:41:46 +00:00
Brian Wellington 91f77f8a8d Test getaddrinfo() and getnameinfo(). 2000-06-28 21:56:51 +00:00
Brian Wellington 57bae12486 Remove multiple A records, since it makes testing far more complicated. 2000-06-28 21:56:13 +00:00
Andreas Gustafsson e0a18a86d9 CVS ID 2000-06-28 19:01:52 +00:00
Michael Sawyer 84c4c99c9e 290. [cleanup] +twiddle option to dig (for testing only) removed. 2000-06-28 18:20:44 +00:00
David Lawrence c118f038d6 288. [cleanup] dig is now installed in $bindir instead of $sbindir.
host is now installed in $bindir.  (Be sure to remove
			any $sbindir/dig from a previous release.)
2000-06-28 16:32:41 +00:00