Commit graph

7369 commits

Author SHA1 Message Date
Andreas Gustafsson
42cf4e4ead added convenience scripts for validating the ARM XML code and
generating HTML from it
2000-11-15 23:42:02 +00:00
David Lawrence
99f627f2a9 In dns_opt_attrtotext(), declare and set omit_final_dot only when
DNS_OPT_NEWCODES is defined.  In dns_opt_totext(), do not declare or
set omit_final_dot at all.
2000-11-15 23:40:00 +00:00
Andreas Gustafsson
b796a9c6f9 locate the SGML style sheets at configure time 2000-11-15 23:32:21 +00:00
David Lawrence
123dd02946 Removed unused ns_lwdclientmgr_t *cm from ns_lwdclient_errorpktsend(). 2000-11-15 23:29:29 +00:00
David Lawrence
2197bdf6b1 fixed prototype for static build_SYS_str_reasons() 2000-11-15 23:19:05 +00:00
David Lawrence
f604b5ab0b A test of a result in an INSIST() in dns_db_getsoaserial() was improperly
actually setting the result.
2000-11-15 23:16:33 +00:00
David Lawrence
e7b6119384 removed extraneous semicolon 2000-11-15 23:12:27 +00:00
David Lawrence
f769deac29 removed token after an #endif 2000-11-15 23:09:09 +00:00
David Lawrence
9bcf5e9a14 assign the result of copy_ptr_targets to the event result in lookup_done() 2000-11-15 23:07:58 +00:00
David Lawrence
ba7ea2326d dns_aclelement_match() returns an isc_boolean_t, but if dns_acl_match()
within it returned a result that was not ISC_R_SUCCESS, then that result
code was being returned.  Since dns_acl_match() always returns ISC_R_SUCCESS,
the erroneous return was converted into an INSIST().
2000-11-15 22:59:55 +00:00
David Lawrence
78e5d07050 comment why <sys/time.h> is needed 2000-11-15 22:41:56 +00:00
David Lawrence
5ed0ffc1f7 clean up const warnings 2000-11-15 22:38:51 +00:00
David Lawrence
61632c1973 tokens after #endif 2000-11-15 20:47:54 +00:00
David Lawrence
dfc595ff7a Take care of a "variable might be used before set" warning. 2000-11-15 20:35:13 +00:00
Andreas Gustafsson
e9f6414d40 simplified query logging code by dropping support for EDNS1
multiple queries and by using dns_rdata{type,class}_format();
include the class in query log messages
2000-11-15 19:35:07 +00:00
Andreas Gustafsson
8f086b9df8 when logging incoming messages that fail to match a view,
include the class name in the log message
2000-11-15 19:15:25 +00:00
Andreas Gustafsson
8c962eba3d I really shouldn't commit stuff until it at least compiles 2000-11-15 19:11:36 +00:00
Andreas Gustafsson
ab889e996d use dns_rdataclass_format() 2000-11-15 19:06:04 +00:00
Andreas Gustafsson
d3a86da2e8 563. [func] New public functions dns_rdatatype_format() and
dns_rdataclass_format(), for convenient formatting
                        of rdata type/class mnemonics in log messages.
2000-11-15 19:05:32 +00:00
Andreas Gustafsson
046bd40fd1 macro definitions should not end in a semicolon 2000-11-15 19:04:41 +00:00
Andreas Gustafsson
eb23b7b590 eliminated compiler warnings;
renamed setup_sortlist() to ns_sortlist_setup() to conform
to naming conventions
2000-11-15 18:12:38 +00:00
Andreas Gustafsson
2cd125a2b2 spacing 2000-11-15 18:11:32 +00:00
Mark Andrews
3fdad8e3bb adjust is_lame test for same level. 2000-11-15 04:53:06 +00:00
Mark Andrews
edc9f47a1d add #include <sys/time.h> 2000-11-15 03:58:53 +00:00
Andreas Gustafsson
6f191af6ac document NULL returns from ns_sortlist_byaddrsetup() 2000-11-15 02:47:29 +00:00
David Lawrence
21ec512685 some systems do not implement all of the resources of
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
David Lawrence
a881879ffc use isc_result_totext(result) in place of strerror(errno) when reporting
the result of setting resource limits
2000-11-15 01:37:00 +00:00
Andreas Gustafsson
4b7018f4cc illegal token after #endif 2000-11-15 01:31:45 +00:00
Andreas Gustafsson
88658c1300 fetch-glue, min-roots, and max-ixfr-log size are now considered
obsolete
2000-11-15 01:30:12 +00:00
David Lawrence
8a7a714726 stacksize, datasize, coresize and files options are now implemented 2000-11-15 01:20:18 +00:00
Andreas Gustafsson
e045287d31 provide a more detailed error message when configuring a trusted key fails 2000-11-15 01:16:30 +00:00
Andreas Gustafsson
7863e6bd43 provide a more detailed error message when configuring
a TSIG key fails [RT #461]
2000-11-15 00:52:04 +00:00
Andreas Gustafsson
6a56be50dd new result code DNS_R_BADALG 2000-11-15 00:51:17 +00:00
Brian Wellington
b8d6376e1b the ungettoken changes also broke multiline records. 2000-11-15 00:42:53 +00:00
Andreas Gustafsson
7dde2780ae provide a more detailed error message when configuring
a TSIG key fails [RT #461]
2000-11-15 00:42:50 +00:00
Andreas Gustafsson
850d708185 562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong. 2000-11-15 00:36:42 +00:00
David Lawrence
3c82f274bd 561. [func] The 'datasize', 'stacksize', 'coresize' and 'files'
clauses of the options{} statement are now implemented.

 560.	[bug]		dns_name_split did not properly the resulting prefix
			when a maximal length bitstring label was split which
			was preceded by another bitstring label. [RT #429]

 559.	[bug]		dns_name_split did not properly create the suffix
			when splitting within a maximal length bitstring label.

 558.	[func]		New functions, isc_resource_getlimit and
			isc_resource_setlimit.

 557.	[func]		Symbolic constants for libisc integral types.
2000-11-15 00:23:15 +00:00
David Lawrence
8dd130590a new files, libisc resource.c and resource.h 2000-11-15 00:22:49 +00:00
David Lawrence
ed92f0f420 test splititng/compact of maximal length bitstring label 2000-11-15 00:21:00 +00:00
David Lawrence
19ce0d25d3 use isc_dir_makeunique() instead of mktemp/mkdir, to squelch a warning 2000-11-15 00:20:34 +00:00
David Lawrence
19aa938b53 561. [func] The 'datasize', 'stacksize', 'coresize' and 'files'
clauses of the options{} statement are now implemented.
2000-11-15 00:19:49 +00:00
David Lawrence
2c02438f84 save the initial values of the resource limits for datasize, stacksize,
coresize, and open files
2000-11-14 23:59:21 +00:00
David Lawrence
108490a7f8 keep the CAP_SYS_RESOURCE capability on linux systems.
as someone noted before (bob?  brian?) this might not really be the right
thing to do in a linuxthreads program.
2000-11-14 23:57:45 +00:00
Brian Wellington
a31c0e3966 Test that the unknown rr type code doesn't load compressed rdata. 2000-11-14 23:52:06 +00:00
David Lawrence
e94e2fe29d cope with the possibility that the prefix of a name
split within a bitstring label might have been compacted to have fewer
labels than what was expected
2000-11-14 23:51:24 +00:00
David Lawrence
e28b5084ec Bitstring labels *still* suck. They didn't somehow magically get less
sucky in the past couple of months.  The nerve.

Anyway, dns_name_split now correctly compacts the preceding bitstring label
(if any) when a maximal bitstring is split.

It also correctly creates the suffix when a maximal bitstring is split.
It was doing this incorrectly before, independent of the compaction issue.
2000-11-14 23:48:02 +00:00
David Lawrence
7ff4d6ebca compile unix/resource.c 2000-11-14 23:43:36 +00:00
David Lawrence
3fdfcc7977 use symbolic constant for formatting 64 bit ints 2000-11-14 23:42:29 +00:00
David Lawrence
1097943242 would have helped if the MIN/MAX for all of the signed integers were not
reversed.
2000-11-14 23:41:46 +00:00
David Lawrence
6c7b702df1 symbolic constant for the format string of a 64 bit long 2000-11-14 23:40:31 +00:00