Commit Graph

3411 Commits

Author SHA1 Message Date
Michael Graff
8313838954 Conditionalize setting of struct sockaddr_in6's sin6_scope_id member.
Some machines have it, older ipv6 flavors do not.
2000-06-15 21:52:21 +00:00
James Brister
52d06580bd Fixed handling of printing of lwres_addr_t.address field. 2000-06-15 21:34:21 +00:00
Michael Graff
2193d51910 latest patches from pr 135 2000-06-15 18:49:54 +00:00
Michael Graff
eadfacf1f5 journal.c doesn't really seem to need <unistd.h> 2000-06-15 18:29:45 +00:00
Michael Graff
99dd8505ed Bring up to spec. Patches from pr 134, 135 2000-06-15 18:28:11 +00:00
Michael Graff
f64ded0ac7 set ISC_SOCKEVENTATTR_MULTICAST on packets received from a multicast address 2000-06-15 18:25:49 +00:00
Michael Graff
d80da258e3 Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast() 2000-06-15 18:23:54 +00:00
Michael Graff
d2e9c94edb Add ISC_R_MULTICAST 2000-06-15 18:21:38 +00:00
Michael Graff
c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +00:00
Andreas Gustafsson
06ed5a0d46 fixec typos in previous checkin 2000-06-15 17:42:16 +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
7e86b27bc0 typos in comments 2000-06-15 16:46:24 +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
James Brister
e03329a387 253. [func] resolv.conf parser now recognises ';' and '#' as
comments (anywhere in line, not just as the beginning).

 252.   [bug]           resolv.conf parser mishandled masks on sortlists.
                        It slso aborted when an unrecognised keyword was seen,
                        now it silently ignores the entire line.
2000-06-13 17:52:58 +00:00
Michael Graff
c498b4be95 initialize with at least THRESHOLD_BITS bits of entropy for pseudorandom case. 2000-06-12 22:28:05 +00:00
Michael Graff
6a3beb6f7e don't reset initialized state to ISC_TRUE -- it is a counter now, not a boolean 2000-06-12 21:37:13 +00:00
Brian Wellington
898c0c12f0 MIN -> MAX 2000-06-12 20:49:18 +00:00
Andreas Gustafsson
2f259b4eec commented 2000-06-12 19:23:51 +00:00
Michael Graff
8fdd9c31b9 allow blocking when priming the pseudorandom generator 2000-06-12 18:28:25 +00:00
Michael Graff
8422b3823f require that we collect at least 20 bytes (hash size) of good randomness
before allowing pseudorandom operation.
2000-06-12 18:19:43 +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
Michael Graff
8b143acb3a remove debugging printfs, no really 2000-06-10 01:53:02 +00:00
Michael Graff
01e8ed519e remove debugging printfs 2000-06-10 01:52:35 +00:00
Michael Graff
f1400cb774 snapshot 2000-06-10 01:47:06 +00:00
Brian Wellington
d01c654984 Removed unused openssl md5, sha1, and randomness code 2000-06-10 01:39:13 +00:00
Michael Graff
d08577ac0b don't reset added when retrying sources, and add another printf 2000-06-10 01:09:22 +00:00
Michael Graff
a0dc53dd58 check in a debugging printf, to help track down a problem on linux 2000-06-10 00:52:56 +00:00
Michael Graff
d730157099 Try a different tactic before returning failure 2000-06-10 00:50:03 +00:00
Michael Sawyer
2c12768b43 Change req_connected require to SOCKEVENT_CONNECT instead of
SOCKEVENT_SENDDONE
2000-06-10 00:37:05 +00:00
Michael Graff
e679d0acb1 <, not <= 2000-06-10 00:35:08 +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
Michael Graff
f8b50c193f snapshot 2000-06-09 22:24:22 +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
Michael Graff
79fdce6aff add blocking mode, and add a flag to indicate the input is a device 2000-06-09 21:36:51 +00:00
Andreas Gustafsson
7e006df76f reordered copyright messages so that the ISC 'portions' copyright
can be automatically maintained
2000-06-09 21:23:19 +00:00
Andreas Gustafsson
1cad45e9cf whitespace changes in copyright message 2000-06-09 20:59:32 +00:00
Andreas Gustafsson
3b938ff0d9 copyright messages now generated by util/update_copyrights 2000-06-09 20:58:39 +00:00
Andreas Gustafsson
db03efe326 changed copyright years to 1999,2000 per util/copyrights 2000-06-09 20:57:29 +00:00