Commit graph

4268 commits

Author SHA1 Message Date
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
4301257d29 the 'dialup' access functions operate on dns_dialuptypt_t, not boolean 2000-11-14 20:14:17 +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
Brian Wellington
78d78f05d9 556. [func] The DNSSEC OK bit in the EDNS extended flags
is now implemented.  Responses to queries without
                        this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Brian Wellington
1f2f5445ec remove an uninitialized variable warning 2000-11-13 21:29:27 +00:00
Andreas Gustafsson
5afc10d6d8 554. [bug] Slave server attempting zone transfer could crash
with an assertion failure on certain malformed
                        responses from the master. [RT #457]
2000-11-13 20:12:29 +00:00
Brian Wellington
47fa8b4c8f fix outdated comments 2000-11-13 20:12:03 +00:00
Andreas Gustafsson
626b221f71 553. [bug] Incoming zone transfers deferred due to quota
were not started when quota was increased but
                        only when a transfer in progress finished. [RT #456]
2000-11-13 18:19:27 +00:00
Mark Andrews
733e928f71 552. [bug] We were not correctly detecting the end of all c-style
comments.  [RT #455]
2000-11-13 04:09:40 +00:00
Andreas Gustafsson
ae7e8784aa log messages should not be capitalized 2000-11-11 02:14:50 +00:00
Andreas Gustafsson
f58cfa95f7 comment formatting 2000-11-11 02:14:25 +00:00
Andreas Gustafsson
c2a94d89f9 clarified comments 2000-11-11 01:15:33 +00:00
Andreas Gustafsson
244e29639a our coding standards say:
Source which becomes obsolete should be removed, not just disabled with
#if 0 ... #endif.
2000-11-11 01:07:32 +00:00
Andreas Gustafsson
dcd12febbd dns_zone_configure() does not need to special-case hint zones,
because it must never be called for them
2000-11-11 01:05:43 +00:00
Andreas Gustafsson
c2f4fe7f95 clarified comment; fixed spacing 2000-11-11 01:02:28 +00:00
Andreas Gustafsson
84abb95f7e 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:16:26 +00:00
Andreas Gustafsson
b0ce1ff804 typo 2000-11-10 03:14:25 +00:00
Andreas Gustafsson
7f73d29ac5 comments about who is responsible for freeing the memory
of rdata and rdatalists borrowed from messages were incorrect
2000-11-10 03:13:03 +00:00
Andreas Gustafsson
97a195d7ff spacing; incorrect comment 2000-11-10 03:08:57 +00:00
Brian Wellington
66f7feef55 the ungettoken changes broken line number reporting 2000-11-10 01:41:00 +00:00
Brian Wellington
ac5921d110 validating that rdata of a known type expressed using the unknown type
syntax is correct didn't work.
2000-11-10 01:37:40 +00:00
Brian Wellington
3a16668468 fix a few minor problems in the unknown rrtype support. 2000-11-10 00:25:46 +00:00
Brian Wellington
ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Andreas Gustafsson
673ce7aebb removed redundant declaration of dns_rdataclass_totext() from rdata.h;
it is declared in rdataclass.h
2000-11-09 19:33:51 +00:00
Brian Wellington
787b57597e The CLASSNAMES array was both unused and incomplete. 2000-11-09 03:03:47 +00:00
Brian Wellington
55b085353a error message improvements 2000-11-09 02:35:43 +00:00
Brian Wellington
066faef119 548. [func] The lexer now ungets tokens more correctly. 2000-11-09 02:23:40 +00:00
Brian Wellington
a90dcd1f19 the wrong result code was being printed 2000-11-09 00:20:47 +00:00
Brian Wellington
60a7fe5da1 remove uninitialized variable. 2000-11-08 18:24:37 +00:00
Mark Andrews
bfcdcde570 implement lame-ttl. 2000-11-08 03:53:16 +00:00
Brian Wellington
add4043305 The identical gettoken() routines in rdata.c, hex.c, and base64.c have
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +00:00
Brian Wellington
f439363eeb minor code simplification 2000-11-08 00:51:24 +00:00
Andreas Gustafsson
04bf45fffe added missing newline 2000-11-08 00:18:18 +00:00
Michael Sawyer
a3a11c4f3f Add the ability (via rndc dump-statistics) to dump a file with counters of
various results given to queries.  Enable the (previously disabled)
statistics-file config option.
2000-11-07 23:49:42 +00:00
Brian Wellington
5cca7753fd RRTYPE -> TYPE for unknown types 2000-11-07 23:44:33 +00:00
Brian Wellington
7499479679 spelling 2000-11-07 23:43:23 +00:00
Brian Wellington
19e0a2c2d1 Add isc_hex_* routines, which handle conversion to and from hex strings. 2000-11-07 20:58:08 +00:00