Commit Graph
3587 Commits
Author SHA1 Message Date
Michael Graff b206fa17b2 allocate space for cmsg more correctly. Grr. 2000-03-15 20:05:06 +00:00
Michael Graff 788354c051 Currently, descriptors with changes are sent to the watcher via a pipe.
Previously, both ends were set to non-blocking I/O.  Now, only the
reader is set non-blocking.  This means the writer will block for a while
if the pipe fills, but since the watcher is in a different thread from
the reader, the pipe will eventually drain, and the writer can continue.

This is really nothing more than a lock, just not a mutex-type lock.
2000-03-15 19:48:11 +00:00
Brian Wellington c600d821ec The hmac-md5 private key file was being written incorrectly. 2000-03-15 18:52:23 +00:00
James Brister 1cb2280cc3 Build ndc config parser> 2000-03-15 02:13:36 +00:00
James Brister 4471cc539d Build ndc config parser tester. 2000-03-15 02:13:04 +00:00
James Brister 67ac79ed04 Sample ndc config file. 2000-03-15 02:12:22 +00:00
James Brister c0536aa152 ndc config parser and test program 2000-03-15 02:11:57 +00:00
Brian Wellington 948716c24c Certain errors caused failure but didn't set the return value. 2000-03-14 22:05:08 +00:00
Brian Wellington c7f88538d4 build keygen by default 2000-03-14 21:26:54 +00:00
David Lawrence 8e12f9c899 style lint 2000-03-14 21:19:31 +00:00
David Lawrence 0eebe5cfe3 only call shutdown callback if non-NULL 2000-03-14 20:06:08 +00:00
David Lawrence 3dbebbfe6e use 0 not NULL in dst_key_frombuffer 2000-03-14 20:00:37 +00:00
David Lawrence 177bbc4098 omapi_lib_destroy after the omapimgr has been destroyed 2000-03-14 19:55:26 +00:00
David Lawrence 5e2d1dbba6 dereference ns_g_omapimgr in omapi.c:listen_done 2000-03-14 19:49:28 +00:00
David Lawrence 4f43520297 use listen_done callback when listener finishes 2000-03-14 19:48:48 +00:00
Bob Halley 4dcfb5fb22 lint 2000-03-14 19:27:55 +00:00
David Lawrence c192f12b0f notes from today's task discussion 2000-03-14 04:10:42 +00:00
David Lawrence 1641377cba fixed comment about support for splitting of bitstring labels 2000-03-14 04:10:20 +00:00
David Lawrence a0dbccdaf6 note about original design vs reality with message headers 2000-03-14 04:10:01 +00:00
David Lawrence 34d51626b3 ns_omapi_init declaration 2000-03-14 04:08:39 +00:00
David Lawrence 3388760bca use ns_omapi_init in place of omapi_lib_init 2000-03-14 04:07:52 +00:00
David Lawrence d2f2ad3d56 break control object initialization into ns_omapi_init; initialize 127.1 acl 2000-03-14 04:07:26 +00:00
David Lawrence 3033c30964 libdns now a dependency 2000-03-14 04:05:32 +00:00
David Lawrence f82dcc5a56 waitresult is now part of OMAPI_OBJECT_PREAMBLE 2000-03-14 04:04:24 +00:00
David Lawrence c889a8ac41 test signatures, listener shutdown callback 2000-03-14 04:03:05 +00:00
David Lawrence d8d0c5b1bc explitictly REQUIRE that reqaddr is non-null in dns_acl_match 2000-03-14 04:01:52 +00:00
David Lawrence 06671f242e specify exit callbacks for listener, added omapi_data_strdup 2000-03-14 03:59:14 +00:00
David Lawrence c662d88c3e auth support 2000-03-14 03:58:30 +00:00
David Lawrence 7194c96d03 use DNS_INCLUDES; compile auth.c 2000-03-14 03:57:55 +00:00
David Lawrence 0a5f5ca641 message authentication goo 2000-03-14 03:56:54 +00:00
David Lawrence 2df2039eaf message signature verification 2000-03-14 03:54:13 +00:00
David Lawrence 6bdf7cb13e Use callback to avoid blocking in omapi_listener_shutdown. 2000-03-14 03:53:20 +00:00
David Lawrence 66290e9bfb removed obsolete comment 2000-03-14 03:46:41 +00:00
David Lawrence 6ac77d2f2e sign/verify signatures 2000-03-14 03:46:14 +00:00
David Lawrence 58a04de5cf When chasing extra references in omapi_object_dereference, only
count extra inner references if inner_reference is non-0, and
similar for outer references.  This is because the handle table
might have another reference which foiled the overall logic.
2000-03-14 03:43:06 +00:00
David Lawrence 28f95a516b auth_destroy in omapi_lib_destroy 2000-03-14 03:39:40 +00:00
David Lawrence cc5f1097d3 set the waitresult in the generic_signalhandler when "status" signal received 2000-03-14 03:38:54 +00:00
David Lawrence 3fad1313e4 added omapi_data_strdup 2000-03-14 03:37:48 +00:00
David Lawrence aa1c54de2e support for signed messages 2000-03-14 03:37:10 +00:00
Michael Graff ae8d0aedd6 implement pktinfo through dispatcher -> named client 2000-03-14 03:30:52 +00:00
David Lawrence 566a01eb74 comment about BSD/OS 4.1 not needing pthread_init; unified os-specific thread issues into one case statement 2000-03-14 03:24:58 +00:00
Michael Graff 0205c5a4ad fix case where CMSG_SPACE() is not a macro 2000-03-13 21:09:56 +00:00
Mark Andrews 34ee961fa2 checkpoint 2000-03-13 20:43:39 +00:00
Brian Wellington f7fbd68b1c added msg.verify_attempted, renamed msg.verify_sig0 to verify_sig 2000-03-13 19:27:35 +00:00
Michael Graff 915723e400 Copy addresses out, rather than keeping pointers to them from a buffer. This
simplifies code at the expense of copying more.  It is, however, the
easiest way to get sortlist working correctly.  ipv6 addresses now sort
as well.
2000-03-12 01:58:41 +00:00
Michael Graff d736db6dc5 lwres get-addr-by-name returns a linked list, not an array, of names. This
was needed to make adding the sortlist code, which will be checked in
in a few minutes.
2000-03-10 23:11:36 +00:00
Michael Graff 2311073ce0 handle resolv.conf 'search' line, client side. Also, fix a bug in lwresd that would return success, but no addresses, for NXDOMAIN or NXRRSET. 2000-03-10 22:11:14 +00:00
David Lawrence 912ccd2554 include milliseconds when doing ISC_LOG_PRINTTIME 2000-03-10 17:53:16 +00:00
David Lawrence 11d732daac added isc_time_seconds, isc_time_nanoseconds
fixed isc_time_settoepoch and isc_time_isepoch
2000-03-10 17:50:36 +00:00
David Lawrence 114d0d1642 added isc_time_seconds, isc_time_nanoseconds 2000-03-10 17:49:27 +00:00