Andreas Gustafsson
fe8d130967
make install didn't work when using separate build dir
2000-06-30 00:29:29 +00:00
Andreas Gustafsson
428b78e56d
RT #153 : when invoked with type==CNAME and a message
...
not constructed by dns_message_parse(), dns_message_findname() failed to
find anything due to checking for attribute bits set only by dns_message_parse().
This caused an infinite loop when constructing the response to an ANY query
at a CNAME in a secure zone.
2000-06-29 19:49:43 +00:00
Andreas Gustafsson
824068b85b
cut-and-paste-o: dns_message_findname() tested for
...
dns_rdatatype_cname twice instead of cname+dname
2000-06-29 18:58:32 +00:00
Andreas Gustafsson
26be84cdfc
spelling, grammar, and formatting; no functional change
2000-06-29 16:48:53 +00:00
Mark Andrews
b74e73c5b4
294. [bug] If we run out of space in while processing glue
...
when reading a master file and commit "current name"
reverts to "name_current" instead of staying as
"name_glue".
2000-06-29 15:55:19 +00:00
Michael Graff
2e0e781ba4
use the correct function name in debugging statements
2000-06-29 07:40:58 +00:00
Brian Wellington
089b7bf0a5
a missing #include "assert_p.h" caused a compile failure.
2000-06-28 22:57:42 +00:00
Brian Wellington
09aea877e7
An lwres context was being destroyed while still in use
2000-06-28 21:55:33 +00:00
Brian Wellington
f51647808f
Using 0 as an error value tends to conflict with using 0 to represent
...
success.
2000-06-28 21:43:46 +00:00
Jim Reid
084d809e48
fixed some typos
...
removed references to ENI_ error codes because they're not
documented in RFC2133 and are defined in getnameinfo.c rather
than some include file anyway
2000-06-28 21:43:41 +00:00
David Lawrence
5eae30a019
in fact, ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are not needed at all since
...
rdatastructpre.h and rdatastructsuf.h already provide the wrapper.
(no need to pull up.)
2000-06-28 19:07:19 +00:00
David Lawrence
778d24f5ba
do not include isc/lang.h; rdatastructpre.h already gets it.
...
no need to pull these changes up to the 9.0.0 branch.
2000-06-28 19:03:24 +00:00
Michael Graff
0cd1ba32c1
put edns0 restarts back to 3, and fix up a few trace messages to be standard ones -- lower case first letter.
2000-06-28 16:30:29 +00:00
David Lawrence
4a44b85e6e
Disable the requirement that all messages be signed, since this
...
will not work until the "controls" statement is implemented in
named.conf post-9.0.0.
2000-06-28 05:24:41 +00:00
David Lawrence
de88422aec
only define ISC_MEM_DEBUG if it is not already defined, or if ISC_MEM_DEBUGOFF
...
is not defined. no need to pull this one up to v9_0.
2000-06-28 03:46:37 +00:00
David Lawrence
13c32cb589
285. [bug] A change made to the dst API for beta4 inadvertently
...
broke OMAPI's creation of a dst key from an incoming
message, causing an assertion to be triggered. Fixed.
2000-06-28 03:09:44 +00:00
Brian Wellington
171d0db7f9
Return NO_RECOVERY, not HOST_NOT_FOUND if the error is not LWRES_NOTFOUND
2000-06-27 23:20:34 +00:00
Brian Wellington
2ef7b73fd5
Missing #include "assert_p.h"
2000-06-27 23:13:26 +00:00
Jim Reid
a07cfacd85
initial draft of lwres manpages
2000-06-27 21:53:10 +00:00
Andreas Gustafsson
c4bf0b3906
don't issue warnings saying max-ncache-ttl and max-cache-ttl are
...
not yet implemented, because they are
2000-06-27 21:33:20 +00:00
Andreas Gustafsson
33e482fa3e
edited comment, no functional change
2000-06-27 21:04:12 +00:00
Brian Wellington
d364e89bda
The off by one error wasn't.
2000-06-27 18:51:51 +00:00
Michael Sawyer
d8afbf2f30
Force SIGHUP to be in state SIG_DFL when starting, since Solaris would break
...
that, if run from under cron.
2000-06-27 18:49:14 +00:00
Brian Wellington
9006ddc64a
Fix off-by-one error and move a few lines of code.
2000-06-27 18:03:52 +00:00
Brian Wellington
031ce3bc62
Return better errors (TRAILINGDATA, not UNEXPECTEDEND), and style changes.
2000-06-27 18:03:23 +00:00
Brian Wellington
f356f1bb5d
style changes
2000-06-27 18:02:12 +00:00
Brian Wellington
db118c5f26
Add a comment saying that _parseheader() isn't the right place to verify
...
that the buffer containing the entire packet is long enough.
2000-06-27 18:01:16 +00:00
Brian Wellington
c614882bd8
typo
2000-06-27 00:41:13 +00:00
Brian Wellington
6f4317150b
remove dead code
2000-06-27 00:24:27 +00:00
Brian Wellington
50719689ef
coding style
2000-06-27 00:24:12 +00:00
Brian Wellington
c1ecf4ace2
Remove declaration of REQUIRE
2000-06-26 23:35:00 +00:00
Brian Wellington
347ccc2716
Fixed a few errors in error recovery and uses of int instead of lwres_result_t
2000-06-26 23:23:28 +00:00
Andreas Gustafsson
a7d4703552
commented
2000-06-26 22:59:22 +00:00
Andreas Gustafsson
aa57fcf820
two more unchecked calls to strdup() found by Brian
2000-06-26 22:50:20 +00:00
Andreas Gustafsson
f264d3cb2c
sense of strcmp() wrong; missing test of strdup() return value
...
(find by Brian by inspection)
2000-06-26 22:30:32 +00:00
Andreas Gustafsson
95e7cd1ecb
commented
2000-06-26 22:09:49 +00:00
Michael Graff
7618ec31e3
bump restarts to 4. After 3, we change the retry times. This lets the query take longer, but it is more likely to succeed with EDNS0 if the server or the network is just slow, not broken.
2000-06-26 21:46:25 +00:00
David Lawrence
2298aec5a1
test for high bit being set in isc_file_settime needed to use an
...
unsigned long long constant to work correctly on platforms that have
a 64 bit timeval.tv_sec and 32 bit ints.
2000-06-26 21:33:57 +00:00
Brian Wellington
bc9470d240
*** empty log message ***
2000-06-26 21:27:14 +00:00
Michael Graff
57ebb859ee
After N restarts (currently 3) try again with EDNS0 disabled.
2000-06-26 21:07:36 +00:00
Brian Wellington
e1e309c63d
Removed more pointer to integer assignments.
2000-06-26 20:58:52 +00:00
Brian Wellington
234878743f
Cast a pointer to an unsigned long, not an unsigned int, before doing bit
...
manipulations.
2000-06-26 20:39:42 +00:00
Brian Wellington
1d1d2fa57a
Seed a (not really) random value with time(NULL), not the pointer value.
2000-06-26 20:30:37 +00:00
Brian Wellington
98164bc1ad
Printing a size_t as either %d or %u doesn't work on some 64 bit architectures.
2000-06-26 20:27:42 +00:00
Michael Graff
a72ca8608c
revert part of a previous commit. This makes net/host unreachable hard errors again.
2000-06-26 20:16:01 +00:00
Brian Wellington
0191211ce5
Casting void * to unsigned long works better than casting to isc_uint32_t
2000-06-26 18:41:06 +00:00
Michael Graff
53b63f5467
minor change to make certain 'on' is defined. This used to be used only by USE_CMSG, but is also used to turn on BSD compatibility, so test on SO_BSDCOMPAT too.
2000-06-26 18:20:25 +00:00
Michael Graff
18a8c21c77
turn on BSD compatibility to avoid the annoying linux 'return host unreachable for unconnected UDP datagrams' bug.
2000-06-26 17:48:26 +00:00
James Brister
8775909be9
282. [bug] lexer now returns ISC_R_RANGE if parsed integer is
...
too big for an usigned long.
2000-06-23 22:32:10 +00:00
James Brister
406ce0cd96
281. [bug] fixed list of recognised config file category names.
2000-06-23 22:30:02 +00:00