Commit Graph

3452 Commits

Author SHA1 Message Date
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
Michael Graff
35250798eb Actually create sample sources now. 2000-06-20 19:10:19 +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
b9672b61d8 add processing of sample sources, and of callback sources 2000-06-20 19:01: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
David Lawrence
4acd8d2afe build fsaccess 2000-06-20 04:09:48 +00:00
David Lawrence
1f5eafd61b added ISC_R_NOTFILE and ISC_R_NOTDIRECTORY 2000-06-20 04:07:21 +00:00
David Lawrence
60f67141b8 added isc_fsaccess_t 2000-06-20 04:06:23 +00:00
David Lawrence
a904de0bc8 OS-independent filesystem permissions 2000-06-20 04:06:01 +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
Michael Graff
fbcba391fa fix format argument 2000-06-19 22:23:05 +00:00
Michael Graff
6d81064bf7 include isc/formatcheck.h 2000-06-19 22:16:25 +00:00
Brian Wellington
412e5c6211 Add lwres_udp_port, so that test programs can use a different port. 2000-06-19 21:56:48 +00:00
Michael Graff
9550eb2dab add formatcheck.h 2000-06-19 21:45:05 +00:00
David Lawrence
afd7f38277 style lint 2000-06-19 19:18:45 +00:00
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