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
David Lawrence
d653744935
isc_resource_t, isc_resourcevalue_t
2000-11-14 23:39:34 +00:00
David Lawrence
015c481e8b
new functions, isc_resource_getlimit and isc_resource_setlimit, via new
...
header file, <isc/resource.h>
2000-11-14 23:39:15 +00:00
David Lawrence
b59aac4816
new functions, isc_resource_getlimit and isc_resource_setlimit
2000-11-14 23:38:10 +00:00
David Lawrence
1ab0c9558f
map EPERM to ISC_R_NOPERM
2000-11-14 23:37:26 +00:00
David Lawrence
91676aba50
provide errno by way of errno.h
2000-11-14 23:37:10 +00:00
David Lawrence
be9a4bd82a
symbolic constants for integral maximums and signed integral minimums
2000-11-14 23:35:43 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson
3d9ce7519b
typo; minor clarification
2000-11-14 22:29:48 +00:00
Andreas Gustafsson
f4f43311a6
spacing
2000-11-14 21:30:24 +00:00
Andreas Gustafsson
4301257d29
the 'dialup' access functions operate on dns_dialuptypt_t, not boolean
2000-11-14 20:14:17 +00:00
Brian Wellington
e030123312
The lwresd usage statement was badly formatted.
2000-11-14 20:04:54 +00:00
Andreas Gustafsson
daf99720c9
the existence of a dynamically allocated array for the NXT
...
bits should not depend on its length
2000-11-14 18:14:44 +00:00
Andreas Gustafsson
e8f9b8762d
updated
2000-11-14 18:11:36 +00:00