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
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
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
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
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
c656250292
include void parameter declarator for definition of dst__openssldh_destroy()
2000-06-08 20:52:12 +00:00
David Lawrence
e90de0d144
buildfilename() definition needed static attribute of its declaration
2000-06-08 20:38:48 +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