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
Michael Graff
b90f80957a
use create/attach/detach semantics
2000-06-09 19:18:56 +00:00
Michael Graff
24629383aa
kill printf
2000-06-09 18:46:17 +00:00
Michael Graff
348f351145
checkpoint
2000-06-09 18:45:51 +00:00
Michael Graff
99bec2168f
checkpoint
2000-06-09 18:33:35 +00:00
Michael Graff
b8feb9c67c
checkpoint
2000-06-09 18:22:11 +00:00
Michael Graff
630a955711
checkpoint
2000-06-09 17:48:08 +00:00
Michael Graff
b48abf6b85
snapshot
2000-06-09 17:25:41 +00:00
James Brister
d85552c450
global lame-ttl option was not being printed when config structures were
...
written out.
2000-06-09 15:54:26 +00:00
James Brister
47c196192a
Rename cache-size config option to max-cache-size and change argument
...
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister
adf8222185
Rename global option cachesize to cache-size and add corresponding option
...
to view statement.
2000-06-09 08:48:42 +00:00
Mark Andrews
0791b485bf
DNS_ZONE_F_???? -> DNS_ZONEFLG_????
...
DNS_ZONE_O_???? -> DNS_ZONEOPT_????
Add various missing REQUIRE's
Add / cleanup comments in zone.h
Remove dns_zone_unmount() never implemented.
2000-06-09 06:16:21 +00:00
Mark Andrews
bcff319811
Wildcard NS records are not conceptually allowed by RFC 103[45].
2000-06-09 06:03:47 +00:00
Mark Andrews
ce1b0e505e
INSIST() on sane time from the kernel.
2000-06-09 06:01:37 +00:00
Michael Graff
e596c6fe81
make it build.
2000-06-09 04:06:06 +00:00
Michael Graff
c6e2d36708
snapshot
2000-06-09 02:00:22 +00:00
Michael Sawyer
58c40ca8bd
Modify message_sectiontotext() to use update section names when opcode
...
is update.
2000-06-09 01:46:59 +00:00
Brian Wellington
f3b52d9fe5
If an uncompressed name will take more than 255 characters and the buffer is
...
sufficiently long, dns_name_fromwire should return DNS_R_FORMERR, not
ISC_R_NOSPACE.
2000-06-09 01:30:11 +00:00
Michael Graff
9403a56228
checkpoint
2000-06-09 00:11:39 +00:00
Michael Graff
118332fc5c
snapshot
2000-06-08 23:42:17 +00:00
David Lawrence
b7c94aa070
maybe that cast to off_t i took out wasn't right, but that's because it should
...
have been a cast to isc_offset_t rather than being removed
2000-06-08 23:29:59 +00:00
David Lawrence
e46d261abb
added void parameter declarator for definition of dst_lib_destroy()
2000-06-08 23:21:15 +00:00
David Lawrence
6ba9a50031
need errno.h for errno
2000-06-08 23:20:01 +00:00
Michael Graff
60a7475dd8
checkpoint
2000-06-08 22:18:53 +00:00
Michael Graff
81b7c342c4
s/ISC_R_ENTROPY/ISC_R_NOENTROPY/g
2000-06-08 22:17:03 +00:00
David Lawrence
c656250292
include void parameter declarator for definition of dst__openssldh_destroy()
2000-06-08 20:52:12 +00:00
David Lawrence
076f3bc6ad
use ANSI memset instead of bzero
2000-06-08 20:42:11 +00:00
David Lawrence
e90de0d144
buildfilename() definition needed static attribute of its declaration
2000-06-08 20:38:48 +00:00
Michael Graff
d10733a5a3
add ISC_R_ENTROPY
2000-06-08 19:23:04 +00:00
Andreas Gustafsson
b6007467eb
style; no functional change
2000-06-08 18:37:29 +00:00
Andreas Gustafsson
c062bee495
style; no functional change
2000-06-08 18:36:52 +00:00
Michael Sawyer
1378841691
Clean-room version of gai_strerror() to get rid of (C) issues.
2000-06-08 18:32:04 +00:00
Andreas Gustafsson
596089957b
cachesize was misspelled as cachezie
2000-06-08 17:26:35 +00:00
James Brister
71a4339351
Empty named.conf file and empty options statement are now parsed properly.
...
New cachesize option for named.conf
Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Michael Graff
016742f7d8
add stirring functions and other bits. Snapshot.
2000-06-08 06:35:49 +00:00
Mark Andrews
db06b81059
signed vs unsigned char.
2000-06-08 06:16:09 +00:00
Michael Graff
0aa8742ace
minor formatting nit
2000-06-08 05:26:38 +00:00
Michael Graff
1e3c9ce3ab
kill a warning on some systems.
2000-06-08 05:26:00 +00:00
Michael Graff
9282e3c21a
don't periodically dump the database. I think we're debugged enough by now.
2000-06-08 01:43:21 +00:00
Michael Graff
ccc067f7d5
enable INSIST/REQUIRE() checking of bound status on sockets
2000-06-08 00:23:54 +00:00
Brian Wellington
5388c214e5
Correctly fix type for rbtdb64_create
2000-06-08 00:06:50 +00:00
Michael Graff
332e078f6e
fix type for rbtdb64_create, too
2000-06-07 22:29:00 +00:00
Michael Graff
270ad529d3
snapshot
2000-06-07 22:15:55 +00:00
Michael Graff
090ac4fa1c
Use ip6.arpa for bitstring labels
2000-06-07 22:02:22 +00:00
Michael Graff
17b8fc714a
snapshot
2000-06-07 20:55:12 +00:00
Michael Graff
a14eb88840
clamp ttls in the adb to be 10 < ttl < 86400, that is, 10 seconds minimum and 24 hours max
2000-06-07 20:15:48 +00:00
Michael Graff
90407942d3
Use autoconf's AC_C_BIGENDIAN macro to detect endian flavor, and use WORDS_BIGENDIAN from config.h{,.in}
2000-06-07 19:41:49 +00:00
Brian Wellington
b01324ef07
Removed unused DST_R_NAMETOOLONG result code
2000-06-07 19:18:53 +00:00
Brian Wellington
76513c0271
Removed errant call to dns_rdata_freestruct, cleaned up an error case.
2000-06-07 19:05:45 +00:00
Brian Wellington
c892129a37
isc_buffer_base->isc_buffer_used
2000-06-07 19:05:00 +00:00
Brian Wellington
78d14e388a
Use MD5/SHA1 from libisc instead of dst/openssl
2000-06-07 17:22:31 +00:00
Mark Andrews
80ee8ea28d
Consolidation and cleanup of stub code.
2000-06-07 06:14:52 +00:00
Mark Andrews
0380c44d02
241. [cleanup] nscount and soacount have been removed from the
...
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
265086fc36
Added comments.
2000-06-07 03:12:13 +00:00
Mark Andrews
2a3e99550d
240. [func] databases now come in three flavours: zone, cache
...
and stub.
Add stubs zones support checkpoint.
notify_t -> dns_notify_t
2000-06-07 02:40:42 +00:00
Mark Andrews
a6733246ea
240. [func] databases now come in three flavours: zone, cache
...
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
bb36b3102c
Use the isc md5 routines instead of dst.
2000-06-07 02:33:46 +00:00
Brian Wellington
1ee3b153b6
Added length constants, changed _final parameter from array to pointer.
2000-06-07 02:28:43 +00:00
Michael Graff
fbb2ab3056
md5 endian doesn't seem to matter?
2000-06-07 02:21:39 +00:00
Brian Wellington
77c67dfb26
Repeatedly querying for nonexistant data could lead to a crash.
2000-06-07 01:32:47 +00:00
Michael Graff
f2314fbd79
fix comments
2000-06-07 01:17:06 +00:00
Michael Graff
db4871e843
complain if BYTE_ORDER isn't defined
2000-06-07 01:14:26 +00:00
Michael Graff
bb2d54f1b3
build md5.c
2000-06-07 00:49:04 +00:00
Michael Graff
801c511ecd
s/u_int/unsigned int/g
2000-06-07 00:30:42 +00:00
Michael Graff
676c534c8d
We really don't need to export the sha1 transform() function, it is internal only.
2000-06-07 00:22:32 +00:00
Michael Graff
74da616f07
add sha1 implementation
2000-06-07 00:15:19 +00:00
David Lawrence
003a40178f
make DNS_RDATACOMMON_INIT work again. structure elemnts had the same name as
...
the downcased macro argument names
2000-06-07 00:11:51 +00:00