Commit Graph

2345 Commits

Author SHA1 Message Date
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Andreas Gustafsson
0ede98ca38 typo in comment 2000-06-22 21:45:30 +00:00
Brian Wellington
d153fb05e4 Require less entropy to be present for smaller keys. This means that
generating entropy on the keyboard doesn't take 5 minutes anymore.
2000-06-22 21:19:13 +00:00
Andreas Gustafsson
6036112f48 more detailed logging during insecurity proofs 2000-06-22 21:14:48 +00:00
Andreas Gustafsson
7bb1e299e1 269. [bug] Failed DNSSEC validations could cause an assertion
failure by causing clone_results() to be called with
                        with hevent->node == NULL.
2000-06-21 22:47:38 +00:00
David Lawrence
28d9fd5381 update_copyrights 2000-06-21 22:45:24 +00:00
David Lawrence
f2e5c64635 update_copyrights 2000-06-21 22:38:33 +00:00
Michael Graff
8e7e1ef75b let the entropy source seed the pseudorandom source from _very_ bad sources like the time and the pid. Update the dispatcher to always expect success in these cases. 2000-06-21 22:12:23 +00:00
Michael Graff
80617c8faa Add using an entropy source to generate a random query ID seed value. 2000-06-21 21:34:43 +00:00
Mark Andrews
a4bdc2328a 266. [bug] zone.c:save_nsrrset() node was not initalised. 2000-06-20 23:54:11 +00:00
Mark Andrews
559bb1016f 265. [bug] dns_request_create() not works for TCP.
264.   [func]          Dispatch can not take TCP sockets in connecting
                        state.  Set DNS_DISPATCHATTR_CONNECTED when calling
                        dns_dispatch_createtcp() for connected TCP sockets
                        or call dns_dispatch_starttcp() when the socket is
                        connected.
2000-06-20 23:54:01 +00:00
Mark Andrews
3c671ac666 264. [func] Dispatch can not take TCP sockets in connecting
state.  Set DNS_DISPATCHATTR_CONNECTED when calling
                        dns_dispatch_createtcp() for connected TCP sockets
                        or call dns_dispatch_starttcp() when the socket is
                        connected.
2000-06-20 23:52:54 +00:00
James Brister
58c42ee18c 263. [func] New logging channel type 'stderr'
channel some-name {
                                        stderr;
                                        severity error;
                                }
2000-06-20 21:36:49 +00:00
Mark Andrews
5dc6a24e8b 262. [bug] 'master' was not initalised in zone.c:stub_callback(). 2000-06-20 19:03:13 +00:00
Michael Graff
8470db5b12 clean up ; remove unneeded function arguments 2000-06-20 17:24:47 +00:00
David Lawrence
4b7c8ee536 use libisc fsaccess to make private key file accessible only to owner 2000-06-20 04:13:40 +00:00
David Lawrence
5336b803ae style lint 2000-06-20 04:12:15 +00:00
Mark Andrews
242dfd9cc6 261 [func] Add dns_zone_markdirty(). 2000-06-19 23:05:32 +00:00
David Lawrence
03052a178c dns_rbt_deletefromlevel() did not need its dns_rbt_t argument 2000-06-19 22:55:42 +00:00
Brian Wellington
4e3316d1b7 isc_log_write called with extra parameter, typos 2000-06-19 17:41:42 +00:00
David Lawrence
29953187b6 ok, this is The Last Time mucking with the dang
offset overflow check.  the expression has been simplified and if
this causes warnings on any platform now i'm gonna go postal.
2000-06-19 17:16:44 +00:00
Andreas Gustafsson
12dd8db40b don't indent comments by one space 2000-06-16 21:45:51 +00:00
Michael Sawyer
9b3a69e6a7 Improved printing of DynDNS packets in *totext. 2000-06-16 18:48:41 +00:00
Michael Sawyer
6dd86183b0 Revert 1.126 -> 1.125 2000-06-16 18:27:49 +00:00
Michael Sawyer
3238566d66 Change counts on message_totext to use update names when un update message
Improve handling of rdatasets without rdata.
2000-06-16 17:48:05 +00:00
Andreas Gustafsson
8ed2c82a73 do not use initial caps in log messages 2000-06-16 15:51:58 +00:00
Andreas Gustafsson
8bbc3795bf RT #133: fixed two separate bugs, each of which would cause a bus
error during shutdown of a busy caching server (specifically, one
making many outgoing TCP connections).

Bug 1: resquery_destroy() accessed query->fctx->res->mctx, even though
query->fctx could already be destroyed at this point.

Bug 2: resquery_connected() called fctx_done(query->fctx, result)
immediately after fctx_cancelquery(), which could destroy *query.

Also added some explanatory comments.
2000-06-16 01:16:39 +00:00
Michael Graff
ce5bd92088 Store our own version of what type of socket we had, so we can clean up even after the socket is detached. 2000-06-16 00:52:05 +00:00
James Brister
0d5d8e2bbf 259. [func] New random-device and random-seed-file statements
for global options block of named.conf. Both accept
                        a single string argument.
2000-06-15 23:38:16 +00:00
Michael Graff
eadfacf1f5 journal.c doesn't really seem to need <unistd.h> 2000-06-15 18:29:45 +00:00
Andreas Gustafsson
aa79283a0d 257. [bug] The server detached the last zone manager reference
too early, while it could still be in use by queries.
                        This manifested itself as assertion failures during the
                        shutdown process for busy name servers (RT #133).

 256.   [func]          isc_ratelimiter_t now has attach/detach semantics, and
                        isc_ratelimiter_shutdown guarantees that the rate
                        limiter is detached from its task.

 255.   [func]          New function dns_zonemgr_attach().
2000-06-15 17:40:22 +00:00
Andreas Gustafsson
21eaa04858 added dns_zonemgr_attach(); also changed comments for other
attach() functions to consistently say that the new reference attaches to
the object, not vice versa
2000-06-15 16:11:50 +00:00
Mark Andrews
1e98bdb4a3 add missing REQUIRE()s 2000-06-15 02:45:47 +00:00
Andreas Gustafsson
374606311f removed incorrect cast from offset wraparound check (patch from tale) 2000-06-14 16:25:12 +00:00
Andreas Gustafsson
2f259b4eec commented 2000-06-12 19:23:51 +00:00
Brian Wellington
c0975ccf5c Use the dst entropy wrapper in all cases, so that the initial entropy flags
passes into dst are always in effect.
2000-06-12 18:05:15 +00:00
Brian Wellington
ce89d902a2 dst_context_create should check for a null key before creating a context 2000-06-12 07:07:53 +00:00
Brian Wellington
03e7db4ba4 hmacmd5_generate wasn't initializing a buffer 2000-06-12 07:07:14 +00:00
Brian Wellington
3bd1726b6f fix memory leak on entropy failure 2000-06-10 21:30:53 +00:00
David Lawrence
ec90f1a1d6 revived openssl sha1 code to get the project to compile again. it is needed
by openssl/dsa_gen.c, as that file is currently written.  this might not
be what is ultimately desired, but was the quickest way to have a working
system again.
2000-06-10 16:53:53 +00:00
Brian Wellington
d01c654984 Removed unused openssl md5, sha1, and randomness code 2000-06-10 01:39:13 +00:00
Michael Sawyer
2c12768b43 Change req_connected require to SOCKEVENT_CONNECT instead of
SOCKEVENT_SENDDONE
2000-06-10 00:37:05 +00:00
Brian Wellington
09b6ea10e0 typo 2000-06-09 23:50:19 +00:00
Brian Wellington
6204077770 Actually make openssl work with our entropy api 2000-06-09 23:31:55 +00:00
Michael Sawyer
2004704111 Bind socket before use 2000-06-09 23:29:35 +00:00
Brian Wellington
14c5931d3d tkey cleanups and conversion to the entropy api 2000-06-09 22:33:08 +00:00
Brian Wellington
09a1a618cd Use the entropy api. 2000-06-09 22:32:20 +00:00
James Brister
bedfa169b4 fixed handling of size+unit when value would be too large for internal
representation.

max-cache-size config option now takes a size-spec like 'datasize',
except 'default' is not allowed.
2000-06-09 22:13:23 +00:00
Andreas Gustafsson
3fe45d9897 do the length checks of 1.90 in a more efficient way; take
advantage of the new buffer API macros
2000-06-09 22:01:55 +00:00
Andreas Gustafsson
2bb908bd0b style; removed references to EDNS1 and local compression 2000-06-09 21:52:27 +00:00