Commit Graph
1911 Commits
Author SHA1 Message Date
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
Andreas Gustafsson 506a962558 didn't compile 2000-06-28 16:27:36 +00:00
David Lawrence c229b778b8 287. [func] rndc is now installed by "make install" into
$sbindir.
This resolves RT #145 item 1.
2000-06-28 16:27:17 +00:00
Michael Graff 15197aefa1 workaround for NetBSD - close FDs before dup2(). 2000-06-28 16:26:40 +00:00
Michael Graff 4e21e54a03 make tests compile again. 2000-06-28 16:19:57 +00:00
David Lawrence ff2add63ae omapi_lib_destroy() must be called before isc_taskmgr_destroy() so the
latter won't block on the internal omapi task.
2000-06-28 16:09:53 +00:00
David Lawrence 30a4d5b0c2 To match the documentation for 9.0.0, rndc.conf parsing was disabled and
messages will not be signed with dst. The dst goo is CPP'd out with
"#ifdef notyet".

Added an undocumented -v (verbose) flag for debugging.

The program currently hangs in isc_taskmgr_destroy(), which I will be trying
to nail down tomorrow morning.  Really must get to bed.
2000-06-28 05:38:48 +00:00
David Lawrence e0720bd847 omapi_test has failed to work since the dst API change because it required
dst_lib_init to be called before any of the dst functions are used.  The
missing calls for dst_lib_init() and dst_lib_destroy() have been added to
the application here, rather than to omapi_lib_init(), to be consistent with
the rest of our applications.

Not sure that this warrants a CHANGES entry since it is just a test program.
Then again, it is probably worth mentioning that programs using OMAPI will
need to ensure they call dst_lib_init() before they call
omapi_listener_listen().  Unfortunately omapi_lib_init() can't require
dst having been initialized as part of its contract because it can't
figure out whether that's true or not.
2000-06-28 03:37:47 +00:00
Jim Reid 57584184fe incorporated Brian's corrections and improvements 2000-06-28 03:20:49 +00:00
David Lawrence fb1086b1f4 rm -f lwresd before trying to link it to named in the install target. 2000-06-28 02:54:55 +00:00
Jim Reid 1b32c4783f minor corrections to -n option description as recommended by Brian 2000-06-28 02:51:46 +00:00
Brian Wellington eb3bd171e0 test gethostbyname, gethostbyname2, and gethostbyaddr 2000-06-28 00:34:35 +00:00
Damien Neil 920313f58d Changed "argc > 1" to "argc >= 1" in argument parsing; omapi_test should
now print a more useful usage message when using the "listen" and "connect"
arguments with no further parameters.
2000-06-28 00:25:10 +00:00
Brian Wellington 57506ed769 Fix memory context leak. 2000-06-28 00:06:25 +00:00
Michael Sawyer bbd5acf6ad Memory leak in ixfr processing and grammatical error in debug message 2000-06-27 23:18:14 +00:00
Brian Wellington a1f8303b1b don't print the configuration to stderr by default 2000-06-27 22:50:43 +00:00
Michael Sawyer cc75cc1d5f Instruction removed which was not only buggy, but pointless. 2000-06-27 22:04:06 +00:00
Michael Sawyer a58d1ce375 Uninitialized variable 2000-06-27 21:59:44 +00:00
Jim Reid 5aeec9bb28 first draft of man pages on dnssec tools 2000-06-27 21:50:27 +00:00
Jim Reid 3b8403a20c first draft of man pages for lwresd and named 2000-06-27 21:49:15 +00:00
Michael Sawyer 1f29b6b7ab RH seems to have a problem if you open the sockets too quickly; add a sleep
in hopes of getting mirepoix to pass the tests
2000-06-26 23:46:20 +00:00