Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Mark Andrews
19c5c23ef6
fix compiler warning: While loop condition is always non-zero.
...
nxt_30.c enforce type range to 1..127. DNS_R_RANGE otherwise.
1999-11-03 01:07:02 +00:00
Mark Andrews
9088094680
Add read support for BIND 8 TTL / counter format to soa.
...
Move bind_ttl to ttl.c and rename dns_ttl_fromtext and dns_counter_fromtext,
fix bug in handling of seconds (x 1 not x 60), can also handle raw number.
1999-11-02 13:07:53 +00:00
Mark Andrews
db725ebe2b
Add initial class HS support.
1999-10-13 01:24:49 +00:00
David Lawrence
ea86510592
cast token as_ulong to unsigned char rather than use token as_char
...
because the latter will give the wrong value on big-endian systems.
1999-10-08 23:54:40 +00:00
David Lawrence
d2d1163f55
um, ignore that last change. using token.value.as_char will not be
...
correct on big-endian systems. use as_ulong but cast to unsigned char.
1999-10-08 23:52:39 +00:00
David Lawrence
65f7626dff
cast int arguments to isc_buffer_putuint{16,32} to appropriate size.
...
they are already masked out of a 64 bit int to the correct size, but
NT's CL is Unaware.
1999-10-08 22:48:13 +00:00
David Lawrence
793213e886
assign char prefixlen from token.value.as_char, not token.value_.as_ulong.
...
it has already been checked for range.
1999-10-08 22:46:28 +00:00
David Lawrence
63430de345
Check the rdata type for range before uint16_tobuffer, because by the time
...
uint16_tobuffer is called the loss of data from strtol() already occurred
and uint16_tobuffer would not be able to detect a range error.
delint: integral size mismatch in call to dns_rcode_totext with a 32 bit
int passed where a 16 bit is expected. since the variable was retrieved
via uint16_fromregion immediately prior to dns_rcode_totext, casting
the 32 bit to 16 bit (to dns_rcode_t) is sufficient.
1999-10-08 21:45:01 +00:00
David Lawrence
0bd044c2af
Check the rdata type for range before uint16_tobuffer, because by the time
...
uint16_tobuffer is called the loss of data from strtol() already occurred
and uint16_tobuffer would not be able to detect a range error.
also, use token.value.as_char when assigning to char c, which is already
checked to be < 256.
1999-10-08 21:42:23 +00:00
David Lawrence
6e482e595d
fromtext_nxt(): check the range of 'dns_rdatatype_t covered' from the long int
...
that is read via strtol() rather than assigning covered directly from strtol(),
so that a value greater than the width of dns_rdatatype_t can be detected.
1999-10-08 21:26:42 +00:00
David Lawrence
722cc17289
delint: integral size mismatch in call to dns_cert_totext with a 32 bit
...
int passed where a 16 bit is expected. since the variable was retrieved
via uint16_fromregion immediately prior to dns_cert_totext, casting
the 32 bit to 16 bit (to dns_cert_t) is sufficient.
1999-10-08 21:22:27 +00:00
Brian Wellington
cf3f14106d
Changed 'dns_name_t *' in structs to 'dns_name_t'
1999-10-07 21:49:39 +00:00
Brian Wellington
be51993531
added key to/from/free struct
1999-10-07 21:48:52 +00:00
Andreas Gustafsson
3ddd92da66
improved support for mnemonics in DNSSEC RR types
1999-09-17 09:25:21 +00:00
Michael Graff
5f0e2c8913
update copyright text
1999-09-16 00:02:20 +00:00
Michael Graff
2f072c2982
Update copyrights
1999-09-15 23:03:43 +00:00
Mark Andrews
05f90cac85
Adjust / add stucture definitions for NS/SOA/A/AAAA/A6 records.
1999-09-02 06:40:15 +00:00
Bob Halley
bf555703f2
OPT support
1999-09-01 20:50:34 +00:00
Brian Wellington
32b57aa1b9
missing isc_mem_put
1999-08-31 22:09:24 +00:00
Bob Halley
e27a69f8bd
add digest support
1999-08-31 22:05:55 +00:00
Bob Halley
20dbb03b72
compare did not handle some cases; add digest support
1999-08-31 22:04:00 +00:00
Brian Wellington
b5da378f29
fixes to totext and tostruct
1999-08-31 14:55:47 +00:00
Bob Halley
d66d2cb728
add comment
1999-08-28 01:48:48 +00:00
Brian Wellington
8ee1eaab0b
various bug fixes
1999-08-25 14:22:38 +00:00
Brian Wellington
d8813e2cee
implemented to/from/free_struct
1999-08-25 14:18:35 +00:00
Brian Wellington
6d4886fa74
Added support for TSIG records in message and resolver subsystems, added
...
tsig to_struct/from_struct
1999-08-20 18:56:24 +00:00
Bob Halley
4529cdaeda
make rdata functions static inline
1999-08-12 01:32:42 +00:00
Bob Halley
b1bc194f94
additional data support
1999-08-03 20:55:19 +00:00
Bob Halley
f1b0e9107d
additional data support
1999-08-03 01:21:23 +00:00
Bob Halley
d981ca6455
class to rdclass; additional data support
1999-08-02 22:18:31 +00:00
Andreas Gustafsson
96594ea32e
define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency
1999-07-23 09:15:10 +00:00
Bob Halley
8360c3dc0f
eliminate inet.h; do not use UNIX-specific .h files
1999-07-16 00:24:33 +00:00
Andreas Gustafsson
df7f20ae77
the WKS protocol field is 8 bits, not 16
1999-07-05 05:50:52 +00:00
Mark Andrews
e205d63cbb
Missing #include
1999-07-05 00:32:37 +00:00
Bob Halley
58b3ed8a34
fix a static declaration
1999-07-03 20:58:13 +00:00
Andreas Gustafsson
fad44a20ee
omit parenthesis when DNS_STYLEFLAG_MULTILINE is not set
1999-06-08 20:41:31 +00:00
Andreas Gustafsson
5fc7ba3e1a
added dns_db_dump(), $DATE, and supporting changes
1999-06-08 10:35:23 +00:00
Andreas Gustafsson
0745aa7369
various bug fixes
1999-05-19 09:15:52 +00:00
Andreas Gustafsson
5dcb42f5bb
not all combinations of quoted and unquoted strings were supported in ISDN records
1999-05-19 09:14:58 +00:00
Brian Wellington
822f6cdabb
Created isc_base64_to{text,buffer} and removed the static versions
...
from lib/dns/rdata.c.
1999-05-18 17:46:59 +00:00
Mark Andrews
94a3bcd132
dns_rdata_tostruct() may require memory to be allocted and hence
...
it will need to be freed, dns_rdata_freestruct().
Changes to implement this.
Added C++ support to rdatastruct.h
1999-05-07 03:24:15 +00:00
Mark Andrews
189e18de11
include/dns/rdatastruct.h header (pre) and footer (suf) files.
1999-05-07 03:19:11 +00:00
Mark Andrews
4fd3e3482c
dns_rdata_tostruct() conversion
1999-05-05 01:55:13 +00:00
Mark Andrews
a560a0bfb2
Implement _tostruct().
1999-05-05 00:20:36 +00:00
Mark Andrews
854d0238db
Adjust #ifdef *_H -> #ifdef *_C to reflect new file names.
1999-05-05 00:19:04 +00:00
Mark Andrews
1ef8965366
Add decompression.
1999-02-24 06:31:35 +00:00
Mark Andrews
52637f592f
Add wire compression.
1999-02-22 07:24:05 +00:00
Mark Andrews
54db0529dc
Copyright dates now comma seperated list of years.
1999-02-16 22:51:19 +00:00
Mark Andrews
0e8cf9a887
Style updates.
...
cvs: ----------------------------------------------------------------------
1999-02-16 22:42:33 +00:00