Michael Graff
5d3cca55eb
s/reviewed:/Reviewed:/
2000-03-16 00:48:08 +00:00
Michael Graff
e1cc8e9a08
changes after code review
2000-03-16 00:18:29 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Mark Andrews
2e8215dda9
checkpoint to/from struct support
2000-01-17 03:21:53 +00:00
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
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
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
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
d8813e2cee
implemented to/from/free_struct
1999-08-25 14:18:35 +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
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
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
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
Mark Andrews
7c0539bea5
Created dns_name_rdatacompare() to do DNSSEC rdata comparisions
...
as opposed to DNSSEC owner name comparisions of names. Changed
all rdata types that were using dns_name_compare() to use
dns_name_rdatacompare().
1999-02-15 05:44:22 +00:00
Mark Andrews
ccedaf210f
Don't assign north / east as a side effect of if.
...
Add 'm' to the altitude output.
Negative altitudes were not being read in correctly. Fractional part
was being added rather that subtracted.
1999-02-11 14:00:29 +00:00
Mark Andrews
2cd8a160b9
Missing space totext_tkey()
1999-02-05 05:15:16 +00:00
Mark Andrews
54c26ab21c
dns_cert_{to,from}text()
...
dns_secalg_{to,from}text()
1999-02-05 00:05:46 +00:00
Mark Andrews
5901928ef8
fix up TKEY
1999-02-04 07:00:32 +00:00
Mark Andrews
8d3e74b168
gen to generate dns_rdata{type,class}_{type,class}
...
dns_rcode_{to,from}text()
TKEY was missing the Algorithm
1999-02-04 06:38:43 +00:00
Mark Andrews
f427e78509
Initial Implementation
1999-02-04 02:09:04 +00:00