Brian Wellington
0c7b7a19e5
Use GCC's format attribute for better error checking when possible.
2000-06-19 18:02:32 +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
Michael Graff
7685c082c8
remove flags from source types. It was never used, and probably shouldn't be there.
2000-06-17 01:42:21 +00:00
Michael Graff
fd316ab4f9
snapshot
2000-06-17 01:30:40 +00:00
Michael Graff
9ceb50ed04
protect isc_entropy_stats() with a lock, and use a static dumpstats() internally when a lock is already held, for debugging. Add isc_entropy_putdata() which can be used to prime the pool.
2000-06-17 00:43:11 +00:00
Michael Graff
57ded06933
fix multicast test
2000-06-16 22:35:36 +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
Michael Graff
aad37e39b3
protect sin6_scope_id
2000-06-16 01:44:15 +00:00
Michael Graff
29a2e0c9b5
Bring back warnings we supressed for b4 :)
2000-06-16 01:39:05 +00:00
Michael Graff
e92d6ed5e7
snapshot
2000-06-16 01:38:13 +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
David Lawrence
c9687c0800
HPUX said:
...
cc: "netaddr.c", line 235: warning 508: Statement can never be reached.
cc: "netaddr.c", line 238: warning 508: Statement can never be reached.
... but now it won't say that anymore. "break"s following "return"s removed.
2000-06-16 01:07:43 +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
Michael Graff
efe2f579ba
add LWRES_CONTEXT_SERVERMODE
2000-06-15 23:48:11 +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
3d2332d68f
include <lwres/net.h> so AF_INET6 is always defined
2000-06-15 22:43:48 +00:00
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