Commit Graph

4881 Commits

Author SHA1 Message Date
Mark Andrews
70ec7dd741 fix tv_usec in isc_time_nowplusinterval() also. 2001-02-24 10:22:20 +00:00
Mark Andrews
0fd53e151b unse not sec 2001-02-24 02:53:38 +00:00
Brian Wellington
6fd0827482 Remove notify forwarding. 2001-02-24 00:59:00 +00:00
Mark Andrews
df0f58959e 752. [func] Correct bad tv_usec elements returned by gettimeofday(). 2001-02-23 23:12:28 +00:00
Mark Andrews
903e9d41ef 751. [func] Log successful zone loads / transfers. 2001-02-23 22:32:07 +00:00
Bob Halley
c274e542ad The fixes to return the SIG of a DNAME RR missed one place where
search.zonecut was set, and consequently we were accessing
search.zonecut_sigrdataset without initializing it.
2001-02-23 05:33:36 +00:00
David Lawrence
f6d45c9539 missing va_start() in cfg_obj_log() 2001-02-23 04:52:29 +00:00
Bob Halley
f4b5a0f434 When a query matched a DNAME in a secure zone, the server did not return the
signature of the DNAME.  [RT #915]

A query should not match a DNAME whose trust level is pending.  [RT #916]
2001-02-23 02:14:14 +00:00
Brian Wellington
542a74fcc4 comment update 2001-02-23 01:52:18 +00:00
Brian Wellington
c5c779df9a add a comment 2001-02-23 01:45:29 +00:00
Brian Wellington
5ca7310c8a msg->tsigkey was not checked for NULL before deferencing [RT #913] 2001-02-23 01:38:07 +00:00
Andreas Gustafsson
106ff3bc09 more typos 2001-02-23 01:00:58 +00:00
Brian Wellington
d5573eb8a9 typos 2001-02-23 00:24:34 +00:00
Andreas Gustafsson
4428702688 the values of the notify and dialup options may now be of either boolean or
string types; added cfg_obj_is*() functions for determining the type of a configuration object;
reordered some functions in parser.c
2001-02-23 00:15:55 +00:00
Brian Wellington
fba7c63ea4 add cfg_obj_assockaddr 2001-02-22 23:59:28 +00:00
Andreas Gustafsson
a9be709e8e cfg_obj_log now takes a log context instead of a parser 2001-02-22 20:41:43 +00:00
Andreas Gustafsson
042285a6a6 localization-wise, an assertion error message saying
(literally) "INSIST(isc_msgcat_get(isc_msgcat, ISC_MSGSET_PRINT, ISC_MSG_USELD,
"use %ld instead of %D") == NULL) failed" is not really any more user-friendly
than one saying just "INSIST("use %ld instead of %D" == NULL) failed
2001-02-22 19:12:57 +00:00
Andreas Gustafsson
9165c95fc2 use isc_int64_t, not long long 2001-02-22 18:03:11 +00:00
Andreas Gustafsson
4115f9d34b revert 'protect long long with ISC_PLATFORM_HAVELONGLONG' change 2001-02-22 18:01:48 +00:00
Andreas Gustafsson
25c3ab1a5f cache-file option name was misspelled 2001-02-22 17:30:09 +00:00
Brian Wellington
325b200123 support the cache-file option 2001-02-22 05:45:28 +00:00
Andreas Gustafsson
5c7f675804 new function cfg_tuple_get() 2001-02-22 04:17:37 +00:00
Andreas Gustafsson
80a1cac849 give names to tuple fields 2001-02-22 03:13:08 +00:00
Brian Wellington
b5e6ee7f74 typo 2001-02-22 02:44:08 +00:00
Andreas Gustafsson
e24349aa27 added isccfg log modules and categories 2001-02-22 02:39:24 +00:00
Brian Wellington
f0751a815e add cfg_obj_asboolean() 2001-02-22 01:40:53 +00:00
Andreas Gustafsson
c396dc6551 added cfg_obj_log() 2001-02-22 00:36:26 +00:00
Andreas Gustafsson
1b0fca7957 added cfg_parser_setcallback(); minor cleanup 2001-02-22 00:23:31 +00:00
Brian Wellington
9a41936e3d current_root was uninitialized at the start of dns_rbt_findnode(). This
has no real effect, but it's still good to fix it.
2001-02-21 23:21:28 +00:00
Brian Wellington
26e5029fd5 Added a cast. [RT #899] 2001-02-21 19:57:38 +00:00
Brian Wellington
6be1dc9d2a Document the 'covers' parameter to dns_message_findname and
dns_message_findtype.
2001-02-21 18:32:27 +00:00
Mark Andrews
0490a61acd protect long long with ISC_PLATFORM_HAVELONGLONG 2001-02-21 06:13:33 +00:00
Mark Andrews
754cca729d add long long test 2001-02-21 06:09:56 +00:00
Brian Wellington
36608f2052 When returning from validation, make sure to handle chaiing correctly. 2001-02-21 05:16:44 +00:00
Mark Andrews
fbafe841ef fixed pushing and poping of included files. [RT#904] 2001-02-21 03:53:11 +00:00
Brian Wellington
c5945fe694 Fix a potential bitstring bug. 2001-02-21 02:27:56 +00:00
Brian Wellington
4e8eba14a0 reinstate an INSIST() referenced in [RT #421] 2001-02-21 02:01:15 +00:00
Brian Wellington
a012d6dbfb 746. [bug] The sdb didn't clone rdatasets properly, causing
a crash when the server followed delegations. [RT #905]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson
b7d448de55 no need to specifically ask people to mail bind9-bugs about mempool leaks 2001-02-20 22:03:36 +00:00
Brian Wellington
f70336b8c9 Cleanups to TSIG/SIG(0) parsing. This should have no noticable effect except
rejecting a few more malformed packets (those with the TSIG/SIG(0) not the
last record) and making best-effort parsing handle multiple TSIG/SIG(0)/OPT in
a message.
2001-02-19 20:14:23 +00:00
Mark Andrews
43de493006 745. [func] Report the owner name on when adding a rdataset
to the internal database fails while loading.
2001-02-19 13:24:04 +00:00
Bob Halley
1e50dad10d When returning DNS_R_CNAME or DNS_R_DNAME as the result of an ANY or SIG
query, the resolver failed to setup the return event's rdatasets, causing an
assertion failure in the query code.  [RT #881]

The fix includes the addition of the DNS_NAMEATTR_CHAINING attribute,
and the removal of the DNS_NAMEATTR_CNAME and DNS_NAMEATTR_DNAME attributes,
because they were not used anywhere in the current source.
2001-02-19 08:54:54 +00:00
Brian Wellington
3bd43bb300 ENSURE that a message's memory pools don't have any allocated data at the
end of msgreset().  This should trigger the mpctx->allocated != 0 assertion
when the leak occurs, not at server shutdown.
2001-02-18 23:46:26 +00:00
Brian Wellington
3f07549972 comment fix 2001-02-18 21:19:43 +00:00
Brian Wellington
62adc5ed76 Call free_namelist() rather than freeing the list manually. 2001-02-17 02:22:43 +00:00
Andreas Gustafsson
19eee89387 if dns_message_gettempname() failed, we would try to call
dns_message_putemprdataset() on an uninitialized pointer
2001-02-17 02:16:14 +00:00
Andreas Gustafsson
52719005ab removed empty line 2001-02-17 01:23:43 +00:00
Brian Wellington
9154e66053 remove compiler warning 2001-02-17 00:53:59 +00:00
Andreas Gustafsson
dec0721d45 eliminate compiler warning; need <isc/print.h> 2001-02-17 00:46:58 +00:00
Andreas Gustafsson
4e72c83c94 removed unused variable 2001-02-17 00:23:49 +00:00