Mark Andrews
a821d5fa3d
DNSSEC bis merge from HEAD:
...
1581. [func] Disable DNSSEC support by default. To enable
DNSSEC specify "enable-dnssec yes;" in named.conf.
1565. [bug] CD flag should be copied to outgoing queries unless
the query is under a secure entry point in which case
CD should be set.
1558. [func] New DNSSEC 'disable-algorithms'. Support entry into
child zones for which we don't have a supported
algorithm. Such child zones are treated as unsigned.
1557. [func] Implement missing DNSSEC tests for
* NOQNAME proof with wildcard answers.
* NOWILDARD proof with NXDOMAIN.
Cache and return NOQNAME with wildcard answers.
1541. [func] NSEC now uses new bitmap format.
1519. [bug] dnssec-signzone:nsec_setbit() computed the wrong
length of the new bitmap.
1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY.
2004-03-08 02:08:05 +00:00
Mark Andrews
cbdd3a318b
update lib copyrights
2004-03-06 08:15:48 +00:00
Mark Andrews
694b001677
1586. [func] "check-names" is now implemented.
2004-02-27 21:45:34 +00:00
Mark Andrews
69acffbb19
sync with HEAD
2003-10-14 03:48:11 +00:00
Mark Andrews
26fbc6cb34
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-09-02 01:49:48 +00:00
Mark Andrews
dd8e7329b1
pullup:
...
1458. [cleanup] sprintf() -> snprintf().
2003-08-27 07:22:41 +00:00
Mark Andrews
892f1e690f
1233. [bug] The flags field of a KEY record can be expressed in
...
hex as well as decimal.
2003-08-14 04:00:33 +00:00
Mark Andrews
cb0556144b
add a new result code so that parsing a bad KEY record doesn't result in
...
"unknown class/type".
2003-08-14 02:35:49 +00:00
Mark Andrews
108a1cfcc0
misc pullups:
...
*warning messages generated by dns_master_load* should not print
dns_master_load, since it violates the "don't print function names in
error messages" rule.
*When printing a warning about a value not being a valid decimal dotted
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.
*We could select on a closed file descriptor.
2003-08-14 00:50:20 +00:00
Mark Andrews
193fd4f417
pullup:
...
Use as_textregion.base not as_pointer. [RT #2385 ]
2003-08-13 00:36:56 +00:00
Mark Andrews
e6f17dd534
1171. [func] Added function isc_region_compare(), updated files in
...
lib/dns to use this function instead of local one.
2003-08-12 14:16:17 +00:00
Mark Andrews
2e7d97c5ba
1151. [bug] nslookup failed to check that the arguments to
...
the port, timeout, and retry options were
valid integers and in range. [RT #2099 ]
1150. [bug] named incorrectly accepted TTL values
containing plus or minus signs, such as
1d+1h-1s.
1149. [func] New function isc_parse_uint32().
2003-08-11 04:48:07 +00:00
Mark Andrews
8552753ad4
997. [func] Add support for RSA-SHA1 keys (RFC3110).
2003-08-04 02:31:57 +00:00
Mark Andrews
3b89807475
997. [func] Add support for RSA-SHA1 keys (RFC3110).
2003-08-04 01:04:44 +00:00
Mark Andrews
6773fb173e
remove redundant check [RT #8539 ]
2003-07-30 01:04:15 +00:00
Mark Andrews
c1df871a18
silence compiler warnings (HPUX/11i)
2003-07-23 06:57:59 +00:00
Mark Andrews
f4d86cfcea
update_copyrights
2003-07-22 04:03:54 +00:00
Mark Andrews
83bd77fec9
1485. [bug] gen failed to handle high type values. [RT #6225 ]
2003-07-18 00:55:54 +00:00
Mark Andrews
ee95e5b2d3
pullup:
...
Change 1236 was incorrect. [RT #2611 ]
2002-03-27 23:52:33 +00:00
Mark Andrews
1cf32ab2b3
pullup:
...
1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
NULL terminated text regions. [RT #2588 ]
2002-03-20 22:41:58 +00:00
Mark Andrews
4daf63c4b0
copyright dates
2002-02-20 02:17:28 +00:00
Andreas Gustafsson
fd7505872d
pullup:
...
1201. [bug] Require that if 'callbacks' is passed to
dns_rdata_fromtext(), callbacks->error and
callbacks->warn are initalised.
2002-02-20 00:39:27 +00:00
Mark Andrews
8f534756ca
Disallow creation of TYPE0 records from wire data
2001-10-03 02:07:34 +00:00
Mark Andrews
2d4f039432
Disallow creation of TYPE0 records from master files, since the server
...
reserves type 0 for internal purposes related to negative caching
2001-10-03 02:05:25 +00:00
Andreas Gustafsson
1d89523b69
pullup:
...
1000. [bug] BIND 8 compatibility: accept "HESIOD" as a alias
for class "HS". [RT #1759 ]
2001-09-21 20:46:35 +00:00
Andreas Gustafsson
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +00:00
Brian Wellington
cabaeca9ae
missing assertion checks
2001-07-16 09:48:05 +00:00
Mark Andrews
bddfe77128
936. [func] Warn when non dotted decimal quad's are used.
...
[RT #1084 ]
935. [bug] inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Andreas Gustafsson
ad493ef9dd
spacing
2001-07-06 20:15:08 +00:00
Mark Andrews
9ac7076eba
769. [func] Improved error reporting when parsing rdata. [RT #740 ]
...
Two new error codes. Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington
330705066b
Wrap inet_ntop() and use that in the _totext() functions. The wrapper calls
...
inet_ntop() and copies the output (but not the trailing null) into the buffer.
2001-01-25 20:14:42 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Mark Andrews
228c679d7a
662. [bug] dns_rdata_fromtext() failed to log certain errors.
2001-01-08 06:54:35 +00:00
Mark Andrews
8dd5237a27
655. [bug] Improve error reporting on unexpected eof when loading
...
zones. [RT #611 ]
2001-01-04 23:43:53 +00:00
Andreas Gustafsson
ca2912424b
DEL (ASCII 127) is not a printable character and should be
...
backslash-decimal quoted when printing TXT record
2001-01-02 04:24:52 +00:00
Mark Andrews
5f7a9845e9
make ISC_LIST_CHECKINIT work
2000-12-19 04:46:36 +00:00
Andreas Gustafsson
6c29053a20
614. [bug] Checks for uninitialized link fields were prone
...
to false positives, causing assertion failures.
The checks are now disabled by default and may
be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Mark Andrews
5d2026ea7b
relax initalied checks
2000-12-14 22:09:51 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
David Lawrence
e086935752
isc_hex_tobuffer() third argument is unsigned int, not unsigned long
2000-12-06 22:33:39 +00:00
Andreas Gustafsson
7e4cda9965
renamed rdata_valid() to rdata_validate() and commented it
2000-11-20 21:58:01 +00:00
Brian Wellington
f164957327
Allocate a buffer large enough to hold the unknown rr data, not a buffer
...
with the same amount of free space as the target buffer.
2000-11-20 21:41:53 +00:00
Brian Wellington
93ed317bb4
unknown rr type parsing code deuglification.
2000-11-20 21:29:41 +00:00
Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +00:00
Mark Andrews
7d8cdd869e
pointer arithmetic on (void*) is a no-no.
...
use extened buffer api to calculate lengths.
2000-11-20 06:54:40 +00:00
Brian Wellington
2ea44ff332
Unknown rrs would not be parsed correctly when in an rdataset with known rrs.
2000-11-19 23:19:23 +00:00
Brian Wellington
1275a72e8d
Don't allow metatypes to be loaded using the \# format.
2000-11-19 22:12:42 +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
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
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