Mark Andrews
b11a1ea7d1
missing unlock
2007-02-07 05:40:50 +00:00
Mark Andrews
05c97640f6
uninitalised use
2007-02-07 04:49:18 +00:00
Mark Andrews
0b174d1243
update copyright notice
2007-02-06 00:01:23 +00:00
Mark Andrews
281bab0f36
2129. [func] Provide a pool of UDP sockets for queries to be
...
made over. See use-queryport-pool, queryport-pool-ports
and queryport-pool-updateinterval. [RT #16415 ]
2007-02-02 02:18:06 +00:00
Mark Andrews
1f369c2581
update copyright notice
2007-02-01 23:55:21 +00:00
Mark Andrews
fd276c2493
remove SO_BSDCOMPAT reference
2007-02-01 04:40:32 +00:00
Mark Andrews
b0e8629055
regen
2007-01-30 00:25:00 +00:00
Mark Andrews
c1a883f2e0
update copyright notice
2007-01-29 23:57:22 +00:00
Rob Austein
5cd4555ad4
2128. [doc] xsltproc --nonet, update DTD versions. [RT #16635 ]
2007-01-29 22:16:02 +00:00
Mark Andrews
4abdfc917e
regen
2007-01-26 23:29:04 +00:00
Mark Andrews
00499ae65e
update copyright notice
2007-01-12 00:14:51 +00:00
Michael Graff
de4f679a17
revert changes accidently committed to mainline
2007-01-10 18:56:20 +00:00
Mark Andrews
f8574167b2
update copyright notice
2007-01-09 23:49:38 +00:00
Mark Andrews
92f56936fb
update copyright notice
2007-01-09 03:11:16 +00:00
Mark Andrews
7acb804e7f
update copyright notice
2007-01-09 02:44:24 +00:00
Mark Andrews
3559c11fc8
add dns_validator_send
2007-01-09 00:04:02 +00:00
Mark Andrews
b0985f2ac5
DSA_generate_parameters_ex parameters
2007-01-08 03:02:32 +00:00
Mark Andrews
f36c85c3ce
update copyright notice
2007-01-08 02:45:04 +00:00
Mark Andrews
2a5600ad8b
prime_len -> key->key_size
2007-01-08 02:35:58 +00:00
Mark Andrews
8eb4eca375
2127. [port] Improved OpenSSL 0.9.8 support. [RT #16563 ]
2007-01-08 01:53:30 +00:00
Mark Andrews
3052274767
2126. [bug] Serialise validation of type ANY responses. [RT #16555 ]
2007-01-08 01:13:38 +00:00
Mark Andrews
ca48338b3d
#ifdef HAVE_LIBXML2 statenames declaration
2007-01-05 07:24:51 +00:00
Mark Andrews
28b14c4e69
update copyright notice
2007-01-05 05:56:05 +00:00
Mark Andrews
e3f66e1617
2124. [bug] It was possible to dereference a freed fetch
...
context. [RT #16584 ]
2007-01-04 04:11:03 +00:00
Mark Andrews
edf8e79280
update copyright notice
2007-01-04 00:01:13 +00:00
Michael Graff
ca21196249
implement statistics for sockets. Need to port this to the win32 build too.
2007-01-03 20:57:07 +00:00
Michael Graff
69da4348da
add some basic statistics to task.c
2007-01-03 20:23:46 +00:00
Mark Andrews
74d6235d13
isc_time_seconds
2006-12-22 05:26:26 +00:00
Mark Andrews
0aef230aba
remove duplicate function
2006-12-22 05:18:53 +00:00
Mark Andrews
4b6f61ea34
cleanup
2006-12-22 04:20:52 +00:00
Michael Graff
b015e6b3e1
make changes on HEAD, not on a branch.
2006-12-22 03:07:57 +00:00
Mark Andrews
ed954ce73b
9.5.0a1
2006-12-22 02:32:59 +00:00
Mark Andrews
148f27aee6
update copyright notice
2006-12-22 01:59:44 +00:00
Mark Andrews
29747dfe5e
2123. [func] Use Doxygen to generate internal documention.
...
[RT #11398 ]
2006-12-22 01:46:19 +00:00
Mark Andrews
3b31d6634f
don't use C90 constructs
2006-12-21 10:06:17 +00:00
Mark Andrews
186e7f37c9
2122. [func] Experimental http server and statistics support
...
for named via xml.
2006-12-21 06:03:37 +00:00
Mark Andrews
1372e172d0
2121. [func] Add a 10 slot dead masters cache (LRU) with a 600
...
second timeout. [RT #16553 ]
2006-12-18 23:58:14 +00:00
Mark Andrews
d4185b5b3e
nuke OVERRIDE_OPENSSL_RAND
2006-12-13 23:56:24 +00:00
Mark Andrews
e21a2904f0
regen
2006-12-12 01:45:21 +00:00
Mark Andrews
23235c00ed
2119. [compat] libbind: allow res_init() to succeed enough to
...
return the default domain even if it was unable
to allocate memory.
2006-12-11 04:35:39 +00:00
Mark Andrews
f2b2de10ce
0 => 0U
2006-12-08 05:09:16 +00:00
Mark Andrews
1814d2108d
update copyright notice
2006-12-07 23:57:59 +00:00
Mark Andrews
514aeac2ac
2118. [bug] Handle response with long chains of domain name
...
compression pointers which point to other compression
pointers. [RT #16427 ]
2006-12-07 06:57:46 +00:00
Mark Andrews
1ea2595e1b
2117. [bug] DNSSEC fixes: named could fail to cache NSEC records
...
which could lead to validation failures. named didn't
handle negative DS responses that were in the process
of being validated. Check CNAME bit before accepting
NODATA proof. To be able to ignore a child NSEC there
must be SOA (and NS) set in the bitmap. [RT #16399 ]
2006-12-07 06:47:36 +00:00
Mark Andrews
e60f01cdd2
2116. [bug] 'rndc reload' could cause the cache to continually
...
be cleaned. [RT #16401 ]
2006-12-07 06:27:34 +00:00
Mark Andrews
13290782cb
2115. [bug] 'rndc reconfig' could trigger a INSIST if the
...
number of masters for a zone was reduced. [RT #16444 ]
2006-12-07 06:17:06 +00:00
Mark Andrews
58ea8fb1df
2112. [security] Warn if weak RSA exponent is used. [RT #16460 ]
2006-12-07 05:05:10 +00:00
Mark Andrews
cfcb0881d1
2111. [bug] Fix a number of errors reported by Coverity.
...
[RT #16507 ]
2006-12-07 04:46:27 +00:00
Mark Andrews
f041bef2c6
2109. [port] libbind: silence aix 5.3 compiler warnings. [RT #16502 ]
2006-12-07 03:51:29 +00:00
Mark Andrews
a7dd5f21e9
2108. [func] DHCID support. [RT #16456 ]
2006-12-07 03:38:39 +00:00
Mark Andrews
21c7ecb9f0
better mcxt handling. remove buffer handling layer violation
2006-12-05 21:59:12 +00:00
Mark Andrews
377231eb95
update copyright notice
2006-12-05 00:13:48 +00:00
Mark Andrews
61fad00204
USE_ENGINE should be conditional on OVERRIDE_OPENSSL_RAND
2006-12-04 05:12:25 +00:00
Mark Andrews
46f681f001
2105. [func] GSS-TSIG support (RFC 3645).
2006-12-04 02:26:05 +00:00
Mark Andrews
289ae548d5
2105. [func] GSS-TSIG support (RFC 3645).
2006-12-04 01:54:53 +00:00
Mark Andrews
7c46a643cb
update copyright notice
2006-11-14 01:07:29 +00:00
Michael Graff
20f1bc4434
somehow, new files got committed to mainline, and changes to my branch. Remove them from the mainline for now.
2006-11-13 20:38:06 +00:00
Michael Graff
ea964e3e20
update to mainline's bind9, and make a new branch for it.
2006-11-13 20:07:57 +00:00
Mark Andrews
09b6499ac3
2102. [port] Silence solaris 10 warnings.
2006-11-13 11:55:38 +00:00
Mark Andrews
f0da7dc4bc
2102. [port] Silence solaris 10 warnings.
2006-11-13 05:00:56 +00:00
Mark Andrews
bc192c1183
2102. [port] Silence solaris 10 warnings.
2006-11-10 18:59:39 +00:00
Mark Andrews
1672cc63c1
2102. [port] Silence solaris 10 warnings.
2006-11-09 23:57:58 +00:00
Mark Andrews
6805e4e2c4
2101. [bug] OpenSSL version checks were not quite right.
...
[RT #16476 ]
2006-11-07 21:23:06 +00:00
Mark Andrews
a1210da036
2098. [bug] Race in rbtdb.c:no_references(), which occasionally
...
triggered an INSIST failure about the node lock
reference. [RT #16411 ]
2006-10-26 05:39:49 +00:00
Mark Andrews
a473029e76
2097. [bug] named could reference a destroyed memory context
...
after being reloaded / reconfigured. [RT #16428 ]
2006-10-18 04:18:54 +00:00
Mark Andrews
411118a594
2096. [bug] libbind: handle applications that fail to detect
...
res_init() failures better.
2006-10-16 22:54:38 +00:00
Mark Andrews
b5d4d4d77f
WIN32 not WIN
2006-10-11 03:54:56 +00:00
Mark Andrews
7c0946e74b
2095. [port] libbind: alway prototype inet_cidr_ntop_ipv6() and
...
net_cidr_ntop_ipv6(). [RT #16388 ]
2006-10-11 02:18:18 +00:00
Mark Andrews
0695629678
Windows specific compile time test for:
...
2089. [security] Raise the minimum safe OpenSSL versions to
OpenSSL 0.9.7l and OpenSSL 0.9.8d. Versions
prior to these have known security flaws which
are (potentially) exploitable in named. [RT #16391 ]
2006-10-11 02:15:59 +00:00
Mark Andrews
14a2b06605
Use F5 as large RSA exponent w/ OpenSSL 0.9.8
2006-10-10 02:30:10 +00:00
Mark Andrews
91ddbb6e4f
update copyright notice
2006-10-03 23:50:52 +00:00
Mark Andrews
75720af254
win32
2006-10-02 07:21:53 +00:00
Mark Andrews
bc8711b148
win32
2006-10-02 07:03:05 +00:00
Mark Andrews
5cf0c55948
2090. [port] win32: Visual C++ 2005 command line manifest support.
...
[RT #16417 ]
2006-10-02 02:27:41 +00:00
Mark Andrews
fda0a03881
2089. [security] Raise the minimum safe OpenSSL versions to
...
OpenSSL 0.9.7l and OpenSSL 0.9.8d. Versions
prior to these have known security flaws which
are (potentially) exploitable in named. [RT #16391 ]
2088. [security] Change the default RSA exponent from 3 to 65537.
[RT #16391 ]
2006-10-02 01:44:27 +00:00
Mark Andrews
53d3679913
2087. [port] libisc failed to compile on OS's w/o a vsnprintf.
...
[RT #16382 ]
2006-10-02 01:29:27 +00:00
Mark Andrews
755df9a92a
2086. [port] libbind: FreeBSD now has get*by*_r() functions.
...
[RT #16403 ]
2006-10-02 01:14:36 +00:00
Mark Andrews
f34249bb28
2066. [security] Handle SIG queries gracefully. [RT #16300 ]
2006-08-31 03:56:36 +00:00
Mark Andrews
1195c1452c
update copyright notice
2006-08-30 23:49:58 +00:00
Mark Andrews
7092864f71
2081. [port] libbind: minor 64-bit portability fix in memcluster.c.
...
[RT #16360 ]
2006-08-30 23:34:38 +00:00
Mark Andrews
24ee607afa
2080. [port] libbind: res_init.c did not compile on older versions
...
of Solaris. [RT #16363 ]
2006-08-30 23:14:17 +00:00
Mark Andrews
2113dfd6e2
2079. [bug] The lame cache was not handling multiple types
...
correctly. [RT #16361 ]
2006-08-30 23:09:18 +00:00
Mark Andrews
896e6a0e44
update copyright notice
2006-08-25 05:25:52 +00:00
Mark Andrews
c781727055
2076. [bug] Several files were missing #include <config.h>
...
causing build failures on OSF. [RT #16341 ]
2006-08-24 00:17:54 +00:00
Mark Andrews
22e5a52c3b
2075. [bug] The spillat timer event hander could leak memory.
...
[RT #16357 ]
2006-08-22 06:11:19 +00:00
Mark Andrews
240e57ab98
2074. [bug] dns_request_create2(), dns_request_create3(),
...
dns_request_createraw2() and dns_request_createraw3()
failed to send multiple UDP requests. [RT #16349 ]
2006-08-21 00:35:36 +00:00
Mark Andrews
cdb674387c
2073. [bug] Incorrect semantics check for update policy "wildcard".
...
[RT #16353 ]
2006-08-21 00:11:43 +00:00
Mark Andrews
02ced31b6a
2072. [bug] We were not generating valid HMAC SHA digests.
...
[RT #16320 ]
2006-08-16 03:15:09 +00:00
Mark Andrews
9464f58356
update copyright notice
2006-08-10 23:59:30 +00:00
Mark Andrews
728156dfbd
2071. [port] Test whether gcc accepts -fno-strict-aliasing.
...
[RT #16324 ]
2006-08-10 01:57:41 +00:00
Mark Andrews
d4f5efb4d6
2070. [bug] The remote address was not always displayed when
...
reporting dispatch failures. [RT #16315 ]
2006-08-10 01:38:15 +00:00
Mark Andrews
cfaf65f53f
2068. [cleanup] Lower incremental tuning message to debug 1.
...
[RT #16319 ]
2006-08-08 06:37:12 +00:00
Mark Andrews
f07fe5a1ac
2067. [bug] 'rndc' could close the socket too early triggering
...
a INSIST under Windows. [RT #16317 ]
2006-08-04 02:55:37 +00:00
Mark Andrews
ce8cd4a3ef
2065. [bug] libbind: probe for HPUX prototypes for
...
endprotoent_r() and endservent_r(). [RT 16313]
2006-08-03 01:16:08 +00:00
Mark Andrews
8db2f89e23
spelling
2006-08-01 03:42:56 +00:00
Mark Andrews
8c1fa9afb5
#endif in wrong place
2006-08-01 01:44:13 +00:00
Mark Andrews
393e4679cf
2064. [bug] libbind: silence AIX compiler warnings. [RT #16218 ]
2006-08-01 01:15:03 +00:00
Mark Andrews
854dac0f18
2063. [bug] Change #1955 introduced a bug which caused the first
...
'rndc flush' call to not free memory. [RT #16244 ]
2006-08-01 01:03:27 +00:00
Mark Andrews
a4eea08984
update comment
2006-07-31 02:04:03 +00:00
Mark Andrews
cc7d91bd5c
2061. [bug] Accept expired wildcard message reversed. [RT #16296 ]
2006-07-24 22:41:59 +00:00
Mark Andrews
f22ef4dfb9
2059. [bug] Search into cache rbtdb could trigger an INSIST
...
failure while cleaning up a stale rdataset.
[RT #16292 ]
2006-07-24 01:12:45 +00:00
Mark Andrews
84f5576c14
2058. [bug] Adjust how we calculate rtt estimates in the presence
...
of authoritative servers that drop EDNS and CD
requests. Also fallback to EDNS/512 and plain DNS
faster for zones with less than 3 servers. [RT #16187 ]
2006-07-22 01:18:35 +00:00
Mark Andrews
7ad89b5ecd
update copyright notice
2006-07-21 02:05:58 +00:00
Mark Andrews
be515937fe
2054. [port] freebsd: do not explicitly link against -lpthread.
...
[RT #16170 ]
2006-07-20 05:42:09 +00:00
Mark Andrews
0b5d8941bb
2053. [port] netbsd:libbind: silence compiler warnings. [RT #16220 ]
2006-07-20 03:55:45 +00:00
Mark Andrews
cbef026164
2050. [bug] Parsing of NSAP records was not case insensitive.
...
[RT #16287 ]
2006-07-20 03:21:10 +00:00
Mark Andrews
cd7812e4b1
update copyright notice
2006-07-20 01:10:31 +00:00
Mark Andrews
799a39bc80
of -> or
2006-07-19 01:04:08 +00:00
Mark Andrews
2db8db6399
2049. [bug] Restore SOA before AXFR when falling back from
...
a attempted IXFR when transfering in a zone.
Allow a initial SOA query before attempting
a AXFR to be requested. [RT #16156 ]
2006-07-19 00:53:42 +00:00
Mark Andrews
7076f000ea
2048. [bug] It was possible to loop forever when using
...
avoid-v4-udp-ports / avoid-v6-udp-ports when
the OS always returned the same local port.
[RT #16182 ]
2006-07-19 00:42:13 +00:00
Mark Andrews
ce9cfc26a1
log message typo and %d -> %u
2006-07-19 00:24:17 +00:00
Tatuya JINMEI 神明達哉
c6ee5082db
2046. [bug] rbtdb.c:rdataset_setadditional() could cause duplicate
...
cleanup.
2006-07-06 06:36:51 +00:00
Tatuya JINMEI 神明達哉
3d5430b75a
warning fix in a call to isc_atomic_store() [RT#16219]
2006-07-06 06:30:00 +00:00
Mark Andrews
71c66a876e
regen
2006-06-29 13:03:32 +00:00
Tatuya JINMEI 神明達哉
9a6522317c
2045. [func] use lock buckets for acache entries to limit memory
...
consumption. [RT #16183 ]
2006-06-28 08:28:49 +00:00
Mark Andrews
ef718fa0d9
update copyright notice
2006-06-24 00:25:40 +00:00
Mark Andrews
78ff0e94ea
2044. [port] add support for atomic operations for Itanium.
...
[RT #16179 ]
2006-06-21 03:40:34 +00:00
Mark Andrews
5b2c253a96
move .NOTPARALLEL:/.NO_PARALLEL: so not first target
2006-06-21 03:30:37 +00:00
Mark Andrews
ea5775a7fd
silence: large integer implicitly truncated to unsigned type
2006-06-21 01:21:59 +00:00
Mark Andrews
1ad94515ee
silence: aix 5.3 missing braces warnings
2006-06-20 06:56:43 +00:00
Mark Andrews
b985899251
silence: value computed is not used
2006-06-20 02:50:14 +00:00
Mark Andrews
b6f900cd8d
ISC_LOG_INFO -> ISC_LOG_DEBUG(1)
2006-06-13 04:49:18 +00:00
Mark Andrews
d79296d147
2040. [bug] rbtdb no_references() could trigger an INSIST
...
failure with --enable-atomic. [RT #16022 ]
2006-06-07 03:38:04 +00:00
Mark Andrews
03f65be27b
update copyright notice
2006-06-07 00:29:46 +00:00
Mark Andrews
9a482d1fce
2039. [func] Check that all buffers passed to the socket code
...
have been retrieve when the socket event is freed.
[RT #16122 ]
2038. [bug] dig/nslookup/host was unlinking from wrong list
when handling errors. [RT #16122 ]
2006-06-06 00:53:36 +00:00
Mark Andrews
472460e05f
update copyright notice
2006-06-06 00:11:42 +00:00
Mark Andrews
d48f987725
2037. [func] When unlinking the first or last element in a list
...
check that the list head points to the element to
be unlinked. [RT #15959 ]
2006-06-05 00:38:56 +00:00
Mark Andrews
a45a6ea2b0
2035. [func] Make falling back to TCP on UDP refresh failure
...
optional. Default "try-tcp-refresh yes;" for BIND 8
compatibility. [RT #16123 ]
2006-06-04 23:17:07 +00:00
Mark Andrews
15bda40901
2034. [bug] gcc: set -fno-strict-aliasing. [RT #16124 ]
2006-06-02 03:36:23 +00:00
Mark Andrews
cd18f34923
checkpoint
2006-05-30 04:18:36 +00:00
Mark Andrews
37e75a624c
update copyright notice
2006-05-23 23:51:07 +00:00
Mark Andrews
12b1bf8b14
2030. [bug] We were being overly conservative when disabling
...
openssl engine support. [RT #16030 ]
2006-05-23 04:49:19 +00:00
Mark Andrews
529035492e
2026. [port] linux: socket.c compatability for old systems.
...
[RT #16015 ]
2006-05-19 02:47:18 +00:00
Mark Andrews
11e43ff752
2027. [port] libbind: solaris x68 suport. [RT #16020 ]
2006-05-19 02:33:40 +00:00
Mark Andrews
cd6d8d61b0
2025. [func] Update "zone serial unchanged" message. [RT #16026 ]
2006-05-18 02:35:26 +00:00
Mark Andrews
f04809663f
2024. [bug] named emited spurious "zone serial unchanged"
...
messages on reload. [RT #16027 ]
2006-05-18 02:03:37 +00:00
Mark Andrews
21b76ee598
2022. [bug] If dnssec validation is disabled only assert CD if
...
CD was requested. [RT #16037 ]
2021. [bug] dnssec-enable no; triggered a REQUIRE. [RT #16037 ]
2006-05-18 00:51:02 +00:00
Mark Andrews
5c45d30402
2020. [bug] rdataset_setadditional() could leak memory. [RT #16034 ]
2006-05-16 04:06:55 +00:00
Mark Andrews
9900a6d0f8
fix comment
2006-05-16 04:00:01 +00:00
Mark Andrews
b66ca17f29
2019. [tuning] Reduce the amount of work performed per quantum
...
when cleaning the cache. [RT #15986 ]
2006-05-16 03:54:35 +00:00
Mark Andrews
dc1f18f211
2018. [bug] Checking if the HMAC MD5 private file was broken.
...
[RT #15960 ]
2006-05-16 03:44:54 +00:00
Mark Andrews
481d821ad0
comment: cleanng -> cleaning
2006-05-04 02:24:06 +00:00
Mark Andrews
6412902ffc
2015. [cleanup] use-additional-cache is now acache-enable for
...
consistancy. Default acache-enable off in BIND 9.4
as it requires memory usage to be configured.
It may be enabled by default in BIND 9.5 once we
have more experience with it.
2006-05-03 01:54:54 +00:00
Mark Andrews
5f7ca73d88
update copyright notice
2006-05-03 00:07:50 +00:00
Shane Kerr
0d8971a4b8
Stats for acache.
2006-05-02 13:04:54 +00:00
Mark Andrews
a8f950ff05
2013. [bug] Handle unexpected TSIGs on unsigned AXFR/IXFR
...
responses more gracefully. [RT #15941 ]
2006-05-02 04:07:36 +00:00
Mark Andrews
696d061d14
update copyright notice
2006-04-27 09:36:46 +00:00
Shane Kerr
1e844d04a7
Pulling rt15970 into HEAD.
2006-04-26 12:12:45 +00:00
Shane Kerr
602784c4ce
Pulling rt15958 into HEAD.
2006-04-26 12:03:08 +00:00
Mark Andrews
52ece689e0
regen
2006-04-23 10:14:12 +00:00
Mark Andrews
4b3f3cc671
update copyright notice
2006-04-15 01:30:16 +00:00
Michael Graff
80a63e1574
Documentation changes; no functional changes. Some variables were renamed from 'i' to 'index' in heap.h so documentation can be nicer.
2006-04-10 16:28:04 +00:00
Mark Andrews
069a2ad007
update copyright notice
2006-04-03 00:00:42 +00:00
Michael Graff
8c9c09dacf
add <string.h> since we call strlen() here
2006-03-21 15:34:02 +00:00
Mark Andrews
adc8179d40
const
2006-03-10 05:00:23 +00:00
Mark Andrews
ecffc3aae3
win32
2006-03-10 03:49:57 +00:00
Mark Andrews
84910d09ee
2009. [bug] libbind: coverity fixes. [RT #15808 ]
2006-03-09 23:57:56 +00:00
Mark Andrews
d2ef84e07b
2008. [func] It is now posssible to enable/disable DNSSEC
...
validation from rndc. This is useful for the
mobile hosts where the current connection point
breaks DNSSEC (firewall/proxy). [RT #15592 ]
rndc validation newstate [view]
2006-03-09 23:39:00 +00:00
Mark Andrews
cfe92110ce
2007. [func] It is now possible to explicitly enable DNSSEC
...
validation. default dnssec-validation no; to
be changed to yes in 9.5.0. [RT #15674 ]
2006-03-09 23:21:54 +00:00
Mark Andrews
5929cde251
2005. [bug] libbind: Retransmission timeouts should be
...
based on which attempt it is to the nameserver
and not the nameserver itself. [RT #13548 ]
2006-03-08 04:06:12 +00:00
Mark Andrews
1412643ba5
2004. [bug] dns_tsig_sign() could pass a NULL pointer to
...
dst_context_destroy() when cleaning up after a
error. [RT #15835 ]
2006-03-08 03:51:01 +00:00
Mark Andrews
6de9371826
2003. [bug] libbind: The DNS name/address lookup functions could
...
occasionally follow a random pointer due to
structures not being completely zeroed. [RT #15806 ]
2006-03-08 03:12:24 +00:00
Mark Andrews
366c60aa36
tidy up
2006-03-07 04:58:51 +00:00
Mark Andrews
e1fd585739
update copyright notice
2006-03-07 00:34:55 +00:00
Mark Andrews
daba3af103
2002 [bug] libbind: tighten the constraints on when
...
struct addrinfo._ai_pad exists. [RT #15783 ]
2006-03-06 02:22:36 +00:00
Mark Andrews
59d84d1b07
2001. [func] Check the KSK flag when updating a secure dynamic zone.
...
New zone option "update-check-ksk yes;". [RT #15817 ]
2006-03-06 01:27:52 +00:00
Mark Andrews
ea8874ec35
update copyright notice
2006-03-05 23:58:52 +00:00
Mark Andrews
10b03beca1
(char *) -> (unsigned char *)
2006-03-03 04:46:14 +00:00
Mark Andrews
1c25cad9bd
add -Wpointer-arith to gcc
2006-03-03 03:29:40 +00:00
Mark Andrews
92eb0a6068
use (char *) for pointer arithmetic
2006-03-03 03:02:55 +00:00
Mark Andrews
d76ed813a5
1999. [func] Implement "rrset-order fixed". [RT #13662 ]
2006-03-03 00:43:35 +00:00
Mark Andrews
b6d199bd6a
1998. [bug] Restrict handling of fifos as sockets to just SunOS.
...
This allows named to connect to entropy gathering
daemons that use fifos instead of sockets. [RT #15840 ]
2006-03-02 23:25:05 +00:00
Mark Andrews
1d7b3b6dac
1997. [bug] Named was failing to replace negative cache entries
...
when a positive one for the type was learnt.
[RT #15818 ]
2006-03-02 23:00:32 +00:00
Mark Andrews
f27eae9cfe
1996. [bug] nsupdate: if a zone has been specified it should
...
appear in the output of 'show'. [RT #15797 ]
2006-03-02 01:57:20 +00:00
Mark Andrews
641f68d427
update copyright notice
2006-03-02 00:37:23 +00:00
Mark Andrews
25c18fded0
1994. [port] OpenSSL 0.9.8 support. [RT #15694 ]
2006-03-01 02:32:46 +00:00
Mark Andrews
7042126e8a
1993. [bug] Log messsage, via syslog, were missing the space
...
after the timestamp if "print-time yes" was specified.
[RT #15844 ]
2006-03-01 02:20:41 +00:00
Mark Andrews
2c4ae1d331
1992. [bug] Not all incoming zone tranfer messages included the
...
view. [RT #15825 ]
2006-03-01 02:05:11 +00:00
Mark Andrews
45e1bd6358
1991. [cleanup] The configuration data, once read, should be treated
...
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813 ]
2006-02-28 02:39:52 +00:00
Mark Andrews
c4008fdd56
1990. [bug] libbind: isc's override of broken gettimeofday()
...
implementions was not always effective.
[RT #15709 ]
2006-02-27 23:55:15 +00:00
Mark Andrews
95b484c958
fix minor typos
2006-02-26 22:57:18 +00:00
Mark Andrews
69f56d4ef2
remove redundant memset
2006-02-26 22:28:22 +00:00
Mark Andrews
472ce617b7
1988. [bug] Remove a bus error from the SHA256/SHA512 support.
...
[RT #15878 ]
2006-02-24 00:03:15 +00:00
Mark Andrews
3432cd6979
update copyright notice
2006-02-22 23:50:10 +00:00
Mark Andrews
fcbc5d2353
post merge problem
2006-02-22 01:55:10 +00:00
Mark Andrews
c5387e6942
1987. [func] DS/DLV SHA256 digest algorithm support. [RT #15608 ]
2006-02-21 23:49:51 +00:00
Mark Andrews
d00e58d481
1986. [func] Report when a zone is removed. [RT #15849 ]
2006-02-21 23:12:27 +00:00
Mark Andrews
0cfc2b930c
update copyright notice
2006-02-19 06:50:48 +00:00
Mark Andrews
f3a8cd3835
1985. [protocol] DLV has now been assigned a official type code of
...
32769. [RT #15807 ]
2006-02-17 01:04:14 +00:00
Mark Andrews
7d4a465de0
1597. [func] Allow notify-source and query-source to be specified
...
on a per server basis similar to transfer-source.
2006-02-17 00:24:21 +00:00
Mark Andrews
fd3cdd15de
update copyright notice
2006-02-16 23:51:33 +00:00
Mark Andrews
6e373c5025
1983. [func] Two new update policies. "selfsub" and "selfwild".
...
[RT #12895 ]
2006-02-16 01:34:24 +00:00
Mark Andrews
3bf783a6d4
1982. [bug] DNSKEY was being accepted on the parent side of
...
a delegation. KEY is still accepted there for
RFC 3007 validated updates. [RT #15620 ]
2006-02-16 00:59:38 +00:00
Mark Andrews
2043039104
update copyright notice
2006-02-13 23:50:54 +00:00
Mark Andrews
a37e44f107
1981. [bug] win32: condition.c:wait() could fail to reattain
...
the mutex lock.
2006-02-13 03:35:47 +00:00
Mark Andrews
e0fe05b5ae
update copyright notice
2006-02-03 23:51:39 +00:00
Mark Andrews
43501e6570
1978. [port] Handle systems which have a broken recvmsg().
...
[RT #15742 ]
2006-02-02 23:07:53 +00:00
Mark Andrews
d140ae2834
1976. [bug] Handle systems with no IPv4 addresses. [RT #15695 ]
2006-02-02 22:32:27 +00:00
Mark Andrews
b32bf402e0
comment typo
2006-02-01 22:38:56 +00:00
Mark Andrews
e256ce5f47
update copyright notice
2006-02-01 00:10:35 +00:00
Mark Andrews
bc4f5d111a
silence compiler warnings
2006-01-31 23:01:23 +00:00
Mark Andrews
aa520ab1cb
silence compiler warning
2006-01-31 01:58:12 +00:00
Mark Andrews
d3bcf7adca
1975. [bug] libbind: isc_gethexstring() could misparse multi-line
...
hex strings with comments. [RT #15814 ]
2006-01-31 00:54:46 +00:00
Mark Andrews
fc7685a7f1
silence compiler warnings
2006-01-31 00:35:21 +00:00
Mark Andrews
68e0fce2df
set BYTE_ORDER from WORDS_BIGENDIAN if not otherwise defined
2006-01-31 00:10:57 +00:00
Mark Andrews
605b07cadd
regen
2006-01-29 22:57:16 +00:00
Mark Andrews
26e2a07a0b
update copyright notice
2006-01-27 23:57:46 +00:00
Mark Andrews
c6d4f78152
1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
...
HMACSHA512 support. [RT #13606 ]
2006-01-27 02:35:15 +00:00
Mark Andrews
d0207ee71b
1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998 ]
...
Fix the CLEANER_IDLE macro to make this change complete. [RT #15815 ]
2006-01-26 22:56:04 +00:00
Mark Andrews
9d34316481
update copyright notice
2006-01-10 23:50:42 +00:00
Mark Andrews
3fc7753efd
1971. [port] linux: make detection of missing IF_NAMESIZE more
...
robust. [RT #15443 ]
2006-01-10 05:06:00 +00:00
Mark Andrews
4cf50d58d6
style
2006-01-10 02:59:56 +00:00
Mark Andrews
141132c272
update copyright notice
2006-01-07 00:23:35 +00:00
Mark Andrews
00b872e4f7
4255: Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints
2006-01-06 23:16:00 +00:00
Mark Andrews
e88d4e2ebd
1969. [bug] win32: the socket code was freeing the socket
...
structure too early. [RT #15776 ]
2006-01-06 01:32:08 +00:00
Mark Andrews
fde1a334ee
1968. [bug] Missing lock in resolver.c:validated(). [RT #15739 ]
2006-01-06 01:05:46 +00:00
Mark Andrews
14c80ce1b2
1966. [bug] Don't set CD when we have fallen back to plain DNS.
...
[RT #15727 ]
2006-01-06 00:38:21 +00:00
Mark Andrews
1b06367c34
update copyright notice
2006-01-06 00:01:44 +00:00
Mark Andrews
dc6da18ccb
1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723 ]
2006-01-05 23:45:34 +00:00
Mark Andrews
94b58e01ae
1963. [port] Tru64 4.0E doesn't support send() and recv().
...
[RT #15586 ]
2006-01-05 03:42:53 +00:00
Mark Andrews
a295fbb55c
1961. [bug] Check the port and address of responses forwarded
...
to dispatch. [RT #15474 ]
2006-01-05 03:26:01 +00:00
Mark Andrews
a1bc941093
1959. [func] Control the zeroing of the negative response TTL to
...
a soa query. Defaults "zero-no-soa-ttl yes;" and
"zero-no-soa-ttl-cache no;". [RT #15460 ]
2006-01-05 02:19:02 +00:00
Mark Andrews
d9c4f954a1
1958. [bug] Named failed to update the zone's secure state
...
until the zone was reloaded. [RT #15412 ]
2006-01-05 01:09:14 +00:00
Mark Andrews
6657a9e2d8
1957. [bug] Dig mishandled responses to class ANY queries.
...
[RT #15402 ]
2006-01-05 00:58:22 +00:00
Mark Andrews
118394ef2e
1956. [bug] Improve cross compile support, 'gen' is now built
...
by native compiler. See README for additional
cross compile support information. [RT #15148 ]
2006-01-05 00:30:34 +00:00
Mark Andrews
6178552326
1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998 ]
2006-01-05 00:13:58 +00:00
Mark Andrews
08c9026166
1953. [func] Named now falls back to advertising EDNS with a
...
512 byte receive buffer if the initial EDNS queries
fail. [RT #14852 ]
1952. [func] The maximum EDNS UDP response named will send can
now be set in named.conf (max-udp-size). This is
independent of the advertised receive buffer
(edns-udp-size). [RT #14852 ]
2006-01-05 00:01:46 +00:00
Mark Andrews
acb4f52369
update copyright notice
2006-01-04 23:50:24 +00:00
Mark Andrews
2b66a51a7d
1950. [port] Solaris 2.5.1 and earlier cannot bind() then connect()
...
a TCP socket. This prevents the source address being
set for TCP connections. [RT #15628 ]
2006-01-04 04:15:55 +00:00
Mark Andrews
e9733bc599
1949. [func] Addition memory leakage checks. [RT #15544 ]
2006-01-04 03:16:47 +00:00
Mark Andrews
332ed11af0
1948. [bug] If was possible to trigger a REQUIRE failure in
...
xfrin.c:maybe_free() if named ran out of memory.
[RT #15568 ]
2006-01-04 03:03:11 +00:00
Mark Andrews
fabf2ee6b0
1947. [func] It is now possible to configure named to accept
...
expired RRSIGs. Default "dnssec-accept-expired no;".
Setting "dnssec-accept-expired yes;" leaves named
vulnerable to replay attacks. [RT #14685 ]
2006-01-04 02:35:49 +00:00
Mark Andrews
35da39a7f1
update copyright notice
2006-01-04 00:37:24 +00:00
Mark Andrews
1c91b0a651
1946. [bug] resume_dslookup() could trigger a REQUIRE failure
...
when using forwarders. [RT #15549 ]
2006-01-03 07:12:52 +00:00
Mark Andrews
be2c2c29a8
1944. [cleanup] isc_hash_create() does not need a read/write lock.
...
[RT #15522 ]
2006-01-03 05:51:15 +00:00
Mark Andrews
503ab4e136
1943. [bug] Set the loadtime after rollimg forward the journal.
...
[RT #15647 ]
2006-01-03 05:26:29 +00:00
Michael Graff
fd8302422b
Fix a socket leak I created.
2005-12-07 04:21:27 +00:00
Michael Graff
03aa32f0ab
Remove some code that may make tests fail, although it's unlikely...
2005-12-07 03:55:06 +00:00
Michael Graff
36ca9f636b
Don't close the file descriptor for fdwatch socket shutdowns. Let the application do this, since it is passed in, and it may have other uses or shutdown to do on it first.
2005-12-06 18:11:54 +00:00
Michael Graff
e6c3041c28
add file descriptor watching functions, Unix only.
2005-12-06 16:54:49 +00:00
Mark Andrews
49521b6926
win32
2005-12-06 02:23:58 +00:00
Mark Andrews
cf224bbf7b
1942. [bug] If the name of a DNSKEY match that of one in
...
trusted-keys do not attempt to validate the DNSKEY
using the parents DS RRset. [RT #15649 ]
2005-12-04 23:54:01 +00:00
Mark Andrews
00afe78ab2
1941. [bug] ncache_adderesult() should set eresult even if no
...
rdataset is passed to it. [RT #15642 ]
2005-11-30 22:51:58 +00:00
Mark Andrews
470c726bc8
silence dereferencing type-punned pointer will break strict-aliasing rules warning
2005-11-30 05:01:34 +00:00
Mark Andrews
2674e1a455
1940. [bug] Fixed a number of error conditions reported by
...
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
c481327e75
silence compiler warnings [RT #15562 ]
2005-11-03 22:59:53 +00:00
Mark Andrews
60ab03125c
1939. [bug] The resolver could dereference a null pointer after
...
validation if all the queries have timed out.
[RT #15528 ]
1938. [bug] The validator was not correctly handling unsecure
negative responses at or below a SEP. [RT #15528 ]
2005-11-03 00:51:55 +00:00
Mark Andrews
580e9fc24a
pullup bind8:
...
1721. [bug] Change #1718 was incomplete. Missing error return
on out of memory.
2005-11-03 00:01:52 +00:00
Mark Andrews
405ae948cc
1937. [bug] sdlz doesn't handle RRSIG records. [RT #15564 ]
2005-11-02 23:22:34 +00:00
Mark Andrews
7d116211ec
1936. [bug] The validator could leak memory. [RT #5544 ]
2005-11-02 01:46:31 +00:00
Mark Andrews
625d1dd4f4
fix isc_timer_gettype return type
2005-10-26 06:46:36 +00:00
Mark Andrews
1425217e5c
spelling arguement vs arguments
2005-10-26 04:35:56 +00:00
Mark Andrews
203629e729
1932. [bug] dump_rdataset_raw() had a incorrect INSIST. [RT #15534 ]
2005-10-21 03:13:59 +00:00
Mark Andrews
b3d1e3a945
silence compiler warning
2005-10-17 03:47:10 +00:00
Mark Andrews
b4a116fc55
win32
2005-10-17 01:25:05 +00:00
Mark Andrews
1d9b058a64
silence compiler
2005-10-14 05:44:26 +00:00
Mark Andrews
01cb276b7e
silence compiler
2005-10-14 05:27:12 +00:00
Mark Andrews
645ef8ba31
update copyright notice
2005-10-14 02:14:29 +00:00
Mark Andrews
216030f284
1930. [port] HPUX: ia64 support. [RT #15473 ]
...
1929. [port] FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:18:47 +00:00
Mark Andrews
16ee4fe11b
1930. [port] HPUX: ia64 support. [RT #15473 ]
...
1929. [port] FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:14:08 +00:00
Mark Andrews
cedb0bd0c1
regen
2005-10-13 03:14:05 +00:00
Mark Andrews
982e072a50
1927. [bug] Access to soanode or nsnode in rbtdb violated the
...
lock order rule and could cause a dead lock.
[RT# 15518]
2005-10-13 01:58:32 +00:00
Mark Andrews
037b732f88
update
...
1920. [bug] The cache rbtdb lock array was too small to
have the desired performance characteristics.
[RT #15454 ]
2005-10-13 01:19:15 +00:00
Mark Andrews
a5b66bf342
1928. [bug] Race in rbtdb.c:currentversion(). [RT #15517 ]
2005-10-13 01:04:16 +00:00
Mark Andrews
9547d3e03b
1926. [bug] The Windows installer did not check for empty
...
passwords. [RT #15483 ]
2005-10-11 22:54:45 +00:00
Mark Andrews
135b04186d
regen
2005-10-11 00:18:04 +00:00
Mark Andrews
7c61d798f5
1924. [port] libbind: hpux ia64 support. [RT #15473 ]
2005-10-11 00:10:16 +00:00
Mark Andrews
16e4542fd4
DEFAULT_CACHE_NODE_LOCK_COUNT=7
2005-09-28 22:55:24 +00:00
Mark Andrews
80a609bf44
1919. [bug] The cache memory context array was too small to
...
have the desired performance characteristics.
[RT #15454 ]
stop.pl Increase amount of time allowed for named to stop before aborting the
server.
2005-09-28 04:36:06 +00:00
Mark Andrews
3a8be17fbf
win32
2005-09-20 06:16:29 +00:00
Mark Andrews
4c1817c29c
damp interations adjustments [RT#15404
2005-09-20 04:22:46 +00:00
Mark Andrews
ed6ca94ad7
finetune isc_thread_key implementation [RT #15408 ]
2005-09-18 07:16:24 +00:00
Mark Andrews
79d2e0b253
isc_mem_put not isc_mem_putanddetach
2005-09-18 07:04:41 +00:00
Mark Andrews
5bb39eeafa
regen
2005-09-15 23:02:38 +00:00
Mark Andrews
47c2e9924e
win32 fixes
2005-09-12 02:16:36 +00:00
Mark Andrews
85708f9aab
1918. [bug] Memory leak when checking acls. [RT #15391 ]
2005-09-12 02:04:41 +00:00
Mark Andrews
f60d5d8f5d
regen
2005-09-12 01:13:28 +00:00
Mark Andrews
72bdbe3c70
silence compiler warnings
2005-09-10 01:02:08 +00:00
Mark Andrews
030aafe411
make sure key is created if needed on both paths
2005-09-10 00:31:25 +00:00
Mark Andrews
8d10c10ec9
update copyright notice
2005-09-09 14:11:38 +00:00
Mark Andrews
345cd7d777
win32: minimal isc_key_*() implementation
2005-09-09 12:26:19 +00:00
Mark Andrews
6cf369f528
1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383 ]
2005-09-09 06:17:03 +00:00
Mark Andrews
475c811bfd
pullup:
...
res_init()/res_ninit() could leak memory when re-called.
2005-09-09 00:33:22 +00:00
Mark Andrews
6f780e4d31
update copyright notice
2005-09-06 07:29:31 +00:00
Mark Andrews
0da29be670
1914. [protocol] DS is required to accept mnemonic algorithms
...
(RFC 4034). Still emit numeric algorithms for
compatability with RFC 3658. [RT #15354 ]
2005-09-06 06:50:52 +00:00
Mark Andrews
675d696977
update copyright notice
2005-09-06 03:51:37 +00:00
Mark Andrews
676619a22f
win32 fixes
2005-09-05 02:54:38 +00:00
Mark Andrews
03e200df5d
1913. [func] Integrate contibuted DLZ code into named. [RT #11382 ]
2005-09-05 00:12:29 +00:00
Mark Andrews
78f70e0b75
silence compiler warnings
2005-09-03 12:43:38 +00:00
Mark Andrews
da16a6b635
Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966 ]
2005-09-02 04:01:36 +00:00
Mark Andrews
6672b3524c
1921. [port] aix: atomic locking for powerpc. [RT #15020 ]
2005-09-01 03:36:18 +00:00
Mark Andrews
74f261bd2b
1920. [bug] Update windows socket code. [RT #14965 ]
2005-09-01 02:25:06 +00:00
Mark Andrews
40f9786889
silence compiler warning
2005-08-25 04:41:46 +00:00
Mark Andrews
fd894f8cb4
silence compiler warnings
2005-08-25 03:26:54 +00:00
Mark Andrews
5be3685b0e
1919. [bug] dig's +sigchase code overhauled. [RT #14933 ]
...
1918. [bug] The DLV code has been re-worked to make no longer
query order sensitive. [RT #14933 ]
2005-08-25 00:56:08 +00:00
Mark Andrews
2c15fcdeac
seperate out sibling glue checks
2005-08-24 23:54:04 +00:00
Mark Andrews
f255d0ebd8
silence compiler warning
2005-08-23 04:47:45 +00:00
Mark Andrews
4ba6b6a7ef
silence compiler warnings
2005-08-23 04:05:50 +00:00
Mark Andrews
4e1d3e67cd
1914. [bug] Strings returned from cfg_obj_asstring() should be
...
treated as read-only. The prototype for
cfg_obj_asstring() has been updated to reflect this.
[RT #15256 ]
2005-08-23 02:36:11 +00:00
Mark Andrews
d3195a7f45
MEMUNLOCK called too early
2005-08-22 01:33:03 +00:00
Mark Andrews
6b79e960e6
1913. [func] Automatic empty zone creation for D.F.IP6.ARPA and
...
friends. Note: RFC 1918 zones are not yet covered by
this but are likely to be in a future release.
New options: empty-server, empty-contact,
empty-zones-enable and disable-empty-zone.
2005-08-18 00:57:31 +00:00
Mark Andrews
55e1e27601
silence compiler warning
2005-08-15 02:00:01 +00:00
Mark Andrews
261a6a1f7d
1911. [func] Attempt to make the amount of work performed in a
...
iteration self tuning. The covers nodes clean from
the cache per iteration, nodes written to disk when
rewriting a master file and nodes destroyed per
iteration when destroying a zone or a cache.
[RT #14996 ]
2005-08-15 01:21:07 +00:00
Mark Andrews
0831e2f4bd
silence compiler warning
2005-08-12 01:32:01 +00:00
Mark Andrews
c9b4dafc92
soft is an int
2005-08-11 15:03:20 +00:00
Mark Andrews
ce1a6389b7
HAVE_STROPTS_H
2005-08-11 07:58:52 +00:00
Mark Andrews
8b242867f6
HAVE_STROPTS_H
2005-08-11 07:49:27 +00:00
Mark Andrews
31eaad2ccc
SOLARIS2
2005-08-11 07:37:36 +00:00
Mark Andrews
a20e888bde
1909. [bug] ixfr-from-differences failed to ensure that the
...
serial number increased. [RT #15036 ]
2005-07-29 00:32:53 +00:00
Mark Andrews
59860521fc
update copyreight notice
2005-07-29 00:12:41 +00:00
Mark Andrews
41e16c59aa
sync w/ bind8
2005-07-28 06:54:10 +00:00
Mark Andrews
f4f0eedb89
1908. [func] named-checkconf now validates update-policy entries.
...
[RT #14963 ]
2005-07-28 05:42:20 +00:00
Mark Andrews
611ec5dd43
1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
...
ISC_NETADDR_FORMATSIZE to allow for scope details.
2005-07-28 04:54:17 +00:00
Mark Andrews
01b8bc018d
1906. [func] x86 and x86_64 now have seperate atomic locking
...
implementations.
2005-07-27 04:22:59 +00:00
Mark Andrews
8abe06b25d
1905. [bug] Recursive clients soft quota support wasn't working
...
as expected. [RT #15103 ]
2005-07-27 02:29:01 +00:00
Mark Andrews
9ada5ea35f
ref not rep
2005-07-25 00:52:12 +00:00
Mark Andrews
c2b217ea11
failed to increment sp on last change.
2005-07-22 05:31:01 +00:00
Mark Andrews
7755f5932a
1904. [bug] A escaped character is, potentially, converted to
...
the output character set too early. [RT #14666 ]
2005-07-20 01:46:49 +00:00
Mark Andrews
5a4557e8de
gregen
2005-07-19 06:12:24 +00:00
Mark Andrews
54a5ca24e1
uintptr_t is in <inttypes.h> on some platforms
2005-07-19 05:57:12 +00:00
Mark Andrews
b0ceeb82e5
update copyright notice
2005-07-18 23:59:36 +00:00
Mark Andrews
fb827ed6df
9.4/HEAD sync
2005-07-18 06:03:01 +00:00
Mark Andrews
0c93194031
1902. [port] Use uintptr_t if available. [RT #14606 ]
2005-07-18 05:21:35 +00:00
Mark Andrews
6e9efadbea
1902. [port] Use uintptr_t if available. [RT #14606 ]
2005-07-18 05:07:17 +00:00
Mark Andrews
02004b6ff1
regen
2005-07-18 02:57:54 +00:00
Mark Andrews
e39d36b115
update copyright notice
2005-07-16 00:40:43 +00:00
Mark Andrews
aa0f0779d1
1901. [func] Support for SPF rdata type. [RT #15033 ]
2005-07-14 06:46:44 +00:00
Mark Andrews
43e68674d4
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
of memory. [RT #14995 ]
2005-07-12 01:14:31 +00:00
Mark Andrews
18d0b5e54b
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
of memory. [RT #14995 ]
2005-07-12 01:00:20 +00:00
Mark Andrews
0563d476de
1899. [func] Raise the UDP recieve buffer size to 32k if it is
...
less than 32k. [RT #14953 ]
2005-07-12 00:41:55 +00:00
Mark Andrews
2e3203a08c
remove extraneous * after specific solaris version in case statements
2005-07-11 03:18:34 +00:00
Tatuya JINMEI 神明達哉
d3882e1177
added atomic ops for mips
...
(implemented by Evan, reviewed by jinmei)
2005-07-09 07:08:30 +00:00
Tatuya JINMEI 神明達哉
7db10fef08
typo in a comment line
2005-07-09 06:43:57 +00:00
Mark Andrews
577ca14719
1898. [port] sunos: non blocking i/o support. [RT #14951 ]
2005-07-08 04:36:32 +00:00
Mark Andrews
b2f160f266
1898. [port] sunos: non blocking i/o support. [RT #14951 ]
2005-07-08 04:30:22 +00:00
Mark Andrews
0bb7c66ef8
1897. [func] Support for IPSECKEY rdata type. [RT #14967 ]
2005-07-07 03:12:57 +00:00
Mark Andrews
3a21093e62
we need to subtract not add RBTDB_VIRTUAL
2005-07-07 02:51:52 +00:00
Mark Andrews
2b3e34f036
1896. [bug] The cache could delete expired records too fast for
...
clients with a virtual time in the past. [RT #14991 ]
2005-07-07 00:51:05 +00:00
Tatuya JINMEI 神明達哉
2dea622a0c
atomic operation support for powerpc
...
(implemented by Evan, reviewed and committed by jinmei)
2005-07-05 00:44:24 +00:00
Mark Andrews
7216566bd5
1895. [bug] fctx_create() could return success even though it
...
failed. [RT #14993 ]
2005-07-04 22:52:34 +00:00
Mark Andrews
0f9c3991c6
some extra locks need for change #1813
2005-07-04 03:50:32 +00:00
Mark Andrews
e174044290
1817. [func] Add support for additional zone file formats for
...
improving loading performance. The masterfile-format
option in named.conf can be used to specify a
non-default format. A separate command
named-compilezone was provided to generate zone files
in the new format. Additionally, the -I and -O options
for dnssec-signzone specify the input and output
formats.
2005-06-28 02:55:09 +00:00
Mark Andrews
fd780f3d47
1891. [func] Limit the number of recursive clients that can be
...
waiting for a single query (<qname,qtype,qclass>) to
resolve. New options clients-per-query and
max-clients-per-query.
2005-06-27 00:15:45 +00:00
Mark Andrews
8087418873
handle isc_mem_create() failure gracefully
2005-06-23 06:12:56 +00:00
Mark Andrews
bcf369e513
1889. [func] The lame cache is now done on a <qname,qclass,qtype>
...
basis as some servers only appear to be lame for
certain query types. [RT #14916 ]
2005-06-23 04:22:02 +00:00
Mark Andrews
a903095bf4
1817. [func] add support for additional zone file formats for
...
improving loading performance. The masterfile-format
option in named.conf can be used to specify a
non-default format. A new separate command
named-compilezone was provided to generate zone files
in a new format.
2005-06-20 01:05:33 +00:00
Mark Andrews
49a83dbc7e
enable format checking
2005-06-19 22:57:59 +00:00
Mark Andrews
396819cd65
style
2005-06-19 22:56:03 +00:00
Mark Andrews
6820d6f323
CONF_modules_unload(), ENGINE_cleanup() and CRYPTO_cleanup_all_ex_data() are
...
not available in 0x0090607fL
2005-06-18 00:48:53 +00:00
Mark Andrews
bafbaadc0c
silence implicit function declaration warning
2005-06-17 03:55:51 +00:00
Mark Andrews
016c0a82f1
1888. [func] "USE INTERNAL MALLOC" is now runtime selectable.
...
[RT #14892 ]
2005-06-17 02:22:45 +00:00
Mark Andrews
9b80f3a7c7
1887. [func] Detect duplicates of UDP queries we are recursing on
...
and drop them. New stats category "duplicates".
[RT #14892 ]
2005-06-17 01:58:23 +00:00
Mark Andrews
83a56f1e4f
1886. [bug] Fix unreasonably low quantum on call to
...
dns_rbt_destroy2(). Remove unnecessay unhash_node()
call. [RT #14919 ]
2005-06-17 01:00:08 +00:00
Tatuya JINMEI 神明達哉
c528bd6986
provided __asm version of assembly code for atomic atomic operations
...
for better compatibility.
(this is a temporary resolution so that this one won't block other tests.
we'll revisit this change when we figure out performance implication of
the __asm version.)
2005-06-16 21:58:00 +00:00
Mark Andrews
d3b3cfdf0d
#1864 had a size(foo) instead of sizeof(*foo) which broke on 64 bit machines.
2005-06-10 07:51:54 +00:00
Mark Andrews
d4d68515d2
1885. [func] Additional memory debugging support to track size
...
and mctx arguements. [RT #14814 ]
2005-06-10 07:00:20 +00:00
Mark Andrews
e8e62bb782
1884. [bug] process_dhtkey() was using the wrong memory context
...
to free some memory. [RT #14890 ]
2005-06-10 06:58:27 +00:00
Mark Andrews
f7d7c7ba43
update copyright notice
2005-06-10 00:00:59 +00:00
Mark Andrews
e7fb847ed5
1883. [port] sunos: portability fixes. [RT #14814 ]
2005-06-08 02:09:18 +00:00
Mark Andrews
ab9871e71e
1882. [port] win32: isc__errno2result() now reports its caller.
...
[RT #13753 ]
1881. [port] win32: Handle ERROR_NETNAME_DELETED. [RT #13753 ]
2005-06-08 01:04:30 +00:00
Mark Andrews
7d5b32acb1
1860. [port] solaris 2.8: hack_shutup_pthreadmutexinit was
...
incorrectly set. [RT #14775 ]
2005-06-08 00:50:08 +00:00
Mark Andrews
da53179d10
1855. [bug] ixfr-from-differences was failing to detect changes
...
of ttl due to dns_diff_subtract() was ignoring the ttl
of records. [RT #14616 ]
2005-06-07 02:02:05 +00:00
Mark Andrews
2fa0485e9e
1861. [bug] dig could trigger a INSIST on certain malformed
...
responses. [RT #14801 ]
2005-06-07 01:42:29 +00:00
Mark Andrews
9eca2b9b95
1864. [bug] Don't try the alternative transfer source if you
...
got a answer / transfer with the main source
address. [RT #14802 ]
2005-06-07 01:21:32 +00:00
Mark Andrews
3d247992c4
1866. [bug] resolv.conf parse errors were being ignored by
...
dig/host/nslookup. [RT #14841 ]
1865. [bug] Silently ignore nameservers in /etc/resolv.conf with
bad addresses. [RT #14841 ]
2005-06-07 01:00:00 +00:00
Mark Andrews
116e6b4257
1867. [bug] It was possible to trigger a INSIST in
...
dlv_validatezonekey(). [RT #14846 ]
2005-06-07 00:39:05 +00:00
Mark Andrews
1c153afce5
1868. [func] edns-udp-size can now be overridden on a per
...
server basis. [RT #14851 ]
2005-06-07 00:27:34 +00:00
Mark Andrews
1fc4793844
1879. [func] Added framework for handling multiple EDNS versions.
...
1878. [func] dig can now specify the EDNS version when making
a query.
2005-06-07 00:16:01 +00:00
Mark Andrews
dc5c59bd1d
update copyright
2005-06-05 00:01:55 +00:00
Tatuya JINMEI 神明達哉
5597be9bb8
1813. [func] Restructured the data locking framework using
...
architecture dependent atomic operations (when
available), improving response performance on
multi-processor machines significantly.
x86, x86_64, alpha, and sparc64 are currently
supported.
(RT #13505 )
2005-06-04 05:32:50 +00:00
Mark Andrews
ef67e6d8fa
1859. [func] Add support for CH A record. [RT #14695 ]
2005-06-04 00:18:56 +00:00
Mark Andrews
05331ce161
1863. [bug] rrset-order fixed error messages not complete.
2005-05-27 00:49:19 +00:00
Mark Andrews
e123ebc1aa
integrity check cleanup
2005-05-24 04:30:10 +00:00
Mark Andrews
172d748152
update copyright notice
2005-05-20 01:09:36 +00:00
Mark Andrews
c5223c9cb7
1862. [func] Add additional zone data constancy checks.
...
named-checkzone has extended checking of NS, MX and
SRV record and the hosts they reference.
named has extended post zone load checks.
New zone options: check-mx and integrity-check.
[RT #4940 ]
2005-05-19 04:59:05 +00:00
Mark Andrews
d73541ea2e
1845. [bug] Improve error reporting to distingish between
...
accept()/fcntl() and socket()/fcntl() errors.
[RT #13745 ]
2005-05-19 02:42:42 +00:00
Jakob Schlyter
baf62093eb
extended string API from rt11733
2005-05-14 22:11:56 +00:00
Mark Andrews
75c0816e82
regen
2005-05-13 03:14:16 +00:00
Mark Andrews
f5d30e2864
update copyright notice
2005-05-13 01:35:48 +00:00
Rob Austein
83217b5fdc
regen
2005-05-12 23:54:40 +00:00
Mark Andrews
e5a5c60a5e
1858. [bug] The flush-zones-on-shutdown option wasn't being
...
parsed. [RT #14686 ]
2005-05-12 04:38:23 +00:00
Rob Austein
60e5e10f8d
regen
2005-05-11 06:05:43 +00:00
Rob Austein
268a447506
1856. [doc] Switch Docbook toolchain from DSSSL to XSL.
2005-05-11 05:55:41 +00:00
Mark Andrews
657b6cd6a4
update copyright notice
2005-05-09 00:41:48 +00:00
Mark Andrews
b4028939fd
1854. [bug] lwres also needs to know the print format for
...
(long long). [RT #13754 ]
2005-05-06 02:12:48 +00:00
Mark Andrews
9840a0767d
1853. [bug] Rework how DLV interacts with proveunsecure().
...
[RT #13605 ]
2005-05-06 01:59:38 +00:00
Mark Andrews
69fe9aaafd
update copyright notice
2005-04-29 00:24:12 +00:00
Rob Austein
62a6efe7c9
Fix comment-within-comment warning.
2005-04-27 18:16:45 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
1cb73c69f7
1850. [bug] Memory leak in lwres_getipnodebyaddr(). [RT #14591 ]
2005-04-27 00:24:02 +00:00
Mark Andrews
c651f15b30
1849. [doc] All forms of the man pages (docbook, man, html) should
...
have consistant copyright dates.
2005-04-07 03:50:05 +00:00
Mark Andrews
89da2a5641
regen
2005-04-03 03:31:37 +00:00
Mark Andrews
a8f1c013b0
1847. [bug] isc_ondestroy_init() is called too late in
...
in dns_rbtdb_create()/dns_rbtdb_create().
[RT #13661 ]
2005-04-01 07:00:34 +00:00
Mark Andrews
fcf6c62ab4
update copyright notice
2005-03-31 23:54:46 +00:00
Mark Andrews
446f4815f2
1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
...
for each 16 bit piece of the IPv6 address. The text
representation of a IPv6 address has been tighted
to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
[RT #5662 ]
2005-03-31 07:12:12 +00:00
Mark Andrews
0f222d322b
1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
...
for each 16 bit piece of the IPv6 address. The text
representation of a IPv6 address has been tighted
to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
[RT #5662 ]
2005-03-31 06:37:03 +00:00
Mark Andrews
2132a56b5c
1841. [port] cmsg_len() could produce incorrect results on
...
some platform. [RT #13744 ]
2005-03-30 05:37:08 +00:00
Mark Andrews
bd77e3252a
update copyright notice
2005-03-22 02:35:14 +00:00
Mark Andrews
5cb7e15551
1839. [bug] <isc/hash.h> was not being installed.
2005-03-21 05:16:47 +00:00
Mark Andrews
8ff7c9a0bb
update copyright notice
2005-03-20 22:32:57 +00:00
Mark Andrews
ffbe9bb405
silence compiler warnings.
2005-03-18 05:55:36 +00:00
Mark Andrews
2da53322f3
silence compiler warnings
2005-03-18 04:31:01 +00:00
Mark Andrews
e7c286974e
regen
2005-03-18 03:22:27 +00:00
Mark Andrews
d0bd139679
Don't depend on autoconf being called w/ -I ../..
2005-03-18 03:20:31 +00:00
Mark Andrews
9f069b2771
update copyright notice
2005-03-17 03:56:12 +00:00
Mark Andrews
15683369e0
namespace sun -> sunix
2005-03-16 23:39:06 +00:00
Mark Andrews
66a12302e1
silence ptr mismatch signed/unsigned.
2005-03-16 20:15:08 +00:00
Mark Andrews
8a713ca49d
1807. [bug] When forwarding (forward only) set the active domain
...
from the forward zone name. [RT #13526 ]
2005-03-16 03:50:47 +00:00
Mark Andrews
d5af5bb38b
1820. [bug] Gracefully handle acl loops. [RT #13659 ]
2005-03-16 03:34:45 +00:00
Mark Andrews
5e5b467e8c
1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660 ]
2005-03-16 01:56:17 +00:00
Mark Andrews
713ad87a7f
1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.
...
[RT #13620 ]
2005-03-16 01:47:16 +00:00
Mark Andrews
4f082b58b1
1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.
...
[RT #13597 ]
2005-03-16 01:23:08 +00:00
Mark Andrews
b7b6b01a0d
update copyright
2005-03-16 00:55:19 +00:00
Mark Andrews
4f21f7feaf
1830. [bug] adb lame cache has sence of test reversed. [RT #13600 ]
2005-03-15 23:38:27 +00:00
Mark Andrews
6189214bf0
1810. [bug] configure, lib/bind/configure make different default
...
decisions about whether to do a threaded build.
[RT #13212 ]
2005-03-15 23:06:18 +00:00
Mark Andrews
9738408dcb
1810. [bug] configure, lib/bind/configure make different default
...
decisions about whether to do a threaded build.
[RT #13212 ]
2005-03-15 22:58:49 +00:00
Mark Andrews
e90994e3f3
1799. [bug] 'rndc flushname' failed to flush negative cache
...
entries. [RT #13438 ]
2005-03-15 02:48:58 +00:00
Mark Andrews
e9aca33f36
1809. [bug] "make distclean" failed for libbind if the platform
...
is not supported.
2005-03-15 02:15:13 +00:00
Mark Andrews
7d9b632906
1828. [bug] isc_rwlock_init() failed to properly cleanup if it
...
encountered a error. [RT #13549 ]
2005-03-15 02:03:11 +00:00
Mark Andrews
8cd830d7c8
1802. [bug] Handle connection resets better. [RT #11280 ]
2005-03-15 01:41:28 +00:00
Mark Andrews
e50b75e36c
1804. [bug] Ensure that if we are queried for glue that it fits
...
in the additional section or TC is set to tell the
client to retry using TCP. [RT #10114 ]
2005-03-15 01:29:10 +00:00
Mark Andrews
5218822573
1826. [bug] Missing DESTROYLOCK() in isc_mem_createx() on out
...
of memory error. [RT #13537 ]
2005-03-15 01:11:01 +00:00
Mark Andrews
3cbc87c31f
1825. [bug] Missing unlock on out of memory error from in
...
rbtdb.c:subtractrdataset(). [RT #13519 ]
2005-03-15 00:32:42 +00:00
Mark Andrews
bc29bb9062
1824. [bug] Memory leak on dns_zone_setdbtype() failure.
...
[RT #13510 ]
2005-03-15 00:20:59 +00:00
Mark Andrews
5a4854e226
1823. [bug] Wrong macro used to check for point to point interface.
...
[RT#13418]
2005-03-15 00:09:07 +00:00
Mark Andrews
b101c1e998
1822. [bug] check-names test for RT was reversed. [RT #13382 ]
2005-03-14 23:41:29 +00:00
Mark Andrews
408767b505
update copyright notice
2005-03-06 15:30:37 +00:00
Mark Andrews
c941e32d22
1819. [bug] The validator needed to check both the algorithm and
...
digest types of the DS to determine if it could be
used to introduce a secure zone. [RT #13593 ]
2005-03-04 03:53:22 +00:00
Mark Andrews
39c7fc7e00
1811. [func] Preserve the case of domain names in rdata during
...
zone transfers. [RT #13547 ]
2005-03-04 02:56:21 +00:00
Mark Andrews
c2a5a4a3cf
update copyright notice
2005-02-24 00:33:35 +00:00
Mark Andrews
4423c99613
1814. [func] UNIX domain controls are now supported.
2005-02-23 01:09:23 +00:00
Mark Andrews
4c0903254b
typo in comment
2005-02-17 05:49:01 +00:00
Mark Andrews
08097713a4
update copyright notice
2005-02-11 00:01:58 +00:00
Mark Andrews
3aca8e5bf3
1758. [func] Don't send notify messages to self. [RT #12933 ]
2005-02-10 05:53:43 +00:00
Mark Andrews
7d62f929df
add missing function
2005-02-09 23:20:50 +00:00
Mark Andrews
5a61d47749
add missing functions
2005-02-09 23:07:30 +00:00
Mark Andrews
6b49f69359
add new functions
2005-02-09 22:46:59 +00:00
Mark Andrews
af8db42e08
/isc/dns
2005-02-09 22:41:53 +00:00
Mark Andrews
fb343de948
missing \
2005-02-09 22:37:41 +00:00
Mark Andrews
f012e9e68a
link against libbns
2005-02-09 22:33:29 +00:00
Mark Andrews
51d912d3a5
still had some sec\dst references
2005-02-09 21:55:23 +00:00
Mark Andrews
8e9872ebbe
remove extraneous .c's
2005-02-09 21:45:52 +00:00
Mark Andrews
8dff6ed8e0
add aclconf
2005-02-09 21:28:02 +00:00
Mark Andrews
4df7858200
add acache
2005-02-09 13:54:05 +00:00
Mark Andrews
2d7fc01cb3
update copyright notice
2005-02-09 05:19:30 +00:00
Mark Andrews
fde0a3f89b
1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
...
[RT #13453 ]
2005-02-09 03:38:25 +00:00
Mark Andrews
0ad024cc42
1806. [bug] The resolver returned the wrong result when a CNAME /
...
DNAME was encountered when fetching glue from a
secure namespace. [RT #13501 ]
1805. [bug] Pending status was not being cleared when DLV was
active. [RT #13501 ]
2005-02-08 23:51:32 +00:00
Mark Andrews
07b9b1c44e
update copyright notice
2005-02-07 23:57:02 +00:00
Mark Andrews
4296c5480d
1801. [func] Report differences between hints and real NS rrset
...
and associated address records.
2005-02-07 00:53:29 +00:00
Mark Andrews
07bf7b758c
update copyright notice
2005-02-07 00:04:05 +00:00
Mark Andrews
5cf146c586
1808. [bug] zone.c:notify_zone() contained a race condition,
...
zone->db could change underneath it. [RT #13511 ]
2005-02-03 05:07:35 +00:00
Tatuya JINMEI 神明達哉
91c0a631bb
forgot destroing the acache entry lock in destroy_entry(), causing memory
...
leak. [RT #13533 ]
(I won't update the CHANGES list, since it's an "internal" report, and this
code has never been available publically)
2005-02-03 02:52:53 +00:00
Mark Andrews
7fed21a109
update copyright notice
2005-01-20 00:01:46 +00:00
Mark Andrews
164e2a6f83
1800. [bug] Changes #1719 allowed a INSIST to be triggered.
...
[RT #13428 ]
2005-01-19 23:25:41 +00:00
Mark Andrews
498e628692
remove unused variable.
2005-01-19 23:22:50 +00:00
Mark Andrews
ebf264ea10
update copyright
2005-01-17 23:58:33 +00:00
Mark Andrews
e89e09eda8
update copyrights
2005-01-17 04:11:34 +00:00
Mark Andrews
4844ed026a
1798. [func] The server syntax has been extended to support a
...
range of servers. [RT #11132 ]
2005-01-17 00:46:05 +00:00
Mark Andrews
7502c66006
1796. [func] "rndc freeze/thaw" now freezes/thaws all zones.
2005-01-14 03:28:09 +00:00
Mark Andrews
b25eafb3f4
update copyrights
2005-01-14 00:00:29 +00:00
Mark Andrews
5ec08bdbca
spelling
2005-01-13 05:15:16 +00:00
Mark Andrews
abeb45c775
update copyrights
2005-01-12 01:56:12 +00:00
Mark Andrews
f450814ab8
1793. [func] Extend adjusting TTL warning messages. [RT #13378 ]
2005-01-11 23:56:50 +00:00
Mark Andrews
48f929d315
1792. [func] New zone option "notify-delay". Specify a minimum
...
delay between sets of NOTIFY messages.
2005-01-11 23:10:06 +00:00
Mark Andrews
ad5bc22a81
1797. [func] named-checkconf now check acls to verify that they
...
only refer to existing acls. [RT #13101 ]
2005-01-11 03:46:11 +00:00
Mark Andrews
2f4ffd7f55
update copyrights
2005-01-10 23:43:27 +00:00
Mark Andrews
508f61f8d6
1794. [func] Named and named-checkzone can now both check for
...
non-terminal wildcard records.
2005-01-09 23:40:04 +00:00
Mark Andrews
4ae404824b
set the cache DB in the view's additional cache object so that
...
additional sections for a (DNS) cached response can also be stored
in the additional cache. [RT #13339 ]
2004-12-29 23:01:13 +00:00
Mark Andrews
24875d713b
cleanup
2004-12-29 22:42:57 +00:00
Mark Andrews
a1cc4108f6
avoided leakage of a cache entry by adjusting the timing of
...
incrementing the reference counter to the entry. Otherwise, the
entry could leak when dns_acache_setentry() fails. This must be
corrected in some way if not by this change. [RT #13339 ]
2004-12-29 22:30:10 +00:00
Mark Andrews
0c865fa57d
update copyright notice
2004-12-23 00:13:17 +00:00
Tatuya JINMEI 神明達哉
1ba466b68e
new copyright for new files
2004-12-21 10:54:12 +00:00
Tatuya JINMEI 神明達哉
d0eb2cc33c
1526. [func] Implemented "additional section caching (or acache)",
...
an internal cache framework for additional section
content to improve response performance. Several
configuration options were provided to control the
behavior.
2004-12-21 10:45:20 +00:00
Mark Andrews
9b4a030a30
need to link against libdns.
2004-12-10 00:12:27 +00:00
Mark Andrews
4f7eea47db
1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
...
allow parallel make to succeed.
2004-12-09 01:56:46 +00:00
Mark Andrews
494576ce20
1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
...
allow parallel make to succeed.
2004-12-09 01:41:25 +00:00
Mark Andrews
6c3098f476
missing @
2004-12-08 13:18:52 +00:00
Mark Andrews
531f6c355b
1788. [bug] libbind9.la/libbind9.so needs to link against
...
libisccfg.la/libisccfg.so.
2004-12-08 03:00:28 +00:00
Mark Andrews
867b33aa58
redo
...
1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205 ]
2004-12-07 00:36:27 +00:00
Mark Andrews
6e1141e6e8
1786. [port] AIX: libt_api needs to be taught to look for
...
T_testlist in the main executable (--with-libtool).
[RT #13239 ]
2004-12-06 22:50:41 +00:00
Mark Andrews
3a4b204d10
1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205 ]
2004-12-06 22:44:42 +00:00
Mark Andrews
a10ae59637
1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205 ]
2004-12-06 21:56:57 +00:00
Mark Andrews
e954ec198e
1785. [bug] libbind9.la/libbind9.so needs to link against
...
libisc.la/libisc.so.
2004-12-06 04:47:21 +00:00
Mark Andrews
8d49fe6643
Updated config.guess returns alphaev6-dec-osf5.1b not
...
alphaev6-dec-osf5.1.
2004-12-06 01:25:47 +00:00
Mark Andrews
aceae69c7f
1784. [cleanup] "libtool -allow-undefined" is the default.
...
Leave hooks in configure to allow it to be set
if needed in the future.
2004-12-05 23:03:22 +00:00
Mark Andrews
dba1bc96f6
1782. [port] OSX: --with-libtool + --enable-libbind broke on
...
__evOptMonoTime. [RT #13219 ]
2004-12-05 22:41:16 +00:00
Mark Andrews
a513cacc92
regen
2004-12-04 06:57:10 +00:00
Mark Andrews
70e854766f
1781. [port] FreeBSD 5.3: set PTHREAD_SCOPE_SYSTEM. [RT #12810 ]
2004-12-04 06:48:43 +00:00
Mark Andrews
113598f677
1783. [cleanup] We only need one copy of libtool.m4, ltmain.sh in the
...
source tree.
2004-12-03 02:40:58 +00:00
Mark Andrews
c202b9f4dd
1773. [bug] Fast retry on host / net unreachable. [RT #13153 ]
2004-12-03 01:59:28 +00:00
Mark Andrews
7c8662961e
1780. [bug] Update libtool to 1.5.10.
2004-12-02 02:31:47 +00:00
Mark Andrews
85bba08193
1778. [port] HUX 11.11: fix broken IN6ADDR_ANY_INIT and
...
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 13:25:21 +00:00
Mark Andrews
5173d52b3e
1777. [port] OSF 5.1: fix broken IN6ADDR_ANY_INIT and
...
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 06:54:14 +00:00
Mark Andrews
4091f8dfb7
1776. [port] Solaris 2.9: fix broken PTHREAD_MUTEX_INIT macro.
2004-11-30 05:59:38 +00:00
Mark Andrews
09ba9eaceb
1774. [port] Aix: Silence compiler warnings / build failures.
...
[RT #13154 ]
2004-11-30 01:12:52 +00:00
Mark Andrews
6c52944ef2
1763. [func] Perform sanity checks on NS records which refer to
...
'in zone' names. [RT #13002 ]
2004-11-23 05:23:46 +00:00
Mark Andrews
e94754428d
1766. [bug] Update the master file timestamp on successful refresh
...
as well as the journal's timestamp. [RT# 13062]
2004-11-22 23:52:25 +00:00
Mark Andrews
c1807114ce
1745. [bug] Dig/host/nslookup accept replies from link locals
...
regardless of scope if no scope was specified when
query was sent. [RT #12745 ]
2004-11-22 23:29:10 +00:00
Mark Andrews
6f691d4893
1770. [bug] named-checkconf failed to report missing a missing
...
file clause for rbt{64} master/hint zones. [RT#13009]
2004-11-22 05:03:11 +00:00
Mark Andrews
fcdef14f4a
1767. [port] Builds on IPv6 platforms without IPv6 Advanced API
...
support for (struct in6_pktinfo) failed. [RT #13077 ]
2004-11-18 21:31:47 +00:00
Mark Andrews
4e259c5a23
1768. [bug] nsecnoexistnodata() could be called with a non-NSEC
...
rdataset. [RT #12907 ]
2004-11-17 23:52:31 +00:00
Mark Andrews
73fb13fe97
1755. [func] allow-update is now settable at the options / view
...
level. [RT #6636 ]
2004-11-11 01:08:24 +00:00
Mark Andrews
dd95acdbce
1761. [bug] 'rndc dumpdb' didn't report unassociated entries.
...
[RT #12971 ]
2004-11-10 22:33:18 +00:00
Mark Andrews
77fad835c5
1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
...
even when it failed. [RT #12995 ]
2004-11-10 22:22:10 +00:00
Mark Andrews
e3d982f4a8
1754. [bug] We wern't always attempting to query the parent
...
server for the DS records at the zone cut.
[RT #12774 ]
2004-11-10 21:57:46 +00:00
Mark Andrews
71e7ac828e
1760. [bug] Host / net unreachable was not penalising rtt
...
estimates. [RT #12970 ]
2004-11-10 21:46:48 +00:00
Mark Andrews
a8be540f55
1764. [bug] dns_zone_replacedb failed to emit a error message
...
if there was no SOA record in the replacment db.
[RT #13016 ]
2004-11-09 22:16:57 +00:00
Mark Andrews
84a5b69f00
1756. [func] named-checkconf now checks the logging configuration.
...
[RT #12352 ]
2004-11-09 21:24:20 +00:00
Mark Andrews
e743a2b3b7
1753. [bug] Don't serve a slave zone which has no NS records.
...
[RT #12894 ]
2004-10-26 02:01:19 +00:00
Mark Andrews
40e7c805a8
1740. [bug] Replace rbt's hash algorithm as it performed badly
...
with certain zones. [RT #12729 ]
2004-10-25 01:27:54 +00:00
Mark Andrews
21094b43a2
1749. [bug] 'check-names response ignore;' failed to ignore.
...
[RT #12866 ]
2004-10-21 01:53:44 +00:00
Mark Andrews
49210da3fb
1676. [func] New option "allow-query-cache". This lets
...
allow-query be used to specify the default zone
access level rather than having to have every
zone override the global value. allow-query-cache
can be set at both the options and view levels.
If allow-query-cache is not set allow-query applies.
2004-10-21 00:58:33 +00:00
Mark Andrews
2651dcdf75
1750. [port] lib/bind/make/rules.in:subdirs was not bash friendly.
...
[RT #12864 ]
2004-10-19 23:33:48 +00:00
Mark Andrews
4181218570
1747. [bug] BIND 8 compatability: named/named-checkconf failed
...
to parse "host-statistics-max" in named.conf.
2004-10-17 23:11:30 +00:00
Mark Andrews
61a4d5e7d8
1742. [bug] If isc_taskmgr_create() was not able to create the
...
requested number of worker threads then destruction
of the manager would trigger an INSIST() failure.
[RT #12790 ]
2004-10-15 00:45:34 +00:00
Mark Andrews
ad98a86993
1747. [func] Make public the function to read a key file,
...
dst_key_read_public(). [RT #12450 ]
2004-10-14 05:55:52 +00:00
Mark Andrews
1672cff96d
1684. [func] ixfr-from-differences now takes master and slave in
...
addition to yes and no at the options and view levels.
2004-10-14 00:49:34 +00:00
Mark Andrews
276f1d9a38
1744. [bug] If tuple2msgname() failed to convert a tuple to
...
a name a REQUIRE could be triggered. [RT #12796 ]
2004-10-13 22:24:18 +00:00
Mark Andrews
073bd4c4bc
1739. [bug] dns_rbt_deletetree() could incorrectly return
...
ISC_R_QUOTA. [RT #12695 ]
1738. [bug] Enable overrun checking by default. [RT #12695 ]
2004-10-11 05:49:29 +00:00
Mark Andrews
207f0a15bb
1705. [func] Allow the journal's name to be changed via named.conf.
2004-10-07 02:15:14 +00:00
Mark Andrews
0553f5554f
1729. [func] Improve check-names error messages.
...
1728. [doc] Update check-names documentation.
1727. [bug] named-checkzone: check-names support didn't match
documentation.
2004-10-06 05:56:29 +00:00
Mark Andrews
43fe2897fc
1731. [port] darwin: relax version test in ifconfig.sh.
...
[RT #12581 ]
1730. [port] Determine the length type used by the socket API.
[RT #12581 ]
2004-10-05 03:17:18 +00:00
Mark Andrews
2d2e0fff8e
1736. [bug] dst_key_fromnamedfile() could fail to read a
...
public key. [RT #12687 ]
2004-10-01 00:10:59 +00:00
Mark Andrews
a1d1525f1c
regen
2004-09-27 04:26:43 +00:00
Mark Andrews
0795769851
aix5
2004-09-24 04:32:33 +00:00
Mark Andrews
f8ea158366
silence compiler
2004-09-17 13:33:58 +00:00
Mark Andrews
0d51617897
silence compiler
2004-09-17 05:59:28 +00:00
Mark Andrews
a449ffac7f
silence compiler
2004-09-16 07:08:43 +00:00
Mark Andrews
3ca9bffc1d
silence compiler
2004-09-16 07:02:53 +00:00
Mark Andrews
e69e397944
make -j3 support
2004-09-16 05:13:55 +00:00
Mark Andrews
12e8e73d76
1722. [bug] Don't commit the journal on malformed ixfr streams.
...
[RT #12519 ]
1721. [bug] Error message from the journal processing were not
always identifing the relevent journal. [RT #12519 ]
2004-09-16 04:54:03 +00:00
Mark Andrews
51f99a878d
1720. [bug] 'dig +chase' did not terminate on a RFC 2308 Type 1
...
negative response. [RT #12506 ]
1719. [bug] named was not correctly caching a RFC 2308 Type 1
negative response. [RT #12506 ]
1718. [bug] nsupdate was not handling RFC 2308 Type 3 negative
responses when looking for the zone / master server.
[RT #12506 ]
2004-09-16 02:10:42 +00:00
Mark Andrews
ffcbf9ea91
silence compiler warnings
2004-09-16 01:01:27 +00:00
Mark Andrews
49954c293c
pullup
...
1684. [port] 64 bit size_t issues / compiler warnings.
2004-09-16 00:56:12 +00:00
Mark Andrews
a9977c0fda
bad descriptions s/dns_label_countlabels/dns_name_countlabels/
2004-09-08 00:26:14 +00:00
Mark Andrews
d6fe7ba949
1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
...
for conformance to the name space convention. Binary
backward compatibility to the old function name is
provided. [RT #12376 ]
2004-09-01 05:13:06 +00:00
Mark Andrews
3dd9bafd2e
fix typo in unexecuted code
2004-09-01 04:38:43 +00:00
Mark Andrews
0150a81aad
match startrecv() prototype to function.
2004-09-01 04:25:20 +00:00
Mark Andrews
119056cca4
1682. [bug] gethostby*_r() implementations that copied the return
...
pointer got NULL returned on success.
2004-09-01 02:04:50 +00:00
Mark Andrews
16a68807e1
1704. [port] lwres needed a snprintf() implementation for
...
platforms without snprintf(). Add missing
"#include <isc/print.h>". [RT #12321 ]
2004-08-28 06:20:14 +00:00
Mark Andrews
ed18f74496
1703. [bug] named would loop sending NOTIFY messages when it
...
failed to receive a response. [RT #12322 ]
2004-08-28 05:53:12 +00:00
Mark Andrews
9176737468
style
2004-08-27 12:35:03 +00:00
Mark Andrews
68ae0f83c0
1706. [bug] 'rndc stop' failed to cause zones to be flushed
...
sometimes. [RT #12328 ]
2004-08-27 12:28:10 +00:00
Mark Andrews
bcaa5957ce
pullup:
...
1679. [bug] A bad length check was introduced by change #1661
in dns_ho.c.
2004-08-24 00:33:35 +00:00
Mark Andrews
2cd182921e
regen
2004-08-23 00:05:48 +00:00
Mark Andrews
d7a8ba373d
copyright
2004-08-19 04:44:08 +00:00
Mark Andrews
5f3df6134c
1677. [bug] IN6_IS_ADDR_MC_NODELOCAL() addresses can also have
...
symbolic scope id's.
2004-08-17 05:50:13 +00:00
Tatuya JINMEI 神明達哉
455bb19b5d
1697. [bug] xxx-source{,-v6} was not effective when it
...
specified one of listening addresses and a
different port than the listening port. [RT #12257 ]
2004-08-15 04:37:38 +00:00
Mark Andrews
7f2a6b0ef7
1695. [bug] DS records when forwarding require special handling.
...
[RT #12133 ]
2004-08-10 00:38:56 +00:00
Mark Andrews
2597c68ffe
improve dns_name_getlabelsequence() description.
2004-08-10 00:35:01 +00:00
Mark Andrews
8418c435e6
pullup from bind 8:
...
1674. [bug] getaddrinfo() failed to set sin6_scope_id correctly
on some platforms.
2004-08-09 07:49:21 +00:00
Mark Andrews
2538b3b9c0
pullup from bind 8
...
1675. [bug] match any returned scope when a scope is not specified
on non global scope address in resolv.conf.
2004-08-09 07:47:01 +00:00
Mark Andrews
4721a0c646
make use of if_nametoindex() test result.
2004-08-09 07:40:17 +00:00
Mark Andrews
d1b65f4487
redo if_nametoindex() test
2004-08-09 07:39:14 +00:00
Mark Andrews
5dbec64fde
probe for if_nametoindex()
2004-08-09 07:19:08 +00:00
Mark Andrews
f697150aef
1693. [bug] max-journal-size was not effective for master zones
...
with ixfr-from-differences set. [RT# 12024]
2004-07-29 00:17:06 +00:00
Mark Andrews
b712879fcb
1694. [bug] Report if the builtin views of "_default" / "_bind"
...
are defined in named.conf. [RT #12023 ]
2004-07-29 00:08:10 +00:00
Mark Andrews
cf62bb6918
pullup:
...
1672. [bug] libbind: failed to print unknown types and classes
above 4095. didn't correctly print unknown records
with zero length.
2004-07-28 20:16:50 +00:00
Mark Andrews
c4f9e613e1
1680. [func] rndc: the source address can now be specified.
2004-07-23 04:15:27 +00:00
Mark Andrews
c0d2891f6e
1691. [bug] sdb's attachversion was not complete. [RT #11990 ]
2004-07-22 03:58:07 +00:00
Mark Andrews
1a6204b6f2
1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
...
contained gratuitous semicolons. [RT #11707 ]
2004-07-22 00:09:27 +00:00
Mark Andrews
d8c2b17871
1687. [bug] Race condition in dispatch. [RT #10272 ]
2004-07-21 00:48:19 +00:00
Mark Andrews
9f7d51ee32
1688. [bug] LDFLAGS was not supported.
2004-07-20 07:13:43 +00:00
Mark Andrews
98f31157df
pullup:
...
1669. [bug] Only test the gcc minor version when the major version
is known.
2004-07-19 05:54:08 +00:00
Rob Austein
fbdadf789f
1684. [bug] Change #1679 loop tests weren't quite right.
2004-07-02 21:37:58 +00:00
Mark Andrews
ae507663cf
indenting
2004-07-01 04:53:14 +00:00
Mark Andrews
0a683f0dd3
pullup:
...
1668. [port] solaris: allow applications compiling against
libbind to be compiled with "cc -Xc".
2004-07-01 04:41:20 +00:00
Mark Andrews
9aa7706900
1681. [bug] Only set SO_REUSEADDR when a port is specified in
...
isc_socket_bind(). [RT #11742 ]
2004-06-30 23:35:17 +00:00
Jakob Schlyter
8638eaef79
correct speling, s/intializes/initializes
2004-06-28 06:23:05 +00:00
Jakob Schlyter
e3494255c5
incorrect speling, s/intial/initial/
2004-06-27 10:10:55 +00:00
Mark Andrews
a73a3b2a04
change #1679 still left case where address could not be tried.
...
fix loop termination condition to ensure that all finds are tried.
2004-06-27 01:21:41 +00:00
Mark Andrews
e30e7913c9
1679. [bug] When there was a single nameserver with multiple
...
addresses for a zone not all addresses were tried.
[RT #11706 ]
2004-06-25 04:39:19 +00:00
Mark Andrews
d1359824d3
pullup:
...
document RES_DEBUG2 to that it not assigned.
2004-06-25 00:39:54 +00:00
Mark Andrews
be89b43c7c
1665. [port] getnameinfo() was broken on machines with 8 octet
...
longs.
2004-06-25 00:35:36 +00:00
Mark Andrews
e8346a529a
1678. [bug] RRSIG should use TYPEXXXXX for unknown types.
2004-06-24 00:43:15 +00:00
Mark Andrews
b0196673ab
1674. [port] linux: increase buffer size used to scan
...
/proc/net/if_inet6.
2004-06-22 05:25:49 +00:00
Mark Andrews
4916f4c2ca
add a explict dependancy for interfaceiter.@O@.
2004-06-22 02:54:55 +00:00
Mark Andrews
40fe5e7ac2
1673. [port] linux: issue a error messages if IPv6 interface
...
scans fails.
2004-06-22 02:25:32 +00:00
Mark Andrews
1d8abe0521
1671. [cleanup] Tests which only function in a threaded build
...
now return R:THREADONLY (rather than R:UNTESTED)
in a non-threaded build.
2004-06-21 05:36:41 +00:00
Mark Andrews
358043e40f
1667. [port] linux: not all versions have IF_NAMESIZE.
2004-06-19 00:48:15 +00:00
Mark Andrews
7389e8330d
1666. [bug] The optional port on hostnames in dual-stack-servers
...
was being ignored.
1665. [func] rndc now allows addresses to be set in the
server clauses.
2004-06-18 04:38:47 +00:00
Mark Andrews
e180037bc1
1661. [bug] Restore dns_name_concatenate() call in
...
adb.c:set_target(). [RT #11582 ]
2004-06-18 01:22:32 +00:00
Mark Andrews
99ba7fc5ff
1660. [bug] win32: connection_reset_fix() was being called
...
unconditionally. [RT #11595 ]
2004-06-18 01:14:59 +00:00
Mark Andrews
5f059eef43
1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'.
2004-06-16 01:41:52 +00:00
Mark Andrews
cc3aafe737
1659. [cleanup] Cleanup some messages that were referring to KEY vs
...
DNSKEY, NXT vs NSEC and SIG vs RRSIG.
1658. [func] Update dnssec-keygen to default to KEY for HMAC-MD5
and DH. Tighten which options apply to KEY and
DNSKEY records.
2004-06-11 01:12:40 +00:00
Mark Andrews
3386e92795
1655. [bug] Logging multiple versions w/o a size was broken.
...
[RT #11446 ]
2004-06-11 00:36:30 +00:00
Mark Andrews
23fdb6a5a3
1654. [bug] isc_result_totext() contained array bounds read
...
error.
1653. [func] Add key type checking to dst_key_fromfilename(),
DST_TYPE_KEY should be used to read TSIG, TKEY and
SIG(0) keys.
1652. [bug] TKEY still uses KEY.
2004-06-11 00:27:06 +00:00
Mark Andrews
e5477896ce
1647. [bug] It was possible trigger a INSIST when chasing a DS
...
record that required walking back over a empty node.
[RT #11445 ]
2004-06-07 03:28:55 +00:00
Mark Andrews
6ecbd11029
1644. [bug] Update the journal modification time after a
...
sucessfull refresh query. [RT #11436 ]
2004-06-04 02:40:50 +00:00
Mark Andrews
c315e5cfea
1648. [func] Update dnssec-lookaside named.conf syntax to support
...
multiple dnssec-lookaside namespaces (not yet
implemented).
2004-06-04 02:31:43 +00:00
Mark Andrews
f66cd386cf
1646. [bug] win32: logging file versions didn't work with
...
non-UNC filenames. [RT#11486]
2004-06-04 02:19:17 +00:00
Mark Andrews
0d5f92db3f
res_servicenumber returns -1 on error.
2004-06-03 04:43:34 +00:00
Mark Andrews
00cf69e0ae
don't compare unsigned w/ <= 0.
2004-06-03 04:42:38 +00:00
Mark Andrews
7e2c0c16d6
1645. [bug] named could trigger a REQUIRE failure if multiple
...
masters with keys are specified.
2004-05-28 23:53:46 +00:00
Mark Andrews
8d5b4ce1eb
1643. [bug] dns_db_closeversion() could leak memory / node
...
references. [RT #11163 ]
2004-05-23 06:59:20 +00:00
Mark Andrews
c0707105f6
1642. [port] Support OpenSSL implementations which don't have
...
DSA support. [RT #11360 ]
2004-05-21 08:09:27 +00:00
Mark Andrews
b407caa0b5
pullup:
...
1661. [cleanup] indiscriminate use strlcat/strlcpy make auditing
harder.
2004-05-17 07:52:46 +00:00
Mark Andrews
4a6f552617
1634. [bug] named didn't supply a useful error message when it
...
detected duplicate views. [RT #11208 ]
2004-05-17 05:37:41 +00:00
Mark Andrews
be00eb0795
1640. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
...
incorrectly closing the socket. [RT #11291 ]
2004-05-17 03:15:59 +00:00
Tatuya JINMEI 神明達哉
ec3f1d3517
1629. [func] dig now supports IPv6 scoped addresses with the
...
extended format in the local-server part. [RT #8753 ]
2004-05-15 03:37:34 +00:00
Mark Andrews
5ba04ba7a9
1638. [bug] "ixfr-from-differences" could generate a REQUIRE
...
failure if the journal open failed. [RT #11347 ]
2004-05-14 05:08:00 +00:00
Mark Andrews
6fac7ff1f9
1606. [bug] DVL insecurity proof was failing.
...
1605. [func] New dns_db_find() option DNS_DBFIND_COVERINGNSEC.
2004-05-14 04:45:58 +00:00
Mark Andrews
f6f0bf7d4b
1637. [bug] Node reference leak on error in addnoqname().
2004-05-14 01:07:23 +00:00
Mark Andrews
4e681da26d
1636. [bug] The dump done callback could get ISC_R_SUCCESS even if
...
a error had occured. The database version no longer
matched the version of the database that was dumped.
2004-05-14 00:55:57 +00:00
Michael Graff
e3421eaa6c
include <sys/param.h> for NetBSD
2004-05-12 23:01:36 +00:00
Mark Andrews
78ef0ebab3
1631. [bug] dns_journal_compact() could sometimes corrupt the
...
journal. [RT #11124 ]
2004-05-11 22:20:13 +00:00
Mark Andrews
71839e2a42
1628. [bug] Typo in Compaq Trucluster support. [RT# 11264]
2004-05-06 03:16:07 +00:00
Mark Andrews
38e8022ace
1625. [bug] named failed to load/transfer RFC2535 signed zones
...
which contained CNAMES. [RT# 11237]
2004-05-05 01:32:58 +00:00
Mark Andrews
af6e33e7a0
silence compiler punned warning (adjust signed/unsigned chars).
2004-05-04 03:28:31 +00:00
Mark Andrews
578f588228
1627. [bug] win32: sockets were not being closed when the
...
last external reference was removed. [RT# 11179]
2004-05-03 23:54:38 +00:00
Mark Andrews
8407fbc61d
1624. [bug] zonemgr_putio() call should be locked. [RT# 11163]
2004-04-29 01:44:44 +00:00
Mark Andrews
cc32d38366
1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
...
available, and suppress wildcard binding if not.
1621. [bug] match-destinations did not work for IPv6 TCP queries.
[RT# 11156]
2004-04-29 01:37:14 +00:00
Mark Andrews
08b40678f3
1623. [bug] A serial number of zero was being displayed in the
...
"sending notifies" log message when also-notify was
used. [RT #11177 ]
2004-04-28 04:23:24 +00:00
Mark Andrews
3dc3d557be
1620. [func] When loading a zone report if it is signed. [RT #11149 ]
2004-04-28 04:07:28 +00:00
Mark Andrews
ec13cdb55e
pullup:
...
decunix/ibm: gethostbyname_r() only supported a small number of addresses.
2004-04-22 03:32:33 +00:00
Mark Andrews
fa81ddd7b9
1613. [bug] Builds would fail on machines w/o a if_nametoindex().
...
Missing #ifdef ISC_PLATFORM_HAVEIFNAMETOINDEX/#endif.
[RT #11119 ]
2004-04-20 06:46:46 +00:00
Mark Andrews
2dc1141d73
silence compiler warning
2004-04-19 23:16:20 +00:00
Mark Andrews
86548554f6
1618. [bug] Fencepost errors in dns_name_ishostname() and
...
dns_name_ismailbox() could trigger a INSIST().
2004-04-19 21:47:43 +00:00
Mark Andrews
eec7c83e23
add missing entry points
2004-04-19 05:16:42 +00:00
Mark Andrews
5ed76fa7ea
1617. [port] win32: VC++ 6.0 support.
2004-04-19 04:16:55 +00:00
Mark Andrews
b21b49a1d4
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
...
it is defined.
2004-04-19 02:54:15 +00:00
Mark Andrews
8d414d1559
1600. [bug] Duplicate zone pre-load checks were not case
...
insensitive.
1599. [bug] Fix memory leak on error path when checking named.conf.
1598. [func] Specify that certain parts of the namespace must
be secure (dnssec-must-be-secure).
2004-04-15 23:40:27 +00:00
Mark Andrews
b4fe7caac9
1611. [bug] solaris: IPv6 interface scanning failed to cope with
...
no active IPv6 interfaces.
2004-04-15 07:02:06 +00:00
Mark Andrews
42b48d11ca
hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR.
2004-04-15 01:58:25 +00:00
Mark Andrews
9a2127f833
Attempt to disable parallel processing.
2004-04-15 00:32:44 +00:00
Mark Andrews
9287a6b182
silence compiler warning
2004-04-14 05:09:43 +00:00
Mark Andrews
5567c75d30
add description for RES_NO_NIBBLE2
2004-04-13 07:19:18 +00:00
Mark Andrews
2e7f4872e3
decunix prototype mismatch
...
decunix silence compiler warning.
2004-04-13 04:57:08 +00:00
Mark Andrews
7b18445dd6
#ifdef EPFNOSUPPORT
2004-04-12 07:07:06 +00:00
Mark Andrews
8862388bcb
1602. [bug] Logging to a file failed unless a size was specified.
...
[RT# 10925]
2004-04-10 04:33:36 +00:00
Mark Andrews
e76c2e04a4
pullup from BIND 8
...
1657. [bug] gmtime_r() called incorrectly.
2004-04-10 03:47:09 +00:00
Mark Andrews
61e1dc26d6
regen
2004-04-07 00:57:04 +00:00
Mark Andrews
e3f6b4d219
regen
2004-04-06 22:04:52 +00:00
Mark Andrews
3b1fce680f
1595. [func] New notify type 'master-only'. Enable notify for
...
master zones only.
2004-03-30 02:13:45 +00:00
Mark Andrews
0b9af9eb37
1596. [func] Accept 'notify-source' style syntax for query-source.
2004-03-30 02:05:40 +00:00
Mark Andrews
c5cde9d5a7
1593. [bug] rndc should return "unknown command" to unknown
...
commands. [RT# 10642]
2004-03-22 01:46:01 +00:00
Mark Andrews
36fa8f333a
Update description: ISC_R_CONTINUE -> DNS_R_CONTINUE
2004-03-19 04:50:20 +00:00
Mark Andrews
1676408640
pullup silence compiler fixes
...
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
28b863e609
pullup fixed from 9.3
2004-03-16 05:52:24 +00:00
Mark Andrews
1fa26403d7
copyright
2004-03-16 05:22:33 +00:00
Mark Andrews
50105afc55
1589. [func] DNSSEC lookaside validation.
...
enable-dnssec -> dnssec-enable
2004-03-10 02:19:58 +00:00
Mark Andrews
5a680f4170
1587. [bug] dns_message_settsigkey() failed to clear existing key.
...
[RT #10590 ]
2004-03-10 00:47:40 +00:00
Mark Andrews
a80cc8dfd9
update libbind to BIND 8.4.5
2004-03-09 06:30:18 +00:00
Mark Andrews
0707a8c04f
regen
2004-03-05 12:40:39 +00:00
Mark Andrews
8a66318e41
regen / copyright update
2004-03-05 08:32:21 +00:00
Mark Andrews
af5073d032
update copyrights
2004-03-05 05:48:29 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
3c353d26cb
add targets docclean manclean
2004-03-05 03:10:55 +00:00
Mark Andrews
ba3d80bcba
configure.lineno
2004-03-05 00:03:05 +00:00
Mark Andrews
a03848252f
1580. [bug] Zone destuction on final detach takes a long time.
...
[RT #3746 ]
1579. [bug] Multiple task managers could not be created.
2004-03-04 06:56:41 +00:00
Mark Andrews
1285fa26e6
1588. [bug] win32: TCP sockets could become blocked. [RT #10115 ]
2004-03-04 05:54:29 +00:00
Mark Andrews
1d7cbe71b9
1583. [bug] Records add via UPDATE failed to get the correct trust
...
level. [RT #10452 ]
2004-03-04 02:46:28 +00:00
Mark Andrews
d249a25043
sig0 uses sig not rrsig
2004-03-04 02:44:54 +00:00
Mark Andrews
3f08fb69eb
1577. [bug] Use isc_uint32_t in ultrasparc optimizer bug
...
workaround code. [RT #10331 ]
2004-03-04 01:43:24 +00:00
Mark Andrews
7554feaef6
1571. [bug] rbt:hash_node() could fail leaving the hash table
...
in an inconsistant state. [RT #10208 ]
2004-03-03 22:40:56 +00:00
Mark Andrews
7052e191ce
1544. [bug] Named would logged a single entry to a file despite it
...
being over the specified size limit.
1543. [bug] Logging using "versions unlimited" did not work.
2004-03-03 05:39:05 +00:00
Mark Andrews
d5ad558234
1540. [bug] "rndc reload <dynamiczone>" was silently accepted.
...
[RT #8934 ]
2004-03-02 02:37:11 +00:00
Mark Andrews
821644d49b
1574. [bug] Don't attempt to open the controls socket(s) when
...
running tests. [RT #9091 ]
2004-03-02 02:01:41 +00:00
Mark Andrews
d970376259
checkowner had wrong type and class
2004-03-02 01:40:44 +00:00
Mark Andrews
f0e57c23e0
1552. [bug] Accept NOTIFY requests from mapped masters if
...
matched-mapped is set. [RT #10049 ]
2004-03-02 01:19:51 +00:00
Mark Andrews
7ad4d54f29
1537. [func] New option "querylog". If set specify whether query
...
logging is to be enabled or disabled at startup.
2004-03-02 01:15:00 +00:00
Mark Andrews
2047977ce2
1586. [func] "check-names" is now implemented.
2004-02-27 20:41:51 +00:00
Mark Andrews
74cb99072c
1573. [port] linux: update to libtool 1.5.2 so that
...
"make install DESTDIR=/xx" works with
"configure --with-libtool". [RT #9941 ]
2004-02-24 01:41:28 +00:00
Mark Andrews
22fa4e3206
1578. [bug] Don't use CLASS E IPv4 addresses when resolving.
...
[RT #10346 ]
2004-02-20 00:52:46 +00:00
Mark Andrews
c569a0e4d5
1582. [bug] rrset-order failed to work on RRsets with more
...
than 32 elements. [RT #10381 ]
2004-02-19 01:23:42 +00:00
Mark Andrews
89783da064
1581. [func] Disable DNSSEC support by default. To enable
...
DNSSEC specify "enable-dnssec yes;" in named.conf.
2004-02-17 03:40:23 +00:00
Mark Andrews
91c79af475
1576. [bug] Race condition in dns_dispatch_addresponse().
...
[RT# 10272]
2004-02-10 06:11:17 +00:00
Mark Andrews
daa73eae70
silence punned messages
2004-02-03 00:59:05 +00:00
Mark Andrews
e27d677170
#include <isc/string.h>
2004-02-02 04:37:39 +00:00
Mark Andrews
beb5c413b5
Replace sparse switch with if-else
...
Style
Add warning comments on known sparce switches.
2004-02-01 23:56:19 +00:00
Mark Andrews
774c3a62d9
1566. [port] Support for the cmsg framework on Solaris and HP/UX.
...
This also solved the problem that match-destinations
for IPv6 addresses did not work on these systems.
[RT #10221 ]
2004-01-29 04:39:19 +00:00
Mark Andrews
f7e94169a9
1567. [bug] B.ROOT-SERVERS.NET is now 192.228.79.201.
2004-01-29 04:34:13 +00:00
Mark Andrews
6bd3b1fdb3
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.
2004-01-27 04:49:09 +00:00
Mark Andrews
96c973a6a9
1562. [bug] isc_socket_create() and isc_socket_accept() could
...
leak memory under error conditions. [RT #10230 ]
2004-01-26 23:33:32 +00:00
Mark Andrews
26cca757be
CD is state is returned to querier.
2004-01-21 14:13:51 +00:00
Mark Andrews
7ac0df5322
explicitly set last two elements to NULL
2004-01-20 14:21:14 +00:00
Mark Andrews
519b239fc4
#include <isc/string.h>
2004-01-20 14:19:42 +00:00
Mark Andrews
78187348ca
save bucketnum so that we can unlock the lock after the fctx is destroyed.
2004-01-20 12:49:45 +00:00
Mark Andrews
ad430189fb
1560. [port] FreeBSD: work around FreeBSD 5.2 mapping EAI_NODATA
...
and EAI_NONAME to the same value.
2004-01-14 20:23:53 +00:00
Mark Andrews
b346807a32
regen documentation
2004-01-14 02:13:45 +00:00
Mark Andrews
5c6762838c
seperate out objects from lib/dns
2004-01-14 02:12:45 +00:00
Mark Andrews
35541328a8
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.
2004-01-14 02:06:51 +00:00
Mark Andrews
61fb42c4ef
1555. [func] 'rrset-order cyclic' now longer has a random starting
...
point. [RT #7572 ]
2004-01-12 04:19:42 +00:00
Mark Andrews
bece90bfd7
double ))
2004-01-08 08:23:11 +00:00
Mark Andrews
c3f9bda20f
1553. [bug] The windows socket code could stop accepting
...
connections.
2004-01-08 05:35:53 +00:00
Mark Andrews
2cb73c34bf
ireq ->ifreq
2004-01-07 21:55:47 +00:00
Mark Andrews
d0aebc5a55
1549. [func] named-checkzone can now write out the zone contents
...
in a easily parsable format (-D and -o).
2004-01-07 05:27:17 +00:00
Mark Andrews
5e41884b4a
1536. [bug] Windows socket code failed to log a error description
...
when returning ISC_R_UNEXPECTED. [RT #9998 ]
2004-01-05 08:14:56 +00:00
Mark Andrews
37225662b6
1534. [bug] Race condition when priming cache. [RT# 9940]
2004-01-05 07:45:34 +00:00
Mark Andrews
fd44706162
1547. [bug] Named wasted memory recording duplicate lame zone
...
entries. [RT #9341 ]
2004-01-05 06:44:30 +00:00
Mark Andrews
d6f0e45014
1535. [bug] When parsing APL records it was possible to silently
...
accept out of range ADDRESSFAMILY values. [RT# 9979]
2004-01-05 06:11:39 +00:00
Mark Andrews
818c37e7ba
removed unvariable
2004-01-05 05:44:25 +00:00
Mark Andrews
9f1bca36e4
1546. [bug] We were rejecting valid secure CNAME to negative
...
answers.
reviewed: explorer
2004-01-05 05:42:16 +00:00
Mark Andrews
0e0d2891c0
1545. [bug] It was possible to leak memory if named was unable to
...
bind to the specified transfer source and TSIG was
being used. [RT #10120 ]
2004-01-05 04:21:30 +00:00
Mark Andrews
1e59437940
remove test for type 0 being set in from wire.
2003-12-13 04:33:53 +00:00
Mark Andrews
5697061cf7
unused variables
2003-12-13 04:31:37 +00:00
Mark Andrews
185fd22738
1541. [func] NSEC now uses new bitmap format.
2003-12-13 04:20:44 +00:00
Mark Andrews
7360d06313
{strlcpy,strlcat} -> isc_string_{strlcpy,strlcat}
2003-11-17 01:19:52 +00:00
Mark Andrews
f7145c9c9d
add -allow-undefined
2003-11-04 23:31:39 +00:00
Mark Andrews
881702c9c0
1524. [port] AIX more libtool fixes.
2003-11-04 07:01:35 +00:00
Mark Andrews
6f80859318
1530. [bug] It was possible to trigger a INSIST() failure if a
...
slave master file was removed a just the correct
moment. [RT #9462 ]
2003-11-04 05:23:31 +00:00
Mark Andrews
2eb9c41504
1529. [bug] "notify explict;" failed to log that NOTIFY messages
...
were being sent for the zone. [RT# 9442]
2003-11-03 23:40:24 +00:00
Mark Andrews
0f98d5c83e
repeated words
2003-11-02 22:49:10 +00:00
Mark Andrews
b7e6fb4e84
whitespace
2003-10-26 21:33:47 +00:00
Tatuya JINMEI 神明達哉
e407562a75
1528. [cleanup] Simplify some dns_name_ functions based on the
...
deprecation of bitstring labels.
2003-10-25 00:31:12 +00:00
Tatuya JINMEI 神明達哉
6da7c87a77
1527. [cleanup] Reduce the number of gettimeofday() calls without
...
losing necessary timer granularity.
(reviewed by marka and Kurt)
2003-10-25 00:09:14 +00:00
Mark Andrews
fedd92b14f
want free should be initaliased to ISC_FALSE.
2003-10-17 05:31:05 +00:00
Mark Andrews
fcb54ce0a4
whitespace / layout
2003-10-17 03:46:46 +00:00
Mark Andrews
2f0bdbae4a
only look for IFF_POINTOPOINT if it is defined.
2003-10-16 05:56:25 +00:00
Mark Andrews
5f1f24822f
whitespace.
2003-10-16 05:46:19 +00:00
Mark Andrews
e724512f2b
1525. [bug] dns_cache_create() could dereference a NULL pointer
...
during error cleanup.
2003-10-15 07:01:45 +00:00
Mark Andrews
d88e1c30a4
three -> two
2003-10-13 00:40:29 +00:00
Tatuya JINMEI 神明達哉
cf756bac81
typo in a comment line.
2003-10-10 06:39:23 +00:00
Mark Andrews
402ca8ace0
INSIST -> RUNTIME_CHECK
2003-10-10 00:39:09 +00:00
Mark Andrews
71247c33a4
INSIST -> RUNTIME_CHECK
2003-10-10 00:19:01 +00:00
Mark Andrews
da318480f3
INSIST -> RUNTIME_CHECK
2003-10-10 00:13:50 +00:00
Mark Andrews
b6d52ee5be
1524. [port] AIX needs to be able to resolve all symbols when
...
creating shared libraries (--with-libtool).
2003-10-08 06:36:13 +00:00
Mark Andrews
b657d7db3b
1523. [bug] Fix race condition in rbtdb. [RT# 9189]
2003-10-08 00:24:28 +00:00
Mark Andrews
846f974d57
1517. [port] Support for IPv6 interface scanning on HP/UX and
...
TrueUNIX 5.1.
2003-10-07 03:34:30 +00:00
Mark Andrews
a2b8bb8777
remove extraneous spaces before semicolons
2003-10-03 06:12:34 +00:00
Mark Andrews
8d42bb315c
1522. [bug] dns_db_findnode() relax the requirements on 'name'.
...
[RT# 9286]
2003-10-03 03:12:35 +00:00
Mark Andrews
4efe32b8bb
1521. [bug] dns_view_createresolver() failed to check the
...
result from isc_mem_create(). [RT# 9294]
2003-10-03 02:19:31 +00:00
Mark Andrews
89639a5e13
1520. [protocol] Add SSHFP (SSH Finger Print) type.
...
Supplied by Jakob Schlyter jakob@rfc.se .
2003-10-01 10:05:00 +00:00
Mark Andrews
49fcdcd940
1518. [bug] dns_nsec_buildrdata(), and hence dns_nsec_build(),
...
contained a off-by-one error when working out the
number of octets in the bitmap.
2003-10-01 04:07:27 +00:00
Mark Andrews
12040a4f5c
missing includes [RT#9194]
2003-10-01 00:58:07 +00:00
Mark Andrews
9e09ddba95
add sig0 comment
2003-09-30 06:18:11 +00:00
Mark Andrews
3970098dcd
regen documentation
2003-09-30 06:13:33 +00:00
Mark Andrews
93d6dfaf66
1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY.
2003-09-30 06:00:40 +00:00
Tatuya JINMEI 神明達哉
600cbd1fce
1515. [func] Allow transfer source to be set in a server statement.
...
[RT #6496 ]
implemented by marka, reviewed and documented by jinmei.
Notes:
lib/dns/zone.c had to be modified manually.
ARM html files were not regenerated (yet).
2003-09-25 18:16:50 +00:00
Mark Andrews
fbc27dfec6
don't fallback to tcp on refused for stub zones. [rt#8945]
2003-09-24 01:03:37 +00:00
Mark Andrews
baee883e37
1511. [bug] delegation-only was generating false positives
...
on negative answers from subzones.
2003-09-21 13:05:16 +00:00
Mark Andrews
7999602b31
log more stuff to see if we can see why the are false positives w/ delegation
...
only.
2003-09-21 02:52:35 +00:00
Mark Andrews
f4fb3dc516
remove extaneous semicolon
2003-09-19 14:35:03 +00:00
Mark Andrews
62091d9b54
wrong element delonly -> rootexclude
2003-09-19 13:27:18 +00:00
Mark Andrews
68a918e038
rootexlude -> rootexclude
...
free and initialise rootdelonly & rootexclude
buy -> by
2003-09-19 13:17:21 +00:00
Mark Andrews
0b1da8124c
1510. [func] New view option "root-delegation-only". Apply
...
delegation-only check to all TLDs and root.
Note there are some TLDs that are NOT delegation
only (e.g. DE and MUSEUM) these can be excluded
from the checks buy using exclude.
root-delegation-only exclude { "DE"; "MUSEUM"; };
2003-09-19 12:39:49 +00:00
Mark Andrews
da34d92aee
1509. [bug] Hint zones should accept delegation-only. Forward
...
zone should not accept delegation-only.
1508. [bug] Don't apply delegation-only checks to answers from
forwarders.
1507. [bug] Handle BIND 8 style returns to NS queries to parents
when making delegation-only checks.
2003-09-19 05:53:28 +00:00
Mark Andrews
20d90a3753
1506. [bug] Wrong return type for dns_view_isdelegationonly().
2003-09-17 15:01:26 +00:00
Mark Andrews
fefe1106d9
1505. [bug] Uninitaliased rdataset is sdb. [RT #8750 ]
2003-09-17 05:34:55 +00:00
Mark Andrews
4607e7a9b8
1504. [func] New zone type "delegation-only".
2003-09-17 05:24:43 +00:00
Mark Andrews
cc083bb703
sizeof style
2003-09-11 01:49:18 +00:00
Mark Andrews
1b5a728293
1499. [bug] isc_random need to be seeded better if arc4random()
...
is not used.
2003-08-05 00:08:30 +00:00
Mark Andrews
5e9f612524
1498. [port] bsdos: 5.x support.
2003-07-30 01:43:28 +00:00
Mark Andrews
d19fc9d988
#include <isc/string.h> [RT #8537 ]
2003-07-30 01:10:46 +00:00
Mark Andrews
57443f34ba
remove redundant check [RT #8539 ]
2003-07-30 00:54:27 +00:00
Mark Andrews
a8f061d5c6
#include <config.h>
2003-07-29 04:31:23 +00:00
Mark Andrews
3f40de5598
isc_int32_t -> isc_uint32_t
2003-07-29 04:22:53 +00:00
Mark Andrews
3184ff5e45
1496. [port] test for pthread_attr_setstacksize().
2003-07-25 05:08:51 +00:00
Mark Andrews
d5d2dca925
missing '*'
2003-07-25 05:02:54 +00:00
Mark Andrews
96391d4178
add hash.c/hash.h
2003-07-25 02:57:58 +00:00
Mark Andrews
1e107b3d7b
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 02:22:26 +00:00
Mark Andrews
4691e18ca0
deconst
2003-07-25 02:04:28 +00:00
Mark Andrews
5eb91bd90e
silence compiler warnings (HPUX/11i)
2003-07-25 00:01:16 +00:00
Mark Andrews
4c54e122fe
silence compiler warning (HPUX/11i)
2003-07-24 06:41:20 +00:00
Mark Andrews
cc6271e46c
1494. [security] Turn on RSA BLINDING as a precaution.
2003-07-24 06:08:20 +00:00
Mark Andrews
ce08911be8
typo
2003-07-23 03:18:56 +00:00
Mark Andrews
17a14e451d
1492. [cleanup] Preserve rwlock quota context when upgrading /
...
downgrading. [RT #5599 ]
2003-07-21 01:14:18 +00:00
Mark Andrews
afbb7b15ae
Only fall back to TCP for slave zones if UDP refresh queries fail.
...
[RT #8253 ]
2003-07-21 01:11:29 +00:00
Mark Andrews
f488b1c311
1487. [compat] Treat 'allow-update' on slave zones as a warning.
...
[RT #3469 ]
2003-07-18 06:00:41 +00:00
Mark Andrews
4bb16c5856
1488. [bug] Don't override trust levels for glue addresses.
...
[RT #5764 ]
2003-07-18 04:30:01 +00:00
Mark Andrews
c676c1b497
1487. [bug] A REQUIRE() failure could be triggered if a zone was
...
queued for transfer and the zone was then removed.
[RT #6189 ]
2003-07-18 02:54:23 +00:00
Mark Andrews
ffdfae8e41
1486. [bug] isc_print_snprintf() '%%' consumed one too many format
...
characters. [RT# 8230]
2003-07-18 02:27:40 +00:00
Mark Andrews
471e0563c7
1485. [bug] gen failed to handle high type values. [RT #6225 ]
2003-07-17 08:05:15 +00:00
Mark Andrews
3ca4b8062f
1481. [bug] Refresh and stub queries failed to use masters keys
...
if specified. [RT #7391 ]
2003-07-17 07:05:12 +00:00
Mark Andrews
72ddc4cef9
1480. [bug] Provide replay protection for rndc commands. Full
...
replay protection requires both rndc and named to
be updated. Partial replay protection (limited
exposure after restart) is provided if just named
is updated.
2003-07-17 06:24:44 +00:00
Mark Andrews
dbd34ac1d0
remove potential file descriptor leak
2003-07-09 03:28:44 +00:00
Mark Andrews
5798e5b3d4
update WIDE copyright notice.
2003-07-04 05:21:47 +00:00
Mark Andrews
ad4b2f37e0
1479. [bug] cfg_create_tuple() failed to handle out of
...
memory cleanup. parse_list() would leak memory
on syntax errors.
2003-07-03 01:50:25 +00:00
Mark Andrews
3425cd6803
1473. [bug] create_map() and create_string() failed to handle out
...
of memory cleanup. [RT #6813 ]
2003-07-03 00:43:28 +00:00
Mark Andrews
edc6991f4b
1471. [bug] libbind: updated to BIND 8.4.0.
2003-07-02 04:00:40 +00:00
Mark Andrews
9c1eb2279d
1477. [bug] memory leak using stub zones and TSIG.
2003-07-01 03:51:30 +00:00
Mark Andrews
f95231835f
1475. [port] Probe for old sprintf().
2003-06-24 06:24:44 +00:00
Mark Andrews
090f79c6c2
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:18:39 +00:00
Mark Andrews
21f1794606
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
0cb25226fb
1473. [bug] free_map() and free_string() failed to handle out
...
of memory cleanup. [RT #6813 ]
2003-06-20 02:50:48 +00:00
Mark Andrews
692ae2fff9
don't print redundant $ORIGIN's.
2003-06-18 05:42:45 +00:00
Mark Andrews
c8af2c78dd
Use LOCK_ZONE/UNLOCK_ZONE.
2003-06-06 06:09:39 +00:00
Mark Andrews
90df33887f
1471. [bug] libbind: updated to BIND 8.4.0.
2003-06-03 06:40:22 +00:00
Mark Andrews
68e6e43c2b
regen:
...
1471. [bug] libbind: updated to BIND 8.4.0.
2003-06-03 04:40:51 +00:00
Mark Andrews
7a857bdb68
1471. [bug] libbind: updated to BIND 8.4.0.
2003-06-03 04:39:35 +00:00
Mark Andrews
7767c2a7aa
try tcp axfr/ixfr even if refresh fails/refused.
2003-05-21 14:15:32 +00:00
Mark Andrews
ceb514ea0c
zone->masterscnt was being zero'd rather than zone->curmaster = 0
2003-05-14 02:41:17 +00:00
Mark Andrews
d20c22f634
check that proc != NULL
2003-05-11 02:24:11 +00:00
Mark Andrews
fc87397df6
1470. [bug] incorrect length passed to snprintf. [RT #5966 ]
2003-05-08 04:03:25 +00:00
Mark Andrews
1f58c45566
memset the entire lifc structure
2003-05-01 00:35:33 +00:00
Mark Andrews
64655588e7
use-alt-transfer-source when the master refused soa queries. [RT #5528 ]
2003-04-22 04:03:25 +00:00
Mark Andrews
1a4d687359
1468. [func] Internal zones are nolonger for 'rndc status'.
...
[RT #4706 ]
2003-04-17 12:11:39 +00:00
Mark Andrews
397f86cf27
1467. [func] $GENERATES now supports optional class and ttl.
2003-04-17 11:31:02 +00:00
Mark Andrews
f5af519ab5
1465. [bug] isc_base64_decodestring() and isc_base64_tobuffer()
...
failed to check that trailing bits were zero allowing
some invalid base64 strings to be accepted. [RT #5397 ]
2003-04-17 06:04:13 +00:00
Mark Andrews
b0c2141b23
1464. [bug] Preserve "out of zone" data for outgoing zone
...
transfers. [RT #5192 ]
2003-04-17 05:40:45 +00:00
Mark Andrews
182a34004c
1463. [bug] dns_rdata_from{wire,struct}() failed to catch bad
...
NXT bit maps. [RT #5577 ]
2003-04-17 03:43:35 +00:00
Mark Andrews
603658ea65
1462. [bug] parse_sizeval() failed to check the token type.
...
[RT #5586 ]
2003-04-17 03:26:58 +00:00
Mark Andrews
163547c0c0
1461. [bug] Remove deadlock from rbtdb code. [RT #5999 ]
2003-04-17 01:56:35 +00:00
Mark Andrews
8ff31bab2f
1454. [bug] inet_pton() failed to reject certian malformed
...
IPv6 literals.
2003-04-17 01:52:45 +00:00
Mark Andrews
c716229384
win32: define S_ISREG if it not already defined.
2003-04-12 04:57:17 +00:00
Mark Andrews
806c235ecf
1458. [cleanup] sprintf() -> snprintf().
2003-04-11 07:25:31 +00:00
Mark Andrews
935000aa6e
1457. [port] Provide strlcat() and strlcpy() for platforms without
...
them.
2003-04-10 04:47:56 +00:00
Mark Andrews
2fd63cf561
1455. [bug] <netaddr> missing from server grammar in
...
doc/misc/options. [RT #5616 ]
2003-04-10 02:16:11 +00:00
Mark Andrews
817314313f
missing #include's
2003-04-10 02:06:51 +00:00
Mark Andrews
8ca42f6318
1454. [port] Use getifaddrs() if available for interface scanning.
...
--disable-getifaddrs to override. Glibc currently
has a getifaddrs() that does not support IPv6.
Use --enable-getifaddrs=glibc to force the use of
this version under linux machines.
2003-04-01 05:18:22 +00:00
Tatuya JINMEI 神明達哉
c596c075f9
rt #5222 : useing a wrong return type for isc_file_exists().
...
developer: marka
reviewer: jinmei
2003-03-23 13:18:53 +00:00
Mark Andrews
036f643016
Non-NULL pointer passed when verifing looking for "kal".
2003-03-20 00:43:08 +00:00
Mark Andrews
c480adf955
OSF defines "try" as __builtin_try.
2003-03-20 00:19:55 +00:00
Mark Andrews
be8aff07bb
spelling
2003-03-19 17:43:41 +00:00
Mark Andrews
c1561e8a36
tab -> space
2003-03-03 01:42:59 +00:00
Mark Andrews
602d2e93f7
close of wrong socket [RT #5221 ]
2003-03-03 01:41:27 +00:00
Mark Andrews
b500de3be9
alt-transfer-source-v4 -> alt-transfer-source
2003-02-27 05:12:47 +00:00
Mark Andrews
6bd8cee983
1450. [bug] Fetching expired glue failed under certian
...
circumstances. [RT #5124 ]
developer: marka
reviewer: explorer
2003-02-27 02:20:15 +00:00
Mark Andrews
8b5de97014
1448. [bug] Handle empty wildcards labels.
...
developer: marka
reviewer: explorer
2003-02-27 00:19:04 +00:00
Mark Andrews
80b782f356
1447. [bug] We were casting (unsigned int) to and from (void *).
...
rdataset->private4 is now rdataset->privateuint4
to reflect a type change.
developer: marka
reviewer: explorer
2003-02-26 23:52:30 +00:00
Mark Andrews
476386968b
1446. [func] Implemented undocumented alternate transfer sources
...
from BIND 8. See use-alt-transfer-source,
alt-transfer-source-v4 and alt-transfer-source-v6.
SECURITY: use-alt-transfer-source is ENABLED unless
you are using views. This may caues a security risk
resulting in accidental disclosure of wrong zone
content if the master supplying different source
content based on IP address. If you are not certian
ISC recommends setting use-alt-transfer-source no;
developer: marka
reviewer: explorer
2003-02-26 23:29:00 +00:00
Mark Andrews
53cf671865
1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
...
been replaced with DNS_ADBFIND_STARTATZONE which
causes the search to start using the closest zone.
1444. [func] dns_view_findzonecut2() allows you to specify if the
cache should be searched for zonecuts.
developer: marka
reviewer: explorer
2003-02-26 22:54:29 +00:00
Mark Andrews
888bb8bf68
1443. [func] Masters lists can now be specified and referenced
...
in zone masters clauses and other masters lists.
developer: marka
reviewer: explorer
2003-02-26 06:04:03 +00:00
Mark Andrews
b312748a11
1442. [func] New fuctions for manipulating port lists:
...
dns_portlist_create(), dns_portlist_add(),
dns_portlist_remove(), dns_portlist_match(),
dns_portlist_attach() and dns_portlist_detach().
1441. [func] It is now possible to tell dig to bind to a specific
source port.
1440. [func] It is now possible to tell named to avoid using
certian source ports (avoid-v4-udp-ports,
avoid-v6-udp-ports).
developer: marka
reviewer: explorer
2003-02-26 05:05:16 +00:00
Mark Andrews
463fc8f9d6
1437. [bug] Leave space for stdio to work in. [RT #5033 ]
...
developer: marka
reviewer: explorer
2003-02-26 04:00:20 +00:00
Mark Andrews
c3ea698877
1436. [func] dns_zonemgr_resumexfrs() can be used to restart
...
stalled transfers.
1435. [bug] zmgr_resume_xfrs() was being called read locked
rather than write locked. zmgr_resume_xfrs()
was not being called if the zone was being
shutdown.
1434. [bug] "rndc reconfig" failed to initiate the initial
zone transfer of new slave zones.
developer: marka
reviewer: explorer
2003-02-26 03:45:59 +00:00
Mark Andrews
9368d7df83
1433. [bug] named could trigger a REQUIRE failure if it could
...
not get a file descriptor when attempting to write
a master file. [RT #4347 ]
developer: marka
reviewer: explorer
2003-02-26 03:06:46 +00:00
Mark Andrews
e2fb08b85d
1432. [func] The advertised EDNS UDP buffer size can now be set
...
via named.conf (edns-udp-size).
developer: marka
reviewer: explorer
2003-02-26 02:04:00 +00:00
Mark Andrews
71dfe8bb7a
spelling
2003-02-26 01:21:09 +00:00
Mark Andrews
22a9cd54c0
1431. [bug] isc_print_snprintf() "%s" with precision could walk of
...
end of arguement. [RT #5191 ]
2003-02-25 21:32:07 +00:00
Mark Andrews
21ba6c18e4
1430. [port] linux: IPv6 interface scanning support.
...
reviewed: jinmei
developer: marka
This is a interim solution that needs to be compared to getifaddrs()
and PF_NETLINK solution spaces which Jinmei is exploring. It's not
clear which linux kernels support which of these three interfaces.
2003-02-24 01:46:11 +00:00
Mark Andrews
a9bdaa1772
engine pointer not set to NULL on free.
2003-02-18 06:25:11 +00:00
Mark Andrews
7418c7cc78
silence compiler
2003-02-18 06:07:40 +00:00
Mark Andrews
e70b069e38
spelling
2003-02-07 01:54:56 +00:00
Mark Andrews
b587e1d83f
spelling
2003-02-07 01:13:13 +00:00
Mark Andrews
a1301ef891
undo (wrong branch)
2003-02-04 06:10:09 +00:00
Mark Andrews
ab4bec8504
checkpoint
2003-02-04 05:44:32 +00:00
Mark Andrews
59f51f864c
1425. [port] linux/libbind: define __USE_MISC when testing *_r()
...
function prototypes in netdb.h. [RT #4921 ]
2003-01-24 05:03:45 +00:00
Mark Andrews
a207a2835e
1424. [bug] EDNS version not being correctly printed.
2003-01-24 04:25:53 +00:00
Mark Andrews
d788d738e3
Differentiate between NXDOMAIN and NXRRSET
2003-01-22 06:37:04 +00:00
Mark Andrews
0f09ef5a50
1420. [port] solaris: work around gcc optimiser bug.
2003-01-21 04:32:19 +00:00
Mark Andrews
9bd478a5e6
1417. [func] ID.SERVER/CHAOS is now a built in zone.
...
See "server-id" for how to configure.
2003-01-20 05:46:11 +00:00
Mark Andrews
421e4cf66e
1416. [bug] Empty node should return NOERROR NODATA, not NXDOMAIN.
...
[RT #4715 ]
developer: marka
reviewer: explorer
2003-01-18 03:18:31 +00:00
Mark Andrews
b0c15bd979
1415. [func] DS TTL now derived from NS ttl. NXT TTL now derived
...
from SOA MINIMUM.
1414. [func] Support for KSK flag.
2003-01-18 02:40:59 +00:00
Mark Andrews
0ffaee887f
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
d548131d6a
support for high optimisation levels
2003-01-15 05:24:29 +00:00
Mark Andrews
1d84c2b146
we may have NS information from the child zone.
2003-01-15 05:05:13 +00:00
Mark Andrews
2f4fbeb360
SOCKET vs int
2003-01-14 23:37:06 +00:00
Mark Andrews
5f89a1ee9e
1411. [bug] empty nodes should stop wildcard matches. [RT #4802 ]
...
developer: marka
reviewer: explorer
2003-01-14 00:38:07 +00:00
Mark Andrews
c86eed4bde
1410. [func] handle records that live in the parent zone, e.g. DS.
...
developer: marka
reviewer: explorer
2003-01-14 00:28:50 +00:00
Mark Andrews
3c2127744f
update comment
2003-01-10 02:43:56 +00:00
Mark Andrews
3369e61105
remove unused code
2003-01-08 04:42:22 +00:00
Mark Andrews
3d00f74888
When processing the authority section process the NS records first.
2003-01-05 23:19:29 +00:00
Mark Andrews
6874dcf6a0
style
2002-12-31 05:40:15 +00:00
Mark Andrews
f4cbe536b1
cygwin support
2002-12-27 03:29:37 +00:00
Mark Andrews
af623d1cd2
cygwin support
2002-12-27 03:13:51 +00:00
Mark Andrews
602274b30f
isc_net_probeipv6() was #ifdef'd out
2002-12-24 05:12:50 +00:00
Mark Andrews
d457997b3b
AI_ADDRCONFIG is not allowed by the old getaddinfo() spec. Try with
...
then without AI_ADDRCONFIG if the former faile with BADFLAGS.
2002-12-20 04:10:03 +00:00
Mark Andrews
12ff7274fe
1409. [bug] DS should have attibute DNS_RDATATYPEATTR_DNSSEC.
2002-12-20 01:19:20 +00:00
Mark Andrews
876da2a83d
Check that the NS/AAAA/A RRsets have not expired seeing if they don't need to
...
be replaced.
2002-12-16 12:47:39 +00:00
Mark Andrews
81aea2f2d3
undo wrong branch
2002-12-13 02:51:41 +00:00
Mark Andrews
0020640ff6
checkpoint
2002-12-13 02:37:35 +00:00
Mark Andrews
8b212c623d
undo
2002-12-13 02:11:12 +00:00
Mark Andrews
9d3ad53203
1408. [bug] distclean was not complete. [RT #4700 ]
2002-12-13 02:01:52 +00:00
Mark Andrews
def8e47c68
use isc_random_get() rather than rand()/arc4random() directly.
...
developer: marka
reviewer: bwelling
2002-12-05 04:36:26 +00:00
Mark Andrews
767fd19da4
1407. [bug] lfsr incorrectly implements the shift register.
...
[RT #4617 ]
2002-12-05 04:01:54 +00:00
Mark Andrews
8da0b50e8a
1406. [bug] dispatch initialises one of the LSFR's with a incorrect
...
polynomial. [RT #4617 ]
2002-12-05 03:55:09 +00:00
Mark Andrews
815a44abf5
arc4random() lower bits are truly random so there in no need to shift the
...
result to get truly random data.
2002-12-04 04:54:28 +00:00
Mark Andrews
5b76a09697
1405. [func] Use arc4random() if available.
...
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Mark Andrews
6388dcf8e6
pullup from bind8:
...
1404. [bug] libbind: ns_name_ntol() could overwite a zero length
buffer.
2002-12-03 05:39:10 +00:00
Mark Andrews
c5689081b7
define PATH_MAX if not defined. [RT #4602 + others]
2002-11-29 01:42:18 +00:00
Mark Andrews
49a940dc68
1402. [cleanup] A6 has been moved to experimental and is no longer
...
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Mark Andrews
646182a67f
missing include
...
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
41f5cf4ac1
check for the existance of if_nametoindex().
...
developer: jinmei
reviewer: marka
2002-11-26 03:53:42 +00:00
Mark Andrews
aebe37a461
ensure that zone id is set to zero.
...
only look for BSD internal scope if platform supports scope_id.
reviewer: marka
developer: jinmei
2002-11-26 03:16:31 +00:00
Mark Andrews
d92770e851
1401. [bug] adb wasn't clearing state when the timer expired.
2002-11-16 17:20:03 +00:00
Mark Andrews
c972e36de6
reversed timestamp sanity test on SIG
2002-11-15 21:25:21 +00:00
Michael Graff
e34efaccfa
merge adb_race branch
2002-11-13 00:07:04 +00:00
Michael Graff
e903df2f01
merge 4319
2002-11-12 23:58:14 +00:00
Michael Graff
43ee20a821
merge rt4112
2002-11-12 23:38:12 +00:00
Michael Graff
6434457b0b
merge 4090
2002-11-12 23:24:45 +00:00
Michael Graff
972cbaa79e
merge rt3598 (code by marka, pullup by me)
2002-11-12 22:22:32 +00:00
Mark Andrews
59ab128c97
1400. [bug] Block the addition of wildcard NS records by IXFR
...
or UPDATE. [RT #3502 ]
developer: marka
reveiwer: ogud
2002-11-12 20:16:30 +00:00
Mark Andrews
90295f915c
1399. [bug] Use serial number arithmetic when testing SIG
...
timestamps. [RT #4268 ]
developer: marka
reviewer: ogud
2002-11-12 19:50:51 +00:00
Mark Andrews
142d155dd6
1397. [bug] J.ROOT-SERVERS.NET is now 192.58.128.30.
2002-11-05 22:21:28 +00:00
Mark Andrews
2ffb3eb384
1395. [port] OpenSSL 0.9.7 defines CRYPTO_LOCK_ENGINE but doesn't
...
have a working implementation. [RT #4079 ]
2002-10-31 04:35:02 +00:00
Mark Andrews
aa39170da8
1394. [func] It is now possible to check if a particular element is
...
in a acl. Remove duplicate entries from the localnets
acl.
1393. [port] Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
is not available in the kernel to prevent accidently
listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews
2357adb0d4
use family specific socket to lookup interface flags, etc.
2002-10-28 06:12:13 +00:00
Mark Andrews
925c021f1f
u_int32_t -> isc_uint32_t
2002-10-28 02:35:36 +00:00
Mark Andrews
e12b02b62c
u_int32_t -> isc_uin32_t
2002-10-28 02:23:54 +00:00
Mark Andrews
a3bcfd4660
u_int#_t -> isc_uint#_t
2002-10-28 02:16:21 +00:00
Mark Andrews
cbc0becf05
isc_netaddr_fromsockaddr failed to set zone for AF_INET
2002-10-25 02:36:42 +00:00
Mark Andrews
6526fd032f
1391. [func] Add support for IPv6 scoped addresses in named.
2002-10-24 03:52:35 +00:00
Tatuya JINMEI 神明達哉
959cf5e112
(RT #3666 ) named could fail to rotate long log files.
...
developer: marka
reviewer: jinmei
2002-10-16 13:15:30 +00:00
Mark Andrews
bc50732bab
remove repeated "keep" in comment.
2002-10-15 03:15:28 +00:00
Tatuya JINMEI 神明達哉
1e850a433a
in dbiterator_destroy(), gained a reference to db before using an mctx
...
associated with the db, in case that we had the last reference.
[RT #3588 ]
2002-10-10 13:50:02 +00:00
Mark Andrews
2945ac15af
1385. [bug] Setting serial-query-rate to 10 would trigger a
...
REQUIRE failure.
2002-09-30 06:37:49 +00:00
Mark Andrews
ca70688bf6
1383. [func] Track the serial number in a IXFR response and log if
...
a mismatch occurs. This is a more specific error than
"not exact". [RT #3445 ]
2002-09-24 01:04:03 +00:00
Mark Andrews
8b0ee8448b
1382. [bug] make install failed with --enable-libbind. [RT #3656 ]
...
top_srcdir was being defined via make/rules.in and was over riding that
correct definition from Makefile.in. Use the abosolute version in
make/rules.in.
2002-09-18 05:18:18 +00:00
Mark Andrews
aec2d57d5b
1381. [bug] named failed to correctly process answers that
...
contained DNAME records where the resulting CNAME
resulted in a negative answer.
2002-09-12 04:52:13 +00:00
Mark Andrews
acfbd7a478
report type and class when logging failures via add_bad
2002-09-12 04:42:46 +00:00
Mark Andrews
c0c9d2b566
Remove layer violation. [RT #3615 ]
2002-09-12 02:44:29 +00:00
Mark Andrews
1a1148360e
Add missing space to fprintf.
2002-09-12 00:28:52 +00:00
Mark Andrews
a29ef27b39
When a lookup resulted in an nxrrset match of a wildcard, the wildcard
...
attribute wasn't set on foundname.
Move "else" body to mainline, "if" body end in unconditional goto.
2002-09-10 13:35:54 +00:00
Mark Andrews
a9ae9d743c
1380. [func] 'rndc recursing' dump recursing queries to
...
'recursing-file = "named.recursing";'.
2002-09-10 04:45:54 +00:00
Mark Andrews
798c83548f
add explict dependancies for the generated header files.
2002-09-10 04:45:06 +00:00
Mark Andrews
75ace6601e
1379. [func] 'rndc stats' now reports tcp and recursion quota
...
states.
1378. [func] Improved positive feedback for 'rndc {reload|refresh}.
1377. [func] dns_zone_load{new}() now reports if the zone was
loaded, queued for loading to up to date.
1376. [func] New function dns_zone_logc() to log to specified
category.
2002-09-10 02:23:46 +00:00
Mark Andrews
ba4aec8c18
1375. [func] 'rndc dumpdb' now dumps the adb cache along with the
...
data cache.
2002-09-10 02:06:49 +00:00
Mark Andrews
550085fed1
1374. [func] dns_adb_dump() now logs the lame zones associated
...
with each server.
* DP now supports debbugging at non-debug levels.
* log fetch failure reasons at DEF_LEVEL.
2002-09-10 02:01:15 +00:00
Mark Andrews
f411c2e81c
1373. [bug] Recovery from expired glue failed under certian
...
circumstances.
2002-09-10 00:53:31 +00:00
Michael Graff
de6aca419d
Rework previous slightly, to only signal if we were using WAITUNTIL() and we
...
actually have a due time
2002-09-09 21:15:58 +00:00
Michael Graff
e5242f042b
When scheduling a new timer, check to see if we missed our last wakeup
...
by more than 15 seconds. If we have, SIGNAL().
2002-09-09 20:04:10 +00:00
Michael Graff
88f7da4690
add a new log module, timer
2002-09-09 20:02:22 +00:00
Mark Andrews
6125833e82
isc_timer_poke is thread specific
2002-09-09 06:01:06 +00:00
Mark Andrews
252cebc0fa
developer: marka
...
reviewer: jinmei
TRIEDFIND test had wrong sence.
2002-09-09 02:54:18 +00:00
Michael Graff
c68b63e0be
change many debug(3) to debug(1), and several debug(*) to info
2002-09-08 18:37:47 +00:00
Michael Graff
4f39334027
change a message about trailing garbage in a packet from debug(1) to debug(3)
2002-09-08 18:37:12 +00:00
Michael Graff
371147fdc5
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke
2002-09-08 18:35:55 +00:00
Michael Graff
3e42be4026
rename 'worklimited' to 'idle'
2002-09-08 18:35:20 +00:00
Michael Graff
8f7b56e275
add goo for error checking mutexes on (at least) tru64
2002-09-08 18:32:38 +00:00
Tatuya JINMEI 神明達哉
e992af4209
fixed a bug that named crashes with an assertion failure on exit when sharing
...
the same port for listening and querying, and changing listening addresses
several times. [RT# 3509]
additionally,
+ limited the canceled socket tasks in dispatch.c
+ made dns_dispatch_changeattributes() care about the NOLISTEN mask
+ described side effects of dns_dispatch_changeattributes() in its
description comment
2002-09-04 02:26:13 +00:00
Mark Andrews
a39a2424bb
'\0' terminate code.
...
All reasons for marking a server bad should be logged to the lame channel.
2002-08-29 07:01:49 +00:00
Mark Andrews
b6309ed962
developer: jinmei
...
reviewer: marka
1368. [func] remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews
39fe146f2a
developer: marka
...
reviewed: jinmei
1364. [func] Use response times to select forwarders.
2002-08-23 00:27:10 +00:00
Mark Andrews
741a75f81b
reviewed: marka
...
developer: mayer
relative paths
build against openssl 0.9.6g
2002-08-17 01:34:09 +00:00
Mark Andrews
d8ec783e6d
reviewed: jinmei
...
who: marka
1359. [bug] remove IF_RUNNING test when scanning interfaces.
2002-08-16 00:05:57 +00:00
Danny Mayer
15e7c81d57
file changes as well as addition of the use of IpHlpApi from the MS Platform SDK
2002-08-11 03:32:56 +00:00
Danny Mayer
24e0175a62
Win32 version for using the registry or resolv.conf for resolver information
2002-08-11 03:29:32 +00:00
Danny Mayer
1433d8f5f4
changed keyword option to options for the resolv.conf file
2002-08-11 03:26:26 +00:00
Mark Andrews
5bd76af084
1358. [func] log the reason for rejecting a server when resolving
...
queries.
2002-08-09 06:12:50 +00:00
Mark Andrews
49d69bbad8
use lwres_inet_ntop instead of inet_ntop
2002-08-08 21:14:13 +00:00
Mark Andrews
8bcb0f297b
1257. [bug] --enable-libbind would fail when not built in the
...
source tree for certian OS's.
2002-08-08 05:54:12 +00:00
Mark Andrews
5c10f54fe3
1355. [bug] It was possible to trigger a INSIST when debugging
...
large dynamic updates. [RT #3390 ]
2002-08-06 14:33:08 +00:00
Danny Mayer
8c17b6f1e4
Updated code to support more than 63 accepts and connects by adding capability to add more event_wait threads on demand
2002-08-06 03:32:53 +00:00
Mark Andrews
1feb76edcb
1355. [tuning] Reduce the number events / quantum for zone tasks.
2002-08-06 02:16:09 +00:00
Mark Andrews
4c342614f8
1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME.
2002-08-06 01:50:28 +00:00
Mark Andrews
cffb3284d6
add 'man' target
2002-08-05 05:06:07 +00:00
Mark Andrews
e72d4d8929
1354. [doc] lwres man pages had illegal nroff.
2002-08-05 04:56:50 +00:00
Danny Mayer
834aa90500
Change isc_win32_version_check name to isc_win32_versioncheck and fix return value to be as reported in the header
2002-08-03 01:36:24 +00:00
Danny Mayer
70406959df
Fix NTReportError which needed an array of strings instead of just a pointer to a string
2002-08-03 01:34:14 +00:00
Mark Andrews
bb6936058e
1351. [bug] lwres_getipnodebyname() returned the wrong name
...
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
was set.
2002-08-02 12:16:57 +00:00
Danny Mayer
5da7016a6c
Message header is per I/O and not per socket. Changes made to make them per I/O.
2002-08-02 03:45:56 +00:00
Mark Andrews
0ad5cb4782
1350. [bug] dns_name_fromtext() failed to handle too many labels
...
gracefully.
2002-08-02 00:25:15 +00:00
Danny Mayer
dd472802de
ipv6 cleanup and reorganization of header information
2002-08-01 03:56:08 +00:00
Danny Mayer
5a18a1174d
Version-specific functions
2002-08-01 03:54:30 +00:00
Danny Mayer
931e557ecf
Fixed code to check for NULL before freeing buffer
2002-08-01 03:52:14 +00:00
Danny Mayer
1ceb6aa154
Added Windows-specific error codes to list
2002-08-01 03:50:24 +00:00
Danny Mayer
4d9aec9c8c
Redesigned sockets to use I/O Completion Ports and Events and eliminating multiple socket bugs reported
2002-08-01 03:46:21 +00:00
Danny Mayer
de4f4b6c58
Added NTReportError to use when the Event Log is not open for updates
2002-08-01 03:43:31 +00:00
Danny Mayer
498e1c30b2
Moved Win32 Version information to Win32os.c
2002-08-01 03:41:49 +00:00
Danny Mayer
d3e0cb0000
Win32 Version information
2002-08-01 03:40:21 +00:00
Danny Mayer
ace73367af
Added files and functions
2002-08-01 03:37:01 +00:00
Danny Mayer
59d1535572
casts required
2002-08-01 03:31:44 +00:00
Mark Andrews
87f4715d6c
1344. [func] Log if the serial number on the master has gone backwards.
...
If you have multiple machines specified in the masters
clause you may want to set 'multi-master yes;' to suppress
this warning.
2002-07-29 06:58:46 +00:00
Mark Andrews
3733c24efa
1342, [func] Log remote address with TCP dispatch failures.
2002-07-29 01:03:24 +00:00
Mark Andrews
c8b06dc2f9
"make install" failed to install grammar.h and namedconf.h
2002-07-29 00:43:40 +00:00
Mark Andrews
2ee2c1be18
EAI_NODATA is platform dependent.
2002-07-29 00:35:17 +00:00
Mark Andrews
012a2b979e
1341. [func] Allow a rate limiter to be stalled.
2002-07-26 06:42:02 +00:00
Mark Andrews
f6ff008101
1340. [bug] Delay and spread out the startup refresh load.
2002-07-26 06:27:31 +00:00
Mark Andrews
f0471ca4b7
1336. [func] Nibble lookups under IP6.ARPA are now supported by
...
dns_byaddr_create(). dns_byaddr_createptrname() is
deprecated, use dns_byaddr_createptrname2() instead.
2002-07-24 06:42:32 +00:00
Mark Andrews
03d337f54a
For some zones, querying for a DS record before anything else would SERVFAIL.
2002-07-23 03:41:44 +00:00
Mark Andrews
638fe804a5
1255. [bug] When performing a nonexistence proof, the validator
...
should discard parent NXTs from higher in the DNS.
2002-07-22 03:00:49 +00:00
Mark Andrews
9db3d9d14e
1254. [bug] When signing/verifying rdatasets, duplicate rdatas
...
need to be suppressed.
2002-07-22 02:49:14 +00:00
Mark Andrews
0b75a2dd3b
1252. [func] Report the current serial with periodic commits when
...
rolling forward the journal.
2002-07-22 02:06:04 +00:00
Mark Andrews
c54c1eaf26
1251. [func] Generate DNSSEC wildcard proofs.
2002-07-19 03:50:42 +00:00
Mark Andrews
0d993c02ba
1250. [bug] When processing events (non-threaded) only allow
...
the task one chance to use to use its quantum.
2002-07-19 03:39:44 +00:00
Mark Andrews
ff30cdeb78
The validator didn't handle missing DS records correctly.
2002-07-19 03:29:15 +00:00
Mark Andrews
4d9f3f00d9
1249. [func] named-checkzone will now check if nameservers that
...
appear to be IP addresses. Available modes "fail",
"warn" (default) and "ignore" the results of the
check.
2002-07-19 02:34:58 +00:00
Mark Andrews
d196b45738
1248. [bug] The validator could incorrectly verify an invalid
...
negative proof.
2002-07-15 03:27:44 +00:00
Mark Andrews
86f6b92e35
1248. [bug] The validator could incorrectly verify an invalid
...
negative proof.
When checking the range of the nxt record, the code needs to handle
the case where the 'next name' field points to the origin. The way
that the origin was determined was looking at the 'signer' field
of the first SIG NXT, since NXTs are signed by the zone key. This
doesn't work, because the first SIG could have been spoofed. It
now defers checking the nxt range until both the SOA and NXT have
been verified, and uses the owner of the SOA name as the origin.
bwelling
2002-07-15 03:25:28 +00:00
Mark Andrews
25276bd1ec
1247. [bug] The validator would incorrectly mark data as insecure
...
when seeing a bogus signature before a correct
signature.
2002-07-15 02:57:14 +00:00
Mark Andrews
320d6ee24e
1246. [bug] DNAME/CNAME signatures were not being cached when
...
validation was not being performed. [RT #3284 ]
2002-07-15 02:23:58 +00:00
Mark Andrews
981e5046e0
max-journal-size is a zone option
2002-07-13 00:53:34 +00:00
Mark Andrews
0996973920
distclean
2002-07-12 01:42:22 +00:00
Mark Andrews
53f9ddf27c
silence pointer mismatch
2002-07-04 04:19:54 +00:00
Mark Andrews
6244f49146
protect clua_context access w/ #ifdef
2002-07-03 06:25:32 +00:00
Mark Andrews
7fd9fd9e4c
TRUCLUSTER support: isc_interfaceiter_first() should set clua_context.
2002-07-02 05:51:43 +00:00
Mark Andrews
89251e453b
result undeclared, #include <isc/log.h>
2002-07-01 23:00:38 +00:00
Mark Andrews
ecf7a18125
isc_modules[2] not isc_modules[3]
2002-07-01 01:39:45 +00:00
Mark Andrews
fe4d3e1992
hpux: ioctl(SIOCGLIFCONF) failure -> debug(1)
2002-07-01 01:08:37 +00:00
Mark Andrews
54532c5413
1339. [func] libbind: log attempts to exploit #1338 .
2002-06-28 06:12:42 +00:00
Mark Andrews
020f7361a4
1338. [bug] libbind: Remote buffer overrun.
2002-06-28 06:06:24 +00:00
Mark Andrews
e8fb857c20
consistant white space w/ BIND 8
2002-06-28 05:59:22 +00:00
Mark Andrews
1c0927d8a0
1337. [port] libbind: TrueUNIX 5.1 does not like __align as a
...
element name.
2002-06-28 05:46:10 +00:00
Mark Andrews
e817515a6c
pullup: ns_r_badvers extended error code
2002-06-28 05:41:56 +00:00
Mark Andrews
446ff1959c
pullup from BIND 8
...
1336. [bug] libbind: gethostans() could get out of sync parsing
the response if there was a very long CNAME chain.
2002-06-28 05:00:55 +00:00
Mark Andrews
33c5380153
1334. [port] Handle ECONNRESET from sendmsg() [unix].
2002-06-26 00:12:54 +00:00
Mark Andrews
51ff296fef
regen so both configures are built using the same autoconf
2002-06-24 23:41:06 +00:00
Mark Andrews
d9e0458a89
1331. [bug] lwres_getrrsetbyname leaked memory. [RT #3159 ]
2002-06-20 02:31:17 +00:00
Mark Andrews
880f50a1e6
Protect both the socket and fifo tests with #ifdef's.
2002-06-20 01:19:51 +00:00
Mark Andrews
de49761421
1330. [bug] 'rndc stop' failed to cause zones to be flushed
...
sometimes. [RT #3157 ]
2002-06-19 07:14:48 +00:00
Mark Andrews
5758e9adfb
1329. [func] Log that a zone transfer was covered by a TSIG.
2002-06-19 06:47:25 +00:00
Mark Andrews
b0d31c78bc
uninitalised variable
2002-06-19 04:15:12 +00:00
Mark Andrews
0b09763c35
1328. [func] DS (delegation signer) support.
2002-06-17 04:01:37 +00:00
Mark Andrews
e0fa16fe19
1326. [bug] Badly encoded LOC record when the size, horizontal
...
precision or vertical precision was 0.1m.
2002-06-14 23:40:14 +00:00
Mark Andrews
5991ce4236
remove change #1284
2002-06-13 07:25:25 +00:00
Mark Andrews
7d389c324c
1324. [func] New function: dns_zone_name().
2002-06-13 07:05:47 +00:00
Mark Andrews
e2cf63c5df
1218. [port] Compaq Trucluster support.
2002-06-07 00:03:50 +00:00
Mark Andrews
38ded52dbb
Handle OS's with incomplete API's
2002-06-06 00:55:48 +00:00
Mark Andrews
c3184b4e2a
1219. [bug] Set AI_ADDRCONFIG when looking up addresses
...
via getaddrinfo() (affects dig, host, nslookup, rndc
and nsupdate).
2002-06-06 00:27:37 +00:00
Mark Andrews
9b7c023fe6
1218. [bug] The CINCLUDES macro in lib/dns/sec/dst/Makefile
...
could be left with a trailing "\" after configure
has been run.
2002-06-05 22:34:57 +00:00
Mark Andrews
918102a7d2
mask of mode format bits and compare result
2002-06-05 02:20:59 +00:00
Mark Andrews
5ddbaad44e
|| should have been && in #if test.
2002-06-04 23:26:16 +00:00
Mark Andrews
0a1fa37641
1217. [port] linux: make handling EINVAL from socket() no longer
...
conditional on #ifdef LINUX.
2002-06-03 06:31:16 +00:00
Mark Andrews
c61ec97ae0
1216. [bug] isc_log_closefilelogs() needed to lock the log
...
context.
2002-06-03 04:34:19 +00:00
Mark Andrews
49f7d1585e
1215. [bug] isc_log_setdebuglevel() needed to lock the log
...
context.
2002-06-03 03:39:56 +00:00
Mark Andrews
0b1af13f68
pullup:
...
1314. [func] libbind: no longer attempts bit string labels for
IPv6 reverse resolution. Try IP6.ARPA then IP6.INT
for nibble style resolution.
2002-06-03 00:34:58 +00:00
Mark Andrews
945cb085b8
1213. [func] Entropy can now be retrieved from EGDs. [RT #2438 ]
2002-05-30 04:21:17 +00:00
Mark Andrews
5ed4b0d445
1212. [func] Enable IPv6 support when using ioctl style interface
...
scanning and OS supports SIOCGLIFADDR using struct
if_laddrreq.
2002-05-30 01:28:53 +00:00
Mark Andrews
c549b3a4d5
1211. [func] Enable IPv6 support when using sysctl style interface
...
scanning.
2002-05-30 01:24:12 +00:00
Mark Andrews
8f96645217
1208. [bug] Adjusted REQUIRE's in lib/dns/name.c to better
...
reflect written requirements.
2002-05-29 00:27:53 +00:00
Mark Andrews
da091cda77
1207. [bug] REQUIRE that DNS_DBADD_MERGE only be set when adding
...
a rdataset to a zone db in the rbtdb implementation of
addrdataset.
2002-05-28 05:49:20 +00:00
Mark Andrews
d8d489cd8e
1206. [bug] dns_name_downcase() enforce requirement that
...
target != NULL or name->buffer != NULL.
2002-05-28 03:39:46 +00:00
Mark Andrews
f93fad20d4
check location before dereference
2002-05-27 11:37:40 +00:00
Mark Andrews
5fdea8467e
Define SETFAMILYFLAGS, tidy.
2002-05-27 07:54:35 +00:00
Mark Andrews
bdb1394788
1205. [func] lwres: probe the system to see what address families
...
are currently in use.
2002-05-27 06:54:48 +00:00
Mark Andrews
c8aa2c8311
1204. [bug] The RTT estimate on unused servers was not aged.
...
[RT #2569 ]
2002-05-27 06:30:25 +00:00
Mark Andrews
a1edcd1b8d
1203. [func] Use "dataready" accept filter if available.
2002-05-27 00:40:23 +00:00
Mark Andrews
5b1627d469
1302. [port] libbind: hpux 11.11 interface scaning.
2002-05-24 06:52:39 +00:00
Mark Andrews
8989de1059
1300. [bug] libbind: escape '(' and ')' when coverting to
...
presentation form.
2002-05-24 05:21:42 +00:00
Mark Andrews
acc8b7ac3d
1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590 ]
2002-05-23 04:32:30 +00:00
Mark Andrews
a2734fa74a
isc_file_renameunique() no longer used mkstemp().
2002-05-22 05:57:17 +00:00
Mark Andrews
b9efcf0a37
1297. [func] You can now create your own customised printing
...
styles: dns_master_stylecreate() and
dns_master_styledestroy().
2002-05-21 06:12:45 +00:00
Mark Andrews
8e5893c36c
1296. [bug] libbind: const pointer conficts in res_debug.c.
2002-05-21 02:07:50 +00:00
Mark Andrews
e396939d49
1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN.
2002-05-20 04:29:29 +00:00
Mark Andrews
9549a96654
1294. [bug] Memory leak in lwres_gnbarequest_parse().
2002-05-17 02:30:37 +00:00
Mark Andrews
3d822d111c
1293. [port] libbind: solaris: 64 bit binary compatability.
2002-05-16 04:47:56 +00:00
Mark Andrews
26cf4737b3
1288. [port] Openserver: the value FD_SETSIZE depends on whether
...
<sys/param.h> is included or not. Be consistant.
2002-05-10 06:41:55 +00:00
Mark Andrews
34e5a08809
1287. [func] isc_file_openunique() now creates file using mode
...
0666 rather than 0600.
2002-05-09 09:08:56 +00:00
Mark Andrews
0cd36f1d15
1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
...
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
are not C++ compatible, use *_TYPE versions instead.
2002-05-09 07:09:30 +00:00
Mark Andrews
93649589d4
1285. [bug] libbind: LINK_INIT and UNLINK were not compatible with
...
C++, use LINK_INIT_TYPE and UNLINK_TYPE instead.
2002-05-09 02:01:27 +00:00
Mark Andrews
29f5bb81e2
1284. [bug] Memory leak if dns_db_beginload() failed.
2002-05-08 06:51:52 +00:00
Mark Andrews
ddc592d128
1283. [bug] Reference after free error if dns_dispatchmgr_create()
...
failed.
2002-05-08 06:34:30 +00:00
Mark Andrews
bd6ad47c3d
1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
...
support for compressed TSIG owner names.
2002-05-06 06:29:41 +00:00
Mark Andrews
c7c1bf7dc1
1280. [func] libbind: res_update can now update IPv6 servers,
...
new function res_findzonecut2().
2002-05-06 04:12:55 +00:00
Mark Andrews
9e205a3c51
1279. [bug] libbind: get_salen() IPv6 support was broken for OSs
...
w/o sa_len.
2002-05-03 06:13:27 +00:00
Mark Andrews
e823642ec0
1278. [bug] libbind: res_nametotype() and res_nametoclass() were
...
broken.
2002-05-03 06:04:55 +00:00
Mark Andrews
ac70982956
add ECONNREFUSED
2002-05-03 05:43:40 +00:00
Mark Andrews
ab36b9cfee
add config.h
2002-05-02 06:55:23 +00:00
Mark Andrews
c99d9017ba
1275. [bug] When verifying that an NXT proves nonexistence, check
...
the rcode of the message and only do the matching NXT
check. That is, for NXDOMAIN responses, check that
the name is in the range between the NXT owner and
next name, and for NOERROR NODATA responses, check
that the type is not present in the NXT bitmap.
2002-04-29 23:50:26 +00:00
Mark Andrews
c4a9ce445c
1274. [func] preferred-glue option from BIND 8.3.
2002-04-26 00:40:37 +00:00
Mark Andrews
984c39beed
1269. [bug] Missing masters clause was not handled gracefully.
...
[RT #2703 ]
2002-04-17 01:23:15 +00:00
Mark Andrews
59bbc667bc
Use relative paths
2002-04-10 03:51:43 +00:00
Mark Andrews
c311ed52d4
1247. [bug] Don't reset the interface index for link/site local
...
addresses. [RT #2576 ]
2002-04-03 06:44:11 +00:00
Mark Andrews
79a6a33184
1246. [func] New functions isc_sockaddr_issitelocal(),
...
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
and isc_netaddr_islinklocal().
2002-04-03 06:38:38 +00:00
Mark Andrews
5d26560e2b
1245. [bug] Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
...
accept().
HPUX 11.11 returns ENOBUFS when the TCP connecting is closed before accept.
ENOMEM and ENFILE were also recommend by HP to be treated as soft for accept().
2002-04-03 05:41:20 +00:00
Mark Andrews
d6fbfd28ea
1243. [bug] It was possible to trigger a REQUIRE() in
...
dns_message_findtype(). [RT #2659 ]
2002-04-03 02:44:57 +00:00
Mark Andrews
2eeaed2812
missed one change
2002-04-02 08:04:42 +00:00
Mark Andrews
7791dd06ea
1242. [bug] named-checkzone failed if a journal existed. [RT #2657 ]
2002-04-02 06:54:07 +00:00
Mark Andrews
abc93ada82
rrset-order cyclic w/ sortlist broken.
2002-04-02 06:06:29 +00:00
Mark Andrews
091b098b49
1241. [bug] Drop received UDP messsages with a zero source port
...
as these are invariably forged. [RT #2621 ]
2002-04-02 04:36:52 +00:00
Mark Andrews
0bd9d19281
INSIST that there are no outstanding tasks when the task manager is
...
about to be destroyed (non-threaded).
2002-03-29 01:25:04 +00:00
Mark Andrews
9be230cfca
make val unsigned as we are now using strtoul().
2002-03-27 23:31:32 +00:00
Mark Andrews
f0ffc28f61
1238. [bug] It is possible to lockup the server when shutting down
...
if a notifies were being processed. [RT #2591 ]
2002-03-27 04:48:21 +00:00
Mark Andrews
beed6a0e22
Change 1236 was incorrect. [RT #2611 ]
2002-03-27 03:31:49 +00:00
Mark Andrews
18360f880c
missed it part
2002-03-20 22:25:58 +00:00
Mark Andrews
21ca3480cd
4->5
2002-03-20 22:06:07 +00:00
Mark Andrews
8695d7b357
1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
...
NULL terminated text regions. [RT #2588 ]
2002-03-20 17:12:29 +00:00
Mark Andrews
f76c4ebaf5
1235. [func] Report 'out of memory' errors from openssl.
2002-03-19 04:30:57 +00:00
Mark Andrews
72b6ec6e5d
lock mctx for DELETE_TRACE call in isc__mempool_put()
2002-03-19 02:40:16 +00:00
Brian Wellington
d56fa53141
Only allow hex or decimal when parsing key flags, not octal.
2002-03-17 18:59:43 +00:00
Brian Wellington
81e302788a
1233. [bug] The flags field of a KEY record can be expressed in
...
hex as well as decimal.
2002-03-17 18:50:21 +00:00
Mark Andrews
c00a1eb423
1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL.
2002-03-15 05:01:33 +00:00
Mark Andrews
1e258716ac
1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
2002-03-15 04:59:03 +00:00
Mark Andrews
d972fa3178
1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken.
2002-03-15 04:54:58 +00:00
Brian Wellington
4b171ebd70
1229. [bug] named would crash if it received a TSIG signed
...
query as part of an AXFR response. [RT #2570 ]
2002-03-14 18:34:48 +00:00
Brian Wellington
17a2a1d3c1
fix invalid format string
2002-03-14 00:43:00 +00:00
Brian Wellington
6585d8782b
the region passed to dns_name_fromregion() can be const.
2002-03-14 00:36:07 +00:00
Mark Andrews
fd0528d19d
remove dead code
2002-03-12 04:10:57 +00:00
Mark Andrews
80b469ae8c
silence compiler
2002-03-12 04:07:37 +00:00
Mark Andrews
03fae7ef21
1227. [bug] dns_lex_getmastertoken() now returns ISC_R_BADNUMBER
...
if a number was expected and some other token was
found. [RT#2532]
2002-03-11 05:38:29 +00:00
Mark Andrews
ad611e746d
1226. [func] Use EDNS for zone refresh queries. [RT #2551 ]
2002-03-11 04:41:53 +00:00
Mark Andrews
603d1d1e20
1225. [func] dns_message_setopt() no longer requires that
...
dns_message_renderbegin() to have been called.
2002-03-11 01:59:16 +00:00
Mark Andrews
9de92818ae
warn that rrset-order 'fixed' is not implemented.
2002-03-10 23:40:31 +00:00
Brian Wellington
861cef1397
default_fromtext_callback should print a newline
2002-03-08 01:58:10 +00:00
Brian Wellington
231ffa6c85
add a new result code so that parsing a bad KEY record doesn't result in
...
"unknown class/type".
2002-03-08 01:38:57 +00:00
Mark Andrews
412e65017e
rrset-order checks
2002-03-08 00:54:48 +00:00
Mark Andrews
6f49c3e315
rrset-order is nolonger not implemented.
...
rrset-order should be a view level option.
2002-03-07 13:48:02 +00:00
Mark Andrews
2dd99c098c
1234. [bug] 'rrset-order' and 'sortlist' should be additive
...
not exclusive.
1223. [func] 'rrset-order' partially works 'cyclic' and 'random'
are supported.
2002-03-07 13:46:41 +00:00
Brian Wellington
df5e0316a7
- add the missing typedef for dns_order_t
...
- change the order of parameters to dns_order_create() for consistency
- add multiple inclusion protection to order.h
- fix a couple of typos
2002-03-07 07:48:48 +00:00
Mark Andrews
f4ea263511
rrset-order support.
2002-03-07 06:29:37 +00:00
Mark Andrews
1fb264ed3a
1222. [bug] Specifying 'port *' did not always result in a system
...
selected (non-reserved) port being used. [RT #2537 ]
2002-03-07 00:07:27 +00:00
Brian Wellington
a615e9a446
ALP -> APL
2002-03-06 18:33:13 +00:00
Mark Andrews
feb8ae0931
1220. [func] Support for APL rdata type.
2002-03-06 07:41:25 +00:00
Mark Andrews
8133c5d6ae
We could select on a closed file descriptor.
2002-03-05 06:41:08 +00:00
Brian Wellington
aa05bbdef7
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.
2002-03-05 01:02:06 +00:00
Brian Wellington
da362f71bd
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.
2002-03-05 00:59:42 +00:00
Mark Andrews
95b604c5e9
1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on
...
when there was a BADTIME error. [RT #2519 ]
2002-03-05 00:06:02 +00:00
Mark Andrews
2211bec6a0
1217. [func] Report locations of previous key definition when a
...
duplicate is detected.
2002-03-04 05:27:31 +00:00
Mark Andrews
89f7901415
INSIST -> RUNTIME_CHECK
2002-03-04 05:24:33 +00:00
Mark Andrews
fcb2ecdb52
1216. [bug] Multiple server clauses for the same server were not
...
reported. [RT #2514 ]
2002-03-04 05:07:06 +00:00
Brian Wellington
65c709f4de
add isc_parse_uint16() and isc_parse_uint8()
2002-02-28 20:08:06 +00:00
Mark Andrews
ce24330566
<isc/print.h> for snprintf
2002-02-28 05:13:57 +00:00
Mark Andrews
b9c80c8bdd
1214. [bug] Win32: isc_file_renameunique() could leave zero length
...
files behind.
2002-02-28 00:23:34 +00:00
Brian Wellington
9e6286de2a
add dst_key_privatefrombuffer(), which coverts a public key into a private
...
key.
2002-02-27 22:12:06 +00:00
Mark Andrews
f82e386bfc
remove dead code
2002-02-27 04:05:02 +00:00
Mark Andrews
27269e9dd4
pullup from BIND 8:
...
1212. [port] libbind: 64k answer buffers were causing stack space
to be exceeded for certian OS. Use heap space instead.
2002-02-27 04:03:11 +00:00
Mark Andrews
f38c274c21
1211. [bug] dns_name_fromtext() incorrectly handled certian
...
valid octal bitlabels. [RT #2483 ]
2002-02-26 12:43:38 +00:00
Mark Andrews
2e8d4fabc2
#1204 failed to set sin_len
2002-02-26 05:03:10 +00:00
Mark Andrews
84ef147b1f
pullup:
...
1210. [bug] libbind: getnameinfo() failed to lookup IPv4 mapped /
compatible addresses. [RT #2461 ]
2002-02-26 03:15:00 +00:00
Brian Wellington
f9f2e770a9
add REQUIREs
2002-02-21 23:51:49 +00:00
Andreas Gustafsson
3806b4e01e
removed unused struct field isc_lex_t::options
2002-02-21 20:04:01 +00:00
Mark Andrews
fcde24ec36
LOGIT not LOGITFILE
2002-02-21 01:00:41 +00:00
Brian Wellington
26bb3b1733
oops, forgot to assign lctx->keep_lex.
2002-02-21 00:56:14 +00:00
Mark Andrews
fc7fbdf6e6
1208. [bug] dns_master_load*() failed to log a error message if
...
an error was detected when parsing the ownername of
a record. [RT #2448 ]
2002-02-21 00:51:22 +00:00
Brian Wellington
011dc51eee
dns_master_loadlexer[inc], to load master files from existing lexers
2002-02-21 00:45:11 +00:00
Brian Wellington
02e5f92113
isc_lex_setsourcename(), for use when lexing buffers or streams
2002-02-21 00:44:16 +00:00
Brian Wellington
8cf24d101a
add dns_rdataslab_tordataset()
2002-02-20 22:57:13 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784
There are four "i":s in "initialize"
2002-02-20 01:45:15 +00:00
Brian Wellington
8d87d1d81c
DNS_R_NOMEM -> ISC_R_NOMEMORY
2002-02-19 23:46:32 +00:00
Andreas Gustafsson
2d6ff29a07
spelling
2002-02-19 22:58:29 +00:00
Mark Andrews
3023a2fb9d
Don't mark a server as not supporting a EDNS on SERVFAIL. There are too
...
many other potential causes.
2002-02-19 06:16:36 +00:00
Mark Andrews
986be654fe
pullup from BIND8:
...
1207. [bug] libbind: getaddrinfo() could call freeaddrinfo() with
an invalid pointer.
2002-02-19 03:45:07 +00:00
Danny Mayer
966cd6ced9
Undo previous checkin which was for v9_2 branch
2002-02-19 03:04:26 +00:00
Mark Andrews
c26c65b7a0
1206. [bug] SERVFAIL and NOTIMP responses to a EDNS should trigger
...
a non-EDNS retry.
2002-02-19 00:48:21 +00:00
Danny Mayer
e2759ff73a
Fixes for error handling that were missing in previous commit
2002-02-18 22:20:13 +00:00
Danny Mayer
b19179cdd2
Added libdns to link as check.c now references DNS functions
2002-02-18 22:04:22 +00:00
Mark Andrews
43733a83ed
1205. [bug] OPT, TSIG and TKEY cannot be used to set the "class"
...
of the message. [RT #2449 ]
2002-02-18 04:20:53 +00:00
Mark Andrews
bda64555f6
1204. [bug] libbind: res_nupdate() failed to update the name
...
servers addresses before sending the update.
2002-02-15 04:17:35 +00:00
Mark Andrews
39c2b74142
1203. [func] Report locations of previous acl and zone definitions
...
when a duplicate is detected.
2002-02-13 04:36:52 +00:00
Mark Andrews
ca9eb5fd16
memory leak
2002-02-13 03:56:57 +00:00
Mark Andrews
9727d74064
report line of previous acl definition.
2002-02-13 03:43:09 +00:00
Mark Andrews
de36c606c5
1202. [func] New functions: cfg_obj_line() and cfg_obj_file().
...
This should allow duplicate reports to identify the location of both objects.
2002-02-13 03:32:56 +00:00
Mark Andrews
d368d43ec7
Allocate and free key used to check for duplicate zones.
2002-02-12 13:17:23 +00:00
Mark Andrews
d7e2b53041
make distclean should remove "rules", "includes" and "mkdep".
2002-02-12 05:42:04 +00:00
Mark Andrews
9ef64d35b7
only issue warning if callbacks is none NULL.
2002-02-12 03:57:59 +00:00
Mark Andrews
23cb957a81
1201. [bug] Require that if 'callbacks' is passed to
...
dns_rdata_fromtext(), callbacks->error and
callbacks->warn are initalised.
2002-02-12 03:45:54 +00:00
Mark Andrews
c73c1c33ec
1193. [bug] dig +besteffort parsing didn't handle packet
...
truncation. dns_message_parse() has new flag
DNS_MESSAGE_IGNORETRUNCATION.
2002-02-12 02:10:33 +00:00
Mark Andrews
b6a0341bcb
don't reference through potentially NULL callback pointers.
2002-02-11 22:30:28 +00:00
Andreas Gustafsson
28e509b145
const correctness
2002-02-11 18:19:26 +00:00
Mark Andrews
28d8b4118d
1200. [bug] Log 'errno' that we are unable to convert to
...
isc_result_t. [RT #2404 ]
2002-02-11 05:11:07 +00:00
Mark Andrews
5d7b81d2a4
1198. [bug] OPT printing style was not consistant with the way the
...
header fields are printed. "do" was not reported if
set. Report is any of the MBZ bits are set.
2002-02-11 02:03:23 +00:00
Mark Andrews
8f63de3029
1197. [bug] Attempts to define the same acl multiple times were not
...
detected.
2002-02-11 00:46:26 +00:00
Mark Andrews
9aa1fb4861
1192. [bug] The seconds fields in LOC records were restricted
...
to three decimal places. More decimal places should
be allowed but warned about.
Paul requested that this be a warned about.
2002-02-10 23:52:26 +00:00
Brian Wellington
08102bb28c
consistency - all of the other arrays of checking-related stuff are not
...
null-terminated.
2002-02-06 06:54:31 +00:00
Mark Andrews
9ae90732df
1195. [bug] Attempts to redefine builtin acls should be caught.
...
[RT #2403 ]
2002-02-06 06:45:40 +00:00
Mark Andrews
f3222d48cc
1194. [bug] Not all duplicate zone definitions were being detected
...
at the named.conf stage. [RT #2431 ]
2002-02-06 05:58:06 +00:00
Mark Andrews
e95cc59f90
1193. [bug] best effort parsing didn't handle packet truncation.
2002-02-06 04:20:23 +00:00
Brian Wellington
60e9e70654
1024 -> DNS_NAME_FORMATSIZE
2002-02-05 21:41:31 +00:00
Brian Wellington
47db0efda1
spacing
2002-02-05 20:02:47 +00:00
Brian Wellington
8839b6acbf
clean up the shutdown "logic".
2002-02-05 19:46:30 +00:00
Brian Wellington
db462c020e
spacing
2002-02-05 19:44:55 +00:00
Brian Wellington
32dd66cc5e
spacing
2002-02-05 07:54:08 +00:00
Brian Wellington
ecb55f9962
The code for parsing non-answer messages could get confused if it saw a SIG NS
...
before an NS.
2002-02-05 01:15:21 +00:00
Danny Mayer
c6d29fbd5f
Added isc_fsaccess_changeowner function similar to the code to set file access attributes
2002-02-02 01:01:15 +00:00
Brian Wellington
18b7133679
more minor cleanups
2002-02-01 20:18:33 +00:00
Brian Wellington
23e4260821
minor cleanup
2002-02-01 20:08:56 +00:00
Andreas Gustafsson
45ddf396e9
spacing
2002-02-01 02:33:26 +00:00
Brian Wellington
9ecd36e0de
RFC 2065 -> RFC 2535
2002-01-31 01:50:46 +00:00
Brian Wellington
0062c1ddfe
1192. [bug] The seconds fields in LOC records were restricted
...
to three decimal places. More decimal places should
be allowed and silently truncated.
2002-01-27 20:52:47 +00:00
Danny Mayer
6fedbb60b2
Change freebuf flag to be local to calls to NTstrerror() and be threadsafe
2002-01-25 03:39:25 +00:00
Danny Mayer
efd263562b
Removed C++ "//" comment lines
2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c
Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage.
2002-01-24 23:19:35 +00:00
Mark Andrews
db18d1997e
DNS_ZONEFLG_FLUSH was not being cleared.
...
dns_zone_flush() could return a misleading result.
If the zone was being dumped incrementaly when dns_zone_flush() was
called ensure that it gets redumped if the were still outstanding
changes.
2002-01-24 13:45:36 +00:00
Brian Wellington
b6279d0b4b
Don't freeze an already frozen zone.
2002-01-24 09:58:42 +00:00
Brian Wellington
b2ca6fd3a8
#1187 was both unclean and broken. Fix it and clean it up.
2002-01-23 08:46:40 +00:00
Mark Andrews
7e715a0fc5
alignment
2002-01-23 03:42:23 +00:00
Andreas Gustafsson
b6e20238b6
Fix RT #2309 differently, allowing rather than rejecting empty
...
also-notify clauses
2002-01-23 02:03:05 +00:00
Mark Andrews
de619d1e81
remove also-notify empty checks.
2002-01-23 01:51:16 +00:00
Andreas Gustafsson
93aba2cb04
The comment saying that the string passed to isc_log_settag()
...
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Brian Wellington
cde7dfea4c
1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
...
[RT #2394 ]
Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal. This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic. "unfreeze" re-enables dynamic
updates to a zone.
So, instead of the old:
rndc stop
edit master file
remove journal
restart server
you can now do:
rndc freeze zone
edit master file
rndc reload zone
rndc unfreeze zone
which doesn't require stopping the server.
About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Andreas Gustafsson
915c16e8aa
typo in comment
2002-01-22 21:52:32 +00:00
Andreas Gustafsson
47af71b523
use token.value.as_textregion.base, not token.value.pointer
2002-01-22 19:31:57 +00:00
Brian Wellington
fca9cc33ad
1189. [bug] On some systems, malloc(0) returns NULL, which
...
could cause the caller to report an out of memory
error. [RT #2398 ]
2002-01-22 15:40:24 +00:00
Brian Wellington
2ca2e1a1ce
1188. [bug] Dynamic updates of a signed zone would fail if
...
some of the zone private keys were unavailable.
2002-01-22 13:04:45 +00:00
Brian Wellington
84185d19c7
1187. [bug] named was incorrectly returning DNSSEC records
...
in negative responses when the DO bit was not set.
2002-01-22 09:07:30 +00:00
Mark Andrews
5da1e589c2
pullup from BIND 8:
...
1185. [bug] libbind: don't assume statp->_u._ext.ext is valid
unless RES_INIT is set when calling res_*init().
1184. [bug] libbind: call res_ndestroy() if RES_INIT is set
when res_*init() is called.
2002-01-22 03:16:28 +00:00
Mark Andrews
852fa3b2e3
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-22 02:38:34 +00:00
Brian Wellington
8569ab045a
1182. [bug] The server could throw an assertion failure when
...
constructing a negative response packet.
2002-01-21 16:26:06 +00:00
Brian Wellington
a5c077e40c
1181. [func] Add the "key-directory" configuration statement,
...
which allows the server to look for online signing
keys in alternate directories.
2002-01-21 11:00:25 +00:00
Brian Wellington
930ecd3756
style
2002-01-21 09:47:09 +00:00
Brian Wellington
97527fc03c
1179. [func] Add SIG(0) support to nsupdate.
2002-01-21 07:59:15 +00:00
Mark Andrews
c46f10e4a1
Use as_textregion.base not as_pointer. [RT #2385 ]
2002-01-21 01:07:32 +00:00
Mark Andrews
e1c2a8b9c1
1178. [func] Follow and cache (if appropriate) A6 and other
...
data chains to completion in the additional section.
2002-01-17 00:16:30 +00:00
Brian Wellington
3a8d4a316e
openssl 0.9.6a and higher don't have the RSA locking bug that earlier versions
...
did, so don't disable precomputation. Note that while this was fixed for
RSA, other algorithms still don't do locking when performing precomputation,
and thus we still disable it.
2002-01-15 22:09:45 +00:00
Mark Andrews
b7064914ca
1177. [func] Report view when loading zones if it is not a
...
standard view (_default or _bind). [RT #2270 ]
2002-01-15 06:42:15 +00:00
Brian Wellington
6e8b843125
When parsing a hex string of unknown length, properly unget the EOL token
...
at the end. This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Mark Andrews
b627356826
re-do:
...
1168. [bug] Empty also-notify clauses were not handled. [RT #2309 ]
2002-01-14 04:16:03 +00:00
Andreas Gustafsson
9cf6d43887
cut-and-paste-o:s
2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4
1174. [bug] Win32: add WSAECONNRESET to the expected errors
...
from connect(). [RT #2308 ]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8
1173. [bug] Potential leaks in isc_log_create() and
...
isc_log_settag(). [RT #2336 ]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4
move isc_region_compare to isc/region.[ch], not isc/buffer.[ch]
2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Mark Andrews
9c827a3997
initalise warning
...
initalise token
only print known token types.
2002-01-04 06:19:20 +00:00
Mark Andrews
adbb11147c
1170. [bug] Don't attempt to print the token when a I/O error
...
occurs when parsing named.conf. [RT #2275 ]
2002-01-04 05:42:12 +00:00
Andreas Gustafsson
6a2a7fbfd1
oops, forgot this file in last commit
2002-01-04 04:34:51 +00:00
Andreas Gustafsson
669e9657c7
Split off the named.conf grammar into a source module separate
...
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2002-01-04 02:32:16 +00:00
Mark Andrews
77467267d9
1168. [bug] Empty also-notify clauses were not handled gracefully.
...
[RT #2309 ]
2001-12-29 04:49:51 +00:00
Brian Wellington
b7dca533e0
avoid calling set_offsets() in dns_name_copy() if possible.
2001-12-28 20:59:27 +00:00
Mark Andrews
0fa218cc7c
reduce the log level of connection reset from error to info.
2001-12-27 05:07:26 +00:00
Mark Andrews
da5d1cf1b1
1164. [bug] "Not Implemented" should be reported as NOTIMP.
2001-12-19 12:16:47 +00:00
Mark Andrews
df1415d1e8
Out of date comment.
2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889
reference after free in error path.
2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa
Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999
2001-12-19 03:46:57 +00:00
Mark Andrews
66291de206
1165. [bug] We were rejecting notify-source{-v6} in zone clauses.
2001-12-18 23:23:32 +00:00
Brian Wellington
0118965e19
fix large DH key generation, hopefully for the last time.
2001-12-18 06:05:41 +00:00
Mark Andrews
6c06bc591a
1164. [bug] Empty masters clauses in slave / stub zones were not
...
handled gracefully. [RT #2262 ]
2001-12-17 22:56:58 +00:00
Mark Andrews
c36f45e354
1163. [func] isc_time_formattimestamp() will now reports the year.
...
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Andreas Gustafsson
9cec4ca6ca
1162. [bug] The allow-notify option was not accepted in slave
...
zone statements.
2001-12-13 06:31:00 +00:00
Brian Wellington
19f0d00107
check that allow-notify is only specified for slave zones
2001-12-13 06:20:40 +00:00
Mark Andrews
23fb770906
1161. [bug] named-checkzone looped on unbalanced brackets.
...
[RT #2248 ]
2001-12-13 06:13:44 +00:00
Brian Wellington
1898837a5e
Add the well-known 1536 bit prime from draft-ietf-dnsext-rfc2539bis-dhk-01.txt
2001-12-12 17:18:52 +00:00
Brian Wellington
9af8851b85
whitespace style
2001-12-12 17:09:39 +00:00
Brian Wellington
0cb27602e5
1160. [bug] Generating Diffie-Hellman keys longer than 1024
...
bits could fail. [RT #2241 ]
2001-12-12 16:43:24 +00:00
Mark Andrews
5af6873693
tag slave zones when loading
2001-12-11 20:52:41 +00:00
Mark Andrews
ff1b064f5e
1159. [bug] MD and MF are not permitted to be loaded by RFC1123.
2001-12-11 20:37:16 +00:00
Brian Wellington
efc01ed4ad
fix comment
2001-12-08 02:14:46 +00:00
Brian Wellington
708f3fd049
Added the DNS_DBFIND_FORCENXT flag to dns_db_find, which causes the lookup
...
to search for NXT records, even if the zone is not marked as secure.
2001-12-08 00:37:07 +00:00
Mark Andrews
880723fb13
1157. [func] match-clients and match-destinations now accept
...
keys. [RT #2045 ]
2001-12-06 04:38:51 +00:00
Brian Wellington
e128be1387
track the size of memory blocks when debugging is enabled.
2001-12-05 19:13:26 +00:00
Mark Andrews
e23cb8a303
RUNTIME_CHECK(dns_rdata_tostruct())
...
if isc_time_add() fails, issue warning message and retry with a half interval,
this should only happen if we are approaching time wrap around (2038 for UNIX
systems).
2001-12-05 03:21:23 +00:00
Andreas Gustafsson
ee515ce130
commented
2001-12-05 03:05:30 +00:00
Mark Andrews
fefbb64a75
1155. [func] Recover from master files being removed from under
...
us.
2001-12-04 05:17:53 +00:00
Brian Wellington
41e50ece38
add dns_name_hashbylabel() and make the rbt use it.
2001-12-04 01:32:44 +00:00
Andreas Gustafsson
5d727330e4
brace style
2001-12-03 19:44:08 +00:00
Mark Andrews
111e3433d2
1154. [bug] When scanning interfaces skip the interface
...
if address no address is configured. [RT #2176 ]
2001-12-03 04:41:42 +00:00
Brian Wellington
b7415ddd79
let isc_lex_destroy() close sources.
2001-11-30 18:26:46 +00:00
Mark Andrews
5e8f2512a6
leave isc_lex_destroy() to close any open streams.
2001-11-30 03:14:50 +00:00
Brian Wellington
2e4bec457d
Before signing with a key, make sure that it's not the public-only part.
...
A sane crypto toolkit would catch this and return an error, but openssl
unceremoniously seg faults.
2001-11-30 02:11:04 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
9ac8796f16
1152. [bug] libbind: read buffer overflows.
2001-11-30 01:19:02 +00:00
Andreas Gustafsson
242bba8991
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().
2001-11-30 01:02:18 +00:00
Mark Andrews
ef29912666
1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
...
the OS. listen-on-v6 { any; }; should no longer
result in IPv4 queries be accepted. Similarly
control { inet :: ... }; should no longer result
in IPv4 connections being accepted. This can be
overridden at compile time by defining
ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
bfbea562e6
new function dns_diff_applysilently() [RT #2157 ]
2001-11-29 00:15:35 +00:00
Brian Wellington
3638017bd3
1143. [bug] When a trusted-keys statement was present and named
...
was built without crypto support, it would leak memory.
2001-11-28 02:35:02 +00:00
Mark Andrews
6737b6ebf0
shutup bogus ambiguous else compiler warning.
2001-11-27 22:53:55 +00:00
Mark Andrews
60213f2815
1139. [func] It is now possible to flush a given name from the
...
caches via 'rndc flushname name [view]'. [RT #2051 ]
2001-11-27 04:06:17 +00:00
Mark Andrews
6c8abf481d
1138. [func] It is now possible to flush given names from the
...
cache dns_cache_flushname().
2001-11-27 03:10:32 +00:00
Mark Andrews
1e4bfff185
1137. [func] It is now possible to flush given names from the
...
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Andreas Gustafsson
4d1d37a19d
out-of-range SOA timers were silently clamped [RT #2081 ]
2001-11-26 23:51:21 +00:00
Andreas Gustafsson
751af0ee2f
duplicate code consistently
2001-11-26 23:37:24 +00:00
Danny Mayer
022dd8775a
Added dns_sdb_putrdata to list of visible functions
2001-11-22 04:33:33 +00:00
Danny Mayer
d67b892041
isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message
2001-11-22 03:08:12 +00:00
Andreas Gustafsson
d9d6d2f77f
1134. [bug] Multithreaded servers could deadlock in ferror()
...
when reloading zone files. [RT #1951 , #1998 ]
2001-11-21 22:26:46 +00:00
Mark Andrews
eb2c518a38
1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
...
without IN6_IS_ADDR_LOOPBACK. [RT #2106 ]
2001-11-21 13:06:20 +00:00
Danny Mayer
d5f394f4c4
Change strerror references to use isc__strerror [RT #1689 ]
2001-11-21 05:07:25 +00:00
Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Brian Wellington
81f6192a0c
spacing
2001-11-20 18:42:26 +00:00
Andreas Gustafsson
945f7311ca
Don't return a value from isc__strerror(); it was never used, and
...
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
17453368fa
Reimplemented the built-in CHAOS zones using sdb.
2001-11-20 01:18:15 +00:00
Andreas Gustafsson
6cd7bd1fb5
spacing
2001-11-19 22:32:04 +00:00
Andreas Gustafsson
459d31fa83
consistently put the LIBDNS_EXTERNAL_DATA before the const
2001-11-19 21:34:31 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Danny Mayer
33b8775d3a
Updated to support tree organization changes and to support the lib/bind9 library code
2001-11-18 03:11:06 +00:00
Danny Mayer
74dfe6155f
Add win32 support for bind9 library
2001-11-17 03:57:12 +00:00
Mark Andrews
d1abb8bb02
1130. [bug] Out of range serial number were not being logged.
...
[RT #2076 ]
2001-11-16 10:50:00 +00:00
Brian Wellington
db0e722d83
oops, remove the other call to freehostent()
2001-11-16 06:48:22 +00:00
Brian Wellington
09ce736e9a
unitialized variable [RT #2075 ]
2001-11-16 04:43:04 +00:00
Brian Wellington
d972554740
mismatched parens, missing failure return, remove incorrect use of
...
freehostent() [RT #2075 ]
2001-11-16 04:41:58 +00:00
Andreas Gustafsson
db40c6bfdf
don't unlock the node lock in no_references() [RT #2018 ]
2001-11-16 00:17:07 +00:00
Andreas Gustafsson
307ba34fa0
1128. [func] sdb drivers can now provide RR data in either text
...
or wire format, the latter using the new functions
dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Brian Wellington
d9af67ef70
add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
...
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson
36d8518388
indentation
2001-11-15 19:06:04 +00:00
Andreas Gustafsson
3179bab5b8
extra text after #else
2001-11-15 01:58:28 +00:00
Brian Wellington
00c8cf21f0
simplify #ifdef mess
2001-11-15 01:29:42 +00:00
Andreas Gustafsson
20c21edada
deal with the NO_DATA/NO_ADDRESS mess using a bunch
...
of #ifs and #ifdefs, as recommended by Mark
2001-11-15 01:20:16 +00:00
Andreas Gustafsson
cef23f1f01
no need to include <isccfg/cfg.h>; include <isc/net.h> to define in_port_t
2001-11-15 01:04:06 +00:00
Andreas Gustafsson
06364bcf06
did not compile on systems lacking getaddrinfo() due to typos
2001-11-15 00:58:00 +00:00
Andreas Gustafsson
a79f12ba46
remove NO_ADDRESS, not NO_DATA
2001-11-15 00:53:05 +00:00
Andreas Gustafsson
78f0b08d54
duplicate switch case on systems defining NO_ADDRESS and NO_DATA with the same value
2001-11-15 00:51:10 +00:00
Andreas Gustafsson
452606f147
forgot to remove a function declaration in previous change
2001-11-14 23:15:44 +00:00
Brian Wellington
0f1938c982
set ai_socktype in the hints to getaddrinfo, so that the result doesn't
...
contain duplicate addresses.
2001-11-14 23:03:42 +00:00
Andreas Gustafsson
ca50fa0230
Partial fix for RT #2053 . The potential for deadlock still exists,
...
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington
a873540eb6
When in singlethreaded mode, don't drain the event queue before exiting
...
isc_app_run(). The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington
b493dfe8bc
Add bind9_getaddresses(), a consistent version of the get_address function
...
from dig/host/nslookup, nsupdate, and rndc. This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson
cab27680d6
change 1077. introduced a locking hierarchy violation; fix by
...
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington
f109354dce
copyright
2001-11-14 22:01:40 +00:00
Andreas Gustafsson
2869504d83
1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
...
[RT #2046 ]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson
138cc7f283
1121. [bug] The server could attempt to access a NULL zone
...
table if shutting down while resolving.
[RT #1587 , #2054 ]
2001-11-14 01:01:28 +00:00
Mark Andrews
ae29b66fbf
BIND 8.3 compat "suppress-initial-notify".
2001-11-13 06:57:11 +00:00
Mark Andrews
aa51fc8106
1119. [bug] Errors in options were not fatal. [RT #2002 ]
2001-11-13 06:34:59 +00:00
Mark Andrews
0316cd0c04
NODE_VALID -> DNS_RBTNODE_VALID
2001-11-13 06:19:55 +00:00
Danny Mayer
5c4e92b973
Added support for NTFS disks
2001-11-13 05:07:57 +00:00
Andreas Gustafsson
f3ca27e9fe
sizeof style
2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137
1118. [bug] On multithreaded servers, a race condition
...
could cause an assertion failure in resolver.c
during resolver shutdown. [RT #2029 ]
2001-11-12 18:48:50 +00:00
Andreas Gustafsson
c0bf2b179a
When DNS_RBT_USEMAGIC is defined as true, do magic number
...
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Brian Wellington
9fbcea8dba
install soa.h
2001-11-09 23:09:29 +00:00
Mark Andrews
3e42bdfdc9
1116. [bug] Setting transfers in a server clause, transfers-in,
...
or transfers-per-ns to a value greater than
2147483647 disabled transfers. [RT #2002 ]
2001-11-09 04:21:58 +00:00
Mark Andrews
b20eef7ab0
1115. [func] Set maximum values for cleaning-interval,
...
heartbeat-interval, interface-interval,
max-transfer-idle-in, max-transfer-idle-out,
max-transfer-time-in, max-transfer-time-out,
statistics-interval of 28 days and
sig-validity-interval of 3660 days. [RT #2002 ]
2001-11-09 03:34:55 +00:00
Andreas Gustafsson
a571ebca8b
style
2001-11-09 01:53:20 +00:00
Mark Andrews
f498427f17
theoretically potential file descriptor leak.
2001-11-09 00:37:10 +00:00
Andreas Gustafsson
bad3251d3f
Undo the parts of 1113. pertaining to the allow-update option; simplify grammar
2001-11-08 21:13:42 +00:00
Andreas Gustafsson
ea01b618d9
1114. [port] Ignore more accept() errors. [RT #2021 ]
2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8
On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear
2001-11-08 03:29:05 +00:00
Brian Wellington
bcf53cf8d0
Move the memory allocation wrappers into openssl_link.c, since they're
...
openssl specific.
2001-11-07 23:03:54 +00:00
Andreas Gustafsson
78bf1ca895
1111. [bug] Multithreaded servers could deadlock processing
...
recursive queries due to a locking hieararchy
violation in adb.c. [RT #2017 ]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15
try-edns is no more
2001-11-07 04:25:19 +00:00
Danny Mayer
e209942448
Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870 ]
2001-11-07 04:24:38 +00:00
Mark Andrews
be9932698b
max-adb-size is no more.
...
1073. [bug] The adb cache should also be space driven.
[RT #1915 , #1938 ]
2001-11-07 03:52:20 +00:00
Brian Wellington
51e66e5dee
missing static
2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb
if the function table entry already exists when _init() is called, don't
...
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
f368466f81
Creating a NULL KEY shouldn't trigger a "no crypto" error.
2001-11-06 22:27:52 +00:00
Brian Wellington
ba45e16a66
Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
...
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Brian Wellington
2f93757751
Rework the "no crypto support" test. Rather than explicitly checking whether
...
built without openssl, instead return NOCRYPTO if the algorithm is not
supported but known.
2001-11-06 18:08:07 +00:00
Brian Wellington
3bc4de1f1b
memory leaks on errors
2001-11-06 17:59:50 +00:00
Brian Wellington
7b5bf4bea4
a key could be freed twice in an unlikely error case.
2001-11-06 03:02:48 +00:00
Andreas Gustafsson
06278dd28a
grammar summary output for named maps was missing the name field
2001-11-05 22:24:31 +00:00
Andreas Gustafsson
ca08f931b9
regenerated
2001-11-05 21:36:27 +00:00
Andreas Gustafsson
569b52d136
don't try to insert the nonexistent file lib/bind/COPYRIGHT into configure.in
2001-11-05 21:34:51 +00:00
Andreas Gustafsson
ff303bcf27
Begin comments with capital letter; misc other
...
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
67145f44e5
don't say "'foo' unexpected near 'foo'" - once is enough
2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa
1104. [bug] Invalid arguments to the transfer-format option
...
could cause an assertion failure. [RT #1995 ]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
0902c53969
typo in debug message [RT #1989 ]
2001-11-04 19:20:39 +00:00
Mark Andrews
50c7ddaa5e
pullup from BIND 8.3:
...
1284. [bug] struct __res_state was still broken after #1265 .
2001-11-02 23:23:34 +00:00
Andreas Gustafsson
7c6f960a20
remove empty line
2001-11-02 22:31:38 +00:00
Danny Mayer
93c498f0c6
ntfile.c now unnecessary as the iob array is now properly referenced
2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559
Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work
2001-11-02 05:02:15 +00:00
Mark Andrews
552a117791
1101. [bug] Array bounds read error in lwres_gai_strerror.
2001-11-02 00:48:06 +00:00
Andreas Gustafsson
785d1541b6
yet another in6addr_loopback change
2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3
Deal with AIX defining in6addr_any but not in6addr_loopback
...
in libc, even though both are declared in <netinet/in.h>. This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Mark Andrews
9d34aaa2bd
silence compiler the same way
2001-11-01 07:15:28 +00:00
Mark Andrews
f3e4c3d6c5
1100. [bug] libbind: DNSSEC key ids were computed incorrectly.
2001-11-01 06:51:25 +00:00
Mark Andrews
6fb633bc3f
1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused
...
compile time errors.
2001-11-01 06:24:39 +00:00
Mark Andrews
ca033e166c
1098. [bug] libbind: HMAC-MD5 key files are now mode 0600.
2001-11-01 06:11:43 +00:00
Mark Andrews
ca6cee1837
gettimeofday.h is no longer require (prototype in port_after.h).
2001-11-01 05:50:19 +00:00
Mark Andrews
c82af3a7f1
1094. [func] libbind: add support gcc's format string checking.
2001-11-01 05:15:27 +00:00
Mark Andrews
e82a62f172
spelling and order
2001-11-01 05:09:41 +00:00
Mark Andrews
f9321a16fb
1096. [func] libbind: RES_PRF_TRUNC for dig.
2001-11-01 05:07:54 +00:00
Mark Andrews
c8bedec446
1096. [func] libbind: "DNSSEC OK" (DO) support.
2001-11-01 04:59:18 +00:00
Mark Andrews
7a104af70f
1095. [func] libbind: resolver option: no-tld-query. disables
...
trying unqualified as a tld. no_tld_query is also
supported for FreeBSD compatability.
2001-11-01 04:51:00 +00:00
Mark Andrews
923de3bb9c
1094. [func] libbind: add support gcc's format string checking.
2001-11-01 04:21:15 +00:00
Mark Andrews
2359261a25
1093. [doc] libbind: miscellaneous nroff fixes.
2001-11-01 04:06:38 +00:00
Mark Andrews
769cd7d5dd
1092. [bug] libbind: get*by*() failed to check if res_init() had
...
been called.
2001-11-01 04:03:40 +00:00
Mark Andrews
6bad645917
1091. [bug] libbind: misplaced va_end().
2001-11-01 04:00:57 +00:00
Mark Andrews
11931cc68d
1090. [bug] libbind: dns_ho.c:add_hostent() was not returning
...
the amount of memory consumed resulting in garbage
address being returned. Alignment calculations were
wasting space. We wern't suppressing duplicate
addresses.
2001-11-01 03:55:57 +00:00
Mark Andrews
d91d025def
1089. [func] libbind: inet_{cidr,net}_{pton,ntop}() now have IPv6
...
support.
2001-11-01 03:52:16 +00:00
Mark Andrews
985b4f1c86
1088. [port] libbind: MPE/iX C.70 (incomplete)
2001-11-01 03:49:00 +00:00
Mark Andrews
1d556695ef
1087. [bug] libbind: struct __res_state to large on 64 bit arch.
2001-11-01 03:37:18 +00:00
Mark Andrews
e9ca87459a
1086. [port] libbind: sunos: old sprintf.
2001-11-01 00:57:49 +00:00
Mark Andrews
4b711da3c2
regen
2001-11-01 00:49:46 +00:00
Mark Andrews
ca690f9802
1085. [port] libbind: solaris: sys_nerr and sys_errlist do not
...
exist when compiling in 64 bit mode.
2001-11-01 00:48:05 +00:00
Mark Andrews
137a1f98e3
1084. [cleanup] libbind: gai_strerror() re-written.
2001-11-01 00:30:41 +00:00
Andreas Gustafsson
65775fe205
1081. [bug] Multicast queries were incorrectly identified
...
based on the source address, not the destination
address.
(from JINMEI Tatuya)
2001-10-31 01:24:58 +00:00
Andreas Gustafsson
30e3e23338
replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
...
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Mark Andrews
bc508906db
1078. [bug] We failed to correct bad tv_usec values in one case.
...
[RT #1966 ]
2001-10-30 02:39:33 +00:00
Andreas Gustafsson
b352902413
1077. [func] Do not accept further recursive clients when
...
the total number of of recursive lookups being
processed exceeds max-recursive-clients, even
if some of the lookups are internally generated.
[RT #1915 , #1938 ]
2001-10-29 19:02:48 +00:00
Mark Andrews
72e8c079c4
1076. [bug] A badly defined global key could trigger an assertion
...
on load/reload if views were used. [RT #1947 ]
2001-10-29 06:09:05 +00:00
Andreas Gustafsson
7923de0ddd
consistently begin debug log messages with a lower case letter
2001-10-27 00:32:31 +00:00
Andreas Gustafsson
d3f58baf38
log a debug log message when reaching a memory water mark
2001-10-27 00:29:35 +00:00
Andreas Gustafsson
6b07de6abf
document the rdatasetheader next and down pointers
2001-10-27 00:27:54 +00:00
Andreas Gustafsson
c8ab83c08e
1075. [bug] Out-of-range network prefix lengths were not
...
reported. [RT #1954 ]
2001-10-26 19:35:03 +00:00
Danny Mayer
7e7bede4bd
Fix indentation
2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b
Added support for max open files for Win32
2001-10-26 01:25:29 +00:00
Andreas Gustafsson
4e57d3ff7d
1074. [bug] Running out of memory in dump_rdataset() could
...
cause an assertion failure. [RT #1946 ]
2001-10-25 23:18:05 +00:00
Brian Wellington
06289aeea8
comment fix
2001-10-25 21:39:48 +00:00
Andreas Gustafsson
66bea4d912
if() condition in check_expire_entry did not have
...
the effect I think was intended due to operator precedence: || binds tighter than ?:.
Rewrote it without :?.
2001-10-25 17:47:16 +00:00
Brian Wellington
6a4c22bc4d
style
2001-10-25 17:07:21 +00:00
Mark Andrews
081cff0c33
1073. [bug] The adb cache should also be space driven,
...
max-adb-size. [RT #1915 , #1938 ]
2001-10-25 04:57:46 +00:00
Mark Andrews
a7cb695600
1070. [bug] Copy DNSSEC OK (DO) to response as specified by
...
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Andreas Gustafsson
897f762e3c
Fixed a race condition in the new request retransmission code:
...
if a machine is slow or busy enough, the retransmission timer could theoretically fire
again before the first transmission has finished. This could cause us to lose track
of whether a send is in progress or not, since that information is stored in a boolean
flag (DNS_REQUEST_F_SENDING), not a counter
2001-10-23 23:10:14 +00:00
Andreas Gustafsson
1a32d316dd
add a version.h for liblwres, too
2001-10-23 18:45:53 +00:00
Andreas Gustafsson
1ae369c9d2
some variables that should have been static weren't
2001-10-23 01:49:35 +00:00
Mark Andrews
3476dfe9d7
mutex leak
2001-10-23 01:21:44 +00:00
Andreas Gustafsson
ce3c351d81
eliminated race condition in water() [RT #1932 ]
2001-10-23 00:56:33 +00:00
Andreas Gustafsson
40a31ba506
strerror.c did not compile if HAVE_STRERROR was not defined
2001-10-22 22:17:30 +00:00
Andreas Gustafsson
8bdf7f2972
stdtime.@O@ was listed twice in OBJS
2001-10-22 21:37:28 +00:00
Andreas Gustafsson
a9bc22bf37
if() statement needs braces after isc__strerror() call added
2001-10-22 20:57:41 +00:00
Andreas Gustafsson
3931325c6d
spacing
2001-10-22 18:18:34 +00:00
Mark Andrews
1255d388f0
1067. [func] Allow quotas to be soft, isc_quota_soft().
2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c
1065. [func] Runtime support to select new / old style interface
...
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Mark Andrews
ea7b38cd1e
1063. [bug] libbind: irix "make install" was failing.
2001-10-22 00:40:47 +00:00
Mark Andrews
31e12a627d
add
2001-10-22 00:32:56 +00:00
Andreas Gustafsson
b8685833f1
expand the qstringornone type in the grammar summary
2001-10-19 18:08:27 +00:00
Andreas Gustafsson
0e27dac042
spacing
2001-10-19 01:29:41 +00:00
Andreas Gustafsson
059a29a179
when using the system malloc, isc__mempool_get(), isc__mempool_put(),
...
and isc_mempool_destroy() failed to update memory statistics. [RT #1915 ]
2001-10-19 01:29:09 +00:00
Andreas Gustafsson
eb7f938194
style
2001-10-19 00:38:18 +00:00
Andreas Gustafsson
dfafc36515
style
2001-10-19 00:17:17 +00:00
Mark Andrews
07eaf0b8d0
1060. [func] Move UDP retry processing into dns_request.
2001-10-18 06:12:04 +00:00
Mark Andrews
cf70df7d0e
1059. [func] dns_request now support will now retry UDP queries,
...
dns_request_createvia2() and dns_request_createraw2().
2001-10-18 06:09:39 +00:00
Mark Andrews
9234d92d4e
1058. [func] Limited lifetime ticker timers are now available,
...
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
86a292d459
added more logging to help track down RT #1912 if not fixed by previous commit
2001-10-18 01:48:35 +00:00
Andreas Gustafsson
937ccb270e
The call to incremental_cleaning_action() added to cleaning_timer_action()
...
in revision 1.40 is clearly incorrect. If the cleaner is already in the busy state, a call to
incremental_cleaning_action() has already been scheduled as an event, and there is no
need to do an extra call. Furthermore, the call passed the timer event as an argument
to incremental_cleaning_action(), which would ultimately cause it to be passed
to end_cleanin() and assigned to cleaner->resched_event rather than freed.
This commit may or may not fix RT #1912 .
2001-10-18 01:40:56 +00:00
Andreas Gustafsson
dcfc52bbba
Added a version.h file for each library; made version
...
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
3c3fe07225
1055. [func] Version and hostname queries can now be disabled
...
using "version none;" and "hostname none;",
respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018
The option for disabling the PID file is now pid-file none, not pid-file "none"
2001-10-16 20:04:41 +00:00
Mark Andrews
c8b58baa78
Change #1042 was incomplete. cfg_categories and cfg_modules need to be
...
visible outside of the DLL.
2001-10-16 05:28:14 +00:00
Mark Andrews
1094dec52a
1052. [bug] Journals were not being created in binary mode
...
resulting in "journal format not recognized" error
under Windows NT/2000. [RT #1889 ]
2001-10-15 04:47:55 +00:00
Andreas Gustafsson
b38ab99bdc
patch from Danny:
...
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
6e93e6ea45
if the sdb lookup function fails at the zone origin for reasons other
...
than nonexistence of the domain name, the failure should be propagated
to the caller
2001-10-13 01:37:58 +00:00
Andreas Gustafsson
01818a424a
document return value of the sdb lookup function
2001-10-13 01:32:34 +00:00
Andreas Gustafsson
62a3dbe63e
1050. [bug] Log messages reporting malformed IP addresses in
...
address lists such as that of the forwarders option
failed to include the correct error code, file
name, and line number. [RT #1890 ]
2001-10-12 22:00:31 +00:00
Andreas Gustafsson
e69b9ffb0f
1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
...
didn't work.
2001-10-12 00:35:11 +00:00
Mark Andrews
ada9b8ab20
1045. [bug] It was possible to skip saving glue for a nameserver
...
for a stub zone.
2001-10-11 06:12:42 +00:00
Mark Andrews
3a92768cad
1044. [buf] Specifying allow-transfer, notify-source or
...
notify-source-v6 in a stub zone was not treated as
a error.
2001-10-11 04:52:21 +00:00
Andreas Gustafsson
bb60abb445
1043. [bug] Specifying a transfer-source or transfer-source-v6
...
option in the zone statement for a master zone was
not treated as an error. [RT #1876 ]
2001-10-11 01:55:03 +00:00
Andreas Gustafsson
024face21c
1042. [bug] The "config" logging category did not work properly.
...
[RT #1873 ]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
78d811f8fb
spacing
2001-10-11 01:07:50 +00:00
Andreas Gustafsson
247b6de61b
Some comments referred to DNS_R_NOTVERIFIEDYET as
...
DNS_R_SIGNOTVERIFIEDYET
2001-10-10 21:39:16 +00:00
Mark Andrews
13f2c161db
1039. [bug] We cached an incorrect negative response if there were
...
CNAMES in the answer section. [RT#1862]
2001-10-10 04:11:32 +00:00
Brian Wellington
173a45b43c
fix assertion in tkey code [RT #1866 ]
2001-10-09 17:26:33 +00:00
Mark Andrews
3fc4c1434d
1037. [bug] We failed to reject some self inconsistant answers.
...
[RT #1862 ]
2001-10-09 08:03:32 +00:00
Andreas Gustafsson
6c6ceac1bc
reverted incorrect commit
2001-10-08 18:58:11 +00:00
Mark Andrews
df7596a03e
1032. [func] hostname.bind/txt/chaos now returns the name of
...
the machine hosting the nameserver. This is useful
in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Danny Mayer
f3fcde886c
Fixed formattimestamp to use locale specific dates and times, the same way as Unix format
2001-10-08 01:20:08 +00:00
Mark Andrews
f08782f092
1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
...
[RT #1858 ]
2001-10-08 00:33:45 +00:00
Danny Mayer
4186249fea
Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH
2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d
Restore Andrea's changes along with the updates
2001-10-05 22:25:54 +00:00
Bob Halley
8db00cd940
add
2001-10-05 20:57:24 +00:00
Danny Mayer
49d23a92a9
Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup
2001-10-05 05:51:50 +00:00
Brian Wellington
61e30d3194
the wrong result code was checked [RT #1847 ]
2001-10-04 18:22:57 +00:00
Mark Andrews
b09f4e054c
1025. [bug] Don't use multicast addresses to resolve iterative
...
queries. [RT #101 ]
2001-10-03 07:43:03 +00:00
Mark Andrews
40dd9cb8cc
1024. [port] HP and Sun decided to use the same macros and
...
structures for different things.
2001-10-03 05:08:32 +00:00
Andreas Gustafsson
6bebabb376
Also disallow creation of TYPE0 records from wire data
2001-10-03 00:51:38 +00:00
Andreas Gustafsson
de5247ae16
Disallow creation of TYPE0 records from master files, since the server reserves type 0 for
...
internal purposes related to negative caching
2001-10-02 23:33:04 +00:00
Mark Andrews
c54091c8ed
IPv6 addresses containing mapped IPv4 addresses generate the same hash
...
value as the equivalent IPv4 address. This is now true regardless of
the value of address_only. Document.
2001-10-02 06:06:15 +00:00
Andreas Gustafsson
1b8eaf4143
style
2001-10-01 20:58:51 +00:00
Andreas Gustafsson
24dd4582a2
install check.h in include/bind9, not include/isccfg
2001-10-01 20:53:48 +00:00
Andreas Gustafsson
9066d09c3e
Removed all code within #ifdef DNS_OPT_NEWCODES*.
...
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Mark Andrews
96ea98af24
1023. [func] Accept hints without TTLs.
2001-09-30 04:31:28 +00:00
Mark Andrews
54c4aa0f62
1022. [bug] Allow hints to be completely empty. [RT #1802 ]
2001-09-30 03:02:47 +00:00
Danny Mayer
37f08fab28
Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1
2001-09-30 02:41:11 +00:00
Bob Halley
3e1f3de348
check.h has moved to libbind9
2001-09-29 20:00:39 +00:00
Bob Halley
6d7c0fd73b
add
2001-09-29 19:59:29 +00:00
Bob Halley
27ef660057
cfg.h and log.h are not in libbind9
2001-09-29 19:59:11 +00:00
Bob Halley
e83e8e7734
libtool is generated
2001-09-29 19:58:52 +00:00
Andreas Gustafsson
513dd4a616
style
2001-09-28 23:34:55 +00:00
Brian Wellington
ff7b9eede9
dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
...
key name.
2001-09-27 17:49:11 +00:00
Andreas Gustafsson
82c168127c
When retrying with AXFR after a failed IXFR, don't do a SOA query
...
over TCP before the AXFR request. Doing so has not been
necessary since zone maintenance using UDP SOA queries was
implemented in zone.c a long time ago.
2001-09-27 01:01:46 +00:00
Brian Wellington
c9b3f64262
fix comment
2001-09-25 22:45:02 +00:00
Danny Mayer
7e351cd18f
Added named service location in Registry
2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60
Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security
2001-09-25 01:37:02 +00:00
Mark Andrews
8296690f17
DNS_EVENT_QUERYABORTED is no longer gemerated.
2001-09-21 14:00:06 +00:00
Mark Andrews
595a14576e
1013. [bug] It was possible to cancel a query twice when marking
...
a server as bogus or by having a blackhole acl.
[RT #1776 ]
2001-09-21 13:31:55 +00:00
Brian Wellington
8f674b13e8
dns_time*_fromtext should take "const char *"s, not "char *"s.
2001-09-21 00:11:30 +00:00
Andreas Gustafsson
1299e93989
1011. [cleanup] Removed isc_dir_current().
2001-09-20 21:21:53 +00:00
Andreas Gustafsson
d6baaf3649
added INSISTs to help diagnose RT #1775
2001-09-20 16:48:20 +00:00
Mark Andrews
c2bc56dc65
Move configuration checking to libbind9.
2001-09-20 15:17:07 +00:00
Mark Andrews
ae5df22719
iadd missing const
2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4
add missing const to declaration.
2001-09-20 06:50:08 +00:00
Andreas Gustafsson
01446841be
1006. [bug] If a KEY RR was found missing during DNSSEC validation,
...
an assertion failure could subsequently be triggered
in the resolver. [RT #1763 ]
2001-09-19 21:25:46 +00:00
Brian Wellington
21825a8d00
Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
...
rdata.c.
2001-09-19 00:14:48 +00:00
Andreas Gustafsson
1de63e34f1
1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770 ]
2001-09-18 22:54:02 +00:00
Andreas Gustafsson
9b009c9f5a
reverted previous change since it doesn't compile after make clean
2001-09-18 18:43:16 +00:00
Mark Andrews
2bb3d8bdfe
Make casting easier in symbolic debuggers by using different names
...
for the 64 bit version.
2001-09-18 14:30:10 +00:00
Andreas Gustafsson
67298a4b2f
"data" is plural
2001-09-17 20:24:13 +00:00
Mark Andrews
36a91ab163
Don't send notifies to mapped addresses.
2001-09-17 14:04:32 +00:00
Mark Andrews
8138bb315d
The hash of IPv6 isc_sockaddr_t containing mapped IPv4 addresses should be
...
the same as the hash of the corresponding IPv4 isc_sockaddr_t.
2001-09-17 06:58:18 +00:00
Mark Andrews
f0261e88a8
check view/zone classes.
2001-09-17 02:48:58 +00:00
Danny Mayer
8423b244ec
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745 ]
2001-09-16 06:19:22 +00:00
Mark Andrews
e6f17474cb
1000. [func] Accept "HESIOD" as a alias for class "HS".
2001-09-16 05:27:04 +00:00
Mark Andrews
5fe1a246cf
replace common code in dns_journal_commit by calling index_to_disk().
...
remove redundant call to index_to_disk() from dns_journal_compact().
2001-09-15 07:16:39 +00:00
Brian Wellington
4fb42a8382
unused #defines
2001-09-15 00:27:26 +00:00
Brian Wellington
36e37042c6
997. [func] Add support for RSA-SHA1 keys.
2001-09-15 00:01:58 +00:00
Andreas Gustafsson
4a20a92f4f
replaced 994. with alternative fix:
...
994. [func] Treat non-authoritative responses to queries for type
NS as referrals even if the NS records are in the
answer section, because BIND 8 servers incorrectly
send them that way. This is necessary for DNSSEC
validation of the NS records of a secure zone to
succeed when the parent is a BIND 8 server. [RT #1706 ]
2001-09-14 21:04:35 +00:00
Andreas Gustafsson
34aa790937
reverted 994.
2001-09-14 20:53:33 +00:00
Mark Andrews
56d69016f4
994. [bug] If the unsecure proof fails for unsigned NS records
...
attempt a secure proof using the NS records found as
glue to find the NS records from the zone's servers
along with associated glue rather than from parent
servers. [RT #1706 ]
2001-09-13 07:23:39 +00:00
Brian Wellington
ee3555e8c0
A message could be leaked when a segment of an incoming zone transfer
...
failed to verify.
2001-09-12 20:39:36 +00:00
Andreas Gustafsson
db3822841c
failures in dns_db_diff() could cause the server to leak
...
memory
2001-09-12 18:45:02 +00:00
Andreas Gustafsson
115019ee2c
replay the journal on the initial load only,
...
as it is not needed on subsequent loads and will fail
if the zone is a newly edited zone with ixfr-on-differences
enabled
2001-09-12 18:44:54 +00:00
Mark Andrews
da4535c4b4
991. [func] Lower UDP refresh timeout messages to DEBUG(1).
2001-09-12 03:46:32 +00:00
Mark Andrews
9de04a5713
LOGIT -> LOGITFILE
2001-09-11 05:09:41 +00:00
Mark Andrews
1592bf7349
989. [bug] Report filename if $INCLUDE fails for file related
...
errors. [RT #1736 ]
2001-09-11 04:56:06 +00:00
Mark Andrews
f3352b9bec
compare: a REQUIRE() was comparing a variable against itself not agaist the
...
other arguement as it should have been.
2001-09-10 23:47:26 +00:00
Andreas Gustafsson
8cccaeaee1
New named.conf option "ixfr-from-differences" [RT #1727 ]
2001-09-08 00:21:49 +00:00
Mark Andrews
e0806ab5ed
Correct comment saying that 'max_size' is ignored.
2001-09-07 00:51:51 +00:00
Andreas Gustafsson
50a8312c9f
#define ISC_MEM_TRACKLINES 1
2001-09-06 23:03:17 +00:00
Andreas Gustafsson
f8dbd659d0
When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
...
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on. This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default.
2001-09-06 23:03:01 +00:00
Andreas Gustafsson
6d858e75d4
more documentation; indentation
2001-09-06 22:13:47 +00:00
Andreas Gustafsson
fe5146716e
host-statistics is not implemented,
...
maintain-ixfr-base is obsolete [RT #1717 ]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
18159f6f60
document what ISC_MEM_DEBUG does; clarify descriptions of other
...
memory debugging options
2001-09-06 18:23:35 +00:00
Andreas Gustafsson
eb70ba210b
spacing
2001-09-06 01:06:24 +00:00
Andreas Gustafsson
847169dab2
980. [bug] Incoming zone transfers restarting after an error
...
could trigger an assertion failure. [RT #1692 ]
2001-09-05 23:02:28 +00:00
Brian Wellington
ed29aefe31
[RT #1709 ]
...
Change isc_entropy_usebestsource() to have saner semantics:
- If an invalid file is specified, an error will be returned instead of the
keyboard being used.
- If no file is specified but a random device is present, the keyboard will
be used if there is an error opening the random device.
- ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
only device used. Otherwise, passing '-r keyboard' is meaningless
on a machine with a random device, since the keyboard will not be used.
Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e
remove an invalid close paren
2001-09-05 21:05:36 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d
check return value of strftime()
2001-09-05 17:05:47 +00:00
Andreas Gustafsson
33f87146a8
needs #include <isc/print.h>
2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475
80 columns
2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f
remove extranous debugging
2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade
Call dns_master_dumpinc() for "regular" dumps.
2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44
Add dns_dumpctx_db() and dns_dumpctx_version().
2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17
testing wrong variable
2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5
isc_time_formattimestamp() created static const for bad time string
2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1
isc_file_getmodtime() does not need write access to file
2001-09-05 04:17:13 +00:00
Mark Andrews
c6b5faa001
remove extraneous UNUSED().
2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee
979. [func] Incremental master file dumping. dns_master_dumpinc(),
...
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc
978. [bug] dns_db_attachversion() had an invalid REQUIRE()
...
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5
Fix some signed/unsigned mismatches when comparing offsets
2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e
Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files
2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0
Added isc_file_truncate routine
2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4
Previous update was missing the release version of telling how to build the resource file [RT #1668 ]
2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4
977. [bug] Improve "not at top of zone" error message.
2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96
zone_settimer() nolonger needs to calculate the interval between two times.
...
[RT #1691 ]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf
new configuration data type cfg_type_sizenodefault,
...
which can be a size or the string 'unlimited' but not the string
'default'. This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f
allow setting a default max-journal-size in the options or view
2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe
call the new option for setting the maximum journal
...
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32
The epoch is once again zero in Win32;
...
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0
typo in comment
2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c
isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after
2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c
isc_file_getmodtime() should call GetFileTime(), not file_stats(),
...
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b
removed C++ comments; comment and indentation style
2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7
implemented isc_time_formattimestamp() for Win32.
...
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e
REQUIRE(len > 0)
2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86
added isc_time_formattimestamp() (Unix only so far);
...
call it from log.c [RT #1687 ]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb
in dns_zone_notifyreceive(), the variable 'now' was
...
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648
in zone_settimer(), it seems cleaner to check whether
...
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Mark Andrews
4b87939256
strerror() -> isc__strerror() [RT #1689 ]
2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107
string formats
2001-08-31 04:47:59 +00:00
Mark Andrews
cfa3ab7f89
Timers now use isc_time_t rather than isc_stdtime_t.
...
zone->expiretime now has a consistant epoch [RT #1686 ]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5
made mkstemp() static
2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d
removed empty line
2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759
lower case
2001-08-30 20:40:27 +00:00
Andreas Gustafsson
9ec3c7b42d
mem.c did not compile when ISC_MEM_TRACKLINES was not defined
2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b
972. [bug] The file modification time code in zone.c was using the
...
wrong epoch. [RT #1667 ]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca
Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set.
2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d
compact journals on succesful dumps to the zone file.
2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142
journal-size can now be set from named.conf
2001-08-30 05:23:00 +00:00
Mark Andrews
fa59c08f71
abort transfer if SOA response is not authoritative.
2001-08-30 05:12:39 +00:00
Mark Andrews
2c64908ae0
DNS_R_NOTAUTHORITATIVE
2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23
dns_journal_compact()
2001-08-30 05:04:18 +00:00
Mark Andrews
59251c9e9c
isc_file_truncate()
2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424
add isc_strerror to build
2001-08-30 04:49:36 +00:00
Mark Andrews
c654449ccf
isc__strerror
2001-08-30 04:33:20 +00:00
Danny Mayer
b602bf9e8b
RT #1667 . File modification dates were wrong due to the isc_time_set routine not adding back the epoch to give the absolute Windows time and isc_file_settime not correctly making the right calls to modify the file date
2001-08-30 04:31:31 +00:00
Danny Mayer
e2a35f7524
RT #1675 resolv.conf was specified to be in an invalid directory. Location was changed to be in the same etc directory as all of the other configuration files
2001-08-30 04:28:24 +00:00
Andreas Gustafsson
8068ceb2a9
The request object would fail to send its completion event
...
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676 ]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson
9cb39bbe40
fix locking hierarchy violation [RT #1672 ]
2001-08-29 21:15:56 +00:00
Mark Andrews
7231717254
Ensure that the files contents have been synced to disk prior to renaming.
2001-08-29 05:52:49 +00:00
Danny Mayer
06b47b13db
Bug #1671 isc_time_now was erroneously calling strtime()
2001-08-29 05:13:42 +00:00
Danny Mayer
9559bf89b1
Bug #1668 resource file was missing in link
2001-08-29 05:08:58 +00:00
Mark Andrews
28fc90e6c8
#857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
...
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1
don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666 ]
2001-08-27 21:47:00 +00:00
Andreas Gustafsson
fba21fcab9
regenerated
2001-08-27 18:53:29 +00:00
Andreas Gustafsson
b495fd2992
each AC_MSG_CHECKING should be balanced with an
...
AC_MSG_RESULT
2001-08-27 18:52:59 +00:00
Andreas Gustafsson
c7eb99970e
consistently use single quotes around varying text
...
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson
135c1c53b8
don't INSIST() that calling dns_db_find() on the root hints
...
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443
965. [bug] Using non root hints caused a rbtdb node reference
...
leak. [RT #1581 , RT #1618 ]
2001-08-27 06:10:17 +00:00
Mark Andrews
440906ce59
INSIST that the rdataset is unassociated.
2001-08-27 03:58:44 +00:00
Mark Andrews
73ac1894ea
964. [func] Warn if non root hints data is found in hints file.
2001-08-27 03:36:00 +00:00
Mark Andrews
330b421487
963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645 ]
2001-08-20 23:56:25 +00:00
Mark Andrews
9b30c8e8f0
regen
2001-08-20 07:47:05 +00:00
Mark Andrews
e22dca2a9a
962. [bug] libbind: bad "#undef", don't attempt to install
...
non-existant nlist.h. [RT #1640 ]
2001-08-20 07:44:53 +00:00
Mark Andrews
d7728fcf85
add nlist.h
2001-08-20 07:29:47 +00:00
Mark Andrews
2c0b26955e
961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
...
was not defined. [RT #1482 ]
2001-08-16 07:27:48 +00:00
Mark Andrews
2449f41e75
960. [port] liblwres failed to build on systems with support for
...
getrrsetbyname() in the OS. [RT #1592 ]
2001-08-16 06:39:33 +00:00
Mark Andrews
6f7660093e
959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584 ]
2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e
silence format warning: remove unused arg.
2001-08-12 00:12:14 +00:00
Mark Andrews
a28db387fc
full copyrights
2001-08-09 06:15:34 +00:00
Mark Andrews
2861ab6188
regen
2001-08-09 06:09:30 +00:00
Mark Andrews
8e6813696a
support running configure in a directory other than the source directory
2001-08-09 05:59:58 +00:00
Danny Mayer
51ac5c28de
Changed win32 code to remove references to named.key
2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +00:00
Andreas Gustafsson
b21320abb5
brace style
2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05
Added support for key for win32
2001-08-06 05:34:26 +00:00
Mark Andrews
907ec2c618
952. [bug] The server required manual intervention to serve the
...
affected zones if it died between creating a journal
and committing the first change to it.
2001-08-06 02:10:59 +00:00
Andreas Gustafsson
66ff5b7d78
cut-and-paste-o
2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c
the server would catch an assertion failure if the key statement in rndc.key
...
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2
rndc.key support
2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d
mark rrset-order as unimplemented [RT #1561 ]
2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a
Updated .mak files to remove dependancies
2001-08-02 07:05:43 +00:00
Andreas Gustafsson
23a020bc13
950. [bug] Explicit TTLs did not properly override
...
due to a bug in change 834. [RT #1558 ]
2001-08-01 17:58:45 +00:00
Andreas Gustafsson
ab54086529
print detailed description of grammar of socket addresses instead
...
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Mark Andrews
43e2ec89d8
redundate #include
2001-07-31 03:45:04 +00:00
Andreas Gustafsson
9f5a862a90
lwres.h should be installed, and net.h should not
2001-07-31 01:32:45 +00:00
Mark Andrews
c38b92000c
947. [bug] dns_rdata_soa_t had a badly name element "mname" which
...
was really the RNAME field from RFC1035. To avoid
confusion and silent errors that would occur it ther
"origin" and "mname" elements were given their correct
names "mname" and "rname" respectively, the "mname"
element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Danny Mayer
b59115de5f
Updated config information
2001-07-28 02:50:39 +00:00
Andreas Gustafsson
321fd0ceb4
in named-checkconf, pass in the complete path of named.conf
...
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer
0794ffffee
Added paths info
2001-07-27 05:17:39 +00:00
Danny Mayer
075a7534a8
Added path information - retry
2001-07-27 05:16:55 +00:00
Danny Mayer
61e561c2ca
Added path information
2001-07-27 05:15:27 +00:00
Andreas Gustafsson
90e289c59f
A6 has an RFC now
2001-07-26 21:34:02 +00:00
Andreas Gustafsson
657a6a6f3c
some unimplemented options were not marked as such in the grammar summary output
2001-07-26 21:27:51 +00:00
Brian Wellington
26a5f97dd8
Don't refer to keys as "TSIG keys", since they might be used for rndc only,
...
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington
ee3ab6063d
945. [func] Add the new view-specific options
...
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
e5b18854e3
define RNDC_AUTOCONFFILE on win32 so that the code again
...
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson
38f0e0520c
tabified
2001-07-26 20:31:48 +00:00
Andreas Gustafsson
dcfaeabc63
renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
...
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0
Changes to support win32
2001-07-26 03:15:16 +00:00
Brian Wellington
d81622b537
944. [func] Check for expired signatures on load.
2001-07-24 18:49:06 +00:00
Danny Mayer
b61c97cebd
Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments
2001-07-24 05:23:38 +00:00
Andreas Gustafsson
831bbce008
commented trust levels
2001-07-23 17:55:37 +00:00
Andreas Gustafsson
2fa436a15c
80 columns
2001-07-23 16:58:18 +00:00
Mark Andrews
90228beed3
regen
2001-07-23 07:03:10 +00:00
Mark Andrews
af898946e4
osf 4.0 support
2001-07-23 07:02:48 +00:00
Mark Andrews
3ef9b0c10f
regen
2001-07-23 05:22:22 +00:00
Mark Andrews
a1a421899e
BSDI 4.2 support [RT #1529 ]
2001-07-23 05:21:56 +00:00
Danny Mayer
dfca19a1aa
Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations
2001-07-23 05:00:44 +00:00
Danny Mayer
1bf250400e
Make file for bindevt
2001-07-23 03:04:32 +00:00
Danny Mayer
2b9debd520
syslog for win32
2001-07-23 03:03:22 +00:00
Danny Mayer
10266aa76f
Conditionalize declaration of LIBLWRES_EXTERNAL_DATA
2001-07-23 03:01:56 +00:00
Mark Andrews
06596f0ec7
wrog prototype for getnetbyaddr_r under glibc
2001-07-23 00:48:51 +00:00
Andreas Gustafsson
33654a83db
const correctness [RT #1011 ]
2001-07-23 00:23:30 +00:00
Mark Andrews
75b3a86c57
regen
2001-07-23 00:05:04 +00:00
Mark Andrews
ab35bf14bd
osf getnetent_r changes
2001-07-23 00:04:28 +00:00
Danny Mayer
72dc0b0824
Added make file
2001-07-22 06:30:18 +00:00
Danny Mayer
1186577d90
Updated scripts and added make file
2001-07-22 06:28:49 +00:00
Danny Mayer
e056d87076
Updated scripts
2001-07-22 06:26:47 +00:00
Danny Mayer
138fc7eeba
Created makefile
2001-07-22 06:25:34 +00:00
Danny Mayer
22a0a2c432
Fixed variable declarations
2001-07-22 06:22:28 +00:00
Danny Mayer
71542eaf04
Added make file and updated scripts
2001-07-22 06:21:05 +00:00
Mark Andrews
4bec81d388
regen
2001-07-20 11:06:19 +00:00
Mark Andrews
2da0b7dfbd
942. [port] libbind: GETNETBYADDR_ADDR_T was not correctly
...
defined on some platforms.
2001-07-20 11:06:05 +00:00
Andreas Gustafsson
7faa8f35e5
coding style
2001-07-19 17:13:54 +00:00
Andreas Gustafsson
001d1ceec6
coding style
2001-07-19 16:59:32 +00:00
Brian Wellington
1cb6e8cbe4
941. [bug] The configuration checker crashed if a slave
...
zone didn't contain a masters statement. [RT #1514 ]
2001-07-19 16:29:14 +00:00
Danny Mayer
3316814025
Added support for win32
2001-07-19 06:11:31 +00:00
Mark Andrews
2033e30585
940. [bug] Double zone locking failure on error path. [RT #1510 ]
2001-07-19 05:08:03 +00:00
Mark Andrews
3489d64bde
"or equals" rather than "not equals"
2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333
Add support for win32
2001-07-19 02:50:12 +00:00
Andreas Gustafsson
7ecaf69507
need <lwres/platform.h>
2001-07-18 20:14:52 +00:00
Andreas Gustafsson
3abbed44db
coding style
2001-07-18 18:29:59 +00:00
Mark Andrews
aac5a28f1f
LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h
2001-07-18 08:15:23 +00:00
Mark Andrews
964a14ad23
regen
2001-07-18 05:50:18 +00:00
Mark Andrews
f24920422d
we don't need to know about rlim_t
2001-07-18 05:49:13 +00:00
Mark Andrews
9c1a4265ad
regen
2001-07-18 05:42:07 +00:00
Mark Andrews
51bb20b0d7
report the results of "checking for socket length type..."
2001-07-18 05:40:52 +00:00
Mark Andrews
29493eee3d
paths.h
2001-07-18 05:13:27 +00:00
Danny Mayer
5236050c0f
Add support for win32
2001-07-18 02:37:15 +00:00
Andreas Gustafsson
d2a7d7e26c
all failures opening /dev/random were reported as
...
'I/O error'. This was highly confusing.
2001-07-18 01:31:13 +00:00
Brian Wellington
8b8812c41d
regen
2001-07-17 22:29:27 +00:00
Brian Wellington
5aaf43590f
lib/bind doesn't actually use linux/capability.h or sys/prctl.h
2001-07-17 22:29:16 +00:00
Andreas Gustafsson
07dcadc6e2
update_copyrights
2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531
coding style
2001-07-17 19:17:02 +00:00
Mark Andrews
15903c9f3a
memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
...
use consistant arguement name for MEMRECORD
2001-07-17 10:02:46 +00:00
Danny Mayer
fd0ec4bfad
Initial win32 Release
2001-07-17 06:13:59 +00:00
Danny Mayer
c84e68d720
Initial win32 Release
2001-07-17 06:10:24 +00:00
Mark Andrews
0176adc7c5
937. [bug] A race when shutting down a zone could trigger a
...
INSIST() failure. [RT #1034 ]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson
ba35e9924e
added isc_file_ischdiridempotent()
2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c
added unix implementation of isc_file_absolutepath()
2001-07-16 17:26:44 +00:00
Andreas Gustafsson
dee69dd3aa
renamed isc_file_getabsolutepath() to isc_file_absolutepath()
...
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
5827c8e0a6
80 columns
2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9
removed spurious empty line inserted in previous commit
2001-07-16 17:14:38 +00:00
Mark Andrews
ac1f768061
regen
2001-07-16 14:43:49 +00:00
Mark Andrews
47dfc702de
glibc getserv*_r()
2001-07-16 14:43:40 +00:00
Brian Wellington
cabaeca9ae
missing assertion checks
2001-07-16 09:48:05 +00:00
Mark Andrews
e88c4a4917
regen
2001-07-16 08:38:06 +00:00
Mark Andrews
101e6adfe0
glibc getproto*_r()
2001-07-16 08:37:45 +00:00
Mark Andrews
fd61f111a8
regen
2001-07-16 08:05:43 +00:00
Mark Andrews
16b5ecc6f3
glibc getnet*_r()
2001-07-16 08:05:20 +00:00
Danny Mayer
1336066b63
Added support for Win32
2001-07-16 05:48:16 +00:00
Mark Andrews
acee1ae35c
glibc prototypes
2001-07-16 05:23:28 +00:00
Mark Andrews
7c7c717788
HOST_R_SETANSWER
2001-07-16 05:17:13 +00:00
Mark Andrews
8c8d889d10
glibc prototypes for gethost*_r().
2001-07-16 05:16:33 +00:00
Danny Mayer
f621719829
Added support for Win32
2001-07-16 05:10:30 +00:00
Mark Andrews
5deaff6621
regen
2001-07-16 05:02:58 +00:00
Mark Andrews
3024819c2e
int -> size_t
2001-07-16 05:01:27 +00:00
Mark Andrews
692d2a9c7e
regen
2001-07-16 04:55:31 +00:00
Mark Andrews
4ccd54f3af
in
2001-07-16 04:54:23 +00:00
Mark Andrews
42f476472a
regen
2001-07-16 04:24:38 +00:00
Mark Andrews
6cf48dea49
glibc's gethost*_r() is different to anyone elses.
2001-07-16 04:23:00 +00:00
Andreas Gustafsson
9115330256
coding style
2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48
Updates to support win32
2001-07-16 03:52:14 +00:00
Mark Andrews
f73c8fffee
pullup from BIND 8:
...
1242. [bug] inet_pton() failed to reject octal input.
2001-07-16 03:31:45 +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
Mark Andrews
bd12be6e88
spelling
2001-07-15 23:29:48 +00:00
Andreas Gustafsson
aa0dc8d920
934. [port] Deal with systems where accept() spuriously returns
...
ECONNRESET.
2001-07-15 22:50:24 +00:00
Mark Andrews
9ec26a1862
regen
2001-07-15 22:23:13 +00:00
Mark Andrews
159b83ff18
unixware [RT #1496 ]
2001-07-15 22:20:43 +00:00
Mark Andrews
5c2551db52
regen
2001-07-14 23:16:50 +00:00
Mark Andrews
47d48791fc
933. [bug] configure failed doing libbind on platforms not
...
supported by BIND 8. [RT #1496 ]
2001-07-14 23:14:09 +00:00
Brian Wellington
b9be76ed89
lwres.h wasn't installed [RT #1494 ]
2001-07-14 18:41:33 +00:00
Andreas Gustafsson
86a733bc74
use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
...
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Mark Andrews
0792e396ea
regen
2001-07-13 02:46:21 +00:00
Mark Andrews
5e68d98eff
add libtool support to libbind [RT #1491 ]
2001-07-13 02:38:28 +00:00
Danny Mayer
c4958494a9
Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup
2001-07-12 05:58:28 +00:00
Mark Andrews
c70896e026
namespace collision [RT #1399 ]
2001-07-12 03:51:14 +00:00
Mark Andrews
39ebcd5955
#927
...
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Andreas Gustafsson
dc9b928cf6
net.h has moved
2001-07-11 21:42:25 +00:00
Brian Wellington
b6d7e96688
LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK
2001-07-11 19:12:53 +00:00
Brian Wellington
529017a705
The testing framework didn't handle T_UNTESTED at all. It also sucks.
2001-07-11 18:51:22 +00:00
David Lawrence
37aa910318
ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk
2001-07-11 05:32:55 +00:00
Mark Andrews
e9596e1fb3
927. [bug] Don't hold the zone lock for the entire dump to disk.
...
[RT #1423 ]
2001-07-11 05:20:26 +00:00
Danny Mayer
ad38e19578
Fix isabsolute for absolute path names
2001-07-11 04:32:15 +00:00
Bob Halley
c54210716e
avoid deadlock with the ADB when shutting down [RT #1324 ]
2001-07-11 01:19:56 +00:00
Brian Wellington
9a43e47721
ordering
2001-07-10 23:38:44 +00:00
Brian Wellington
3fcf6b956f
925. [cleanup] Remove openssl from the distribution; require that
...
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268
oops, don't return an isc_boolean_t as an isc_result_t.
2001-07-10 21:27:59 +00:00
Andreas Gustafsson
1858039a0e
spacing
2001-07-10 21:13:07 +00:00
Andreas Gustafsson
3d4d93c35b
misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483 ]
2001-07-10 20:09:24 +00:00
Andreas Gustafsson
55a96dbea0
need sys/time.h on some platforms
2001-07-10 19:54:01 +00:00
Brian Wellington
5939aa7265
wording
2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9
functions can now return DST_R_NOCRYPTO
2001-07-10 19:05:53 +00:00
Andreas Gustafsson
34729dbcb3
split lwres/net.h into separate Unix and Win32 version to facilitate
...
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Andreas Gustafsson
5d97773191
rewrote isc_file_isabsolute()
2001-07-10 17:31:05 +00:00
Danny Mayer
14597c218d
Fix memory leak [RT 1478]
2001-07-10 06:27:44 +00:00
Danny Mayer
bb48ac4f81
array bounds error in isc_file_isabsolute and REQUIRE != NULL fixes [RT 1470]
2001-07-10 06:24:15 +00:00
Brian Wellington
28e2058c5f
macro style
2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb
only create a memory pool if OPENSSL is defined.
2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c
DST_R_NOCRYPTO
2001-07-10 04:34:36 +00:00
Brian Wellington
bb5de15290
REQUIRE that parameters are not NULL in many functions [RT #1470 ]
2001-07-10 04:23:01 +00:00
Brian Wellington
024550401d
#if defined(OPENSSL) ==> #ifdef OPENSSL
...
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
a8f94d29b3
compile the version number into the isccfg and isccc libraries,
...
like we do with all other libraries
2001-07-09 22:25:29 +00:00
Andreas Gustafsson
38fed7505d
do multiple inclusion protection in all header files, and using the established ISC style
2001-07-09 21:34:44 +00:00
Andreas Gustafsson
ec4f2e859f
80 columns
2001-07-09 21:27:45 +00:00
Andreas Gustafsson
e76d4c91bf
coding style
2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1
924. [port] Extend pre-RFC2133 support. [RT #987 ]
2001-07-09 08:07:41 +00:00
Mark Andrews
de18d9daa6
regen
2001-07-09 07:35:03 +00:00
Mark Andrews
752b0c0fa7
install as ${prefix}/bind/*. [RT #1472 ]
2001-07-09 07:33:11 +00:00
Danny Mayer
36d26b9d26
add export for isc_ntfile_printf
2001-07-08 07:22:42 +00:00
Danny Mayer
11045ab3d1
code style cleanup
2001-07-08 05:16:13 +00:00
Danny Mayer
68c2ccc953
code style cleanup
2001-07-08 05:09:35 +00:00
Brian Wellington
0a2d5c9905
924. [port] Apply #910 to lib/lwres. [RT #987 ]
2001-07-07 00:03:26 +00:00
Andreas Gustafsson
f2ee3341c7
spacing
2001-07-06 22:53:48 +00:00
Andreas Gustafsson
886db6ade3
make install failed in lib/bind/include due to lack of a mkinstalldirs script
...
in lib/bind
2001-07-06 22:23:42 +00:00
Andreas Gustafsson
305795c093
finish app.h move
2001-07-06 22:12:21 +00:00
Andreas Gustafsson
1e71bc82b8
coding style
2001-07-06 21:57:22 +00:00
Andreas Gustafsson
718d6eadd4
spacing
2001-07-06 21:47:15 +00:00
Andreas Gustafsson
96ed624253
923. [bug] Multiline TSIG secrets (and other multiline strings)
...
were not accepted in named.conf. [RT #1469 ]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
ad493ef9dd
spacing
2001-07-06 20:15:08 +00:00
Andreas Gustafsson
675a191f43
moved <isc/app.h> to OS-independent include directory
2001-07-06 19:50:05 +00:00
Andreas Gustafsson
8e3366bd7c
simplified
2001-07-06 19:40:33 +00:00
Andreas Gustafsson
19b34f979c
removed initializations of nonexistent variables at Danny's request
2001-07-06 17:35:04 +00:00
Mark Andrews
221a206115
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1
2001-07-06 07:25:51 +00:00
Mark Andrews
f5af89cdee
IN6_ARE_ADDR_EQUAL and IN6_IS_ADDR_UNSPECIFIED are broken in glibc 2.1
2001-07-06 06:13:19 +00:00
Danny Mayer
2c50ab702f
stat routines
2001-07-06 06:00:17 +00:00
Danny Mayer
7fb411cfd1
plaform specific header
2001-07-06 05:59:09 +00:00
Danny Mayer
b02635aa75
offset header
2001-07-06 05:58:00 +00:00
Danny Mayer
1ee7ce8fbd
win32-specific runtime path header
2001-07-06 05:57:19 +00:00
Danny Mayer
b22d62aa69
ntfile FILE replacement headers
2001-07-06 05:56:25 +00:00
Danny Mayer
bcf5804255
win32 keyboard routines
2001-07-06 05:51:45 +00:00
Danny Mayer
a0f854291f
IPv6 on Win32 header
2001-07-06 05:50:42 +00:00
Danny Mayer
12d08bf91e
win32-specific integer definitions
2001-07-06 05:49:22 +00:00
Danny Mayer
c15033634e
Initial win32 release
2001-07-06 05:48:27 +00:00
Danny Mayer
83a373fc81
BIND Event information header
2001-07-06 05:46:37 +00:00
Danny Mayer
f950ce9932
BIND registry header information
2001-07-06 05:45:21 +00:00
Danny Mayer
c5e84ff0e4
app headers
2001-07-06 05:44:32 +00:00
Danny Mayer
f210fb51ef
Version information for libisc module
2001-07-06 05:43:17 +00:00
Danny Mayer
d4cfec8537
I/O header definitions
2001-07-06 05:42:24 +00:00
Danny Mayer
39a1539c7a
Header file for win32 emulation of syslog use the event log
2001-07-06 05:40:41 +00:00
Danny Mayer
f3f064ba86
win32 emulation of syslog use the event log
2001-07-06 05:39:57 +00:00
Danny Mayer
9ecea05b89
stdio routines
2001-07-06 05:38:47 +00:00
Danny Mayer
fd61d0cab1
Initial release of socket code
2001-07-06 05:37:46 +00:00
Danny Mayer
ca5c761cde
Resources Available
2001-07-06 05:37:10 +00:00
Danny Mayer
1c456bcdb4
O/S specific code
2001-07-06 05:36:13 +00:00
Danny Mayer
72c0894efa
functions to determine locations of configuration files at runttime
2001-07-06 05:35:09 +00:00
Danny Mayer
e397736476
win32 overrides of FILE function to centralize I/O stream and avoid problems with iob array
2001-07-06 05:34:06 +00:00
Danny Mayer
48b785fe6b
win32 version of netdb.h headers
2001-07-06 05:32:44 +00:00
Danny Mayer
602f0b8e48
net routines
2001-07-06 05:30:51 +00:00
Danny Mayer
e1bdeeadb3
libisc workspace file
2001-07-06 05:29:58 +00:00
Danny Mayer
fc72de271b
libisc project file
2001-07-06 05:29:24 +00:00
Danny Mayer
1d7574a6de
Export link File
2001-07-06 05:28:32 +00:00
Danny Mayer
0b38e0a117
Keyboard Routines
2001-07-06 05:27:37 +00:00
Danny Mayer
e2d579a021
ipv6 variables initialization
2001-07-06 05:26:58 +00:00
Danny Mayer
3d8c1213d9
Interface Iteration routines
2001-07-06 05:25:20 +00:00
Danny Mayer
fc4bae7e83
header file for error routines
2001-07-06 05:24:22 +00:00
Danny Mayer
9fe3c2060d
error routines
2001-07-06 05:23:58 +00:00
Danny Mayer
a38e51e5ef
Fixed duplicate routines
2001-07-06 05:22:46 +00:00
Danny Mayer
6f5d6e3f8c
isc_app_* routines
2001-07-06 05:21:44 +00:00
Danny Mayer
1e36937976
Entry point routine for libisc
2001-07-06 05:20:33 +00:00
Danny Mayer
e35c1bb3ec
Initial win32 Release
2001-07-06 05:08:39 +00:00
Danny Mayer
2773eae702
Fix variable declarations and remove initializations
2001-07-06 02:57:40 +00:00
Danny Mayer
4da4fef481
Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses
2001-07-06 02:56:47 +00:00
Brian Wellington
ed95ebaa42
remove references to vms_idhacks.h, since VMS doesn't seem to need it.
...
[RT #1432 ]
2001-07-05 19:06:07 +00:00
Brian Wellington
b6d5ee2fb2
ignore lib/bind/timestamp and lib/bind/port/*/include/Makefile
2001-07-05 18:50:39 +00:00
Mark Andrews
c8366d92f7
add port_before.h/port_after.h
2001-07-05 06:18:43 +00:00
Mark Andrews
3b8c76cb25
regen
2001-07-05 06:13:15 +00:00
Mark Andrews
9565793aed
pullup BIND 8.
...
1239. [bug] call res_ndestroy() in net_data_destroy().
2001-07-04 08:10:23 +00:00
Mark Andrews
e598df739d
Add getnetgrent_r.c prototype
2001-07-04 05:32:42 +00:00
Mark Andrews
93373a8c3c
silence broken IN6ADDR_{ANY,LOOPBACK}_INIT macros
2001-07-04 05:18:12 +00:00
Mark Andrews
60d17e54ea
singed/unsigned
2001-07-04 04:51:05 +00:00
Mark Andrews
567fb9c5e7
silence __sputaux
2001-07-04 03:48:43 +00:00
Brian Wellington
64b92523f9
check for getc_unlocked()
2001-07-04 00:34:44 +00:00
Andreas Gustafsson
37c961df41
extra space in error message string
2001-07-03 17:12:19 +00:00
Mark Andrews
2ef189c6d7
missed one
2001-07-03 13:44:53 +00:00
Mark Andrews
7cbf7d6613
nsprom() was unused.
2001-07-03 08:11:51 +00:00
Mark Andrews
5a20525ef3
unreachable statement
2001-07-03 07:53:36 +00:00
Mark Andrews
b8c618c852
remove unreachable code.
...
move&correct error statement.
2001-07-03 07:43:02 +00:00
Mark Andrews
7fff9e8cea
unused variable
2001-07-03 06:55:04 +00:00
Mark Andrews
2b959a1fad
regen
2001-07-03 06:52:15 +00:00
Mark Andrews
7050586959
silence aix (+others) compiler warnings re accept, getsockname, getpeername,
...
recvfrom etc.
2001-07-03 06:49:55 +00:00
Mark Andrews
265c5051d7
cp was being assign from the wrong pointer
2001-07-03 06:47:32 +00:00
Mark Andrews
b0a599b02e
regen
2001-07-03 03:56:47 +00:00
Mark Andrews
a1703aa367
ISC_SOCKADDR_LEN_T
2001-07-03 03:55:42 +00:00
Andreas Gustafsson
00380255bd
regenerated
2001-07-02 21:29:16 +00:00
Andreas Gustafsson
47ad4fad77
922. [func] Added two new lwres_getrrsetbyname() result codes,
...
ERR_NONAME and ERR_NODATA.
2001-07-02 21:28:56 +00:00
Brian Wellington
5733d25b06
921. [bug] lwres returned an incorrect error code if it received
...
a truncated message.
920. [func] Increase the lwres receive buffer size to 16K.
[RT #1451 ]
2001-07-02 20:46:31 +00:00
Andreas Gustafsson
5f62432db2
removed extraneous empty line
2001-07-02 20:44:30 +00:00
Andreas Gustafsson
2b8e5a5254
errors were logged as warnings and vice versa
2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3
added ISC_FORMAT_PRINTF checks
2001-07-02 17:05:46 +00:00
Mark Andrews
1f90214bb4
pullup from BIND 8:
...
1236. [bug] ignore white space after address of nameserver.
2001-07-02 02:33:45 +00:00
Mark Andrews
8eca454f9f
regen
2001-07-02 02:03:54 +00:00
Mark Andrews
9e80f632c8
pullup BIND 8:
...
Solaris 2.4 (and earlier) USE_FIONBIO_IOCTL support.
2001-07-02 02:02:27 +00:00
Mark Andrews
d4e535315d
pullup from BIND 8:
...
1237. [bug] buffer overrun, access mode read.
2001-07-02 00:44:50 +00:00
Danny Mayer
cddd0ddf07
rdclass and rdtype size misdeclaration
2001-06-30 04:13:50 +00:00
Andreas Gustafsson
97e1692460
New function cfg_print_grammar(), which generates a human-readable
...
summary of the grammar for a given configuration type from its syntax
tables. Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Mark Andrews
545be70a4d
regen
2001-06-29 15:26:15 +00:00
Mark Andrews
b0b4e03da5
"make install" should now work.
2001-06-29 15:25:25 +00:00
Andreas Gustafsson
7d8c3693d0
914. [bug] Gobal 'server' statements were rejected when
...
using views, even though they were accepted
in 9.1. [RT #1368 ]
2001-06-28 21:58:54 +00:00
Andreas Gustafsson
389677e152
removed empty line
2001-06-28 21:34:54 +00:00
Andreas Gustafsson
dcc7ea9717
spacing
2001-06-28 21:34:39 +00:00
Andreas Gustafsson
60dcbecf04
Instead of choosing between memcpy and memmove at run time, call
...
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson
b1a7fea53c
brace style
2001-06-28 21:21:39 +00:00
Brian Wellington
ff8335f908
regen
2001-06-28 17:45:05 +00:00
Brian Wellington
ea562e4401
Properly set _GNU_SOURCE on linux
2001-06-28 17:44:53 +00:00
Brian Wellington
cab94c1516
'make distclean' should remove files created by configure.
2001-06-28 17:35:49 +00:00
Mark Andrews
dee489d6c1
incremental_cleaning_action() is now re-called as a result of normal event
...
processing, not as the result of timer action.
2001-06-28 13:51:40 +00:00
Danny Mayer
f47c41b5fe
htons expects an unsigned short for the argument
2001-06-28 06:02:18 +00:00
Mark Andrews
1e34f21f4c
regen
2001-06-28 04:29:07 +00:00
Mark Andrews
93810b1ace
add aix
2001-06-28 04:27:56 +00:00
Mark Andrews
73620f726a
regen
2001-06-28 02:58:27 +00:00
Mark Andrews
c3a5709c2b
autoconf swallowed the [ ] in case statement
2001-06-28 02:57:23 +00:00
Mark Andrews
c18d42b96b
use MEM_RECORD rather than debugging > 1
2001-06-28 01:57:34 +00:00
Mark Andrews
594a685c8d
Add ISC_MEM_DEBUGGING to set default compile time flags.
...
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards.
2001-06-28 01:51:20 +00:00
Mark Andrews
950d71eee3
allow maximum inuse memory to be tracked.
2001-06-27 23:29:29 +00:00
David Lawrence
6817b32d2c
Revert "incremental cleaning should actually clean" because it already did.
...
dns_dbiterator_setcleanmode(cleaner->iterator, ISC_TRUE) causes
dns_dbiterator_current() to do node expiry.
2001-06-27 20:18:03 +00:00
Mark Andrews
ba94ff2e56
incremental cleaning should actually clean.
...
end_cleaning wants busy not idle
2001-06-27 14:48:21 +00:00
Mark Andrews
c86b6051b6
hp cleanup
2001-06-27 12:29:41 +00:00
Danny Mayer
53bc020d74
modified to use isc_file_rename instead of rename
2001-06-27 04:37:11 +00:00
Danny Mayer
11c7a43642
type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext()
2001-06-27 04:30:37 +00:00
Brian Wellington
f215881bb0
removed unnecessary const [RT #1440 ]
2001-06-27 04:21:18 +00:00
Mark Andrews
b6f0efbf3e
aix namespace collision ERR -> EV_ERRR
2001-06-27 03:55:48 +00:00
Mark Andrews
98b2d12313
rejen
2001-06-25 13:27:29 +00:00
Mark Andrews
51cb4eba54
aix & hp
2001-06-25 13:22:33 +00:00
Mark Andrews
2bc98b7d91
910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT.
2001-06-25 03:56:58 +00:00
Mark Andrews
9432c5ee8b
pullup:
...
64 bit alignment is only required on 64 bit machines
2001-06-25 00:30:46 +00:00
Mark Andrews
768d8c0ceb
_SOCKADDR_LEN
2001-06-23 04:02:24 +00:00
Mark Andrews
14c32141f7
regen
2001-06-23 03:45:35 +00:00
Mark Andrews
008616624a
extra commas
2001-06-23 03:44:11 +00:00
Mark Andrews
0cbda00d11
regen
2001-06-23 02:17:13 +00:00
Mark Andrews
bf92294d2a
osf sethostent_r
2001-06-23 02:16:13 +00:00
Mark Andrews
a4786a3117
uint#_t
2001-06-23 02:11:08 +00:00
Mark Andrews
5f229adf3a
regen
2001-06-23 02:03:26 +00:00
Mark Andrews
8264cdf2f1
add port/decunix
2001-06-23 02:02:01 +00:00
Mark Andrews
3d112f226f
regen
2001-06-23 01:50:27 +00:00
Mark Andrews
cd7564646e
OSF 5.0 setpwent_r() support
2001-06-23 01:49:21 +00:00
David Lawrence
9bfa90768a
907. [func] The ability to get entropy from either the
...
random device, a user-provided file or from
the keyboard was migrated from the DNSSEC tools
to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
Mark Andrews
de8e172e44
regen
2001-06-22 05:11:52 +00:00
Mark Andrews
7ae2ccb5d1
linux netbsd
2001-06-22 05:11:05 +00:00
David Lawrence
2d67c24744
906. [port] Separated the system independent portion of
...
lib/isc/unix/entropy.c into lib/isc/entropy.c
and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Mark Andrews
2ef3e44fc8
regen
2001-06-21 09:04:21 +00:00
Mark Andrews
45a0264e76
alternate getnetgrent_r signature
2001-06-21 09:03:16 +00:00
Mark Andrews
e481f1dd57
distclean -> config.cache
2001-06-21 08:53:15 +00:00
Mark Andrews
c288005389
add IN6ADDR_LOOPBACK_INIT
2001-06-21 08:51:21 +00:00
Mark Andrews
e2935ef152
clean/distclean to remove libbind.a
2001-06-21 08:50:34 +00:00
Mark Andrews
527302c4fe
BIND 8.3.0-T1A sync
2001-06-21 08:26:27 +00:00
Mark Andrews
74f16d58a3
regen
2001-06-21 08:04:16 +00:00
Mark Andrews
800764304d
spelling of HAVE_SOCKADDR_STORAGE
2001-06-21 08:03:21 +00:00
Mark Andrews
85bdc128fc
Relax REQUIRES() in *fromstruct() and unconditionally call
...
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Andreas Gustafsson
77efdc854b
spacing; typo
2001-06-21 01:30:22 +00:00
Andreas Gustafsson
08a44b06ef
the length of the NULL record RDATA can be zero;
...
do not assert the contrary
2001-06-20 17:43:31 +00:00
Andreas Gustafsson
ac299c4f5c
Removed statements to the effect that certain functions
...
perform assertion checks. Such statements are inappropriate as they
document the implementation rather than the public interface. The
functions are not required to perform assertion checks, but the caller
is required to pass arguments that conform to the API requirements.
2001-06-18 22:56:35 +00:00
Andreas Gustafsson
d748172fd7
added one end tag too many
2001-06-18 22:11:59 +00:00
Andreas Gustafsson
86b0285d7e
missing end tags; other cleanup
2001-06-18 22:07:02 +00:00
Andreas Gustafsson
474a81662f
missing end tags; other cleanup
2001-06-18 17:56:54 +00:00
Andreas Gustafsson
19872fdfb7
convert more socket errors to specific ISC error codes, notably ECONNRESET
2001-06-15 22:07:51 +00:00
Brian Wellington
2196128fc2
When doing best-effort parsing (in dig, for example) on a message with multiple
...
questions where an unrecoverable error is seen after 2 or more questions have
been parsed, memory would be leaked from msg->namepool, and would trigger an
ENSURE() in dns_message_destroy().
2001-06-15 05:24:24 +00:00
Brian Wellington
0a9a3d8c6d
904. [bug] The server would leak memory if attempting to use
...
an expired TSIG key. [RT #1406 ]
2001-06-15 02:24:02 +00:00
Andreas Gustafsson
d1ecee17a5
remove the other blank line before .TH, too
2001-06-14 19:10:14 +00:00
Andreas Gustafsson
23ac0d8259
comments for dns_message_parse() referred to
...
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews
9a6573e16b
sys/select.h not sys/socket.h
2001-06-12 01:35:42 +00:00
Andreas Gustafsson
509ef0c871
Keep track of the number of times the system malloc() has
...
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not.
2001-06-11 20:27:16 +00:00
Andreas Gustafsson
8de7014e56
removed CVS Id from machine-generated man page files -- it is no longer needed
...
now that they are ignored by update_copyrights
2001-06-11 19:02:45 +00:00
Andreas Gustafsson
c44072c299
uninitialized pointer could potentially (but not likely)
...
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
David Lawrence
eda73d8aad
redo 1.64 "potential null pointer dereference" more consistent with the style
...
of the function and file (i.e., not returning from the middle of a function)
2001-06-10 17:06:45 +00:00
David Lawrence
95e8c0f8f5
removed blank line before .TH
2001-06-10 13:58:29 +00:00
David Lawrence
2b403f22d4
Removed an obsolete XXXMLG comment, with the assent of Michael Graff.
2001-06-08 23:53:41 +00:00
David Lawrence
04260c5c48
895. [func] New function, isc_dir_current(), akin to POSIX's
...
getcwd().
2001-06-08 23:50:32 +00:00
Brian Wellington
ba9e9a88c8
The last change didn't compile due to faulty cut&paste.
2001-06-08 22:48:28 +00:00
David Lawrence
504f7802d4
893. [func] Removed isc_file_test() and added isc_file_exists()
...
for the basic functionality that was being added
with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
3b6bcedffe
891. [bug] Return an error when a SIG(0) signed response to
...
an unsigned query is seen. This should actually
do the verification, but it's not currently
possible. [RT #1391 ]
2001-06-08 19:37:29 +00:00
Andreas Gustafsson
841179549b
889. [port] Eliminated blank lines before .TH in nroff man
...
pages since they cause problems with some versions
of nroff. [RT #1390 ]
2001-06-08 19:33:02 +00:00
Brian Wellington
01535cfb3a
removed erroneous UNUSED macro
2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548
Don't die when trying to delete a nonexistent key [RT #1392 ]
2001-06-08 18:29:31 +00:00
Mark Andrews
4585aeb2cc
866. [func] Close debug only file channels when debug is set to
...
zero. [RT #1246 ]
2001-06-08 02:57:13 +00:00
Andreas Gustafsson
56877490bc
865. [bug] The new configuration parser did not allow
...
the optional debug level in a "severity debug"
clause of a logging channel to be omitted.
This is now allowed and treated as "severity
debug 1;" like it did in BIND 8.2.4, not as
"severity debug 0;" like it did in BIND 9.1.
[RT #1367 ]
2001-06-08 01:03:00 +00:00
Andreas Gustafsson
11c8a04f9b
grammar
2001-06-07 20:11:30 +00:00
Andreas Gustafsson
d358eea93e
megabytes is abbreviated MB, not mb
2001-06-07 18:31:54 +00:00
Mark Andrews
c69d61c69b
realloc -> malloc
2001-06-07 02:14:52 +00:00
Andreas Gustafsson
8b9fa5b005
redid RT #1353 fix in 1.53 so that it does not free
...
file names while they are still referenced from the parse tree
2001-06-07 01:58:49 +00:00
Brian Wellington
90c845947a
#include <time.h>
2001-06-07 00:45:35 +00:00
Mark Andrews
6cefb60af5
pullup from BIND 8
...
862. [bug] Use after realloc(), non portable pointer arithmetic in
grmerge().
2001-06-07 00:22:35 +00:00
Brian Wellington
224e84bc0e
misc. stuff related to [RT #1293 ]
2001-06-07 00:21:53 +00:00
Brian Wellington
571688b02f
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
Brian Wellington
338d559b3e
remove extraneous blank line
2001-06-06 21:02:43 +00:00
Mark Andrews
cd8c92da37
pullup from BIND8:
...
DE_CONST bind(arg 2)
2001-06-06 01:56:32 +00:00
Mark Andrews
99a8d30559
860. [func] Drop cross class glue in zone transfers.
2001-06-05 23:43:15 +00:00
David Lawrence
f991461dc1
The most notable change is that incremental_cleaning_action() will now
...
wait at least six seconds between each pass of the tree. This keeps
the CPU from being bogged down in a persistent overlimit condition, and
because it uses timers also lets the cache cleaner know right away when
the server is being shut down, so it can stop trying to clean.
Also fixed an unlocked access to cache->live_tasks in dns_cache_detach().
Also fixed a problem with repeated calls to dns_cache_setcachesize() setting
the database as not overmem, even though it might have still been in
the process of cleaning from a previous limit. Just set the new
isc_mem_setwater() limits instead and let the mem.c call water() if cleaning
needs to be either started or stopped because of the new limits.
Minor code cleanups.
2001-06-05 22:27:51 +00:00
David Lawrence
65640f401a
Removed the requirement for isc_mem_setwater() that when the callback function
...
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0. Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration). This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +00:00
Mark Andrews
92296c744e
complete the rollback
2001-06-05 09:23:14 +00:00
Mark Andrews
8af4b7042d
rollback individual RR.
2001-06-05 09:17:21 +00:00
Mark Andrews
03f91269f5
856. [func] Allow partial rdatasets to be returned in answer and
...
authority sections to help non-TCP capable clients
recover from truncation. [RT #1301 ]
2001-06-05 09:02:16 +00:00
Brian Wellington
7e93abafe6
spelling & style
2001-06-05 06:34:45 +00:00
Brian Wellington
33e49e8fdc
#include <isc/magic.h>
2001-06-05 06:34:11 +00:00
Mark Andrews
afb0a628ef
855. [bug] Stop spurious "using RFC 1035 TTL semantics" warnings.
2001-06-05 05:12:47 +00:00
Brian Wellington
17dba29ba5
854. [bug] The config parser didn't properly handle config
...
options that were specified in units of time other
than seconds. [RT #1372 ]
2001-06-04 21:51:27 +00:00
Brian Wellington
fe61fbe14e
ignore Makefiles and autoconf stuff
2001-06-04 21:48:52 +00:00
David Lawrence
163e27991b
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-04 20:57:25 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Brian Wellington
deb588e256
typo that caused an assertion failure [RT #1368 ]
2001-06-03 23:53:50 +00:00
Brian Wellington
c39911afea
functions returning void should not return the result of other functions
...
returning void. [RT #1372 ]
2001-06-03 19:03:37 +00:00
Mark Andrews
3042b3e271
851. [bug] Handle responses from servers which do not know
...
about IXFR.
2001-06-01 15:22:56 +00:00
Mark Andrews
989f808405
851. [cleanup] support-ixfr is obsolete, use request-ixfr.
2001-06-01 15:17:19 +00:00
Bob Halley
eba5c23154
undo 1.54, which was an accidental commit
2001-06-01 03:07:54 +00:00
Bob Halley
875542855a
update to 9.3.0, now that the 9.2 release branch has been created
2001-06-01 03:05:07 +00:00
Brian Wellington
d0b6ece407
ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS
2001-06-01 01:11:28 +00:00
Brian Wellington
59d5cc31e5
#include <dns/types.h>
2001-06-01 01:09:10 +00:00
Brian Wellington
53aba5065d
man pages were not properly installed in separate-object-dir builds
2001-06-01 00:45:04 +00:00
David Lawrence
7fe56f41ec
slight optimization for dns_rbt_findnode() when bitstrings are involved:
...
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence
68f4a1696f
In dns_rbt_findnode() when using hashing, check for a bitstring after
...
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence
11c4f6b687
Reversed the sense of my earlier change to hmacmd5 key generation that
...
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence
b79e66b06d
While searching in dns_rbt_findnode(), cope with the possibility that
...
a bitstring label might be founding things from any label of a
multilabel search_name.
2001-05-31 11:03:33 +00:00
David Lawrence
64c7a503c2
ensure that INADDR_LOOPBACK is defined
2001-05-31 10:54:51 +00:00
David Lawrence
ed8daea264
enforce a minimum cache size of 2mb
2001-05-31 10:53:42 +00:00
David Lawrence
50b7860fff
new function isc_file_test() as framework for determining various attributes
...
of a pathname
2001-05-31 10:53:14 +00:00
David Lawrence
719f0c0028
A trivial change (added a blank line) so I could add the comment I
...
*wanted* to add on the last check-in.
The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not. This change was approved
by Brian. The control channel key generator needed it to be able to do
its job all on-the-fly.
2001-05-31 10:49:28 +00:00
David Lawrence
d744418e64
hmac_link.c
2001-05-31 10:47:17 +00:00
David Lawrence
25efbc557e
set the permissions on a symmetric keyfile before anything is written to it,
...
rather than after it is closed
2001-05-31 10:45:32 +00:00
David Lawrence
fe2d25382f
don't define INADDR_LOOPBACK; isc/net.h should be ensuring it exists
2001-05-31 10:43:37 +00:00
David Lawrence
4f36774273
include <dns/soa.h> for dns_soa_serial() prototype
2001-05-31 10:38:01 +00:00
Mark Andrews
9dbbd48523
new
2001-05-31 06:13:27 +00:00
Mark Andrews
45d75e9b26
copyrights
2001-05-31 05:54:07 +00:00
Brian Wellington
6d28d54e6f
be more tolerant of blank lines
2001-05-31 00:38:07 +00:00
Brian Wellington
1969ab5360
copyright updates
2001-05-30 20:31:08 +00:00
Brian Wellington
a78196366c
move variable initialization
2001-05-29 23:07:28 +00:00
Brian Wellington
cbb781f277
uninitialized variable
2001-05-29 22:54:07 +00:00
Brian Wellington
8358be5851
uninitialized variable
2001-05-29 22:44:12 +00:00
Brian Wellington
dd0fdd4426
the array of error messages was incomplete.
2001-05-29 22:40:10 +00:00
Brian Wellington
9547c4a3f8
potential null pointer dereference
2001-05-29 22:35:54 +00:00
Brian Wellington
e2fd12f3a0
841. [bug] When sdb modules were not declared threadsafe, their
...
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Mark Andrews
b96a1d9fa3
sync multiple changes from BIND 8.
2001-05-28 08:38:32 +00:00
Mark Andrews
7ca2d9c6ed
pullup from BIND 8:
...
1175. [bug] statp->nsort could fail to be re-initialised if
resolv.conf goes away.
2001-05-28 06:36:15 +00:00
Mark Andrews
94039cf2c3
pullup from BIND 8:
...
1172. [bug] allow res_{n}update to take a single unlinked element.
2001-05-28 06:25:42 +00:00
Brian Wellington
cf74d05a50
840. [bug] The config file parser could print the wrong file
...
name if an error was detected after an included file
was parsed. [RT #1353 ]
2001-05-28 06:05:24 +00:00
Mark Andrews
3b3a726ae4
pullup from BIND 8:
...
1215. [bug] long UNIX domain control socket names were not being
printed in full.
2001-05-25 05:21:25 +00:00
Mark Andrews
ba10e25d1c
pullup from BIND 8.
...
1214. [bug] getrgnam()/getgrgid() leaked memory.
2001-05-25 03:32:40 +00:00
Mark Andrews
3dd53ffbd7
remove unnecessary call to res_nsearch() from reverse lookup path.
2001-05-22 22:53:24 +00:00
Mark Andrews
cae062ee07
#include <arpa/nameser.h> for ns_tsig_key
2001-05-22 22:51:31 +00:00
Andreas Gustafsson
508d17362c
834. [func] Accept (but warn about) master files beginning with
...
an SOA record without an explicit TTL field and
lacking a $TTL directive, by using the SOA MINTTL
as a default TTL. This is for backwards compatibility
with old versions of BIND 8, which accepted such
files without warning although they are illegal
according to RFC1035.
2001-05-22 01:44:37 +00:00
Andreas Gustafsson
e7a4f58d55
833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
...
<dns/soa.h>, and extended them to support
all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Andreas Gustafsson
ec4df1f908
consistently use lower case in error messages
2001-05-21 22:49:24 +00:00
Brian Wellington
0716b32560
remove unnecessary const
2001-05-21 22:10:23 +00:00
Mark Andrews
1cfecfd34f
Bitstring labels are independent of DNAMEs.
...
Provide a runtime mechanism to set the IPv6 suffixes for reverse lookups.
Provide a runtime mechanism to disable each of the IPv6 reverse lookup
methods.
Provide a mechanism to free memory allocated by res_{n}init().
2001-05-21 14:31:32 +00:00
Mark Andrews
097dc0a693
add sys/types.h for FreeBSD 2.1
2001-05-18 03:02:45 +00:00
Andreas Gustafsson
1242c132a8
removed comment that was no longer correct
2001-05-17 18:14:36 +00:00
Mark Andrews
d972d65d69
add initial support for unix based platforms.
2001-05-17 06:26:01 +00:00
Andreas Gustafsson
d76b6ae2ad
isc_print_vsnprintf() could throw an assertion failure when
...
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system. Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf(). The only known such platform is SunOS 5.5.1. [RT #1312 ]
2001-05-16 00:52:55 +00:00
Andreas Gustafsson
21a0926b4f
the epoch of time() is sytem dependent - use isc_stdtime_get()
...
instead [RT #1300 ]
2001-05-15 22:05:35 +00:00
Bob Halley
4e9d4ceadf
Take two of new semantics for ANY queries at zone cut points. Now doing
...
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before. Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things. These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Andreas Gustafsson
0d205b805a
backed out changes to handling of DNS_DBFIND_VALIDATEGLUE
...
option in previous commit - they broke DNS_DBFIND_GLUEOK lookups,
causing several of the system tests to fail
2001-05-15 03:52:31 +00:00
Andreas Gustafsson
740ae0808f
when returning a socket error, use isc__errno2result() instead
...
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson
135b1206c9
don't retry UDP receives after they return an error -
...
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson
054777a694
eliminated redundant assignments to disp->shutting_down;
...
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
Brian Wellington
50097b38c0
830. [func] Implement 'rndc status'.
2001-05-14 20:44:16 +00:00
Bob Halley
751aa24c98
only return DNS_R_ZONECUT from secure zones
2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155
more of 'rndc status'
2001-05-14 19:06:47 +00:00
Andreas Gustafsson
fd5847ef09
828. [bug] The errno value from recvfrom() could be overwritten
...
by logging code. [RT #1293 ]
2001-05-14 18:20:03 +00:00
Mark Andrews
2510f0bd84
axi changes
2001-05-14 07:59:46 +00:00
Mark Andrews
a9aeae8dc0
more #824 fine tuning.
...
ictx->drop is inherited when a include file is pushed.
NOTE: it is *not* restored when the include file is subsequently popped as
the current owner is restored to the state it was before the file
was pushed.
we missed setting source & line after one successful pushfile().
2001-05-14 06:22:40 +00:00
Mark Andrews
378f5abd5f
fine tune #824
2001-05-11 02:35:37 +00:00
Brian Wellington
177ede307a
minor internal reorganization (yes, this will all become clear at some point)
2001-05-10 19:07:18 +00:00
Andreas Gustafsson
a9ef485446
If IXFR fails, fall back to AXFR
2001-05-10 17:51:49 +00:00
Andreas Gustafsson
344a21e7c7
the return value of ixfr_apply() was not checked
2001-05-10 16:27:14 +00:00
Andreas Gustafsson
17ed6b7945
when subtracting a nonempty rdataset from a nonexistent rdataset
...
and the DNS_DBSUB_EXACT flag, dns_db_subtractrdataset() should return
DNS_R_NOTEXACT, not DNS_R_UNCHANGED.
2001-05-10 16:26:07 +00:00
Mark Andrews
6ddea57cb4
ais
2001-05-10 07:33:31 +00:00
Mark Andrews
9259ea7e4b
aix
2001-05-10 07:29:54 +00:00
Brian Wellington
a62b21afd3
DST_TYPE_PUBLIC|DST_TYPE_PRIVATE
2001-05-10 06:05:54 +00:00
Mark Andrews
4dad906c2f
port aix
2001-05-10 05:38:33 +00:00
Mark Andrews
84844522a2
AIX
2001-05-10 05:10:30 +00:00
Mark Andrews
ac7fa9937e
sync
2001-05-10 05:10:11 +00:00
Mark Andrews
ba4e2f658e
Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN
2001-05-10 05:09:06 +00:00
Brian Wellington
4bd95a4965
fix a cut-and-paste-o and a warning
2001-05-10 04:50:28 +00:00
Mark Andrews
2ddb88d5d4
cync: aix
2001-05-10 04:29:17 +00:00
Mark Andrews
fa358dd30f
aix
2001-05-10 04:28:22 +00:00
Mark Andrews
00c6d2626b
Add aix
2001-05-10 04:23:15 +00:00
Brian Wellington
8e4da48fa7
consolidated duplicated code for filename mangling, removed sanity checks that
...
weren't.
2001-05-09 23:04:50 +00:00
Brian Wellington
35582313f7
add dns_zt_zonecount(), which counts the number of zones in a zonetable.
2001-05-09 21:34:19 +00:00
Mark Andrews
f3dd74f1cd
ignore in no longer needed in commit.
2001-05-09 07:18:38 +00:00
Bob Halley
42dfa2455d
bump version to avoid horrible confusion
2001-05-09 06:12:52 +00:00
Mark Andrews
69d44b2f5a
825. [bug] zone.c:ns_query() detached from the wrong zone
...
reference. [RT #1263 ]
2001-05-09 05:20:28 +00:00
Mark Andrews
f08f3c6cae
824. [bug] Correct line numbers reported by dns_master_load().
...
[RT #1263 ].
2001-05-09 03:41:47 +00:00
Andreas Gustafsson
120cf12320
folded lines >80 chars; added comments; removed some unused code
2001-05-09 03:17:02 +00:00
Andreas Gustafsson
c3ebcedbe5
Add isc_file_progname(), with trivial POSIX implementation, and
...
call it from main(). A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Mark Andrews
dbd6145418
sync
2001-05-08 07:07:11 +00:00
Mark Andrews
dd9b814ace
strerror
2001-05-08 07:06:01 +00:00
Mark Andrews
1c81477123
oops2
2001-05-08 06:30:08 +00:00
Mark Andrews
8f7edcb227
more IPv6 macros
2001-05-08 06:25:30 +00:00
Mark Andrews
fcfb81e3c4
oops
2001-05-08 05:18:26 +00:00
Mark Andrews
ff8bc68af4
add various IPv6 macros
2001-05-08 05:15:13 +00:00
Mark Andrews
74186b65a3
add stdio.h
2001-05-08 04:38:28 +00:00
Mark Andrews
cf186bf745
add netbsd
2001-05-08 04:02:54 +00:00
Andreas Gustafsson
9dafd058e3
implemented 'rndc reconfig'
2001-05-07 23:34:24 +00:00
Mark Andrews
25ea25c811
undo part of bind8-823-v6-20010204a.diff
2001-05-07 06:07:44 +00:00
Danny Mayer
94ebc518d0
buffer request needs cast for win32
2001-05-06 02:24:08 +00:00
Danny Mayer
db1bfc3151
htons needs cast for win32
2001-05-06 02:23:06 +00:00
Brian Wellington
d144ea1d1c
isc_file_basename should return a (const char *)
2001-05-05 02:47:21 +00:00
David Lawrence
e40cd7f5c9
preserve a reference to the node lock across a call to no_references() in
...
detachnode
2001-05-05 02:42:38 +00:00
Andreas Gustafsson
bdb60248c3
oops, removed the wrong declaration
2001-05-04 23:57:22 +00:00
Andreas Gustafsson
a08f7f4a6c
frombuffer() was declared 'static' but defined
...
without 'static'
2001-05-04 17:57:33 +00:00
Andreas Gustafsson
2788f21727
don't install the now-nonexistent <dns/namedconf.h>
2001-05-04 17:08:43 +00:00
Brian Wellington
f2194a8ba9
implement isc_file_basename()
2001-05-03 18:59:30 +00:00
Brian Wellington
55ff3f6e65
remove prototypes for nonexistant functions [RT #1240 ]
2001-05-03 18:40:33 +00:00
Brian Wellington
3f8a9e5196
remove unused byte swapping macros and the associated non-portable includes
...
[RT #1239 ]
2001-05-03 18:38:17 +00:00
Brian Wellington
de32cbd34e
remove a cut-and-paste-o
2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4
Allocate the initial buffer for rdata based on the length of the string, to
...
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
af46049567
removed <dns/namedconf.h>, which pertained to the old
...
configuration parser
2001-05-02 17:39:51 +00:00
Bob Halley
1a286a6613
In certain cases, the resolver's attempts to restart an address lookup
...
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225 ]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289
Comment a particularly subtle bit of code.
2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f
Signing with a large key didn't work since the static output buffer was too
...
small; use a dynamic buffer instead. Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c
when following A6 chains, glue was inadvertantly ignored
2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831
commented
2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030
removed declarations of nonexistent functions
2001-04-30 18:09:31 +00:00
Tatuya JINMEI 神明達哉
931f35a927
removed one more 'ifdef INET6'.
2001-04-30 18:08:54 +00:00
Tatuya JINMEI 神明達哉
291e6be74f
some cleanups and clarifications;
...
- removed 'ifdef INET6' (libbind's getaddrinfo should always be buildable
with the INET6 part.)
- use EAI_NONAME instead of EAI_NODATA (this is an API issue. I'll raise
it at the group working on the API).
- use h_errno instead of __h_errno.
- clarification on using interface names as link IDs of IPv6 link-local
addresses. (not all OSes support this.)
2001-04-30 17:46:58 +00:00
Tatuya JINMEI 神明達哉
520717e82b
supported the IPv6 scoped addresses format.
2001-04-30 17:35:17 +00:00
Tatuya JINMEI 神明達哉
4df5fde1a7
- code clenaups (removed redundant macros/blank lines, comment clarifications
...
etc.)
- use EAI_xxx error code according to draft-ietf-ipngwg-rfc2553bis-03.
(we may still have to reconsider EAI_NODATA - this is an API issue)
2001-04-30 17:34:02 +00:00
Andreas Gustafsson
1ed0723a1f
a pointer argument used to return an "int" value into an "int"
...
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00
Andreas Gustafsson
9762fd29cc
DNAME now has an RFC
2001-04-27 21:02:01 +00:00
Mark Andrews
ecaedd50f4
817. [func] Adjust timeouts for dialup zone queries.
2001-04-27 02:34:18 +00:00
Andreas Gustafsson
5e194abb5b
814. [bug] Socket objects left over from accept() failures
...
were incorrectly destroyed, causing corruption
of socket manager data structures.
813. [bug] File descriptors exceeding FD_SETSIZE were handled
badly. [RT #1192 ]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
e482a1c91e
cache dumps now include trust levels and ncache entries
2001-04-26 21:17:56 +00:00
David Lawrence
2b5f436aeb
Make greatest_version() return an isc_result_t, which it should have
...
been doing all along since there was the possibility isc_dir_open() would
fail and overloading the return value of "0" was bad practice.
If isc_dir_open() fails in greatest_version(), make sure the path separator
is restored to the destination pathname if it was NULified before returning
the error.
The underlying problem of isc_log_open() not having the bad result of
isc_dir_open() reported anywhere will be slightly mediate by a change
to bin/named/logconf.c to test the directory. lib/isc/log.c can't really
handle it because it has no idea to where such an error should be reported,
and it only shows up during isc_log_open() as part of the isc_log_write()
family of calls, which are all void.
2001-04-25 23:59:44 +00:00
Andreas Gustafsson
cb77fe457a
"sending notifies (%u)" -> "sending notifies (serial %u)"
2001-04-24 23:03:04 +00:00
Andreas Gustafsson
0dc1e14537
alphabetized includes
2001-04-24 18:40:07 +00:00
Andreas Gustafsson
92ba2e22ae
removed extraneous quotes
2001-04-24 18:13:47 +00:00
Andreas Gustafsson
8eea877894
untabified so that program listings line up properly
...
in the nroff output
2001-04-24 18:11:27 +00:00
Andreas Gustafsson
09df6c7006
removed unnecessary includes
2001-04-24 17:57:46 +00:00
Bob Halley
38d21a360a
only reacquire the lock in no_references() if we actually gave it up
2001-04-24 17:03:54 +00:00
Andreas Gustafsson
6f118c4893
removed redundant 'i++;'
2001-04-24 00:56:17 +00:00
Mark Andrews
dab8e1d00c
enable IPv6 resolver support
2001-04-23 02:59:53 +00:00
Mark Andrews
f93659e9a2
IPv6 fixes
2001-04-23 02:59:17 +00:00
Mark Andrews
1e6276aaf8
WANT_IRS_NISGR_OBJ -> WANT_IRS_NISGR_OBJS
2001-04-23 02:57:20 +00:00
David Lawrence
ed1c40264e
sigh. do not set the lock from node->locknum until being sure node is not null
2001-04-20 21:22:09 +00:00
David Lawrence
a0e1f68e14
Now that no_references() reacquires the node lock after deleting the node,
...
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson
15254d5865
note that parsers are not reusable
2001-04-19 23:28:17 +00:00
Andreas Gustafsson
cedd0ab1e8
811. [bug] Parantheses were not quoted in zone dumps. [RT #1194 ]
2001-04-19 18:39:42 +00:00
Brian Wellington
59c85e1636
Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header.
2001-04-19 18:28:35 +00:00
Mark Andrews
f6c845a79b
build libbind from .o's
2001-04-18 11:08:28 +00:00
David Lawrence
f6f8d61a77
reacquire the node lock the caller held before returning from no_references()
2001-04-18 08:06:11 +00:00
Andreas Gustafsson
ebea68ec9c
regenerated man pages with pdated docbook2man-spec.pl;
...
now the function prototypes are formatted correctly
2001-04-17 18:01:53 +00:00
Brian Wellington
8c3989000a
810. [bug] The signer name in SIG records was not properly
...
downcased when signing/verifying records. [RT #1186 ]
2001-04-17 17:20:27 +00:00
David Lawrence
1bd5b8aac6
use ISC_MAGIC to define magic number
2001-04-17 14:36:45 +00:00
David Lawrence
79ed194592
sigh. always test recompile things even after a minor change. after deciding
...
to _not_ much with the lock tracing/printing facility for the last change,
i forgot to also add the new result variable back into the stack
declarations, where i had correctly put it the first time.
2001-04-17 13:42:32 +00:00
David Lawrence
8e60ba90e0
unlock the mutex when non-blocking locking is attempted and the lock is busy.
2001-04-17 04:07:38 +00:00
Brian Wellington
ec57fd24fc
The isccc headers weren't installed at all. Oops.
2001-04-16 22:50:18 +00:00
Brian Wellington
98e8f87a6d
actually list all of the headers.
2001-04-16 22:44:43 +00:00
Brian Wellington
4e56b9615f
remove the (now) redundant setting of the magic number.
2001-04-16 21:14:27 +00:00
Brian Wellington
ac6afcd0ca
809. [bug] Configuring a non-local address as a transfer-source
...
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
David Lawrence
900d7d9c9b
forgot to actually change the macro call that needed the deconst argument
2001-04-14 00:20:07 +00:00
David Lawrence
ddb8f23a09
a different approach to shutting up compilers about an empty file, one that
...
does not cause all the compilers to complain about a variable being
defined but not used.
2001-04-13 02:26:32 +00:00
David Lawrence
0109515495
use ISC_TF() to set an isc_boolean_t
2001-04-12 22:58:34 +00:00
David Lawrence
ae6860081f
a different fix for the lwres_net_aton problem in lwres_create_addr, that
...
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence
79b19f175c
added a single static variable declaration to prevent compilers from
...
complainig about an effectively empty input file.
2001-04-12 22:26:41 +00:00
David Lawrence
de6fe5ebe2
cleared up a const issue with IN6_IS_ADDR_V4MAPPED on some platforms
2001-04-12 21:23:21 +00:00
David Lawrence
ceda09e07a
removed stale #define DEBUG that my own comment said I was supposed to remove.
2001-04-12 21:18:14 +00:00
David Lawrence
6f053cd485
use ISC_TF() to set an isc_boolean_t
2001-04-12 21:04:14 +00:00
David Lawrence
4ab0eb3be8
mgr was set but not used in dns_dispatch_detach(); removed it
2001-04-12 21:03:37 +00:00
David Lawrence
947295d886
warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues.
2001-04-12 20:39:04 +00:00
David Lawrence
7944c8c5f7
case unsigned char addrbuf pointer to struct in_addr * when used as second
...
argument to lwres_net_aton, to quiet compiler warning
2001-04-12 20:23:48 +00:00
David Lawrence
3507ae5d59
#include <time.h> for the utimes() prototype
2001-04-12 19:46:39 +00:00
Mark Andrews
d29ec04e37
checkpoint
2001-04-12 02:32:32 +00:00
Mark Andrews
2f2513df09
checkpoint
2001-04-12 02:14:22 +00:00
Mark Andrews
2fbcc2b863
<sting.h>
...
bad return from void function
2001-04-12 01:57:35 +00:00
David Lawrence
cace8ff3bd
use ISC_MAGIC to define the magic number
2001-04-12 00:37:55 +00:00
David Lawrence
383b800c62
Fixed up iteration problems related to name cleaning. In a nutshell,
...
the node at the end of a chain always needed to have its reference
count incremented, not only when the iterator was paused. [RT #1007 ]
2001-04-11 22:17:38 +00:00
David Lawrence
f3083bc781
In incremental_cleaning_action(), detach the node returned by
...
dns_dbiterator_current(). [RT #1007 ]
2001-04-11 22:15:00 +00:00
Brian Wellington
c20ffa38de
808. [func] Add 'rndc flush' to flush the server's cache.
2001-04-11 20:37:50 +00:00
Mark Andrews
e91eeda769
stdio on hpux work around
2001-04-11 08:13:11 +00:00
Mark Andrews
42ca0077ae
checkpoint
2001-04-11 04:00:21 +00:00
Mark Andrews
c57c8dd9d3
checkpoint
2001-04-11 03:49:05 +00:00
Mark Andrews
ea5aa5c36c
checkpoint
2001-04-11 03:39:01 +00:00
Mark Andrews
53e274dc39
-ld4r
2001-04-11 03:19:55 +00:00
Mark Andrews
328b31fb20
gethostbyname_r
2001-04-11 02:38:24 +00:00
Mark Andrews
8fead63972
checkpoint
2001-04-11 02:30:08 +00:00
Mark Andrews
5ae17a93cd
endhostent_r
2001-04-11 02:16:22 +00:00
Mark Andrews
2779002c16
checkpoint
2001-04-11 01:30:12 +00:00
Mark Andrews
6993f1431a
remove -Werror
2001-04-11 01:24:49 +00:00
Mark Andrews
3047ad312b
remove gcc specific -Werror
2001-04-11 01:23:48 +00:00
Mark Andrews
2b7a77a68e
807. [bug] xfrin was not ignoring the transfer-source port.
2001-04-10 23:54:03 +00:00
Brian Wellington
d4ef65050f
copyright updates
...
(note - this doesn't touch lib/bind at all. Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Andreas Gustafsson
7900390a52
Previous change turned invalid peer address returns from accept()
...
into hard errors - they should be soft errors
2001-04-10 21:48:27 +00:00
Andreas Gustafsson
a84cfaa3f2
The bug fix in socket.c 1.189 was less than ideal: if a socket
...
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly. Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
2001-04-10 21:38:33 +00:00
Brian Wellington
8865eeaf14
Don't log a generic "sending notifies" message if there are no servers to
...
be notified.
2001-04-10 19:19:49 +00:00
Mark Andrews
86529bb697
806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
...
the calling stack to the zone maintence level.
2001-04-10 03:05:55 +00:00
Andreas Gustafsson
abd51a9a96
removed unused label
2001-04-10 00:18:27 +00:00
Mark Andrews
e22fa3a686
hpux
2001-04-09 09:17:16 +00:00
Mark Andrews
dcab756185
Solaris 2.8 header files are broken for getnetbyaddr(). Both cases
...
of the #ifdef/#else/#endif are the same.
2001-04-09 06:06:20 +00:00
Mark Andrews
b9614c7d79
checkpoint
2001-04-09 05:02:53 +00:00
Mark Andrews
01de82c03a
checkpoint
2001-04-09 04:57:28 +00:00
Mark Andrews
6339db444a
getpwent_r
2001-04-09 04:43:16 +00:00
Mark Andrews
194a73cc32
db.h
2001-04-09 03:21:22 +00:00
Mark Andrews
897cef1269
cut&paste error
2001-04-06 07:02:34 +00:00
Mark Andrews
8957799312
checkpoint
2001-04-06 07:00:58 +00:00
Mark Andrews
0aea8f69cd
checkpoint
2001-04-06 06:22:00 +00:00
Mark Andrews
6c89ab9e56
checkpoint
2001-04-06 06:02:24 +00:00
Mark Andrews
0c05c12213
checkpoint
2001-04-06 05:58:57 +00:00
Mark Andrews
3c3d1d0e7e
checkpoint
2001-04-06 05:49:52 +00:00
Mark Andrews
225fe2c82c
checkpoint
2001-04-06 05:35:41 +00:00
Mark Andrews
da3c3119fe
add passwd suport
2001-04-05 07:01:11 +00:00
Mark Andrews
199da345a1
regen
2001-04-05 06:31:21 +00:00
Mark Andrews
8c71da6b2e
solaris/posix
2001-04-05 06:31:02 +00:00
Mark Andrews
6942af8143
posix/solaris ~!@#$
2001-04-05 06:19:32 +00:00
Brian Wellington
f8b3c62794
804. [bug] Attempting to obtain entropy could fail in some
...
situations. This would be most common on systems
with user-space threads. [RT #1131 ]
2001-04-04 20:57:35 +00:00
Mark Andrews
baa8aebc5b
regen
2001-04-04 07:09:44 +00:00
Mark Andrews
3a66cfbc4c
hack_POSIX_PTHREAD_SEMANTICS
2001-04-04 07:08:55 +00:00
Mark Andrews
ab628cb652
regen
2001-04-04 06:19:28 +00:00
Mark Andrews
9680305c8b
checkpoint
2001-04-04 06:18:40 +00:00
Mark Andrews
ce664dbd95
POSIX_GETGRGID_R
2001-04-04 06:00:57 +00:00
Mark Andrews
2c81d53b9f
regen
2001-04-04 05:57:12 +00:00
Mark Andrews
49d4440533
checkpoint
2001-04-04 05:56:10 +00:00
Mark Andrews
216a4baa50
regenerate
2001-04-04 05:45:14 +00:00
Mark Andrews
5f2308318f
checkpoint
2001-04-04 05:44:15 +00:00
Mark Andrews
441991722c
checkpoint
2001-04-04 05:32:27 +00:00
Brian Wellington
daad43e5a4
802. [bug] DNSSEC key tags were computed incorrectly in almost
...
all cases. [RT #1146 ]
2001-04-04 02:02:58 +00:00
Andreas Gustafsson
2901eed986
cfg_type_rndcconf was declared twice
2001-04-04 01:41:06 +00:00
Mark Andrews
65f67161a3
regenerate
2001-04-03 22:59:32 +00:00
Mark Andrews
605263f9e9
checkpoint
2001-04-03 22:41:38 +00:00
Mark Andrews
33f7d8bf2f
checkpoint
2001-04-03 13:46:25 +00:00
Mark Andrews
a685e49c98
checkpoint
...
cvs: ----------------------------------------------------------------------
2001-04-03 08:03:47 +00:00
Mark Andrews
c14f058cc2
checkpoint
2001-04-03 07:56:04 +00:00
Mark Andrews
7f2f148059
checkpoint
2001-04-03 07:47:22 +00:00
Mark Andrews
323b5028ef
checkpoint
2001-04-03 07:43:10 +00:00
Mark Andrews
4218e29472
checkpoint
2001-04-03 07:33:07 +00:00
Mark Andrews
8a3e0f66c1
checkpoint
2001-04-03 07:21:35 +00:00
Mark Andrews
3b371eaa5d
ALIGN
2001-04-03 07:11:35 +00:00
Mark Andrews
da3db8e2a1
getnetbyaddr_r
2001-04-03 06:52:23 +00:00
Mark Andrews
8ab9428e6b
checkpoint
2001-04-03 06:42:33 +00:00
Mark Andrews
2dafe8a9f3
missig semi-colon
2001-04-03 06:01:36 +00:00
Mark Andrews
b0d36cc22b
checkpoint
2001-04-03 05:53:02 +00:00
Mark Andrews
bd326fdc6e
checkpoint
2001-04-03 02:53:40 +00:00
Mark Andrews
4d8800e571
checkpoint
2001-04-03 02:30:58 +00:00
Mark Andrews
27998b5bbd
initial
2001-04-03 02:17:12 +00:00
Brian Wellington
cc0c9a92d6
remove unused base64 <--> binary conversion functions
2001-04-03 00:48:09 +00:00
Brian Wellington
9a28507cde
regenerate
2001-04-03 00:29:18 +00:00
Brian Wellington
9bd186cd9a
Remove dnssafe, cylink, and the broken dst random generator.
2001-04-03 00:28:16 +00:00
Brian Wellington
7b1ab9e210
don't do 0.0.0.0 -> 127.0.0.1 conversion for netmasks.
2001-04-02 23:05:14 +00:00
Brian Wellington
765eb27068
call inet_aton, not inet_pton when parsing resolv.conf
2001-04-02 22:33:31 +00:00
Mark Andrews
9de63e99af
char array index
2001-04-02 09:42:20 +00:00
Mark Andrews
94803c4a46
MIN and MAX
2001-04-02 08:06:18 +00:00
Mark Andrews
d091280d77
MAXHOSTNAMELEN
2001-04-02 07:56:05 +00:00
Mark Andrews
12a7ea1c51
make structures private
2001-04-02 07:53:19 +00:00
Mark Andrews
68a1ce3cee
private structures
2001-04-02 07:52:33 +00:00
Mark Andrews
5d989a8b8b
checkpoint
2001-04-02 07:23:56 +00:00
Mark Andrews
87c7112365
sync
2001-04-02 07:05:00 +00:00
Mark Andrews
ba980b2c1e
checkpoint
2001-04-02 07:03:56 +00:00
Mark Andrews
25ddc215c4
new
2001-04-02 06:42:17 +00:00
Mark Andrews
8122657ebf
sync
2001-04-02 06:39:06 +00:00
Mark Andrews
28454712ae
checkpoint
2001-04-02 06:38:19 +00:00
Mark Andrews
10e9ae3676
checkpoint
2001-04-02 06:29:21 +00:00
Mark Andrews
8e59dace1f
sync
2001-04-02 05:57:53 +00:00
Mark Andrews
8d7927f73a
checkpoint
2001-04-02 05:57:11 +00:00
Mark Andrews
2eb2d69130
sync checkpoint
2001-04-02 01:25:32 +00:00
Mark Andrews
ca05034308
checkpoint
2001-04-02 01:24:32 +00:00
Andreas Gustafsson
dcd3db4310
install man page aliases by linking
2001-03-31 00:34:16 +00:00
Andreas Gustafsson
ddccd5811f
man page docbook conversion
2001-03-31 00:08:23 +00:00
Bob Halley
907620b5e0
The ADB didn't find AAAA glue in a zone unless A6 glue was also present.
2001-03-30 17:27:29 +00:00
Brian Wellington
414d289686
oops, cut-and-paste-o
2001-03-30 00:34:52 +00:00
Brian Wellington
e0bab4386b
Treat a zone as secure only if it has a zone key and a signed NXT at the apex.
2001-03-30 00:33:39 +00:00
Brian Wellington
5684e37a3a
#ifdef HAVE_SA_LEN
2001-03-29 23:19:51 +00:00
Mark Andrews
6475a59ca4
make/* need to be created _before_ the Makefiles are created.
2001-03-29 07:01:32 +00:00
Mark Andrews
d380990548
Initial pull over from BIND 8
2001-03-29 06:31:59 +00:00
Andreas Gustafsson
4b01d45a49
first cut at mandoc -> docbook conversion
2001-03-29 02:43:28 +00:00
Brian Wellington
672056d560
797. [func] Issue a warning if the 'directory' option contains
...
a relative path. [RT #269 ]
2001-03-29 02:33:48 +00:00
Andreas Gustafsson
9ffbbce6a6
first cut at mandoc -> docbook conversion
2001-03-29 02:23:11 +00:00
Brian Wellington
ec56b96c79
log sending of notifies at info level, and include the serial number. Also
...
clean up some weird code. [RT #1088 ]
2001-03-28 23:36:53 +00:00
Brian Wellington
c996e500f1
remove the errno handling code, which was only used by readsymtab/writesymtab
2001-03-28 23:11:41 +00:00
Brian Wellington
0368474a75
remove isccc_cc_readsymtab/isccc_cc_writesymtab
2001-03-28 23:10:39 +00:00
David Lawrence
2a86ee1f54
simplify the test about whether to roll; one expression was redundant
2001-03-28 05:48:16 +00:00
David Lawrence
9027e1bcf1
796. [func] When a size limit is associated with a log file,
...
only roll it when the size is reached, not every
time the log file is opened. [RT #1096 ]
2001-03-28 04:16:32 +00:00
Brian Wellington
caa55a6557
When printing KEY records with COMMENT and MULTILINE, the line would often
...
be too long.
2001-03-28 02:57:26 +00:00
Brian Wellington
668f8d91db
795. [func] Add the +multiline option to dig.
...
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Andreas Gustafsson
bed7a35293
dns_master_questiontotext() needs a style argument after all
2001-03-28 00:58:15 +00:00
Andreas Gustafsson
bfe313722d
dns_masterfile_style_debug -> dns_master_style_debug
2001-03-28 00:54:40 +00:00
Andreas Gustafsson
531eafa302
use dns_master_rdatasettotext() &co; removed unused flag
...
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson
421551db8a
new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
...
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Brian Wellington
d7ba3622ff
794. [func] Implement the "port" and "default-port" statements
...
in rndc.conf.
2001-03-28 00:16:09 +00:00
Brian Wellington
45e22378fc
dns_name_tofilenametext() now downcases the name, which means the callers
...
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington
7d7215baf8
Add dns_name_tofilenametext(), and use it in the dnssec tools.
2001-03-27 22:57:48 +00:00
Brian Wellington
cb3e854e18
oops, use the nominum copyright for lib/isccc. Also fix the update_copyrights
...
script to do @YEARS@ expansion on 2 lines.
2001-03-27 20:08:15 +00:00
Andreas Gustafsson
9d2d409333
removed unused function isccc_ccmsg_keepbuffer();
...
fixed incorrect header multi-inclusion protection macros;
changed comment referring to 'DNS message' to say 'command channel message'
2001-03-27 18:34:56 +00:00
Brian Wellington
2999a3a988
remove erroneously added copyright
2001-03-27 02:25:34 +00:00
Brian Wellington
022d19c138
copyright updates
2001-03-27 02:06:13 +00:00
Brian Wellington
badf66abe0
Remove OMAPI.
2001-03-27 00:53:58 +00:00
Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson
b52a5b0630
790. [bug] Wildcards created using dynamic update or IXFR
...
could fail to match. [RT #1111 ]
2001-03-27 00:06:34 +00:00
Brian Wellington
6eccf5bd07
788. [feature] Add the "match-mapped-addresses" options, which
...
causes IPv6 v4mapped addresses to be treated as
IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington
0a10d7722e
remove comment referring to dead code.
2001-03-26 21:11:33 +00:00
Andreas Gustafsson
9efa0d2ae3
do not capitalize error message strings
2001-03-24 02:18:42 +00:00
Brian Wellington
b8a85202af
786. [bug] When signing/verifying data, names were not properly
...
downcased.
2001-03-23 03:51:04 +00:00
Andreas Gustafsson
c52683ae45
'serial-query-rate 1;' caused an assertion failure
2001-03-23 00:33:28 +00:00
Brian Wellington
734ae1f7c6
isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx.
2001-03-22 00:07:07 +00:00
Brian Wellington
27422dd5db
typo [RT #1094 ]
2001-03-21 20:45:55 +00:00
Andreas Gustafsson
1824b43f62
parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
...
an assertion
2001-03-21 19:01:36 +00:00
Andreas Gustafsson
b879ed05f4
785. [bug] A race condition in the resolver could cause
...
an assertion failure. [RT #673 , #872 , #1048 ]
2001-03-20 22:13:00 +00:00
Brian Wellington
48565891e8
784. [bug] nsupdate and other programs would not quit properly
...
if some signals were blocked by the caller. [RT #1081 ]
2001-03-20 21:45:20 +00:00
Brian Wellington
dde4382b7f
fix comment
2001-03-19 22:44:52 +00:00
Brian Wellington
54d64c7994
782. [feature] Implement the serial-query-rate option.
2001-03-19 22:34:14 +00:00
Brian Wellington
c302b021cc
the sdb returned the wrong answer when querying for dnames below other dnames
...
and ANY queries at delegation points.
2001-03-17 02:52:29 +00:00
Brian Wellington
ae114ded82
Fix a bunch of unused variable warnings that only occurred with assertions
...
turned off.
2001-03-16 22:53:20 +00:00
Brian Wellington
0d19c777ae
Use a counter instead of a flag to indicate if the resolver is in the
...
process of connecting. There's a possibility that a connect might not
have sent a completion event when another one starts, and this could cause
bad things to happen since the query would only know about one connect.
2001-03-16 21:50:59 +00:00
Brian Wellington
fc0d37fa3a
init the name in dns_message_gettempname(). This means it'll be done twice
...
in many cases, but it means dns_message_puttempname() can safely be called
on the name in all cases.
2001-03-15 03:00:50 +00:00
Brian Wellington
2048bb8c0c
dns_message_parse() cannot return DNS_R_MOREDATA.
2001-03-15 02:00:15 +00:00
Bob Halley
d911284333
add support for minimal-responses
2001-03-14 21:53:29 +00:00
Bob Halley
9ac88d91b4
Simplify some code in protocol_setvalue(), eliminating the "sigsize"
...
variable which was causing a compiler warning.
2001-03-14 17:59:25 +00:00
Brian Wellington
2f02f32f04
exit(1), not exit(-1)
2001-03-14 06:31:17 +00:00
Andreas Gustafsson
52c17deb58
some variables which should have been static weren't
2001-03-14 00:30:06 +00:00
Mark Andrews
b01cd0d5c7
Use dns_dispatch_getlocaladdress() to retrieve the local address to bind too.
2001-03-13 05:49:58 +00:00
Mark Andrews
a674e7ecec
add dns_dispatch_getlocaladdress().
2001-03-13 05:48:41 +00:00
Andreas Gustafsson
b31c8af1d9
name libisccfg logging functions consistently with
...
other libisccfg functions [RT #1020 ]
2001-03-13 03:04:09 +00:00
Brian Wellington
d03fd76636
add a cast [RT #1013 ]
2001-03-12 22:39:36 +00:00
Brian Wellington
461260ac15
add casts [RT #1017 ]
2001-03-12 22:27:15 +00:00
Mark Andrews
a65826596f
Add const to declaration of start_directory();
2001-03-12 01:05:52 +00:00
Andreas Gustafsson
dd57718608
#include <isc/print.h>
2001-03-09 23:38:00 +00:00
Brian Wellington
e608c9829f
- Detect selective forwarding errors in the configuration checker.
...
- Clean up selective forwarding configuration.
- Fixed a few minor unrelated bugs in the configuration checker.
2001-03-09 19:07:30 +00:00
Bob Halley
c6237585d8
Fix some typos in the non-threaded version of isc_rwlock_trylock() that
...
were preventing compilation.
2001-03-08 19:52:13 +00:00
David Lawrence
f3432e1b48
moved INADDR_LOOPBACK definition to lwres/net.h, because it was causing
...
redefinition warnings on multiple platforms
2001-03-08 16:09:41 +00:00
David Lawrence
2283923028
a last minute edit added one too many conditions for putting a node on the
...
deletions list
2001-03-08 03:31:29 +00:00
David Lawrence
85e80b5b69
Remove name/node from the rbtdb in no_references().
...
Iterator uses 'cleaning' flag to expire nodes.
2001-03-08 01:35:27 +00:00
David Lawrence
03609d0b8f
Use a cleaning iterator (dns_dbiterator_setcleanmode()).
...
Reworked some overmem thread handling.
2001-03-08 01:22:48 +00:00
David Lawrence
31d3e8d2fe
new function, dns_dbiterator_setcleanmode(), which enables cleaning
...
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence
a09c545af1
join_nodes is removed; node joining is no longer done at any time, because
...
it corrupts active chains and can change the data at a node which
someone might be using. (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)
New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.
rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1. This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is). Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Brian Wellington
8b9b498009
Check for duplicate zone and key statements. Note that duplicate server
...
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
David Lawrence
a82fd2c01b
added non-blocking locking, isc_rwlock_trylock()
2001-03-08 00:55:15 +00:00
Andreas Gustafsson
d55642259e
use a simpler, faster hash function
2001-03-07 23:52:16 +00:00
Brian Wellington
0783aab720
allow-update-forwarding is not allowed in stub zones.
2001-03-07 23:36:26 +00:00
Andreas Gustafsson
123a3dddc9
772. [bug] Owner names could be incorrectly omitted from cache
...
dumps in the presence of negative caching entries.
[RT #991 ]
2001-03-07 22:30:21 +00:00
Brian Wellington
5ea0d11ca4
771. [cleanup] TSIG errors related to unsynchronized clocks
...
are logged better.
2001-03-07 20:53:32 +00:00
Andreas Gustafsson
fc04bb9d98
lame server on ... -> lame server resolving ... [RT #641 ]
2001-03-07 18:03:07 +00:00
Brian Wellington
d25dd5b056
770. [func] Add the "edns yes_or_no" statement to the server
...
clause. [RT #524 ]
2001-03-06 23:54:37 +00:00
Brian Wellington
3fccea030d
#include <lwres/net.h>
2001-03-06 23:12:15 +00:00
Brian Wellington
ac3f9fa1ec
remove unnecessary #includes
2001-03-06 23:02:04 +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
93e66a44a0
remove #ifdef REENTRANT
2001-03-06 21:46:03 +00:00
Andreas Gustafsson
2c476880d6
parse_sockaddrsub() assumed current token was string
...
token withouth checking that it actually was; reformatted for
80 columns
2001-03-06 19:13:01 +00:00
Brian Wellington
72b7d215f7
The directory option didn't have the CFG_CLAUSEFLAG_CALLBACK bit set, so the
...
callback wasn't executed. [RT #978 ]
2001-03-06 18:17:52 +00:00
Mark Andrews
5aa9a23af5
MANYERRORS would cause the next line to be skipped if dns_rdata_fromtext failed.
2001-03-06 13:32:42 +00:00
Brian Wellington
2eb3dafdcf
Add the socket flag ISC_R_NORETRY, which makes the socket code treat
...
a soft error as a hard error on send (that is, not retry it). It also
modifies the code calling sendmsg() to retry on EINTR.
2001-03-06 01:23:03 +00:00
Brian Wellington
56ea2e19a2
add a cast [RT #974 ]
2001-03-05 23:14:03 +00:00
Brian Wellington
438b80a31b
Remove the old configuration parser
2001-03-05 22:49:33 +00:00
Brian Wellington
5e2f472561
add casts [RT #974 ]
2001-03-05 22:39:57 +00:00
Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington
be066f0629
Put 4 offsets in a msgblock, not 8. offsets are big enough that this helps.
...
Also remove an unused variable.
2001-03-05 20:12:49 +00:00
Brian Wellington
5f8b996a81
Reduce the number of objects preallocated in the message, which reduces
...
the per-recursive-client memory.
2001-03-05 20:06:10 +00:00
Danny Mayer
943322a123
Remove LIBISC_EXTERNAL_DATA usage
2001-03-05 18:47:00 +00:00
Danny Mayer
8096fe1df5
put function declaration on new line
2001-03-05 18:20:24 +00:00
David Lawrence
c56c28c3f2
grammatical typo in comment
2001-03-05 12:34:02 +00:00
Brian Wellington
6893a1ee93
fix more bugs
2001-03-04 21:18:30 +00:00
Brian Wellington
b3eac7c50c
#include <config.h>
2001-03-04 18:38:13 +00:00
Brian Wellington
e1fc1c580b
consolidate duplicated code
2001-03-03 23:09:23 +00:00
Brian Wellington
dd741aefc3
check that 'max-cache-size' is not 'default'
2001-03-03 23:05:23 +00:00
Andreas Gustafsson
3ee9853eb4
return sizes as 64-bit integers, not strings
2001-03-03 02:18:13 +00:00
Andreas Gustafsson
0d453b0ef2
'versions' and 'size' are not log channel clauses
2001-03-03 01:08:02 +00:00
Andreas Gustafsson
d39e9cdfd0
logging statement file clause syntax was still wrong
2001-03-03 00:52:39 +00:00
Andreas Gustafsson
fac0a17b66
fix syntax of the logging statement file clause
2001-03-02 20:00:17 +00:00
Brian Wellington
303243b9d4
Add isc/unix/syslog.c with a function to convert strings to syslog facilities.
2001-03-02 19:25:19 +00:00
Brian Wellington
bdc79a7164
The constants CFG_CLAUSEFLAG_NEWDEFAULT and CFG_CLAUSEFLAG_NYI should have
...
different values.
2001-03-02 07:03:55 +00:00
Brian Wellington
0ca1225ee6
more bugs
2001-03-02 03:09:27 +00:00
Brian Wellington
18b492aed1
bugs
2001-03-02 01:30:32 +00:00
Andreas Gustafsson
58fd5050ce
check enumerated values
2001-03-02 01:10:51 +00:00
Brian Wellington
94030c4654
remove 'static'
2001-03-02 00:49:31 +00:00
Brian Wellington
12f4f02695
Add code to syntactically check a named.conf file.
2001-03-01 23:46:49 +00:00
Brian Wellington
3e72dc6534
DNS_CFG_H -> ISCCFG_CFG_H
2001-03-01 23:03:43 +00:00
Brian Wellington
a8dd4ccadb
missing space
2001-03-01 22:40:09 +00:00
Brian Wellington
ae00b82d93
spelling
2001-03-01 17:46:59 +00:00
Andreas Gustafsson
37928634f4
don't print extra spaces at omitted optional fields
2001-03-01 03:22:12 +00:00
Andreas Gustafsson
36b810d77a
the 'keys' clause of the 'controls' statement is optional
2001-03-01 03:10:08 +00:00
Brian Wellington
15c5b240a6
dns_peer_setkeybycharp didn't initialize a fixedname.
2001-03-01 02:28:34 +00:00
Andreas Gustafsson
478f0ca6b3
revert previous change - it breaks default resolution
2001-03-01 00:08:58 +00:00
Andreas Gustafsson
38c6d5d57b
check for attempts to retrieve nonexistent map clauses
2001-03-01 00:01:23 +00:00
Brian Wellington
999c7e9e33
There can be multiple "lwres" statements.
2001-02-28 23:56:08 +00:00
Brian Wellington
a0b4d6cf8a
comment style
2001-02-28 21:19:53 +00:00
Brian Wellington
0dea013c25
add an ISC_FORMAT_PRINTF qualifier to cfg_obj_log().
2001-02-28 20:54:03 +00:00
Andreas Gustafsson
d1cc210d20
RT #927 fix from Bob:
...
759. [bug] The resolver didn't turn off "avoid fetches" mode
when restarting, possibly causing resolution
to fail when it should not. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
758. [bug] The "avoid fetches" code did not treat negative
cache entries correctly, causing fetches that would
be useful to be avoided. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
2001-02-28 20:51:22 +00:00
Andreas Gustafsson
088a25086a
warn about attempts to configure control channels of the
...
unimplemented 'unix' type
2001-02-28 20:40:48 +00:00
Brian Wellington
d752e5c19e
removed pointless code (an if statement checking something that had been
...
INSISTed on the previous line).
2001-02-28 20:20:18 +00:00
Andreas Gustafsson
f565623991
parsing the 'controls' statement is now table driven; each
...
'controls' statement is a map with the clauses 'inet' and 'unix'
2001-02-28 19:54:10 +00:00
Brian Wellington
113dee27af
dns_zt_load() was not checking the validity of the zonetable.
2001-02-27 02:54:11 +00:00
Andreas Gustafsson
28a3d52904
define ISC_PLATFORM_QUADFORMAT in platform.h so that it can more easily
...
be overridden on Win32. This means ISC_PLATFORM_LONGLONGEQUALLONG is no longer
needed. [RT #896 ]
2001-02-27 02:22:17 +00:00
Brian Wellington
948113671b
cfg_list_first() now returns NULL if the list is NULL.
2001-02-27 01:49:46 +00:00
Andreas Gustafsson
d011c10d8a
the name of a 'server' map is now a network address, not a string;
...
avoid infinite loop when parsing a bad ACL element
2001-02-27 01:31:56 +00:00
Brian Wellington
590f840d34
implement the prototyped but nonexistant function dns_peer_setkeybycharp().
2001-02-27 01:13:18 +00:00
Andreas Gustafsson
0b6849487f
cfg_type_keyref needs to be public
2001-02-26 22:55:55 +00:00
Andreas Gustafsson
9fa6e90569
new function cfg_obj_istype(); the sole tuple field of negated acls is now
...
called 'value', not 'acl'; rationalized representation of key references and
debug levels
2001-02-26 22:37:34 +00:00
Andreas Gustafsson
0136b4ef55
new functions cfg_obj_isnetprefix(), cfg_obj_asnetprefix()
2001-02-26 19:15:12 +00:00
Andreas Gustafsson
681780f044
represent negated acls as one-element tuples rather than a special
...
primitive type
2001-02-26 18:58:36 +00:00
Brian Wellington
f5ccecd9c3
#include <config.h>
2001-02-26 02:49:19 +00:00
Mark Andrews
a93cf7e83b
756. [bug] dns_zone_load() could "return" success when no master
...
file was configured.
755. [bug] Fix format bugs in zone.c (non-exploitable).
2001-02-26 01:45:57 +00:00
Andreas Gustafsson
c05eeed3c9
754. [bug] Certain failure returns from sendto() could
...
cause the server to retry the transmission
indefinitely. [RT #902 ]
2001-02-24 23:51:09 +00:00
Mark Andrews
70ec7dd741
fix tv_usec in isc_time_nowplusinterval() also.
2001-02-24 10:22:20 +00:00
Mark Andrews
0fd53e151b
unse not sec
2001-02-24 02:53:38 +00:00
Brian Wellington
6fd0827482
Remove notify forwarding.
2001-02-24 00:59:00 +00:00
Mark Andrews
df0f58959e
752. [func] Correct bad tv_usec elements returned by gettimeofday().
2001-02-23 23:12:28 +00:00
Mark Andrews
903e9d41ef
751. [func] Log successful zone loads / transfers.
2001-02-23 22:32:07 +00:00
Bob Halley
c274e542ad
The fixes to return the SIG of a DNAME RR missed one place where
...
search.zonecut was set, and consequently we were accessing
search.zonecut_sigrdataset without initializing it.
2001-02-23 05:33:36 +00:00
David Lawrence
f6d45c9539
missing va_start() in cfg_obj_log()
2001-02-23 04:52:29 +00:00
Bob Halley
f4b5a0f434
When a query matched a DNAME in a secure zone, the server did not return the
...
signature of the DNAME. [RT #915 ]
A query should not match a DNAME whose trust level is pending. [RT #916 ]
2001-02-23 02:14:14 +00:00
Brian Wellington
542a74fcc4
comment update
2001-02-23 01:52:18 +00:00
Brian Wellington
c5c779df9a
add a comment
2001-02-23 01:45:29 +00:00
Brian Wellington
5ca7310c8a
msg->tsigkey was not checked for NULL before deferencing [RT #913 ]
2001-02-23 01:38:07 +00:00
Andreas Gustafsson
106ff3bc09
more typos
2001-02-23 01:00:58 +00:00
Brian Wellington
d5573eb8a9
typos
2001-02-23 00:24:34 +00:00
Andreas Gustafsson
4428702688
the values of the notify and dialup options may now be of either boolean or
...
string types; added cfg_obj_is*() functions for determining the type of a configuration object;
reordered some functions in parser.c
2001-02-23 00:15:55 +00:00
Brian Wellington
fba7c63ea4
add cfg_obj_assockaddr
2001-02-22 23:59:28 +00:00
Andreas Gustafsson
a9be709e8e
cfg_obj_log now takes a log context instead of a parser
2001-02-22 20:41:43 +00:00
Andreas Gustafsson
042285a6a6
localization-wise, an assertion error message saying
...
(literally) "INSIST(isc_msgcat_get(isc_msgcat, ISC_MSGSET_PRINT, ISC_MSG_USELD,
"use %ld instead of %D") == NULL) failed" is not really any more user-friendly
than one saying just "INSIST("use %ld instead of %D" == NULL) failed
2001-02-22 19:12:57 +00:00
Andreas Gustafsson
9165c95fc2
use isc_int64_t, not long long
2001-02-22 18:03:11 +00:00
Andreas Gustafsson
4115f9d34b
revert 'protect long long with ISC_PLATFORM_HAVELONGLONG' change
2001-02-22 18:01:48 +00:00
Andreas Gustafsson
25c3ab1a5f
cache-file option name was misspelled
2001-02-22 17:30:09 +00:00
Brian Wellington
325b200123
support the cache-file option
2001-02-22 05:45:28 +00:00
Andreas Gustafsson
5c7f675804
new function cfg_tuple_get()
2001-02-22 04:17:37 +00:00
Andreas Gustafsson
80a1cac849
give names to tuple fields
2001-02-22 03:13:08 +00:00
Brian Wellington
b5e6ee7f74
typo
2001-02-22 02:44:08 +00:00
Andreas Gustafsson
e24349aa27
added isccfg log modules and categories
2001-02-22 02:39:24 +00:00
Brian Wellington
f0751a815e
add cfg_obj_asboolean()
2001-02-22 01:40:53 +00:00
Andreas Gustafsson
c396dc6551
added cfg_obj_log()
2001-02-22 00:36:26 +00:00
Andreas Gustafsson
1b0fca7957
added cfg_parser_setcallback(); minor cleanup
2001-02-22 00:23:31 +00:00
Brian Wellington
9a41936e3d
current_root was uninitialized at the start of dns_rbt_findnode(). This
...
has no real effect, but it's still good to fix it.
2001-02-21 23:21:28 +00:00
Brian Wellington
26e5029fd5
Added a cast. [RT #899 ]
2001-02-21 19:57:38 +00:00
Brian Wellington
6be1dc9d2a
Document the 'covers' parameter to dns_message_findname and
...
dns_message_findtype.
2001-02-21 18:32:27 +00:00
Mark Andrews
0490a61acd
protect long long with ISC_PLATFORM_HAVELONGLONG
2001-02-21 06:13:33 +00:00
Mark Andrews
754cca729d
add long long test
2001-02-21 06:09:56 +00:00
Brian Wellington
36608f2052
When returning from validation, make sure to handle chaiing correctly.
2001-02-21 05:16:44 +00:00
Mark Andrews
fbafe841ef
fixed pushing and poping of included files. [RT#904]
2001-02-21 03:53:11 +00:00
Brian Wellington
c5945fe694
Fix a potential bitstring bug.
2001-02-21 02:27:56 +00:00
Brian Wellington
4e8eba14a0
reinstate an INSIST() referenced in [RT #421 ]
2001-02-21 02:01:15 +00:00
Brian Wellington
a012d6dbfb
746. [bug] The sdb didn't clone rdatasets properly, causing
...
a crash when the server followed delegations. [RT #905 ]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson
b7d448de55
no need to specifically ask people to mail bind9-bugs about mempool leaks
2001-02-20 22:03:36 +00:00
Brian Wellington
f70336b8c9
Cleanups to TSIG/SIG(0) parsing. This should have no noticable effect except
...
rejecting a few more malformed packets (those with the TSIG/SIG(0) not the
last record) and making best-effort parsing handle multiple TSIG/SIG(0)/OPT in
a message.
2001-02-19 20:14:23 +00:00
Mark Andrews
43de493006
745. [func] Report the owner name on when adding a rdataset
...
to the internal database fails while loading.
2001-02-19 13:24:04 +00:00
Bob Halley
1e50dad10d
When returning DNS_R_CNAME or DNS_R_DNAME as the result of an ANY or SIG
...
query, the resolver failed to setup the return event's rdatasets, causing an
assertion failure in the query code. [RT #881 ]
The fix includes the addition of the DNS_NAMEATTR_CHAINING attribute,
and the removal of the DNS_NAMEATTR_CNAME and DNS_NAMEATTR_DNAME attributes,
because they were not used anywhere in the current source.
2001-02-19 08:54:54 +00:00
Brian Wellington
3bd43bb300
ENSURE that a message's memory pools don't have any allocated data at the
...
end of msgreset(). This should trigger the mpctx->allocated != 0 assertion
when the leak occurs, not at server shutdown.
2001-02-18 23:46:26 +00:00
Brian Wellington
3f07549972
comment fix
2001-02-18 21:19:43 +00:00
Brian Wellington
62adc5ed76
Call free_namelist() rather than freeing the list manually.
2001-02-17 02:22:43 +00:00
Andreas Gustafsson
19eee89387
if dns_message_gettempname() failed, we would try to call
...
dns_message_putemprdataset() on an uninitialized pointer
2001-02-17 02:16:14 +00:00
Andreas Gustafsson
52719005ab
removed empty line
2001-02-17 01:23:43 +00:00
Brian Wellington
9154e66053
remove compiler warning
2001-02-17 00:53:59 +00:00
Andreas Gustafsson
dec0721d45
eliminate compiler warning; need <isc/print.h>
2001-02-17 00:46:58 +00:00
Andreas Gustafsson
4e72c83c94
removed unused variable
2001-02-17 00:23:49 +00:00
Andreas Gustafsson
4a4c888759
eliminate compiler warnings (hopefully)
2001-02-17 00:22:40 +00:00
Andreas Gustafsson
b8d0eef0fc
new function cfg_parse_buffer()
2001-02-17 00:15:22 +00:00
Brian Wellington
683301a954
fix a potential (but highly unlikely) memory leak.
2001-02-16 21:29:45 +00:00
David Lawrence
d5e7142f9d
#include <stddef.h> to ensure definition of NULL
2001-02-16 04:14:16 +00:00
Andreas Gustafsson
be7c0682f7
rrset-order wants braces around its list
2001-02-16 02:57:40 +00:00
Andreas Gustafsson
d0749d582e
fix query source parsing
2001-02-16 02:43:30 +00:00
Brian Wellington
9697d96db3
max-names no longer exists
2001-02-16 02:34:33 +00:00
Brian Wellington
c7c9f4a989
Use ISC_R_NOTIMPLEMENTED to indicate an unsupported algorithm, not
...
DST_R_UNSUPPORTEDALG.
2001-02-16 00:54:28 +00:00
Brian Wellington
c47ca47629
Remove the old rndc config parser.
2001-02-16 00:47:45 +00:00
Brian Wellington
cdee5991b8
Don't include <dst/result.h>
2001-02-16 00:21:09 +00:00
Brian Wellington
06b678ec4a
Add const in a few places.
2001-02-15 23:22:27 +00:00
Brian Wellington
94178e98f8
isc_base64_decodestring should take a const char *, not a char *
2001-02-15 23:21:47 +00:00
Brian Wellington
7bd7a2a798
cleaned up some code that Andreas thought was ugly.
2001-02-15 20:10:04 +00:00
Brian Wellington
bb136669b6
Use the isc hmac-md5 routines instead of dst.
2001-02-15 19:44:46 +00:00
Brian Wellington
d60c005a70
<dns/acl.h> is not needed, but <dns/name.h> is.
2001-02-15 19:13:48 +00:00
Andreas Gustafsson
5e1c2afd10
incorrect indentation
2001-02-15 19:09:55 +00:00
Andreas Gustafsson
bd4b8fe050
provide functions to access map names and lists
2001-02-15 18:53:03 +00:00
Brian Wellington
2d67fbd786
80 character lines
2001-02-15 07:58:48 +00:00
Andreas Gustafsson
4e7a39d617
added syntax tables for the rndc.conf file format
2001-02-15 05:14:16 +00:00
Andreas Gustafsson
2b23de3783
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:21:17 +00:00
Andreas Gustafsson
be7f273043
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:14:15 +00:00
Brian Wellington
507102c95a
In dns_compress_invalidate(), cctx->table cannot be NULL, since it's part of
...
the cctx structure.
2001-02-15 01:14:16 +00:00
Andreas Gustafsson
449f4411c9
NO NEED TO SHOUT
2001-02-14 23:05:14 +00:00
Brian Wellington
2cb74c5bc5
741. [port] Support openssl-engine. [RT #709 ]
2001-02-14 20:57:15 +00:00
Brian Wellington
3d60fe9baf
740. [port] Handle openssl library mismatches slightly better.
2001-02-14 20:26:48 +00:00
Mark Andrews
0c6971b8ea
Split the load context in two, one part that is visible across all files
...
the other part that is include file specific.
2001-02-14 13:14:50 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Andreas Gustafsson
1dd8ee4fd5
fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
...
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington
8766351a67
general cleanup
2001-02-14 00:43:10 +00:00
Andreas Gustafsson
d156c10aee
removed extra empty line
2001-02-14 00:29:16 +00:00
Andreas Gustafsson
8f17525ebc
in some situations, a request could be cancelled twice
2001-02-13 21:06:25 +00:00
Brian Wellington
47d78f67cb
Give more information when isc_mempool_destroy() dies with an assertion
...
failure, in the hope that we'll be able to fix the bug one day.
2001-02-13 20:29:27 +00:00
Brian Wellington
b2c46df291
A receive could be erroneously cancelled because of missing braces around a
...
block.
2001-02-13 20:21:52 +00:00
Brian Wellington
f24c135e09
738. [bug] If a non-threadsafe sdb driver supported AXFR and
...
received an AXFR request, it would deadlock or die
with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Mark Andrews
382c4ce5a3
737. [port] stdtime failed to compile on certain platforms.
2001-02-13 13:24:09 +00:00
Mark Andrews
ba6e506ed2
#if not #ifdef ISC_MEM_TRACKLINES
2001-02-13 13:20:37 +00:00
Mark Andrews
b499a7c511
Print out the active memory prior to INSIST/REQUIRE failures.
2001-02-13 06:21:32 +00:00
Andreas Gustafsson
02940eaf0f
736. [func] New functions isc_task_{begin,end}exclusive().
2001-02-13 04:11:44 +00:00
Brian Wellington
100d0d2ec6
Use a refcount instead of an explicit mutex and integer.
2001-02-13 03:57:06 +00:00
Andreas Gustafsson
8126e45e8c
do dns_request_t cancel processing through a control event to
...
ensure that dns_dispatch_removeresponse() is called from the correct task
[RT #844 ]
2001-02-13 02:49:07 +00:00
Brian Wellington
4ce1248f09
fixed uninitialized variable
2001-02-13 01:29:33 +00:00
Brian Wellington
9f708f9014
isc_mem_stats() should print memory statistics even when there are no
...
allocated blocks at the time it's called.
2001-02-13 01:07:54 +00:00
Brian Wellington
55f3daa4ea
When parsing a message, add an offsets table to each name. Also allow callers
...
rendering a message to get temporary offsets tables to attach to names added
to the message.
2001-02-13 01:02:59 +00:00
Brian Wellington
31efcf6478
Build the offsets table in dns_name_fromwire() while parsing the name, not
...
by calling set_offsets.
2001-02-13 00:07:25 +00:00
Andreas Gustafsson
ea16b37d71
install refcount.h
2001-02-12 23:11:05 +00:00
Brian Wellington
1f7f8d5c07
Add isc_socket_sendto2() and isc_socket_recv2(). These versions take
...
a partially constructed event and flags. The flags can include
ISC_SOCKFLAG_IMMEDIATE, which means that if the operation completes, the
event is filled in and not sent.
2001-02-12 21:43:17 +00:00
Brian Wellington
a13ca8a125
Add ISC_R_INPROGRESS (operation in progress)
2001-02-12 20:03:16 +00:00
Brian Wellington
29daf5bc77
The suffix returned by dns_compress_findglobal() is never used, so remove it.
2001-02-12 18:07:52 +00:00
Brian Wellington
0c264c9094
The prefix and suffix names used in name compression don't need offset tables,
...
since they're never used. Not having offset tables makes filling in their
contents more efficient.
2001-02-12 05:22:34 +00:00
Brian Wellington
cdc50af0bf
In the towire_* and additionaldata_* routines, add an offsets table to names
...
passed into dns_name_toregion(). This is effectively free, and reduces the
number of calls to set_offsets() and dns_name_clone() in name compression.
2001-02-12 03:05:05 +00:00
Mark Andrews
9b6398efdf
re-do #734
2001-02-12 03:03:40 +00:00
Andreas Gustafsson
6cefb74b2b
dns_dispatch_removeresponse() failed to document the
...
requirement that it is only called from the task where the
response entry being removed delivers its events (Michael
agrees that this is indeed a requirement)
2001-02-11 19:11:52 +00:00
Mark Andrews
4dc2987f47
used the wrong xfr in #734
2001-02-11 02:23:12 +00:00
Brian Wellington
7c3996209b
fix a "statement is unreachable" warning
2001-02-11 00:52:31 +00:00
Brian Wellington
7222f9f321
The optimization to avoid compares after hashtable matches didn't work when
...
the matched node contained multiple labels.
2001-02-10 22:46:24 +00:00
Brian Wellington
82ecc44b96
another micro-optimization.
2001-02-10 02:55:05 +00:00
Brian Wellington
319d2971f1
When the client informs the dispatcher of a received response, have the
...
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Brian Wellington
64e7f8541d
optimization - if the compression table for a message is empty, don't
...
hash and look up each label.
2001-02-10 01:18:19 +00:00
Andreas Gustafsson
1d625775ee
note that max_size and target_size apply only when
...
ISC_MEM_USE_INTERNAL_MALLOC is set
2001-02-09 19:19:17 +00:00
Andreas Gustafsson
50179a15d1
UNUSED()
2001-02-09 19:08:11 +00:00
Andreas Gustafsson
dd0ef1a9d3
removed the unused and undocumented functions
...
isc_mem_preallocate(), isc_mem_valid(), isc_mem_setsplit(), and
isc_mem_restore()
2001-02-09 19:05:23 +00:00
Andreas Gustafsson
c674a8d5e7
documented the isc_mem_* interface
2001-02-09 18:51:20 +00:00
Brian Wellington
1c1f5e1911
The root node was added to the hashtable twice, which could lead to an
...
infinite loop. [RT #840 ]
2001-02-09 18:48:57 +00:00
Andreas Gustafsson
780db05762
use the UNUSED() macro
2001-02-09 18:27:18 +00:00
Mark Andrews
e911387be8
redo:
...
728. [bug] Fix comment processing on master file directives.
[RT# 757]
2001-02-09 14:34:52 +00:00
Mark Andrews
80aba3d49a
734. [bug] An attempt to re-lock the zone lock could occur if
...
the zone was shutdown during a zone tranfer. [RT #830 ]
2001-02-09 06:04:55 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Brian Wellington
65bc8f2af8
When assigning a bucket lock to an rbt node, use the hash of the full name,
...
rather than the hash of the partial name stored in the node. This more
evenly distributes nodes across locks.
This change only takes effect when DNS_RBT_USEHASH is defined, and also changes
the rbt so that the hashtable is created when the first node is created in the
tree, not after 64 nodes are added.
2001-02-09 01:26:51 +00:00
Andreas Gustafsson
3f53ec3bd7
added missing copyright message; ISC_REFERENCE_H -> ISC_REFCOUNT_H
2001-02-09 00:26:20 +00:00
Andreas Gustafsson
97f26b88f6
removed more needless attaching and detaching of the blackhole ACL
2001-02-09 00:23:16 +00:00
Andreas Gustafsson
b7f7a77d56
#include <isc/mutex.h>
2001-02-09 00:20:01 +00:00
Andreas Gustafsson
a349fd680c
removed all code for maintaining a 'goodness' value in the adb,
...
since it was never used and Michael thinks 'it should probably be removed'.
2001-02-09 00:13:55 +00:00
Andreas Gustafsson
aa23a35d81
733. [bug] Reference counts of dns_acl_t objects need to be
...
locked but were not. [RT #801 ]
2001-02-08 23:30:32 +00:00
Bob Halley
22457624d3
deal with 0 TTL glue
2001-02-08 19:14:58 +00:00
Andreas Gustafsson
8ed67113ec
there is no need for each dispatch to have a separate reference to
...
the blackhole list; they can use the blackhole list of the dispatch
manager directly. This eliminates some unsafe unlocked accesses to
the reference count of the blackhole list dns_acl_t object
2001-02-08 18:25:09 +00:00
Mark Andrews
f765672e93
731. [bug] certian zone errors could cause named-checkzone to
...
fail ungracefully. [RT #819 ]
2001-02-08 01:52:33 +00:00
Brian Wellington
91425b5e72
730. [bug] lwres_getaddrinfo() returns the correct result when
...
it fails to contact a server. [RT #768 ]
2001-02-08 00:31:21 +00:00
Brian Wellington
1938554ccc
consolidate duplicated code
2001-02-08 00:04:11 +00:00
Mark Andrews
df0bcff664
extend change #727 to check returned address length for zero.
2001-02-07 23:40:28 +00:00
Brian Wellington
744304361c
actually call isc_thread_setconcurrency()
2001-02-07 21:16:12 +00:00
Andreas Gustafsson
1964de81da
UNUSED() macro added in 1.79 was in the wrong place
2001-02-07 20:05:15 +00:00
Andreas Gustafsson
91f74728a7
UNUSED()
2001-02-07 20:03:23 +00:00
Mark Andrews
e880677f63
728. [bug] Fix comment processing on master file directives.
...
[RT# 757]
2001-02-07 13:24:19 +00:00
Brian Wellington
e618d503ba
Remove (now unused) code for handling queries.
2001-02-07 05:11:58 +00:00
Brian Wellington
98c80a3456
do_next_response() was unlinking an event from the wrong list
2001-02-07 03:01:19 +00:00
Brian Wellington
abc0c36dc3
The ISC__BUFFER_INIT macro had a typo.
2001-02-07 01:36:12 +00:00
Andreas Gustafsson
9a3ee1570d
"hard" errors in accept() were handled really badly. They were logged
...
twice, and the socket object for the new socket was never destroyed,
causing the server to hang on exit (if multithreaded) or dump core on exit
(if singlethreaded). Now the only difference between "hard" and "soft" errors
is that the latter are not logged.
2001-02-06 23:43:01 +00:00
Andreas Gustafsson
8dab78b566
as a workaround for various OS bugs, do not INSIST() that
...
accept() returns a valid peer address; instead just log an ugly error message
and continue if the peer address is left unchanged or insane by accept()
[RT #809 ]
2001-02-06 23:04:02 +00:00
Brian Wellington
f96ad6baf5
Only check to make sure that the full number of bytes were sent if the
...
send operation succeeded. I'm still not convinced that send_done() works
correctly, but making other changes that look correct causes assertion failures.
2001-02-06 22:54:27 +00:00
Brian Wellington
2305225a1c
The interface name field was only partially initialized.
2001-02-06 01:20:46 +00:00
Brian Wellington
770d3b36da
ctx->checkfree was only being initialized if USE_INTERNAL_MALLOC was on.
2001-02-05 23:48:25 +00:00
Brian Wellington
0ef3f4fb41
When memsetting the entropy pool to 0, the count should be the size in bytes,
...
not words.
2001-02-05 23:00:18 +00:00
Brian Wellington
7aac083523
The flags field of the request structures were not initialized (thanks, purify)
2001-02-05 20:48:42 +00:00
Brian Wellington
c716477d2e
don't free the structure twice (thanks, Andreas)
2001-02-05 20:29:56 +00:00
Brian Wellington
15bc0af6a1
chain_name() built the fully qualified name in a very inefficient way.
...
Reversing the order of the concatenations makes it significantly faster.
2001-02-05 20:07:20 +00:00
Brian Wellington
5e8ff069e2
clean up the code to determine if dns_rdata_freestruct() needs to be called
2001-02-05 19:50:42 +00:00
Brian Wellington
b7cd261f2f
dns_name_concatenate(foo, NULL, bar, NULL) -> dns_name_copy(foo, bar, NULL)
2001-02-05 19:47:05 +00:00
Brian Wellington
f91dc72b42
725. [bug] Installing man pages could fail.
2001-02-04 15:52:44 +00:00
Andreas Gustafsson
6b2f58f5c1
removed inappropriate 'Any bitstring labels are in canonical form' comments
2001-02-02 22:08:27 +00:00
Andreas Gustafsson
7e361074bc
724. [func] New libisc functions isc_netaddr_any(),
...
isc_netaddr_any6().
2001-02-02 02:48:47 +00:00
Bob Halley
d6b3d06db7
Referrals whose NS RRs had a 0 TTL caused the resolver to return
...
DNS_R_SERVFAIL. [RT #783 ]
2001-02-02 00:10:26 +00:00
Mark Andrews
8e68489885
722. [func] Allow n/named/server.cincrememtal loads to be canceled.
...
721. [cleanup] Load manager and dns_master_loadfilequota() are no
more.
2001-02-01 21:29:41 +00:00
Andreas Gustafsson
6983bb151a
#else -> #else NOMINUM_PUBLIC
2001-02-01 21:27:10 +00:00
Andreas Gustafsson
fc16063c23
removed dns_qid_t::mctx since it was never used
2001-01-31 22:16:37 +00:00
Brian Wellington
d378ec4758
The return value of lwres_net_pton was checked for != 0 in a few places,
...
not == 1.
2001-01-31 22:06:33 +00:00
Andreas Gustafsson
2571d4a73d
make sanitation work when building into a separate build directory
...
directly from a CVS tree [RT #765 ]; also removed code for removing "#line" directives and the
comment saying that the code for removing #line directives should be removed. :-)
2001-01-31 21:34:38 +00:00
Andreas Gustafsson
c17c59662f
720. [bug] Server could enter infinite loop in
...
dispatch.c:do_cancel(). [RT #743 ]
2001-01-31 17:21:11 +00:00
Mark Andrews
ec4f7c6d0f
719. [bug] Rapid reloads could trigger an assertion failure.
...
[RT #743 ]
2001-01-31 05:22:55 +00:00
Andreas Gustafsson
8d5ec7195a
new dns_master_load() option DNS_MASTER_NOINCLUDE
2001-01-30 23:12:27 +00:00
Andreas Gustafsson
651421a5db
removed the "additional-data" option, since it was never
...
fully implemented and because it causes "internal" to be a reserved word in
named.conf, causing problems for those using "internal" as an ACL name.
Since additional-data was never documented, the user-visible aspect of the
change is:
718. [cleanup] "internal" is no longer a reserved word in named.conf.
[RT #753 , #731 ]
2001-01-30 22:02:31 +00:00
Bob Halley
7427490a67
Certain TKEY processing failure modes could
...
reference an uninitialized variable, causing the
server to crash. [RT #750 ]
2001-01-30 19:18:19 +00:00
Mark Andrews
aac319b506
716. [bug] The first line of a $INCLUDE master file was lost if
...
a origin was specified. [RT #744 ]
Adjust comment.
2001-01-30 13:23:32 +00:00
Andreas Gustafsson
dfa0badebe
715. [bug] Resolving some A6 chains could cause an assertion
...
failure in adb.c. [RT #738 ]
2001-01-30 05:56:58 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Mark Andrews
fd50497bbe
isc_dir_chroot()
2001-01-29 03:17:45 +00:00
Brian Wellington
6f9786fdcf
Consolidate duplicated code in isc_socket_sendto[v] and isc_socket_recv[v].
2001-01-27 06:41:36 +00:00
Brian Wellington
b3936096b8
fix get_key_struct() definition
2001-01-27 04:33:18 +00:00
Andreas Gustafsson
9e992ecf37
further cleanup of ADB dumps
2001-01-27 02:44:35 +00:00
Brian Wellington
3a66efb0cb
remove the completely unused timer->mctx field.
2001-01-27 02:44:07 +00:00
Brian Wellington
94baac869a
712. [bug] Sending a large signed update message caused an
...
assertion failure. [RT #718 ]
- Resetting a message should clear the TSIG/SIG(0) sections
- Rerendering a message if the first try returned USETCP should not call
dns_message_settsigkey() again.
2001-01-27 02:28:33 +00:00
Andreas Gustafsson
fd73b3a68d
fixed incorrect error message
2001-01-27 02:12:13 +00:00
Andreas Gustafsson
a618f8d5b7
suppress compiler warnings
2001-01-27 02:11:35 +00:00
Brian Wellington
35f06ab0e6
Clients now listen on sockets instead of accepting queries from dispatchers.
...
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +00:00
Brian Wellington
562f162981
remove unused labels
2001-01-27 01:16:09 +00:00
Brian Wellington
dd66e6306b
Remove isc_socket/[send|recv]mark, which were never used.
2001-01-26 23:17:26 +00:00
Brian Wellington
7b5172166d
Waking up once a second to clean one bucket is excessive. Change the
...
default values (and dependencies) so that the clenup routine is called once
ever 30 seconds and cleans 8-9 buckets.
2001-01-26 03:20:58 +00:00
Damien Neil
dfb0717d75
- Receive and send operations on UDP sockets no longer need to acquire
...
the socket lock. (Assuming the operation succeeds immediately, and doesn't
need to be queued.)
- Communications with the watcher thread tweaked to reduce the need for
locking.
2001-01-25 22:25:10 +00:00
Brian Wellington
9f7b524522
The forwarders statements in zones & views didn't work.
2001-01-25 21:10: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
Andreas Gustafsson
b586eb4408
revert half of 711. - there was no off by one error in the v6 case,
...
only in the v4 case
2001-01-25 20:10:02 +00:00
Brian Wellington
1ac2c28488
711. [bug] The libisc and liblwres implementations of
...
inet_ntop contained an off by one error.
2001-01-25 19:39:48 +00:00
Andreas Gustafsson
bc85580ff8
mask message id to 16 bits explicitly
2001-01-25 13:52:32 +00:00
Andreas Gustafsson
3530e10080
commented and removed dead code
2001-01-25 13:47:59 +00:00
Brian Wellington
a12d9cfa59
710. [func] The forwarders statement now takes an optional port.
...
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Mark Andrews
1a2b3fbeb1
don't attempt to refresh while loading.
2001-01-25 02:30:21 +00:00
Damien Neil
3c31899857
Fix warning in the overrun detection code.
2001-01-25 01:38:01 +00:00
Damien Neil
823eed5ea9
Made the internal malloc() optional, selected by the
...
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant.
2001-01-25 01:18:00 +00:00
Brian Wellington
c6c1846361
oops, missed a function declaration
2001-01-25 00:44:29 +00:00
Brian Wellington
038a3e6bfe
use dns_messageid_t instead of isc_uint32_t in a few places. [RT #703 ]
2001-01-25 00:42:31 +00:00
Brian Wellington
f6478f5e44
formatting & macro updates
2001-01-24 21:12:48 +00:00
Mark Andrews
3bed75bb2d
silence compiler
2001-01-24 07:12:56 +00:00
Bob Halley
40fdf87153
Deal with TTL 0 ANY and SIG queries.
2001-01-24 02:40:19 +00:00
Brian Wellington
46c3b3f6e1
isc_uint16_t -> dns_keytag_t in many places; dns_keytable_findkeynode
...
was casting incorrectly. [RT #664 ]
2001-01-24 02:23:02 +00:00
Brian Wellington
0f537d1c63
+ 708. [bug] When building with --with-openssl, the openssl headers
...
+ included should not be used. [RT #702 ]
+
2001-01-24 01:34:14 +00:00
Andreas Gustafsson
c271488682
706. [bug] Zones with an explicit "allow-update { none; };"
...
were considered dynamic and therefore not reloaded
on SIGNUP or "rndc reload".
2001-01-24 00:00:21 +00:00
Brian Wellington
1e3bc7eaeb
only use data from accept() if accept succeeds.
2001-01-23 21:07:12 +00:00
Andreas Gustafsson
b346ae570d
style
2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922
INSIST that accept() returns a socket of the correct protocol family. Also
...
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Brian Wellington
dac1e1dd18
remove more duplicated code
2001-01-23 19:50:10 +00:00
James Brister
6ca537b8a3
New include statement for ndc.conf
...
include "/tmp/foo";
only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
Mark Andrews
9a6632fb42
removed unnecessary assignment
2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d
common code elimination
2001-01-23 07:36:06 +00:00
Mark Andrews
ab0380976c
add isc/platform.h
2001-01-23 06:00:11 +00:00
Mark Andrews
4ae98f5100
Use approptiate typoe based on configure results.
2001-01-23 05:13:25 +00:00
Mark Andrews
66ad1d85cb
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 04:47:56 +00:00
Mark Andrews
07d6480b68
704. [port] RLIMIT_NOFILE in to available on all platforms.
...
[RT #695 ]
2001-01-23 03:14:28 +00:00
Mark Andrews
363cb30a83
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 03:07:18 +00:00
Brian Wellington
47f65caf30
The msgcat text contained an extra %s.
2001-01-23 02:27:19 +00:00
Brian Wellington
5d18f1205a
remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
...
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
668eb43f1f
spacing
2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7
inconsistent spacing in duplicated code
2001-01-23 01:59:03 +00:00
Brian Wellington
fd091cb3cd
freerrset() wasn't.
2001-01-23 01:51:21 +00:00
Brian Wellington
d29da750d2
statistics counting was slowing down the server. Make client.c:count_query()
...
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Brian Wellington
ea6709ec8a
702. [func] If the address 0.0.0.0 is seen in resolv.conf,
...
use 127.0.0.1 instead. [RT #693 ]
2001-01-23 00:41:55 +00:00
Andreas Gustafsson
57ecc983c0
removed unused edns_level member from ADB entry
2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5
removed avoid_bitstring feature from the ADB
2001-01-22 22:51:23 +00:00
Brian Wellington
70b4889c85
A minor optimation to the rbt hash code that should reduce the number
...
of calls to dns_name_fullcompare().
2001-01-22 20:41:43 +00:00
Brian Wellington
9d967288c3
zero length keys from the config file were not being logged as too short to be
...
secure.
2001-01-22 20:27:04 +00:00
Andreas Gustafsson
5042f374bc
a valid buffer has the current pointer before or at the
...
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Andreas Gustafsson
3a5cbb3c22
Fixed 39 cases where either named or rndc would crash when
...
given empty string values in rndc.conf or on the command line
2001-01-22 03:59:21 +00:00
Mark Andrews
ce1269825c
700. [bug] $GENERATE range check was wrong. [RT #688 ]
2001-01-22 03:34:25 +00:00
Brian Wellington
9427d22299
make dns_name_fromtext fail when passed an empty string, not assert.
2001-01-22 03:30:27 +00:00
Andreas Gustafsson
e8af4e1524
699. [bug] The lexer mishandled empty quoted strings. [RT #694 ]
2001-01-22 02:46:34 +00:00
Brian Wellington
bf6d4f9cad
Install the lwres man pages.
2001-01-19 22:46:27 +00:00
Brian Wellington
6e8b041d9c
blackholed addresses were mishandled in the resolver.
2001-01-19 22:22:17 +00:00
Mark Andrews
89f4a7085c
694. [bug] $GENERATE did not produce the last entry. [RT#683]
2001-01-19 20:45:33 +00:00
Andreas Gustafsson
eed89be339
incremented library version number for 9.2
2001-01-19 01:55:11 +00:00
Andreas Gustafsson
d36250a1b2
include zone.c function names in debug log messages only;
...
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Brian Wellington
2a006fffe4
our NAPTR implementation does conform to RFC 2915.
2001-01-18 22:05:41 +00:00
Andreas Gustafsson
7ed2d93fa4
691. [bug] Configuring per-view forwarders caused an assertion
...
failure. [RT #675 ]
2001-01-18 19:01:39 +00:00
Mark Andrews
ca9c0ba235
690. [func] $GENERATE now supports DNAME. [RT #654 ]
2001-01-18 08:53:34 +00:00
Brian Wellington
6ec4990544
copyright update
2001-01-18 02:00:59 +00:00
Brian Wellington
21e82177fb
make message->rcode a dns_rcode_t
2001-01-18 00:26:36 +00:00
Bob Halley
5c7d67e3e6
include <stdlib.h> to get prototype for exit()
2001-01-17 19:48:45 +00:00
Andreas Gustafsson
8bb77cd31b
fix RT #660 differently
2001-01-17 17:44:49 +00:00
Brian Wellington
0aed1e6e6b
add a cast to silence the annoying MS compiler. [RT #662 ]
2001-01-17 03:02:01 +00:00
Brian Wellington
39bb14491f
Negating an unsigned int is a bad idea. Make it an int instead. [RT #660 ]
2001-01-17 02:58:28 +00:00
Brian Wellington
cb2ad98ea4
make prefixlen an isc_uint8_t [RT #658 ]
2001-01-17 02:54:17 +00:00
Mark Andrews
fb0663dbdd
687. [bug] Only say we have IPv6, with sufficent functionality,
...
if it has actually been tested. [RT #586 ]
2001-01-17 02:11:20 +00:00
Brian Wellington
18d110413c
Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
...
require all of dst to be linked in.
2001-01-17 01:22:20 +00:00
Brian Wellington
5d0cca62ee
Renamed keyid.c to key.c, and moved in a bunch of other functions that don't
...
depend on crypto.
2001-01-17 01:08:08 +00:00
Brian Wellington
64dcb08113
If the app is blocked and a shutdown signal arrives, just exit().
2001-01-17 00:48:54 +00:00
Brian Wellington
d7483d67f7
Move dst_region_computeid into a new file dst/keyid.c, so that all of the
...
dnssec code doesn't need to be linked in by using rdata routines.
2001-01-17 00:33:37 +00:00
Andreas Gustafsson
6c90ca893c
quote substituted parts of log messages with single quotes,
...
not double quotes
2001-01-17 00:16:20 +00:00
Brian Wellington
564c1b8f42
remove the use of abs(), which could have led to false positives because of
...
64 to 32 bit truncation.
2001-01-16 22:47:56 +00:00
Andreas Gustafsson
1da54a3de9
removed redundant error check [RT #669 ]
2001-01-16 21:18:10 +00:00
Mark Andrews
4e864e0101
84. [bug] memory leak with view forwarders. [RT #656 ]
2001-01-16 13:39:42 +00:00
Mark Andrews
2728a98ee4
683. [bug] file leak in isc_lex_openfile().
2001-01-16 07:47:16 +00:00
Mark Andrews
d722697400
681. [bug] $GENERATE specifying output format was broken. [RT#653]
2001-01-16 07:04:30 +00:00
Mark Andrews
7dbb39a417
680. [bug] dns_rdata_fromstruct() mis-handles options bigger
...
than 255 octets.
2001-01-16 06:14:00 +00:00
Brian Wellington
6df90b6515
Typo.
2001-01-15 19:54:12 +00:00
Brian Wellington
f98d6edb19
Multiple outstanding requests don't actually help. Never have more than 1.
2001-01-13 01:33:27 +00:00
Brian Wellington
bd703253b7
oops, a mutex was locked too early.
2001-01-13 00:23:34 +00:00
Brian Wellington
f0e246e271
Fully implement the cachefile option, which allows persistent caching. This
...
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Andreas Gustafsson
d94b209b95
added another INSIST() to dns_dbiterator_pause() as suggested by Bob
2001-01-12 20:11:28 +00:00
Brian Wellington
2883651930
Add dns_master_style_cache
2001-01-12 19:58:51 +00:00
Andreas Gustafsson
7cdd0b6ade
allow dbiterators to be paused at any time
2001-01-12 18:56:42 +00:00
Mark Andrews
a51f77a70b
679. [bug] $INCLUDE could leak memory and file descriptors on
...
reload. [RT #639 ]
2001-01-12 13:28:22 +00:00
Brian Wellington
a5ff47f55c
replace a chunk of code inside an #if 0 with a comment.
2001-01-12 00:56:44 +00:00
Mark Andrews
9b2819633e
Removed kludge for different error spaces in dns_dbtable_create(). [RT #642 ]
2001-01-12 00:31:50 +00:00
Brian Wellington
106ee474a9
A label immediately preceding a close brace is illegal.
2001-01-11 21:16:32 +00:00
Andreas Gustafsson
4755b174df
simplified constant names, eliminating the dns_constname structs
2001-01-11 21:07:21 +00:00
Andreas Gustafsson
8116149a05
if the adb had ever returned addresses of a family
...
other than AF_INET or AF_INET6, there would have been a memory leak
2001-01-11 20:31:31 +00:00
Andreas Gustafsson
8c56932f9a
yet another potential memory leak
2001-01-11 20:30:51 +00:00
Andreas Gustafsson
ff7f1dc039
676. [bug] Log messages about lame servers to category
...
'lame-servers' rather than 'resolver', so as not
to be gratuitously incompatible with BIND 8.
2001-01-11 19:38:11 +00:00
Brian Wellington
f847f8208c
Fixed an uninitialized variable, removed a dead line of code, and changed
...
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Andreas Gustafsson
90bffb134e
make_nonblock() errors were reported twice, and one of the instances
...
used the wrong errno value [RT #640 ]
2001-01-11 18:57:23 +00:00
Brian Wellington
a83405a85f
zone_idetach() should be static.
2001-01-11 08:10:47 +00:00
Brian Wellington
8e0044fe57
another memory leak.
2001-01-11 07:28:30 +00:00
Brian Wellington
9b0c4bf700
675. [func] TKEY queries could cause the server to leak
...
memory.
2001-01-11 04:23:39 +00:00
Brian Wellington
3e89268f1f
isc_buffer_region -> isc_buffer_usedregion
2001-01-11 04:00:17 +00:00
Brian Wellington
e5fb13fb23
The asserts in fromstruct were too strong - it's possible to have a non-NULL
...
key and keylen == 0 if the pointer is to a 0 byte allocation.
2001-01-11 03:11:30 +00:00
Brian Wellington
4ceb8b24b6
confparser.c should be removed by "make clean", not "make distclean"
2001-01-09 23:55:17 +00:00
Brian Wellington
7bd76551d4
oops, one too many fixes.
2001-01-09 23:42:51 +00:00
Mark Andrews
19c7cce855
674. [func] Allow messages to be TSIG signed / verified using
...
a offset from the current time.
2001-01-09 23:35:33 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
576f85e5fd
673. [func] The server can now convert RFC1886-style recursive
...
lookup requests into RFC2874-style lookups, when
enabled using the new option "allow-v6-synthesis".
2001-01-09 18:26:01 +00:00
Mark Andrews
0c70ab3065
672. [bug] The wrong time was in the "time signed" field when
...
replying with BADTIME error.
2001-01-09 14:32:44 +00:00
Brian Wellington
32e64787d9
671. [bug] The message code was failing to parse a message with
...
no question section and a TSIG record. [RT #628 ]
2001-01-09 02:55:42 +00:00
Brian Wellington
fa5a42fbad
670. [bug] The lwres replacements for getaddrinfo and
...
getipnodebyname didn't properly check for the
existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
Brian Wellington
523dd6a979
669. [func] dnssec-keygen now makes the public key file
...
non-world-readable for symmetric keys. [RT #403 ]
2001-01-09 00:53:06 +00:00
Michael Sawyer
bff300be6b
Check that zone->zmgr is non-null before dereferencing
2001-01-09 00:51:53 +00:00
Mark Andrews
5bb4ceb2a6
668. [func] named-checkzone now reports multiple errors in master
...
files.
2001-01-09 00:43:24 +00:00
Mark Andrews
6976801867
Replace memset() w/ null assignment to last element of array.
...
the strncpy() fills in the other bytes.
2001-01-09 00:39:46 +00:00
Mark Andrews
c39200d949
Reverse functional change from 1.91 as dns_rdata_fromtext() has now been
...
fixed.
2001-01-08 23:52:52 +00:00
Brian Wellington
fff07c1022
665. [bug] Signed responses were not sent when the size of the
...
TSIG + question exceeded the maximum message size.
[RT #628 ]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
1514371d94
added UNUSED() macro
2001-01-08 19:58:10 +00:00
Andreas Gustafsson
d1dc805692
include NetBSD mutex debugging kludge only if explicitly requested
...
with -DISC_MUTEX_DEBUG and only if PTHREAD_MUTEX_ERRORCHECK is defined by the pthreads library
2001-01-08 19:47:30 +00:00
Andreas Gustafsson
4817a06287
663. [func] Accept a size_spec, not just an integer, in the
...
(unimplemented and ignored) max-ixfr-log-size option
for compatibility with recent versions of BIND 8.
[RT #613 ]
2001-01-08 19:27:19 +00:00
Mark Andrews
228c679d7a
662. [bug] dns_rdata_fromtext() failed to log certain errors.
2001-01-08 06:54:35 +00:00
Andreas Gustafsson
13b53c2971
when code is duplicated (which it shoudn't be), it should
...
at least be duplicated consistently
2001-01-07 22:02:48 +00:00
Andreas Gustafsson
ec0613a097
commented
2001-01-07 22:01:59 +00:00
Andreas Gustafsson
8d4bf0c21b
typo
2001-01-07 22:01:34 +00:00
Andreas Gustafsson
b363c64ed6
sizeof() style; added comment
2001-01-07 22:01:12 +00:00
Andreas Gustafsson
9afcd92352
enable deadlock detection for mutexes on NetBSD
2001-01-06 01:26:36 +00:00
Brian Wellington
f92f41acea
Detect multiple CPUs on HP-UX.
2001-01-06 01:10:04 +00:00
Brian Wellington
473af33183
more comment updates
2001-01-06 00:43:03 +00:00
Brian Wellington
4d180bd210
comment updates
2001-01-06 00:35:30 +00:00
Brian Wellington
54ce9b2e29
657. [bug] When a listen-on statement in an lwres block does not
...
specifiy a port, use 921, not 53. Also update the
listen-on documentation. [RT #616 ]
2001-01-05 22:12:53 +00:00
Andreas Gustafsson
ca247cd9af
indentation
2001-01-05 22:09:02 +00:00
Mark Andrews
0deebcd15a
dns_master_load*() age_ttl -> options word
2001-01-05 03:12:45 +00:00
Brian Wellington
6cf489f9bc
Enabling mutex profiling caused compilation to fail.
2001-01-05 02:17:03 +00:00
Brian Wellington
f135697100
Log a message when dns_rdata_fromtext() fails.
2001-01-05 01:02:47 +00:00
Brian Wellington
7357590bee
656. [func] Treat an unescaped newline in a quoted string as
...
an error. This means that TXT records with missing
close quotes should have meaningful errors printed.
2001-01-05 01:02:26 +00:00
Mark Andrews
3dbdaa791c
don't move expired zones sideways.
...
use the journal modification time if it is available for for last update time
2001-01-05 00:51:04 +00:00
Brian Wellington
efcd383461
Update forwarding when the message buffer was no longer copied. Fix this
...
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Andreas Gustafsson
233085a7d2
comment the master file styles in the .h file, not the .c file
2001-01-04 23:52:16 +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
Michael Sawyer
2b50457b87
Change the name from "parsable" to "simple"
2001-01-04 23:40:28 +00:00
Damien Neil
2e36a55861
Added changes for mutex profiling.
2001-01-04 23:38:37 +00:00
Damien Neil
b2a6ebf1bd
Cleaned up some nasty hacks I forgot in the mutex profiling code.
2001-01-04 23:34:03 +00:00
Damien Neil
e535db4a21
Removed some very nasty hacks which I had forgotten in the mutex
...
profiling code.
2001-01-04 23:32:15 +00:00
Damien Neil
0195648290
Turn off mutex profiling by default. (Oops.)
2001-01-04 22:39:33 +00:00
Damien Neil
e9453d609d
Mutex profiling updates, to collect more statistics on mutex usage.
2001-01-04 22:37:37 +00:00
Michael Sawyer
c67496c943
Add master_style_parsable
2001-01-04 22:19:18 +00:00
Brian Wellington
3e6753a753
Make a macro version of dns_name_toregion.
2001-01-04 20:00:57 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Mark Andrews
f7e900edbc
652. [bug] zone_saveunique() did not report the new name.
2001-01-04 04:10:59 +00:00
Brian Wellington
bb06860389
CPU detection for IRIX.
2001-01-04 02:52:13 +00:00
Brian Wellington
0a569dfd5e
When saving the query message (for SIG(0) or update forwarding), don't actually
...
do an allocate and copy, since the input buffer stays around.
2001-01-04 01:55:22 +00:00
Brian Wellington
6427a34be1
comment fixes
2001-01-04 01:25:08 +00:00
Brian Wellington
4502c1b020
spelling
2001-01-04 00:28:19 +00:00
Brian Wellington
ec772e873b
651. [func] The AD bit in responses now has the meaning
...
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Brian Wellington
ac7f13e3dd
Remove dns_trust_authsecure, which is not used and was never clearly defined.
2001-01-04 00:16:41 +00:00
Brian Wellington
abfbf760f3
650. [bug] SIG(0) records were being generated and verified
...
incorrectly. [RT #606 ]
2001-01-04 00:10:13 +00:00
Mark Andrews
84d982f168
wrong result code tested.
2001-01-03 23:14:53 +00:00
Brian Wellington
8d6fe3f388
Pointers to regions are silly. Use regions instead. This removes 1 small
...
allocation per query.
2001-01-03 20:42:10 +00:00
Bob Halley
75768d5fa2
It was possible to join to an already running fctx
...
after it had "cloned" its events, but before it sent
them. In this case, the event of the newly joined
fetch would not contain the answer, and would
trigger the INSIST() in fctx_sendevents().
[RT #597 , #605 , #607 ]
2001-01-03 20:31:34 +00:00
Andreas Gustafsson
0609174d93
removed empty line
2001-01-03 20:21:11 +00:00
Mark Andrews
4e7942dc76
648. [port] Add support for pre-RFC2133 IPv6 implementations.
2001-01-03 13:13:14 +00:00
Brian Wellington
6d5032f9a2
Micro-optimizations:
...
- use the DNS_NAME_INIT macro in name.c
- create dns_name_copy() and use it instead of dns_name_concatenate()
when doing a copy.
2001-01-03 00:05:15 +00:00
Andreas Gustafsson
22dbaf9ad8
647. [bug] Resolver queries sent after following multiple
...
referrals had excessively long retransmission
timeouts due to incorrectly counting the referrals
as "restarts".
2001-01-02 20:46:07 +00:00
Andreas Gustafsson
21931e9334
cleanup of logging code
2001-01-02 18:51:07 +00:00
Andreas Gustafsson
6af9849f74
log message about disabling EDNS0 only once per lookup
2001-01-02 17:59:13 +00:00
Mark Andrews
55a7fc9d8f
When a zone expires move the on disk cache (if any) sideways.
2001-01-02 04:45:24 +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
David Lawrence
b8ebf57228
fix a rather stupid incomplete cut-n-pasting job of in the
...
ISC_PLATFORM_FIXIN6ISADDR block for UnixWare.
2001-01-01 22:02:27 +00:00
Mark Andrews
046a9aca49
642. [bug] #622 needed more work.
2000-12-31 05:05:34 +00:00
Mark Andrews
f4e4111795
643. [bug] xfrin error messages made more verbose, added class
...
of the zone. [RT# 599]
2000-12-30 13:03:48 +00:00
Brian Wellington
65a275fb3d
The resolver doesn't need to manually dissect a TSIG and look at the error
...
field, since dns_message_checksig returns an error in that case.
2000-12-29 23:24:32 +00:00
Brian Wellington
ed6d3c9660
remove sanitize cruft
2000-12-29 22:07:25 +00:00
Brian Wellington
917d2db965
if DNS_NAME_USEINLINE was set, DNS_NAME_SETBUFFER was defined, but never used,
...
since dns_name_setbuffer was never #defined to it.
2000-12-29 21:54:52 +00:00
Brian Wellington
0c710d7162
#define isc_mutex_stats to nothing
2000-12-29 19:55:37 +00:00
Brian Wellington
dacf0cc454
Merged the private functions compress_add and compress_find into
...
dns_compress_add and dns_compress_findglobal.
2000-12-29 19:38:50 +00:00
Brian Wellington
bb88eab95f
fix an uninitialized variable; reformat some >80 character lines
2000-12-29 18:49:36 +00:00
Brian Wellington
26d20cd51c
oops, forgot to commit this yesterday.
2000-12-29 18:19:52 +00:00
Mark Andrews
02bad0bd51
fix lock heirachy in zone_shutdown()
2000-12-29 13:20:46 +00:00
Brian Wellington
3f160155da
ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
...
with -s prints the results.
2000-12-29 01:29:56 +00:00
Mark Andrews
253ab81bf2
642. [bug] Break the exit_check() race in the zone module.
...
[RT #598 ]
2000-12-29 01:04:10 +00:00
Brian Wellington
8e047d3b74
microoptimizations to make quantize/rmsize more efficient.
2000-12-29 01:02:07 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00
Brian Wellington
4efa04801e
Remove DNS_COMPRESS_GLOBAL, since the only type of global compression
...
is GLOBAL14.
2000-12-29 00:54:36 +00:00
Andreas Gustafsson
af5995e08f
remove unused variable
2000-12-28 03:04:35 +00:00
Mark Andrews
9f28451bca
641. [bug] $GENERATE caused a uninitialized link to be used.
...
[RT #595 ]
2000-12-28 02:31:20 +00:00
Mark Andrews
de154f65f6
Ensure that ns_client_*() are only called from the client's task.
2000-12-28 01:29:09 +00:00
Brian Wellington
d780c35e54
remove all vestiges of 16 bit global compression
2000-12-28 00:43:12 +00:00
David Lawrence
090432605e
isc_file_renameunique() set its result incorrectly if renaming failed; it used
...
the value of errno from an unlink() call, not from the rename() call.
2000-12-27 17:21:53 +00:00
Brian Wellington
ee303f481d
639. [bug] Reading entropy from the keyboard would sometimes fail.
...
[RT #591 ]
note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence
801dceea23
Revert my last change. It was stupid, which I if I had been thinking clearly
...
I would have seen *before* I commited anything. So, include isc/thread.h,
isc/mutex.h and isc/condition.h even if ISC_PLATFORM_USETHREADS is not defined.
(What caused me to bother with this at all was a problem that I resolved
a few days ago by fixing configure ... though now that I think about it,
that probably means there is some other latent problem with inconsistent
definitions that could maybe be handled better. I'll look into it more
later, AFTER vacation.)
2000-12-26 21:45:08 +00:00
David Lawrence
bdcae3560b
Only include isc/thread.h, isc/mutex.h and isc/condition.h if
...
ISC_PLATFORM_USETHREADS is defined.
2000-12-26 21:12:25 +00:00
David Lawrence
8ab1d97093
sigh. "define" -> "defined". never make trivial changes without retesting.
2000-12-26 21:06:49 +00:00
David Lawrence
86b8c48576
638. [port] lib/isc/random.c needed to explicitly include
...
time.h explicitly to get a prototype for time() when
pthreads was not being used. [RT #592 ]
2000-12-26 21:02:14 +00:00
David Lawrence
125a916d1a
637. [port] Use isc_u?int64_t instead of (unsigned) long long in
...
lib/isc/print.c. Also allow lib/isc/print.c to
be compiled even if the platform does not need it.
[RT #592 ]
Also cleaned up some const issues.
2000-12-26 21:00:41 +00:00
David Lawrence
0b3427d15c
636. [port] Shut up MSVC++ about a possible loss of precision
...
in the ISC__BUFFER_PUTUINT*() macros. [RT #592 ]
This is the basically the same change made to buffer.c before the macros
were created:
revision 1.18
date: 1999/09/23 17:54:57; author: tale; state: Exp; lines: +4 -4
Shut up MSVC++ compiler warning about loss of precision when assigning
8 bits masked out of a 32 bit int to individual bytes.
Also, an #if 0 around "#define ISC_BUFFER_USEINLINE" was removed, per the
ISC coding style, and instead a comment was used to disable the definition.
2000-12-26 20:51:14 +00:00
Brian Wellington
02e3821450
635. [bug] Reloading a server with a configured blackhole list
...
would cause an assertion. [RT #590 ]
2000-12-26 09:48:41 +00:00
David Lawrence
f8da2d9583
634. [bug] A log file will completely stop being written when
...
it reaches the maximum size in all cases, not just
when versioning is also enabled. [RT #570 ]
2000-12-23 19:23:48 +00:00
David Lawrence
17012a8797
632. [port] Cope with rlim_t missing on BSD/OS systems. [RT #575 ]
2000-12-23 02:46:34 +00:00
Andreas Gustafsson
642e583687
...and in two different ways, at that
2000-12-22 23:47:00 +00:00
Andreas Gustafsson
e0a90d7579
journal index array was corrupted on write
2000-12-22 23:37:03 +00:00
Andreas Gustafsson
029ce2f952
need #include <dns/rdataset.h> and <dns/rdatastruct.h>
2000-12-22 23:01:56 +00:00
Brian Wellington
2374f16f5d
missing ISC_LANG_ENDDECLS
2000-12-22 22:56:55 +00:00
Brian Wellington
489b762926
- if pthreads are not found, build a nonthreaded version
...
- check for pthread_attr_getstacksize
2000-12-22 20:50:05 +00:00
Andreas Gustafsson
0ad8ee89c5
more request shutdown logic fixes from Mark
2000-12-22 19:39:01 +00:00
Andreas Gustafsson
4c1fee4236
don't turn on ISC_MEM_BDEBUGRECORD by default
2000-12-22 18:30:26 +00:00
Mark Andrews
6cc5eac41b
more unlocked calls to cancel_refresh().
2000-12-22 05:55:20 +00:00
Mark Andrews
bd5f2ac188
630. [bug] locking failure in zone code. [RT #582 ]
2000-12-22 02:43:42 +00:00
Brian Wellington
48540261f1
replace (isc_mem_debugging > 1) with (MEM_RECORD)
2000-12-22 00:26:33 +00:00
Andreas Gustafsson
709fa2054f
oops, it's <dst/dst.h>, not <dst/key.h>
2000-12-21 18:11:00 +00:00
Andreas Gustafsson
c663d46e47
need #include <dst/key.h>
2000-12-21 16:27:22 +00:00
Andreas Gustafsson
359082766e
diff.h was not installed
2000-12-21 16:17:41 +00:00
Andreas Gustafsson
2207599e64
condition.h was not installed
2000-12-21 16:14:49 +00:00
Brian Wellington
5d85bf183f
missing 'static'
2000-12-21 01:58:37 +00:00
Brian Wellington
1200b06785
removed LWRDATA_AUTHORITATIVE and RRSET_AUTHORITATIVE
2000-12-21 00:27:56 +00:00
Brian Wellington
58cbc05eb0
Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
...
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Andreas Gustafsson
7d33e89969
627. [bug] The EDNS0 blackhole detection code of 327. waited
...
for three retransmissions to each server, which
takes much too long when a domain has many name
and all of them drop EDNS0 queries. Now we retry
without EDNS0 after three consecutive timeouts,
even if they are all from different servers.
2000-12-20 23:18:37 +00:00
Brian Wellington
86c3cd20dd
fix a race condition.
2000-12-20 20:42:08 +00:00
Andreas Gustafsson
0bca614506
don't shout
2000-12-20 19:46:37 +00:00
Brian Wellington
13090db2b1
dns_view_find can now do ANY queries; it takes additional db and node
...
parameters used for return values.
2000-12-20 03:38:46 +00:00
Mark Andrews
2a80a4e120
625. [func] Zone's now inherit their class from the enclosing view.
2000-12-20 03:36:19 +00:00
Andreas Gustafsson
91b4560baa
zone timer was using the wrong task [RT #571 ]
2000-12-20 01:27:50 +00:00
Brian Wellington
a644e87df7
Move the msgcat stuff into socket_log(), to avoid unnecessary calls to
...
isc_msgcat_get() and speed things up.
2000-12-19 20:35:37 +00:00
Andreas Gustafsson
70c91849c3
eliminated compiler warning
2000-12-19 19:29:13 +00:00
Andreas Gustafsson
ab0bc7bd36
spelling
2000-12-19 19:20:15 +00:00
Andreas Gustafsson
0833ef954a
when code is duplicated (which it shouldn't be), it should at
...
least be duplicated consistently
2000-12-19 19:19:45 +00:00
Mark Andrews
5f7a9845e9
make ISC_LIST_CHECKINIT work
2000-12-19 04:46:36 +00:00
Mark Andrews
f53848e171
622. [bug] A canceled request could be destroyed before
...
dns_request_destroy() was called. [RT #562 ]
2000-12-19 03:36:48 +00:00
Brian Wellington
64a84169d7
621. [port] Disable IPv6 at runtime if they are unusable. This
...
mostly affects Red Hat Linux 7.0.
2000-12-19 01:36:52 +00:00
Mark Andrews
7f66083184
remove unused variables
2000-12-19 01:32:41 +00:00
Andreas Gustafsson
8998ed8481
added UNUSED() macro
2000-12-18 21:09:42 +00:00
Andreas Gustafsson
5fca48054b
dump the ADB in a more user-friendly format (unless a debug flag is set)
2000-12-18 20:03:33 +00:00
Mark Andrews
1599bd6998
620. [bug] dns_master_load*inc() now require 'task' and 'load'
...
to be non-null. Also 'done' will not be called if
dns_master_load*inc() fails immediately. [RT #565 ]
2000-12-17 23:43:12 +00:00
Andreas Gustafsson
113b8ef973
renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
...
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future. Also changed the dump style to the
'explict TTL' one, which makes more sense than usin when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson
acea06c80c
spelling
2000-12-15 21:06:00 +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
Andreas Gustafsson
5412d26798
entropy.c did not include header files necessary for select(),
...
causing nonthreaded builds to fail on AIX
2000-12-14 22:40:17 +00:00
Mark Andrews
43b8fb7570
dns_rdata_init > dns_rdata_reset
2000-12-14 22:10:37 +00:00
Mark Andrews
5d2026ea7b
relax initalied checks
2000-12-14 22:09:51 +00:00
Brian Wellington
ee10d3de18
#include <stdio.h>
2000-12-13 21:28:38 +00:00
David Lawrence
3d509f54ac
613. [bug] "rndc reload zone" now reloads primary zones.
...
It previously only updated slave and stub zones,
if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews
fa67ca21f6
make dns_zone_load work w/o being managed.
...
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence
13a0f9518a
oops, an ifdef should have been an ifndef
2000-12-13 01:42:23 +00:00
Brian Wellington
2103b1d460
Don't allow queries of class or type ANY.
2000-12-13 00:22:54 +00:00
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
eb8713ed94
Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
...
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
David Lawrence
b74896ead5
599. [func] Added four new functions to the libisc log API to
...
support i18n messages. isc_log_iwrite(),
isc_log_ivwrite(), isc_log_iwrite1() and
isc_log_ivwrite1() were added.
(The log.h/log.c changes were just minor formatting changes.)
2000-12-12 05:29:33 +00:00
Andreas Gustafsson
fc6f5743aa
use isc_log_iwrite() for localized logging,
...
to keep backwards compatibility
2000-12-12 00:18:01 +00:00
Brian Wellington
f8246fc026
alphabetize tokens
2000-12-11 23:38:25 +00:00
Mark Andrews
88a6fef494
init dns_rdata_t's
2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Mark Andrews
fc03bf680e
more locking
2000-12-11 19:21:15 +00:00
Andreas Gustafsson
eb2d0f4d9d
isc_thread_self() is a function, not an integer [RT #551 ]
2000-12-11 19:17:29 +00:00
Andreas Gustafsson
dea478db31
isc_symexists_ policies were not referred to by their
...
true names in the header comments
2000-12-11 04:08:52 +00:00
Mark Andrews
dd2e7df916
pointer math
2000-12-09 03:20:05 +00:00
Brian Wellington
7d43914b55
remove unused includes
2000-12-09 03:09:20 +00:00
Brian Wellington
911ed0d3be
Split journal.[ch] into journal.[ch] and diff.[ch]
2000-12-09 02:17:12 +00:00
James Brister
106125b0a8
backout last change.
2000-12-09 02:14:53 +00:00
James Brister
59bffa5d85
Initialize link field
2000-12-09 02:05:51 +00:00
Andreas Gustafsson
10e22ebcc3
605. [func] New function isc_lex_getlasttokentext().
2000-12-09 02:05:26 +00:00
Brian Wellington
bb812feb3c
line numbers could be corrupted by very large tokens.
2000-12-09 00:41:33 +00:00
Mark Andrews
10f89d2f83
additional comments
2000-12-08 19:34:06 +00:00
Brian Wellington
6734ac097f
#include <isc/print.h>
2000-12-08 03:10:32 +00:00
David Lawrence
e544b507b8
602. [func] Cope automatically with UnixWare's broken
...
IN6_IS_ADDR_* macros. [RT #539 ]
2000-12-08 00:55:51 +00:00
Mark Andrews
d30c18b17a
set ttl of subtration header
2000-12-07 23:37:52 +00:00
David Lawrence
71c68c49db
prototype for dns_c_nameprint()
2000-12-07 22:42:22 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
Brian Wellington
020ebf1190
log the reasons for various verify failures.
2000-12-07 20:13:29 +00:00
Mark Andrews
168ec3b800
Check ttl when adding/subtracting.
...
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
David Lawrence
b161f87be8
Updated API to support i18n message arguments to isc_log_{,v}write{,1}.
...
Provided isc_log_i{,v}write{,1}, with appropriate macro substitutions,
for files that are not yet converted to the new API. When everything
is converted, the added functions will be removed.
2000-12-07 19:30:28 +00:00
Brian Wellington
cff0491bed
The TKEYTRACE macro was never used, and wasn't correct.
2000-12-07 19:13:05 +00:00
Mark Andrews
a009a2da12
use ISC_LIST_APPENDUNSAFE
2000-12-07 17:52:37 +00:00
Brian Wellington
6fb2566107
uninitialized link field
2000-12-07 06:07:12 +00:00
Mark Andrews
a31ede78c8
Added locking check + some additional locks.
2000-12-07 03:13:01 +00:00
James Brister
bdd6599e12
Fix printing of sig-validity-interval.
...
No longer print final dot of server key value.
2000-12-07 01:45:57 +00:00
Brian Wellington
1afae09da4
redundant code
2000-12-06 23:39:04 +00:00
David Lawrence
d9135464f2
Stop multiple warnings on IRIX about some bitfiddling being done on
...
a long integer to stuff it into a four byte character array big endianwise.
2000-12-06 23:12:10 +00:00
David Lawrence
e086935752
isc_hex_tobuffer() third argument is unsigned int, not unsigned long
2000-12-06 22:33:39 +00:00
Brian Wellington
6dbf9cbe6a
596. [bug] DNS_RDATASLAB_FORCE and DNS_RDATASLAB_EXACT are
...
not mutually exclusive.
2000-12-06 22:19:05 +00:00
Andreas Gustafsson
ff74ba926b
when printing the view notify value, the traling semicolon
...
and newline were missing
2000-12-06 20:37:01 +00:00
Andreas Gustafsson
03c106341c
PRINT_IF_EQUAL() printed even if not equal
2000-12-06 20:36:26 +00:00
Andreas Gustafsson
21010d8842
missing ISC_LINK_INIT()
2000-12-06 20:36:00 +00:00
David Lawrence
92f9189aee
move definition of check_overrun() before its first use
2000-12-06 20:34:34 +00:00
David Lawrence
f616ef2ea9
missing close parenthesis for an isc_msgcat_get() in an
...
"#if ISC_MEM_TRACKLINES" block.
2000-12-06 20:32:12 +00:00
Brian Wellington
17aac384e0
595. [port] On Linux 2.2, socket() returns EINVAL when it
...
should return EAFNOSUPPORT. Work around this.
2000-12-06 01:53:38 +00:00
David Lawrence
68076411d5
DNS_ZONE_FLAG() was used as a boolean macro, so make it really return
...
ISC_TRUE/ISC_FALSE
2000-12-06 01:45:59 +00:00
David Lawrence
e694d4e201
quiet gcc 2.7.2.3 (specifically, the one on trantor) about a cast discarding
...
const in dump_order_compare()
2000-12-06 01:36:36 +00:00
David Lawrence
ee57537f1d
missing close parenthesis after an isc_mgscat_get()
2000-12-06 01:28:02 +00:00
David Lawrence
77078ddc9a
added msgs.h
2000-12-06 01:24:24 +00:00
David Lawrence
87762baad1
oops, guess you guys need this
2000-12-06 01:21:51 +00:00
Brian Wellington
23f64ea0dc
594. [func] sdb drivers are now assumed to not be thread-safe
...
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
David Lawrence
d7f98c32d3
line > 79 columns
2000-12-06 00:35:44 +00:00
David Lawrence
9cd6d409b7
first pass at using isc_msgcat_get for message strings in libisc
2000-12-06 00:30:32 +00:00
Brian Wellington
5f515f43b0
spacing
2000-12-05 23:28:30 +00:00
Brian Wellington
a1d41dd820
quote more tokens in token_to_text, and don't quote the result from
...
token_to_text in the caller.
2000-12-05 23:27:38 +00:00
Brian Wellington
9c5b8b206a
removed code and output duplication
2000-12-05 22:42:23 +00:00
Brian Wellington
ff1db3c6df
Make sig-validity-interval a number of days, like the documentation says.
2000-12-05 22:19:35 +00:00
Olafur Gudmundsson
09ceae8853
keygen coredumps if rsa key is not generated due to lack of randomness
2000-12-05 21:11:18 +00:00
Brian Wellington
a7f3d1e811
The exiting test in zone_settimer was reversed. Oops.
2000-12-05 20:02:34 +00:00
Brian Wellington
c70908209e
replace some INSISTs that theoretically could occur with normal failures
2000-12-05 18:53:43 +00:00
Brian Wellington
1fe2d5bb6e
zone_settimer now logs an error if isc_timer_reset fails, instead of returning
...
a result which all callers ignored.
2000-12-05 00:47:42 +00:00
Brian Wellington
99b39b3bb4
zone_settimer should do nothing if the zone is exiting. Previously, some of
...
the callers checked this, but not all of them.
2000-12-05 00:36:44 +00:00
Andreas Gustafsson
2c826ed1cf
don't flood logs with lots of notify-related log messages at
...
level info; minor changes to log messages
2000-12-04 23:58:27 +00:00
Brian Wellington
425c9c3720
remove unused variable warnings
2000-12-04 23:39:05 +00:00
Brian Wellington
5af0b591fd
lib/dns/sec/openssl/th-lock.c was useless.
2000-12-04 23:21:42 +00:00
Brian Wellington
704d6eeab1
591. [bug] Work around non-reentrancy in openssl by disabling
...
precomputation in keys.
2000-12-04 23:06:37 +00:00
Andreas Gustafsson
f55dd75bca
minor editing
2000-12-04 18:37:40 +00:00
Mark Andrews
5a6335a8bf
588. [bug] ctx->in_use was not being correctly initalised when
...
when pushing a file for $INCLUDE. [RT #523 ]
2000-12-04 04:17:00 +00:00
Andreas Gustafsson
f1b2bd266e
eliminate compiler warnings about unused variables in
...
sanitized code
2000-12-02 05:29:15 +00:00
Andreas Gustafsson
8db2b65318
more DNS_OPT_NEWCODES sanitation
2000-12-02 05:28:05 +00:00
Andreas Gustafsson
90ad126bb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:44:51 +00:00
Andreas Gustafsson
294ae26fb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:30:08 +00:00
Andreas Gustafsson
ab3f2d77bd
sanitize away the DNS_OPT_NEWCODES stuff
2000-12-02 04:13:35 +00:00
Andreas Gustafsson
941d15a028
style
2000-12-02 04:12:25 +00:00
Mark Andrews
5b027b8ca3
reorder
2000-12-02 00:57:43 +00:00
Andreas Gustafsson
f83520a3d8
treat the use-ixfr option like we do with other obsolete options;
...
in particular, there is no need for the ARM to have a separate section about it
2000-12-02 00:25:42 +00:00
Andreas Gustafsson
ce1f5b8d0a
rewrote much of the statistics counter code
2000-12-01 23:49:59 +00:00
Mark Andrews
90ae994603
memory leak on error path
2000-12-01 23:29:54 +00:00
Mark Andrews
ad70a097c8
Allow views w/ same name and different class to be added to view list.
...
Change view add failure result test from == ISC_R_EXISTS -> != ISC_R_SUCCESS.
2000-12-01 23:27:43 +00:00
Andreas Gustafsson
880a4fcf95
Do not express intent to implement the check-names option.
2000-12-01 19:50:52 +00:00
Andreas Gustafsson
9c566a852f
587. [func] A warning is now printed if the "allow-update"
...
option allows updates based on the source IP
address, to alert users to the fact that this
is insecure and becoming increasingly so as
servers capable of update forwarding are being
deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews
4c08b67a5f
586. [bug] multiple views with the same name were fatal. [RT #516 ]
2000-12-01 09:03:44 +00:00
Mark Andrews
372dfd542b
de-couple dns_zone_notify() and dns_zone_maintenance() from their callers.
2000-12-01 03:20:00 +00:00
Andreas Gustafsson
63cef8bde8
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:40:59 +00:00
Mark Andrews
f8abaa0fae
Used a unsigned int rather than a boolean to indicate subtrations making
...
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().
Adjust previous CHANGES to reflect above as this is not yet end user visible.
Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Andreas Gustafsson
ffc4cece90
#include <isc/mutex.h>
2000-12-01 01:03:12 +00:00
Andreas Gustafsson
7a6f285bc9
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:00:47 +00:00
Andreas Gustafsson
94d61e2f76
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 00:55:16 +00:00
Andreas Gustafsson
6e8d5fd217
missed some #ifdef->#if changes
2000-12-01 00:52:38 +00:00
Andreas Gustafsson
d24d223c17
install conflwres.h, too
2000-12-01 00:50:28 +00:00
Andreas Gustafsson
c52e5c8ed1
test the various memory debug flags with #if instead of #ifdef
...
so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler
command line; removed some historical cruft
2000-12-01 00:32:02 +00:00
Mark Andrews
9d2c9f7896
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 23:59:08 +00:00
Andreas Gustafsson
16ef05fe1b
incremented
2000-11-30 23:06:32 +00:00
Mark Andrews
012c6d0b91
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 13:19:09 +00:00
Andreas Gustafsson
8b4eaec405
removed RRSET_AUTHORITATIVE bit as decided in lengthy
...
teleconference discussion; some editorial changes
2000-11-29 22:55:11 +00:00
Mark Andrews
e9fce1415f
582. [bug] dns_zone_idetach() failed to lock the zone.
...
[RT #199 , #463 ]
2000-11-29 14:03:29 +00:00
David Lawrence
01a37f376f
changed "in" to "of" in DNS_R_SINGLETON, "multiple RRs of singleton type"
2000-11-29 05:59:33 +00:00
Andreas Gustafsson
25303900d1
missing semicolon
2000-11-29 01:51:54 +00:00
Andreas Gustafsson
1d90a73d6d
Make reloads work again after condition variable hack; added comments
2000-11-29 01:50:49 +00:00
Andreas Gustafsson
8e7ce54bef
Make omapi clients work on single-threaded systems by
...
means of a gross hack involving recursive invocation of the
event loop. [RT #505 ]
2000-11-29 01:27:09 +00:00
Andreas Gustafsson
aefca1d492
typo in comment
2000-11-29 00:10:29 +00:00
Andreas Gustafsson
37fb395fd7
it makes no sense for a forward zone to have
...
a {min,max}-re{try,fresh}-time or zone-statistics option
2000-11-28 22:42:37 +00:00
Andreas Gustafsson
54f6b2cfa8
stacksize, datasize, coresize and files options are now implemented
2000-11-28 21:43:37 +00:00
Andreas Gustafsson
1f1ff380e0
switch() was missing all break; statements, causing setting of resource
...
limits to always fail
2000-11-28 21:40:52 +00:00
Andreas Gustafsson
9374f5f62c
Do not express intent to implement the check-names option.
2000-11-28 21:20:51 +00:00
Andreas Gustafsson
57aac9d2de
removed /* XXX should use temporary file and rename */ comment -
...
dns_master_dump() now takes care of that
2000-11-28 20:54:37 +00:00
Andreas Gustafsson
5c90fb2361
clarified error messages
2000-11-28 17:34:06 +00:00
Mark Andrews
ae520c2f9f
More obsolete filed warnings
2000-11-28 05:24:53 +00:00
Mark Andrews
9b2e198580
Silence compiler
2000-11-28 04:46:00 +00:00
Mark Andrews
70270e02ca
Remove max-cache-ttl and max-ncache-ttl unimplemented warnings.
...
Warn max-cache-size is not implemented.
2000-11-28 04:01:21 +00:00
Mark Andrews
1e9a8d3d39
Warn that max-cache-size is not yet implemented.
2000-11-28 03:57:17 +00:00
Mark Andrews
a7e4b89468
Check stub dialup option values.
2000-11-28 03:22:55 +00:00
Andreas Gustafsson
8a711bcd39
clarified comment
2000-11-28 02:33:58 +00:00
Andreas Gustafsson
0b2d261301
removed sdb NOMINUM_PUBLIC cruft
2000-11-28 02:10:03 +00:00
Michael Sawyer
504b15de12
Use zone lock instead of zmgr lock on counters
...
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Andreas Gustafsson
f00075e753
getrrsetbyname() incorrectly assumed that malloc() and
...
calloc() return NULL only on failure, causing the lwres test to fail
on OSF/1 and AIX systems
2000-11-28 01:50:46 +00:00
Bob Halley
59e1a928bc
do not INSIST when restarting with returnlame
2000-11-27 19:56:16 +00:00
Andreas Gustafsson
41c53e1d11
added comment
2000-11-27 19:45:45 +00:00
Andreas Gustafsson
9259fed3d8
Continue move of lib/dns/*conf.c stuff to bin/named
2000-11-27 19:42:38 +00:00
Andreas Gustafsson
d7059b8b7c
80 columns
2000-11-27 19:15:39 +00:00
Andreas Gustafsson
78aa86abc6
typos
2000-11-27 17:49:41 +00:00
Mark Andrews
07892e4443
Memory leak when ISC_MEM_TRACKLINES is defined.
2000-11-25 06:40:54 +00:00
Mark Andrews
dfd7798d8b
578. [func] Notify-source, specify the source address for notify
...
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews
01c161ee2b
add DNS_R_SINGLETON
2000-11-25 01:20:47 +00:00
Mark Andrews
19ff7edc1a
577. [func] Log illegal RDATA combinations. e.g. multiple
...
singlton types, cname and other data.
2000-11-24 01:51:11 +00:00
Mark Andrews
8a0ff6c15c
576. [doc] isc_log_create() description did not match reality.
...
575. [bug] isc_log_create() was not setting internal state
correctly to reflect the default channels created.
2000-11-24 01:37:26 +00:00
Mark Andrews
0f9bbc9ea2
loop_cnt test was wrong way around.
2000-11-23 05:04:54 +00:00
Andreas Gustafsson
eac8e1d5fc
added DNS_LOGMODULE_SDB
2000-11-23 02:25:02 +00:00
Brian Wellington
bfa244d5d4
Mark callback sources as bad if the get() routine returns failure. Also
...
some other cleanup, and a reversal of the incorrect destroylock patch.
2000-11-23 01:04:00 +00:00
Brian Wellington
a452eb6b5d
a mutex wasn't being destroyed
2000-11-23 00:26:11 +00:00
Andreas Gustafsson
20e1ac3376
removed unused variable poke_needed
2000-11-22 23:48:14 +00:00
Brian Wellington
ef6a36d944
tsig signed queries by the resolver both didn't always work and leaked memory.
2000-11-22 23:16:04 +00:00
Andreas Gustafsson
83c45e69f8
Accept any trailing garbage in messages, not just the Microsoft AXFR request
...
variety, logging a message at debug level 1. We may or may not add an option to make this
conditional.
2000-11-22 23:09:58 +00:00
Andreas Gustafsson
5404e14bbb
eliminated compiler warnings
2000-11-22 23:06:55 +00:00
Andreas Gustafsson
f8032c198b
don't needlessly reload slave, stub, and dynamically updated
...
master zones on server reload [RT #482 ]
2000-11-22 19:56:18 +00:00
Andreas Gustafsson
73732bf151
don't blow away the journal file after a journal replay,
...
only after a database dump [RT #482 ]
2000-11-22 18:58:12 +00:00
Andreas Gustafsson
a6dbd6b660
572. [bug] Quoted strings were not accepted as key names in
...
address match lists.
2000-11-22 18:20:05 +00:00
Bob Halley
d5c1fec74c
do not force replacement mode for singleton types
2000-11-22 01:56:02 +00:00
Bob Halley
bab57cc87f
check for singleton rdata type when merging slabs
2000-11-22 01:55:38 +00:00
Michael Sawyer
1697c110c0
zone-statistics was actually a good idea after all.
2000-11-22 00:30:37 +00:00
Bob Halley
383665e42a
Do not allow rdatasets of singleton type to have more than one rdata.
...
Check for CNAME and other data.
[RT #154 ] [RT #279 ]
2000-11-22 00:18:34 +00:00
Bob Halley
15af30dfc1
add DNS_R_CNAMEANDOTHER and DNS_R_SINGLETON
2000-11-22 00:16:41 +00:00
Brian Wellington
292ef406c6
Calling RSA_check_key() requires entropy, which may not be present. Remove
...
the call.
2000-11-22 00:11:30 +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
Brian Wellington
48b5493b2c
types 128 - 255 are meta types
2000-11-20 20:29:00 +00:00
Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +00:00
Mark Andrews
da4d6b30cf
Unlink before freeing.
2000-11-20 10:20:10 +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
b0214977e8
Instead of storing parentheses deltas, just copy lex->paren_count and
...
restore it on ungettoken(). This is much easier (thanks, Mark).
2000-11-20 00:41:50 +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
Brian Wellington
cfd8d65ec1
#include <ctype.h>
2000-11-19 22:10:03 +00:00
Brian Wellington
fb1ee7bee0
isc_hex_fromtext didn't handle lowercase a-f
2000-11-19 20:58:58 +00:00
Brian Wellington
bea3d187ee
fixed another assertion failure.
2000-11-18 21:15:23 +00:00
Brian Wellington
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Andreas Gustafsson
fcf28b759c
Don't log ENFILE and EMFILE as unexpected errors
2000-11-18 02:56:48 +00:00
Andreas Gustafsson
2bd70b6822
Allow master zones to not have a 'file' option, to support non-rbt
...
databases. Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Brian Wellington
6fd4ab217e
missing "static" keyword.
2000-11-18 01:35:13 +00:00
Brian Wellington
6a9f7f6e51
fix paren handling in quoted strings again.
2000-11-18 01:02:39 +00:00
Andreas Gustafsson
8bba70c48d
renamed dns_zone_setdatabase() to dns_zone_setfile(),
...
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation. If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57:23 +00:00
Brian Wellington
08e57545c2
Allow the hashing code in the rbt to be disabled (to save memory). This
...
should eventually be configurable at runtime, or at least with a
configure option, but now it's just a #define in rbt.h.
2000-11-18 00:55:25 +00:00
Brian Wellington
66a39bda9c
parentheses in strings were handled incorrectly.
2000-11-18 00:54:19 +00:00
Brian Wellington
229ce407c3
Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
...
stdout.
2000-11-17 23:32:27 +00:00
Andreas Gustafsson
0d8fe6131e
treat EHOSTDOWN (if defined) the same as EHOSTUNREACH rather than as an
...
unexpected error [RT #215 ]
2000-11-17 21:04:12 +00:00
Andreas Gustafsson
d8f9019647
566. [func] New public function dns_timer_setidle().
2000-11-17 19:45:36 +00:00
Andreas Gustafsson
ba6fd25808
567. [bug] Setting the zone transfer timeout to zero caused an
...
assertion failure. [RT #302 ]
566. [func] New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
Brian Wellington
4d56f59ad0
log a message if dns_db_create fails
2000-11-17 02:49:11 +00:00
Brian Wellington
34f9910283
the removal of "simple" left an off by one error.
2000-11-17 01:27:34 +00:00
Brian Wellington
a1014b72b0
the static initializer wasn't always called.
2000-11-17 01:06:37 +00:00
Brian Wellington
729916054d
if a string token was immediately followed by an EOF token, ungetting the
...
string token would fail.
2000-11-17 00:34:37 +00:00
Andreas Gustafsson
26e801318b
clarified
2000-11-16 23:10:19 +00:00
Brian Wellington
77ac297199
Database and simple database implementations (except rbt and rbt64) are
...
registered dynamically. Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00
Andreas Gustafsson
6cc385f78b
you can't just undefine L_SEARCH, because yacc will
...
insert its definition before the #undef, not after it. Instead, rename
L_SEARCH to L_SEARCHLIST
2000-11-16 22:18:46 +00:00
Mark Andrews
bba79bc76f
remove NOMINUM_PUBLIC_DELETE
2000-11-16 21:58:09 +00:00
David Lawrence
859e2ee593
AIX defines L_SEARCH in <sys/lkup.h>; undefine it.
2000-11-16 20:44:53 +00:00
Brian Wellington
308785a470
If a token is ungotten, the source is no longer at EOF.
2000-11-16 03:44:41 +00:00
Brian Wellington
09ce346fd8
ungetting eof tokens could trigger an assertion.
2000-11-16 03:03:16 +00:00
Brian Wellington
3cd88f71b0
oops, an extra file snuck in.
2000-11-16 02:05:54 +00:00
Brian Wellington
341629dbc2
sdb should not be sanitized away anymore.
2000-11-16 01:41:02 +00:00
Brian Wellington
eb4a45ebf5
remove sortlist
2000-11-16 00:06:38 +00:00
David Lawrence
4a590cf385
Following revision 1.124, 'count' was no longer needed by bind_rdataset().
2000-11-15 23:51:13 +00:00
David Lawrence
99f627f2a9
In dns_opt_attrtotext(), declare and set omit_final_dot only when
...
DNS_OPT_NEWCODES is defined. In dns_opt_totext(), do not declare or
set omit_final_dot at all.
2000-11-15 23:40:00 +00:00
David Lawrence
2197bdf6b1
fixed prototype for static build_SYS_str_reasons()
2000-11-15 23:19:05 +00:00
David Lawrence
f604b5ab0b
A test of a result in an INSIST() in dns_db_getsoaserial() was improperly
...
actually setting the result.
2000-11-15 23:16:33 +00:00
David Lawrence
e7b6119384
removed extraneous semicolon
2000-11-15 23:12:27 +00:00
David Lawrence
9bcf5e9a14
assign the result of copy_ptr_targets to the event result in lookup_done()
2000-11-15 23:07:58 +00:00
David Lawrence
ba7ea2326d
dns_aclelement_match() returns an isc_boolean_t, but if dns_acl_match()
...
within it returned a result that was not ISC_R_SUCCESS, then that result
code was being returned. Since dns_acl_match() always returns ISC_R_SUCCESS,
the erroneous return was converted into an INSIST().
2000-11-15 22:59:55 +00:00
David Lawrence
78e5d07050
comment why <sys/time.h> is needed
2000-11-15 22:41:56 +00:00
David Lawrence
5ed0ffc1f7
clean up const warnings
2000-11-15 22:38:51 +00:00
David Lawrence
61632c1973
tokens after #endif
2000-11-15 20:47:54 +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
ab889e996d
use dns_rdataclass_format()
2000-11-15 19:06:04 +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
Mark Andrews
3fdad8e3bb
adjust is_lame test for same level.
2000-11-15 04:53:06 +00:00
Mark Andrews
edc9f47a1d
add #include <sys/time.h>
2000-11-15 03:58:53 +00:00
David Lawrence
21ec512685
some systems do not implement all of the resources of
...
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
Andreas Gustafsson
4b7018f4cc
illegal token after #endif
2000-11-15 01:31:45 +00:00
Andreas Gustafsson
88658c1300
fetch-glue, min-roots, and max-ixfr-log size are now considered
...
obsolete
2000-11-15 01:30:12 +00:00
Andreas Gustafsson
7863e6bd43
provide a more detailed error message when configuring
...
a TSIG key fails [RT #461 ]
2000-11-15 00:52:04 +00:00
Andreas Gustafsson
6a56be50dd
new result code DNS_R_BADALG
2000-11-15 00:51:17 +00:00
Brian Wellington
b8d6376e1b
the ungettoken changes also broke multiline records.
2000-11-15 00:42:53 +00:00
Andreas Gustafsson
850d708185
562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong.
2000-11-15 00:36:42 +00:00
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
Mark Andrews
4ec1a96d90
542. [func] Add allow-update-forwarding support.
2000-11-06 08:11:11 +00:00
Brian Wellington
fa3cbea8bf
541. [func] Add bogus server support.
2000-11-04 02:20:58 +00:00
Andreas Gustafsson
36d33bb69b
uninitialized link field
2000-11-03 22:56:39 +00:00
Brian Wellington
a123725906
blackhole address matching broke the resolver
2000-11-03 22:53:14 +00:00
Brian Wellington
abc5ea4349
fix some potential memory leaks
2000-11-03 21:36:37 +00:00
Brian Wellington
ce10da9983
A call to isc_mempool_get() was unchecked, which could lead to a seg fault.
2000-11-03 19:55:15 +00:00
Andreas Gustafsson
41b27cf6b4
removed unused global variable declaration of dns_zone_countsize
2000-11-03 18:43:53 +00:00
Andreas Gustafsson
71b5fa7fb7
commented new dialup-related functions
2000-11-03 18:42:56 +00:00
Andreas Gustafsson
bfb0e358c8
commented dns_view_dialup()
2000-11-03 18:35:31 +00:00
Andreas Gustafsson
6b369477a3
by convention, dummy arguments are called 'dummy', not '__arg'
2000-11-03 18:27:31 +00:00
Mark Andrews
ae97173085
initalise/free/print dialup option
2000-11-03 10:43:12 +00:00
Mark Andrews
04967d1a5a
extraneous isc_mem_get
2000-11-03 08:54:18 +00:00
Mark Andrews
0fc89c4ee6
540. [func] Add dialup support.
2000-11-03 07:16:09 +00:00
Brian Wellington
e21d199dca
539. [func] Support the blackhole option.
2000-11-03 02:45:55 +00:00
Mark Andrews
4ab40dad77
Add BIND 8 style GENERATE $$ => $.
2000-11-02 05:18:33 +00:00
Brian Wellington
4d833ef73b
Document lwres_getrrsetbyname
2000-11-02 02:21:09 +00:00
Brian Wellington
668728fed8
First cut at getrrsetbyname code
2000-11-02 01:52:32 +00:00
Mark Andrews
c03298d879
538. [bug] fix buffer overruns by 1 in lwres_getnameinfo().
2000-11-02 01:10:22 +00:00
Brian Wellington
e3e3bafa13
Lookups now return sigrdatasets if they exist.
2000-11-02 00:55:41 +00:00
Brian Wellington
ed239db49c
Allow keys to be referred to as 'Kname.+id+alg.' (with a trailing dot), since
...
file completion often produces strings of that form.
2000-11-01 00:17:18 +00:00
Brian Wellington
0a6ddf7b82
A typo caused null keys to be printed incorrectly.
2000-10-31 20:12:32 +00:00
Mark Andrews
533df4efda
537. [func] Use transfer-source{-v6} when notify messages.
2000-10-31 05:34:18 +00:00
Mark Andrews
f4166b4dc3
allow transfer-source to be set on master zones.
...
print the transfer-source port.
2000-10-31 04:20:54 +00:00
Mark Andrews
368b37b616
dns_rdata_invalidate -> dns_rdata_reset
2000-10-31 03:22:05 +00:00
Mark Andrews
04c22ceaf2
536. [func] Use transfer-source{-v6} when sending refresh queries.
...
Transfer-source{-v6} now take a optional port
parameter for setting the UDP source port. The port
parameter is ignored for TCP.
2000-10-31 01:17:19 +00:00
Mark Andrews
6ef15459b8
535. [func] Use xfrsource[46] when forwarding update requests.
2000-10-30 05:08:07 +00:00
Brian Wellington
fc3ab47d03
remove calls to printf() in error handling.
2000-10-28 01:25:14 +00:00
Brian Wellington
2be139c4b2
search path processing is now done in the server
2000-10-28 00:37:52 +00:00
Brian Wellington
bb71d64085
dns_message_checksig should not require a view in all cases
2000-10-27 21:56:57 +00:00
Brian Wellington
f1cae4bcb7
DNS_RDATA_INITIALIZED was spelled wrong (missing an 'i'), and also not
...
spelled the same way as other uses of the word "initialize" (it had an 's',
not a 'z').
2000-10-27 21:29:23 +00:00
Brian Wellington
8ee7467b98
valid base64 strings with embedded spaces were rejected.
2000-10-25 19:24:18 +00:00
David Lawrence
b65f2ab14a
534. [func] Ancestors have been removed from RBT chains. Ancestor
...
information can be discerned via node parent pointers.
533. [func] Incorporated name hashing into the RBT database to
improve search speed.
There is still evidence of a bug with regard to bitstring labels. It shows
up in bin/test/rbt/t_rbt -x -t 4 when the assertion at lib/dns/rbt.c:1631
is uncommented -- essentially a bitstring node's location in the hashtable
is not getting properly updated at some point. This shouldn't affect
searching, because a bitstring label as the parent of a new level will
generally cause the standard old binary search to be done. I will be looking
at this more closely in the very near future.
2000-10-25 07:21:31 +00:00
Mark Andrews
b589e90689
Remove the rdata->length == 0 checks, UPDATE pseudo rdata are now tagged.
...
Add sanity checks to rdata types where the length cannot legally be zero.
2000-10-25 05:44:10 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Brian Wellington
f9e2482928
uninitialized link field.
2000-10-24 17:24:35 +00:00
Mark Andrews
389c749a5e
530. [func] New function dns_rdata_invalidate().
2000-10-24 02:03:33 +00:00
Mark Andrews
72fa265baa
529. [bug] 521 contained a bug which caused zones to always
...
reload. [RT #410 ]
2000-10-23 00:31:28 +00:00
Andreas Gustafsson
b28d2a3d7b
the established alternate spelling of 'template' is
...
'templet', not 'templat'
2000-10-20 22:09:01 +00:00
Michael Sawyer
c9c5b25473
Fix overzealous printing of newlines in message_[pseudo]sectiontotext().
2000-10-20 20:40:46 +00:00
Brian Wellington
f8a55f9955
Added "ndots" to the lwres{} statement in named.conf
2000-10-20 19:32:49 +00:00
Bob Halley
c69ad15d94
#include <dns/master.h> to get prototypes for loadmgr functions.
2000-10-20 15:59:52 +00:00
Mark Andrews
4b6d5b2312
528. [func] The ISC_LIST_XXXX macros now perform sanity checks
...
on their arguements. ISC_LIST_XXXXUNSAFE can be use
to skip the checks however use with caution.
2000-10-20 13:35:58 +00:00
Mark Andrews
cf573ce6fb
More ISC_LINK_INIT fixes.
2000-10-20 13:29:37 +00:00
Mark Andrews
29c818c7d4
527. [func] New function dns_rdata_clone().
2000-10-20 13:22:36 +00:00
Mark Andrews
5e589b5356
Uninitalised link fixes, batch 1.
2000-10-20 02:21:58 +00:00
Mark Andrews
643f42815f
Modified list macros w/ checking currently disabled.
2000-10-20 01:57:57 +00:00
Andreas Gustafsson
2baafa088c
eliminate signed/unsigned char pointer warning
2000-10-19 23:40:31 +00:00
Andreas Gustafsson
f8020519b3
added more commentary
2000-10-19 18:09:34 +00:00
Mark Andrews
e6bd97dded
Add 'flag' to rdata
2000-10-19 05:50:54 +00:00
Brian Wellington
5504e5d066
A few isc_mem_strdup() failures weren't handled well.
2000-10-19 01:38:26 +00:00
Andreas Gustafsson
5a11763ab2
added support for a search{} clause in the lwres{} statement
2000-10-19 01:26:39 +00:00
Andreas Gustafsson
4913f156c4
typo
2000-10-19 01:25:55 +00:00
Andreas Gustafsson
96aa1f5236
spacing
2000-10-19 01:25:38 +00:00
Brian Wellington
1dc5c713eb
removed unused variable
2000-10-19 01:10:24 +00:00
Brian Wellington
b05c91f9d5
The 'hints' parameter somehow turned into 'arg' in the middle of the
...
description.
2000-10-19 00:43:07 +00:00
Andreas Gustafsson
0a9b84a8a5
#include <lwres/netdb.h>, not lwres.h
2000-10-19 00:26:36 +00:00
Mark Andrews
b55c30f2de
525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
...
and dns_rdataslab_subtract() requesting that the RR's
must exist prior to deletion. DNS_R_NOTEXACT is
returned if the condition is not met.
2000-10-18 23:53:31 +00:00
Brian Wellington
28bad71357
forward zones don't have dialup or pubkey fields
2000-10-18 21:18:47 +00:00
Brian Wellington
b43af69134
The parser leaked memory when printing the "references to zones not
...
implemented yet" warning.
2000-10-17 22:21:34 +00:00
Michael Sawyer
55aed608cc
Add counters of incoming queries, server-wide and by zone. There is
...
currently no way to get these counts back *out* of the server, pending
a command channel. A temporary channel should be built for these data
soon.
2000-10-17 20:57:26 +00:00
Andreas Gustafsson
5b34d8267e
revision 1.30 broke the default lwres address of 127.0.0.1
...
by incorrectly assuming that lwres_addr_parse() parses an address in string
form (it actually parses an address in lwres wire form)
2000-10-17 20:09:19 +00:00
Mark Andrews
3688a648ff
mising declarations
2000-10-17 10:59:48 +00:00
Mark Andrews
b20ee662a7
521. [bug] Detect master files which contain $INCLUDE and always
...
reload. [RT #196 ]
new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
8804fd9936
Split off the generic dns query functionality from the byaddr module into
...
the lookup module, and make byaddr use lookup.
2000-10-17 01:57:42 +00:00
Brian Wellington
6177fc9897
A lot of files generated by libtool were not properly ignored.
2000-10-16 23:44:25 +00:00
Michael Sawyer
34d2bdadb4
Oops on the last commit. Editor wasn't saved when I did the commit, and
...
the cvs diff output was very close to the correct one, so I didn't
notice the problem.
2000-10-16 22:26:25 +00:00
Michael Sawyer
ce82008f65
The change made in patch 233 was breaking preventing the server from
...
being built when sanitized. Since there is no obvious reason for
notify->flags to be hidden behind sanitize ifdefs, move it public.
(Lots of places which referred to ->flags were not sanitized out.)
2000-10-16 21:14:29 +00:00
Mark Andrews
0d32cdd9a0
Check message id against expected id, fail / revert to AXFR on mismatch.
...
Skip check for second and subsequent messages if the query is AXFR.
2000-10-16 04:26:08 +00:00
Mark Andrews
20a313a458
Add DNS_R_UNEXPECTEDID.
2000-10-16 04:08:13 +00:00
Mark Andrews
d39e56173d
Old BINDs will return FORMERR if the SOA is included in the NOTIFY.
...
Detect this and resend w/o SOA.
2000-10-16 04:05:43 +00:00
David Lawrence
72ce8db918
sigh. the last checkin only included RT #369 fix, not the other things I meant
...
to include.
2000-10-14 04:38:22 +00:00
David Lawrence
190fbe9738
519. [bug] dns_name_split() would improperly split some bitstring
...
labels, zeroing a few of the least signficant bits in
the prefix part. When such an improperly created
prefix was returned to the RBT database, the bogus
label was dutifully stored, corrupting the tree.
[RT #369 ]
Also made dns_name_split() REQUIRE that suffixlabels always be greater than 0,
even when splitting a bitstring label (it already required this when not
splitting a bitstring label). This is consistent with the way dns_name_split()
was called to split a name that consisted of a single label, a bitstring;
the appropriate suffixlabels value is 1 in such cases.
Also a fixed minor style error, and a confusing comment.
2000-10-14 04:31:31 +00:00
Brian Wellington
54477d367b
The changes in #515 leaked memory and left dead code.
2000-10-13 23:21:17 +00:00
Bob Halley
c40085afa7
Fix problems with DNAME chain processing in the resolver, and with
...
retrievals of DNAMEs from the cache. (Changes 516, 517, and 518).
2000-10-13 18:55:11 +00:00
Mark Andrews
10258f6b3d
515. [bug] The ssu table was not beinge attached / detached
...
by dns_zone_[sg]etssutable. [RT#397]
2000-10-13 13:45:45 +00:00
Mark Andrews
b38ebe307c
514. [func] Retry refresh and notify queries if they timeout.
...
[RT #388 ]
2000-10-13 13:23:09 +00:00
Mark Andrews
78bdbbaccb
'more_frags' lost the memory after the last fragment. Add the remaining
...
memory to the appropriate free list.
2000-10-13 05:37:17 +00:00
Michael Sawyer
94b50bce2b
Add zone-specific reload and refresh capability to server and rndc
2000-10-12 21:52:00 +00:00
Brian Wellington
3c0a818977
IPv6 portability
2000-10-12 21:39:23 +00:00
Mark Andrews
256b8024a1
remve unused variable
2000-10-12 04:03:28 +00:00
Mark Andrews
588b63e1a8
512. [bug] The zone tranfer code could throw an execption with
...
an invalid IXFR stream.
2000-10-12 03:32:14 +00:00
Brian Wellington
3b2f0d1d66
#include <dst/gssapi.h>
2000-10-12 01:08:32 +00:00
Brian Wellington
0e5d6900bd
Various hacks to allow (at some point in the future) interoperability
...
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington
909e3c2288
Add support for tkey-gssapi-credential. Also do some cleanup allowing any
...
of the tkey options to be set without requiring all of them.
2000-10-12 00:39:17 +00:00
Brian Wellington
4a200b9022
Add tkey-gssapi-credential to the options section
2000-10-12 00:38:30 +00:00
Brian Wellington
c0150ad6aa
Don't call UNEXPECTED_ERROR if setsockopt(SO_TIMESTAMP) returns ENOPROTOOPT.
2000-10-12 00:35:49 +00:00
Brian Wellington
703dfde61b
An out of memory error could cause an assertion.
2000-10-11 23:57:38 +00:00
Mark Andrews
479e643d54
use isc_mem_allocate for omapi_data_strdup to be consistant with
...
isc_mem_strdup
2000-10-11 21:19:01 +00:00
Bob Halley
303ca7abc9
#include <string.h> to get prototype for strlen().
2000-10-11 17:57:35 +00:00
Michael Sawyer
dc570b92f6
Add support for proposed ZONE and VIEW opt attributes. These are currently
...
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA. They are also not quite complete in all regards; VIEW
options are understood and ignored. ZONE options are understood and
acted upon, though some of the error cases aren't quite right.
Remove doubled isc_mem_stats in dighost.c
Update todo list.
Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Mark Andrews
c7294f9c0b
Suppress spurious "hint zones do not have a dialup field".
2000-10-11 05:15:23 +00:00
Brian Wellington
cf2f889716
remove warning
2000-10-10 22:04:29 +00:00
Brian Wellington
e9871cc765
__func__ doesn't seem to exist.
2000-10-10 22:00:12 +00:00
Brian Wellington
d03a04f594
incorrect use of the sanitizer
2000-10-10 21:58:01 +00:00
Mark Andrews
452d75b18f
510. [bug] Remove spurious view notify warning. [RT #376 ]
2000-10-10 01:17:30 +00:00
Brian Wellington
ed6d98bffe
freeing null pointers is bad
2000-10-09 18:20:18 +00:00
Mark Andrews
3030ea490c
If the rename failed in isc_file_renameunique() unlink the temporary file.
2000-10-07 06:55:01 +00:00
Brian Wellington
568c0c0c10
forgot to add these files
2000-10-07 00:45:13 +00:00
Brian Wellington
e0521dac5d
Not all of the setsockopt failures logged the reason for failure.
2000-10-07 00:16:50 +00:00
Brian Wellington
d1cbf71409
clean up suspicious looking and incorrect uses of dns_name_fromregion
2000-10-07 00:09:28 +00:00
Brian Wellington
e484f9de4f
The nxt structure was basically useless.
2000-10-06 22:41:16 +00:00
Brian Wellington
d77d087809
uninitialized variables. oops.
2000-10-06 22:02:02 +00:00
Brian Wellington
f4b4e7c162
#include <string.h>
2000-10-06 21:20:59 +00:00
Brian Wellington
6850cdd449
508. [func] dns_message_parse() can now do a best-effort
...
attempt, which should allow dig to print more invalid
messages.
2000-10-06 18:58:30 +00:00
Brian Wellington
4ed956c5c0
current snapshot of gss-tsig code. I'd be surprised if this works with
...
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Brian Wellington
8f80322fb5
Support for lwresd on addresses other than 127.0.0.1.
2000-10-05 22:27:54 +00:00
Mark Andrews
2a37aa188c
507. [func] New functions dns_zone_flush(), dns_zt_flushanddetach()
...
and dns_view_flushanddetach().
503 was incomplete.
2000-10-05 06:39:26 +00:00
Brian Wellington
fc5332e1f4
Should compile now.
2000-10-04 20:50:25 +00:00
Brian Wellington
9d794b5203
Added lwres{} statement to named.conf.
2000-10-04 18:47:24 +00:00
Mark Andrews
75545fc8c4
If loading a slave/stub zone fails. Save the master file and journal and
...
initiate a zone transfer.
2000-10-03 05:47:45 +00:00
Mark Andrews
9282d220f4
New functions isc_file_template(), isc_file_renameunique().
...
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate(). The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00
Mark Andrews
df1e829dde
504. [bug] The zone was not being marked as dirty when updated via
...
IXFR.
503. [bug] dumptime was not being set along with
DNS_ZONEFLG_NEEDDUMP.
2000-10-02 23:55:44 +00:00
Andreas Gustafsson
6bd179ea9a
removed empty line at beginning of file
2000-09-29 23:54:31 +00:00
Andreas Gustafsson
f20c9d340a
fixed a typo in a comment, expanded another
2000-09-29 23:53:05 +00:00
Michael Sawyer
229c6987e7
Get sanitize working with arbitrary keys
2000-09-29 21:31:02 +00:00
Andreas Gustafsson
23bfeb8bb1
checkpoint
2000-09-28 22:36:33 +00:00
Brian Wellington
2c18231946
The nonthreaded private include files should be deleted by the sanitizer.
2000-09-28 21:32:51 +00:00
Brian Wellington
0d89afffb2
Make sure #else and #endif for ISC_PLATFORM_USETHREADS are marked as such.
2000-09-28 21:31:08 +00:00
Brian Wellington
6b827cb794
typo
2000-09-28 20:29:22 +00:00
Andreas Gustafsson
9a3c31507c
removed INSIST(zone->dumptime != 0) until we figure out
...
what the meaning of zone->dumptime is supposed to be
2000-09-28 18:03:18 +00:00
Mark Andrews
e549eb1242
494. [func] Do not cache NXDOMAIN responses for SOA queries.
2000-09-28 06:43:36 +00:00
Mark Andrews
cd5475efa4
Describe and enforce the contract for isc_event_allocate().
...
Silent failure for bad args is not the BIND 9 way.
2000-09-27 22:53:33 +00:00
Andreas Gustafsson
dc8a97366a
492. [bug] The error messages printed when an IP match list
...
contained a network address with a nonzero host
part where not sufficiently detailed. [RT #365 ]
2000-09-27 20:10:39 +00:00
Michael Sawyer
1c66892e02
Fix confparser.y stuff in relation to sanitize.
2000-09-27 18:00:40 +00:00
Mark Andrews
fce9a9550e
492. [bug] attempting to reload a zone caused the server fail
...
to shutdown cleanly. [RT #360 ]
2000-09-27 13:05:04 +00:00
Brian Wellington
2557aa46f0
Print a warning if check-names is set. Of course, setting check-names
...
as specified in the ARM causes the parser to die anyway.
2000-09-27 02:04:04 +00:00
Brian Wellington
c5c1043a96
print a warning if the dialup, check-names, or pubkey directive is seen
2000-09-27 01:50:01 +00:00
Brian Wellington
bda3efe854
reordered include files
2000-09-27 00:06:34 +00:00
Brian Wellington
5a4f9ff34f
The makefiles should be sdb-clean now.
2000-09-26 23:25:51 +00:00
Brian Wellington
8614264835
protect the simple database stuff with NOMINUM_PUBLIC
2000-09-26 22:45:59 +00:00
Michael Graff
e1db5e817f
ask the database for aaaa records too, when an a6 isn't found.
2000-09-26 22:28:55 +00:00
Brian Wellington
c76926d714
comment updates
2000-09-26 22:14:35 +00:00
Brian Wellington
df03463a37
Allow *_log_setcontext() to be called multiple times, so that *_lctx
...
can be set to NULL once the log context has been freed.
2000-09-26 22:10:44 +00:00
Brian Wellington
3a62e221b4
locks weren't being destroyed
2000-09-26 22:09:20 +00:00
Andreas Gustafsson
693ddf84da
491. [bug] nsupdate would segfault when sending certain
...
prerequisites with empty RDATA. [RT #357 ]
2000-09-26 19:37:06 +00:00
Andreas Gustafsson
ff7e6f2791
When lacking user-specified timer values from the SOA,
...
use a retry time that backs off exponentially from one minute up to
six hours. This should allow the xferquota test to succeed [RT #337 ]
by allowing for one or more retries during the test, while keeping the
amount of SOA query traffic to dead masters reasonable for GNS.
2000-09-26 18:17:10 +00:00
Andreas Gustafsson
d8d05d04fa
the ternary operator ?: does not yield an lvalue
2000-09-26 17:28:13 +00:00
Andreas Gustafsson
3c754b3581
removed function dns_zone_setrefresh()
2000-09-26 17:24:00 +00:00
Andreas Gustafsson
94361d5867
simplified isc_random_jitter() and eliminated floating
...
point from the code using it in zone.c
2000-09-26 17:23:19 +00:00
Andreas Gustafsson
61a31f75cd
added INSISTs to verify that zone timer intervals
...
are set before use
2000-09-26 16:32:39 +00:00
Mark Andrews
5a98a57f8f
489. [func] The zone manager now has a "i/o" queue.
2000-09-26 05:16:57 +00:00
Mark Andrews
2bebe117bf
489. [func] The zone manager now has a "i/o" queue.
2000-09-26 05:08:05 +00:00
Brian Wellington
a06c40460a
fix a potential buffer overflow when writing keys to disk.
2000-09-25 23:19:39 +00:00
Brian Wellington
cc8a68d56f
minor cleanup
2000-09-25 23:18:54 +00:00
Brian Wellington
dd27011f02
locks weren't being destroyed.
2000-09-25 17:46:39 +00:00
Andreas Gustafsson
629c6629d0
zone_postload() used variable "new" before setting it [RT #337 ]
2000-09-23 06:27:12 +00:00
Brian Wellington
060de372a1
The database now does duplicate suppression, so the master file loader
...
doesn't need to.
2000-09-23 01:05:35 +00:00
Brian Wellington
4ab4f2d14c
do a more thorough job of duplicate suppression in dns_rdataslab_fromrdataset
2000-09-23 01:05:03 +00:00
Brian Wellington
3f123dcc2f
487. [port] flockfile() is not defined on all systems.
...
Also check for libpthreads, if libpthread isn't found.
2000-09-22 18:52:39 +00:00
Michael Graff
08ad332552
put a break in the switch
2000-09-21 21:40:29 +00:00
Michael Graff
e710c2162a
check for more expected error values in connect() case
2000-09-21 21:30:27 +00:00
Brian Wellington
6e5fa98df0
A call to isc_mem_put could (in some cases) be called with an invalid size.
2000-09-21 21:29:16 +00:00
Andreas Gustafsson
922e6a3c2a
478. [bug] "make install" failed if the directory specified with
...
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Mark Andrews
0e07026a21
476. [bug] A zone could expire while a zone transfer was in
...
progress triggering a INSIST failure. [RT #329 ]
2000-09-20 09:50:34 +00:00
Brian Wellington
352e28b5ee
The UNUSED() macro wasn't used.
2000-09-20 00:01:26 +00:00
Brian Wellington
12688cc9fc
#include <resolv.h> is not needed, and causes problems on AIX.
2000-09-19 21:21:59 +00:00
Mark Andrews
8affb49a70
Move the UDP buffer pool to the dispatchmgr. UDP parameters are now set
...
by the first call to dns_dispatch_getudp(), subsecquent calls can raise
the maximum number of buffers. dns_dispatchmgr_setudp() could be made
public.
Tidy dispatch_allocate().
entropy and mctx are now gone from dns_qid_t.
2000-09-19 06:59:28 +00:00
Andreas Gustafsson
338edde79f
snprintf() requires <isc/print.h> on OSF/1 4.0
2000-09-19 01:47:53 +00:00
Brian Wellington
6cd4630de6
spacing
2000-09-19 01:44:15 +00:00
Andreas Gustafsson
6b0ce7d29f
474. [bug] The mnemonic of the CHAOS class is CH according to
...
RFC1035, but it was printed and read only as CHAOS.
We now accept both forms as input, and print it
as CH.
2000-09-19 01:27:22 +00:00
Brian Wellington
140c1a485b
remove warnings
2000-09-18 19:36:59 +00:00
Brian Wellington
eacc8996e0
The included openssl rsa code didn't work
2000-09-18 19:25:00 +00:00
Andreas Gustafsson
c89ac488df
472. [bug] Off-by-one error caused isc_time_add() to sometimes
...
produce invalid time values.
2000-09-18 18:43:03 +00:00
Andreas Gustafsson
ec02cd5927
spacing
2000-09-18 18:31:06 +00:00
Mark Andrews
9d3ef72b37
470. [feature] $GENERATE is now supported. See also
...
doc/misc/migration.
2000-09-18 06:50:35 +00:00
Mark Andrews
a7c76f1924
469. [bug] "query-source address * port 53;" now works.
2000-09-18 04:50:05 +00:00
Mark Andrews
79907dfac9
some more cases of #466
2000-09-17 13:08:46 +00:00
Mark Andrews
4050789abb
bugfix 468 contained a error.
2000-09-17 12:54:44 +00:00
Mark Andrews
c50a002bd1
468. [bug] dns_master_load*() failed to report file and line
...
number in certain error conditions.
467. [bug] dns_master_load*() failed to log an error if
pushfile() failed.
466. [bug] dns_master_load*() could return success when it failed.
2000-09-17 12:38:47 +00:00
David Lawrence
566155f16e
465. [cleanup] Allow 0 to be set as an omapi_value_t value by
...
omapi_value_storeint().
(Arguably this is was a bug, arguably it wasn't. I do not know Ted's
original intent, but I believe it cleans up the API to allow 0 to be
set and retrieved just as any other int is.)o
(Also arguably, the other omapi_value_store*() functions should instead
be creating non-NULL omapi_value_t->value pointers when they are setting
NULL values, and then assigning NULL into the relevant union member.)
2000-09-16 03:20:54 +00:00
Brian Wellington
206c4ad41e
More header files needed for rsa
2000-09-16 01:35:02 +00:00
Brian Wellington
4e37e5b5ee
empty unions don't compile everywhere.
2000-09-16 01:34:30 +00:00
Brian Wellington
a9dedf80e6
oops, missed this one.
2000-09-16 01:22:55 +00:00
Brian Wellington
d8e93e7f90
remove dnssafe objects, build openssl rsa
2000-09-16 01:15:22 +00:00
Brian Wellington
fe73980e87
add openssl rsa
2000-09-16 01:14:34 +00:00
Brian Wellington
09523ae822
remove dnssafe
2000-09-16 01:14:22 +00:00
Brian Wellington
8dc6eb05bd
Add RSA support
2000-09-16 01:13:59 +00:00
Brian Wellington
e9c0951923
Remove dnssafe; use openssl rsa instead.
2000-09-16 01:12:21 +00:00
Brian Wellington
90e9c34380
Remove dnssafe.
2000-09-16 01:09:21 +00:00
Andreas Gustafsson
a8f69def81
type mismatch
2000-09-15 23:02:07 +00:00
Brian Wellington
f7fa8ec1a9
selective forwarding didn't quite work.
2000-09-15 22:41:07 +00:00
Brian Wellington
f3f22040a8
The ipv6 probe fails if IPv6 is disabled.
2000-09-15 20:52:27 +00:00
Andreas Gustafsson
97c7e793b0
missing space between words in warning message; typos
2000-09-15 00:26:35 +00:00
Mark Andrews
b374727d51
456. [bug] Stub zones were not resetting the refresh and expire
...
counters, loadtime or clearing the DNS_ZONE_REFRESH
(refresh in progress) flag upon successful update.
[RT #300 ]
2000-09-14 03:55:38 +00:00
Mark Andrews
be1d71fd17
454. [bug] Enforce dotted decimal and dotted decimal quad where
...
documented as such in named.conf. [RT #304 , RT#311]
2000-09-14 02:19:04 +00:00
Andreas Gustafsson
3bd5170d0c
do not treat maintain-ixfr-base as equivalent to provide-ixfr,
...
since it's not documented that way
2000-09-13 23:00:16 +00:00
Andreas Gustafsson
8e732de92e
Buffers Files Tools Edit Search Help
...
453. [bug] Warn if the obsolete option maintain-ixfr-base
is specified in named.conf. [RT #306 ]
2000-09-13 22:47:05 +00:00
Andreas Gustafsson
16447e2997
spacing
2000-09-13 20:51:54 +00:00
Andreas Gustafsson
afd2f40b3c
452. [bug] Warn if the unimplemented option statistics-file
...
is specified in named.conf. [RT #301 ]
2000-09-13 20:49:40 +00:00
Mark Andrews
f671d6d103
cleanup unncessary dns_zone_{iattach,idetach}().
2000-09-13 04:50:19 +00:00
Mark Andrews
a506c6f9be
cleanup remove some unnecessary dns_zone_{iattach,idetach}() calls.
...
notify_destroy() now takes a locked arguement.
notify_send() no longer destroys its arguement.
2000-09-13 04:12:42 +00:00
Mark Andrews
7a21d6207f
attach/detach tracing at ISC_LOG_DEBUG(10).
...
style fix (foo -> foo != NULL).
remove potential REQUIRE failure.
2000-09-13 01:00:39 +00:00
Bob Halley
3302ed8d6e
bitstring assertion addition; doc fixes
2000-09-13 00:11:45 +00:00
Andreas Gustafsson
a9d3c26ed0
some CPP macros were not fully parenthesized
2000-09-12 23:27:44 +00:00
Mark Andrews
91ac60fe11
446. [bug] Confusing notify log message. [RT #298 ]
2000-09-12 22:50:52 +00:00
Bob Halley
83d2840b6f
fix erroneous isc_bitstring_copy() REQUIRE
2000-09-12 19:26:40 +00:00
Andreas Gustafsson
a405a53d53
443. [bug] When loading a master file failed because of an
...
unrecognized RR type name, the error message
did not include the file name and line number.
[RT #285 ]
2000-09-12 18:10:24 +00:00
Brian Wellington
0fded1c8b7
remove warnings.
2000-09-12 13:46:12 +00:00
Brian Wellington
a9ba7e6564
Allow a keyset to be self-signed if the signing key is a trusted-key.
2000-09-12 12:01:50 +00:00
Brian Wellington
d6be55c63f
comment the infinite loop fix
2000-09-12 10:21:45 +00:00
Brian Wellington
5c29047792
minor dst api change
2000-09-12 09:59:28 +00:00
Brian Wellington
54bf299982
Don't assume class IN; rename functions to conform to the naming style.
2000-09-12 09:55:32 +00:00
Brian Wellington
020d334001
Don't assume class IN.
2000-09-12 09:54:36 +00:00
Mark Andrews
694d98c143
cleanup notify_log & zone_log to reduce common code.
2000-09-12 01:22:12 +00:00
Mark Andrews
68516a98cb
document dns_message_getrawmessage
2000-09-11 23:37:34 +00:00
Andreas Gustafsson
400f5eeb2c
spelling
2000-09-11 20:51:47 +00:00
Bob Halley
ba43c53451
Allow nodes obscured by a DNAME to be accessed if the GLUEOK bit is set.
2000-09-11 16:48:25 +00:00
Mark Andrews
29a9d783b2
440. [func] New function dns_zone_forwardupdate().
2000-09-11 13:34:18 +00:00
Mark Andrews
b9dead30b1
440. [func] New function dns_zone_forwardupdate().
2000-09-11 13:26:22 +00:00
Mark Andrews
056141f287
439. [func] New function dns_request_createraw().
2000-09-11 06:35:57 +00:00
Mark Andrews
5126112bc3
438. [func] New function dns_message_getrawmessage().
2000-09-11 05:55:27 +00:00
Mark Andrews
668278867b
437. [func] Log NOTIFY activity to the notify channel.
2000-09-11 04:37:52 +00:00
Brian Wellington
230aff0eac
Fix the crash caused by a signed message not matching any view [RT #290 ].
...
This fixes the crash, but not the real problem, which is that the TSIG needs
to be verified even if there is no matching view.
2000-09-09 10:46:58 +00:00
Andreas Gustafsson
00010dc6a4
TCP receives should never be retried
2000-09-08 22:02:21 +00:00
Andreas Gustafsson
b7e031d517
435. [bug] dns_zone_dump() overwrote existing zone files
...
rather than writing to a temporary file and
renaming. This could lead to empty or partial
zone files being left around in certain error
conditions involving the initial transfer of a
slave zone, interfering with subsequent server
startup. [RT #282 ]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
c9f54e6d04
unbalanced quotes in comment
2000-09-08 21:35:45 +00:00
Andreas Gustafsson
e881887f18
commented
2000-09-08 21:25:21 +00:00
Andreas Gustafsson
7ec4367f3d
434. [func] New function isc_file_isabsolute().
2000-09-08 18:37:28 +00:00
Brian Wellington
ec393c0384
Error return cleanup.
2000-09-08 14:25:40 +00:00
Brian Wellington
8c7fa43b3c
Make dst_region_computeid() take an algorithm, since it was returning the
...
wrong id for RSA keys. Also clean up a few error messages from dst routines.
2000-09-08 14:23:49 +00:00
Brian Wellington
c38cf70db1
Fix an assertion failure and a case where an rdataset's trust wasn't set.
2000-09-08 14:18:17 +00:00
Brian Wellington
8447ecf6fd
Check for NULL before checking for key size.
2000-09-08 07:51:28 +00:00
Andreas Gustafsson
2c9c7c5bb5
433. [func] isc_base64_decodestring() now accepts newlines
...
within the base64 data. This makes it possible
to break up the key data in a trusted-keys
statement into multiple lines. [RT #284 ]
2000-09-08 00:34:21 +00:00
Michael Graff
4e8518aa8f
add up to 10 minutes of jitter for refresh/retry, clammed as: RETRYTIME >= actual_retry >= RETRYTIME * .80
2000-09-08 00:07:44 +00:00
Michael Graff
95236b0363
make the returned value sane in all cases
2000-09-08 00:06:39 +00:00
Brian Wellington
abaec24086
429. [bug] The space reserved for a TSIG record in a response
...
was 2 bytes too short, leading to message
generation failures.
2000-09-07 21:08:52 +00:00
Brian Wellington
70d950d16e
Log a warning if TSIG keys are too short (where too short is less than 8 bytes).
2000-09-07 20:34:04 +00:00
Bob Halley
3ad16d4c3a
In find_closest_nxt(), do not return DNS_R_BADDB because of glue
2000-09-07 20:10:36 +00:00
Brian Wellington
32b2cdf212
427. [bug] Avoid going into an infinite loop when the validator
...
gets a negative response to a key query where the
records are signed by the missing key.
2000-09-07 19:46:52 +00:00
Bob Halley
3113e4dac8
fix auth-nxdomain default message [RT #287 ]
2000-09-07 19:24:33 +00:00
Andreas Gustafsson
d782d0dc8d
major rewrite
2000-09-07 16:36:29 +00:00
Brian Wellington
79028ea477
uninitialized variables could lead to a core dump.
2000-09-07 12:10:36 +00:00
Mark Andrews
50bea34058
more notify_createmessage() cleanup.
2000-09-07 04:20:52 +00:00
Michael Graff
1deaf52c98
kill persistent errors. Always retry the I/O now.
2000-09-07 01:59:57 +00:00
Michael Graff
d2439ad5af
log message about strange socket error at ISC_LOG_ERROR level
2000-09-07 01:53:31 +00:00
Mark Andrews
05fff5d905
424 [bug] notify_createmessage could trigger a REQUIRE failure
...
w/ two SOA records for the zone (illegal). [RT #279 ]
2000-09-07 01:06:45 +00:00
Andreas Gustafsson
1ed3e846a2
make the initial iterator state of rdatasets undefined
...
so that we can detect cases where the user fails to call dns_rdataset_first()
before calling dns_rdataset_current()
2000-09-06 23:16:14 +00:00
Michael Graff
e558faa60b
make unreachable errors on unconnected UDP sockets be soft errors, rather than hard ones.
2000-09-06 22:55:33 +00:00
Michael Graff
346e6a3a23
touch up a comment
2000-09-06 21:56:20 +00:00
Michael Graff
db84234e52
add some quick text describing client- and server-side flow
2000-09-06 21:54:23 +00:00
Michael Graff
1e92a4f7a4
specify which fields are set by what in the packet header
2000-09-06 20:54:44 +00:00
Andreas Gustafsson
3bd723c53a
clarified comment
2000-09-06 16:25:35 +00:00
Mark Andrews
9916239908
Initial opaque rdata support.
2000-09-06 03:25:23 +00:00
Michael Graff
7da0286b54
get rid of isc_random_t -- use a wrapper around rand() instead that doesn't do as much work. Also, implement isc_random_jitter(), used to generate a value between a min, max, with a provided jitter value.
2000-09-06 02:40:00 +00:00
Mark Andrews
6c6bed90cb
Add comments describing isc_mem_putanddetach().
2000-09-05 22:20:36 +00:00
Andreas Gustafsson
87ecd67dae
419. [bug] The certificate type PKIX was misspelled as SKIX.
2000-09-05 17:09:30 +00:00
Mark Andrews
d22b4de3f1
Throttled answer while loading support (still needs config file hooks).
2000-09-05 03:35:24 +00:00
Mark Andrews
1162a4e02a
New function isc_mem_putanddetach().
2000-09-05 03:30:19 +00:00
Jim Reid
fa263add26
First draft of resolver(5) man page
2000-09-03 20:45:58 +00:00
Brian Wellington
d3735e0e25
DST_ALG_RSA -> DST_ALG_RSAMD5
2000-09-02 01:17:20 +00:00
Andreas Gustafsson
f38a84ce83
418. [bug] At debug levels >= 10, getting an unexpected
...
socket receive error would crash the server
while trying to log the error message.
2000-09-01 22:41:46 +00:00
Brian Wellington
1b32bc7da1
417. [func] Add isc_app_block() and isc_app_unblock(), which
...
allow an application to handle signals while
blocking.
2000-09-01 21:31:54 +00:00
Andreas Gustafsson
da41917c3f
cleanup and simplification
2000-09-01 19:59:35 +00:00
Andreas Gustafsson
122d284b61
there is no such thing as a for...while loop
2000-09-01 16:39:07 +00:00
Andreas Gustafsson
1b088f4680
reordered some statements for clarity
2000-09-01 16:37:30 +00:00
Michael Graff
ca0db0cdc8
stop mumbling in dispatch.h by filling out the comments. Fixed a bug, since I was here already.
2000-09-01 07:16:06 +00:00
Brian Wellington
88b9c12a3c
rdataslabs are now sorted. Also added a function to compare two rdataslabs.
2000-09-01 01:35:21 +00:00
Andreas Gustafsson
4187398298
416. [bug] Slave zones with no master file tried to use a
...
NULL pointer for a journal file name when they
received an IXFR.
2000-08-31 23:56:00 +00:00
Brian Wellington
4b809ba346
415. [bug] The logging code leaked file descriptors.
2000-08-31 20:58:15 +00:00
Andreas Gustafsson
a69cebac84
414. [bug] Server did not shut down until all incoming zone
...
transfers were finished.
2000-08-31 17:48:47 +00:00
Andreas Gustafsson
04cec6dc5b
comment style
2000-08-31 17:10:58 +00:00
Andreas Gustafsson
50a3152b70
clarified comment
2000-08-31 16:58:28 +00:00
Mark Andrews
7523838d84
make error message more informative.
2000-08-31 13:38:55 +00:00
Mark Andrews
4a30ede93d
add overmem method
2000-08-31 13:04:47 +00:00
Mark Andrews
ce0c777a38
overmem was out of order
2000-08-31 13:00:57 +00:00
Mark Andrews
3a34b87c87
Add cache cleaning support (disabled).
2000-08-31 12:15:17 +00:00
Mark Andrews
a21fbfdd30
413. [bug] notify could attempt to use the zone database after
...
it had been unloaded. (RT#267)
2000-08-31 06:16:42 +00:00
Mark Andrews
5ebcf506a1
remove unneccessary call to notify_createmessage()
2000-08-31 00:31:38 +00:00
Brian Wellington
5a842a6fc3
The non-threaded version does a better job avoiding starvation.
2000-08-30 23:47:16 +00:00
Mark Andrews
68e32e13a5
#include <isc/platform.h>
2000-08-30 21:24:57 +00:00
Brian Wellington
aa3f41bafc
signals were broken in the non-threaded version
2000-08-30 01:43:59 +00:00
Brian Wellington
743add946b
Comment out calls to flockfile() and funlockfile(), since it's not
...
evident that they're needed, and they don't work on all platforms without
threads.
2000-08-30 01:28:10 +00:00
Brian Wellington
5ae91ef876
#include <stddef.h>
2000-08-30 01:24:20 +00:00
Brian Wellington
5aa95f94c9
don't need <pthread.h> or <isc/platform.h>
2000-08-30 01:11:37 +00:00
Brian Wellington
ae8b7e02a8
Non threaded isc_app_* - basically an event loop that calls into the
...
task, timer, and socket modules.
2000-08-30 00:58:28 +00:00
Brian Wellington
efafe4fa7f
Non-threaded socket manager.
2000-08-29 23:58:17 +00:00
Brian Wellington
8dd5562555
#include <isc/platform.h>
2000-08-29 22:55:57 +00:00
Brian Wellington
0c4887513b
add copyright
2000-08-29 22:53:59 +00:00
Brian Wellington
3be0a4382d
ALlow the task manager to run without threads. This doesn't handle fairness
...
too well.
2000-08-29 22:30:14 +00:00
Brian Wellington
8ec174ad4e
Allow the timer code to run without threads.
2000-08-29 21:30:03 +00:00
Brian Wellington
352cb92ac2
DNS_KEYALG_MD5RSA -> DNS_KEYALG_RSAMD5
2000-08-29 19:45:33 +00:00
Brian Wellington
5e872705df
condition.c needs to be added
2000-08-29 19:22:34 +00:00
Brian Wellington
fafb62400d
When --disable-threads is passed, use "nothreads" instead of "pthreads" in
...
the build process.
2000-08-29 18:24:01 +00:00
Brian Wellington
f05941692e
Add an empty lib/isc/nothreads/condition.c, since it greatly simplifies
...
the build process.
2000-08-29 18:19:29 +00:00
Mark Andrews
5afa531442
Alphabetize #include <dns/???>.
2000-08-29 03:48:00 +00:00
Mark Andrews
f3788d318d
Do not forward notifies if they fail to pass the SOA serial check.
2000-08-29 03:45:48 +00:00
Brian Wellington
3c7f352550
single-threaded versions.
2000-08-29 00:33:36 +00:00
Brian Wellington
9ce781741a
don't use DESTROYLOCK, since isc_mutexblock_destroy actually returns
...
failure if isc_mutex_destroy fails.
2000-08-29 00:25:23 +00:00
Andreas Gustafsson
892abf3178
added configure option --enable-threads/--disable-threads,
...
define ISC_PLATFORM_USETHREADS
2000-08-28 23:51:21 +00:00
Brian Wellington
bc40028504
Added the "nothreads" directory in lib/isc. These will be used in the
...
non-threaded libisc.
2000-08-28 23:16:50 +00:00
Brian Wellington
698de4d4c0
The alphabetically sorted DSTOBJS weren't.
2000-08-28 23:04:51 +00:00
Brian Wellington
9e21cef0b2
The alphabetically sorted OBJS and SRCS weren't.
2000-08-28 22:54:39 +00:00
Brian Wellington
762b1edceb
DESTROYLOCK does not need a do { } while (0) construct.
2000-08-28 19:49:38 +00:00
Brian Wellington
37a8fbab3a
411. [bug] A typo in the HS A code caused an assertion failure.
2000-08-28 17:39:21 +00:00
Mark Andrews
42aea0fbdc
options { notify-forward yes; }; is not longer hardwired as "no;".
2000-08-28 05:51:16 +00:00
Michael Graff
306a935305
add find->result_v[46]
2000-08-26 02:21:45 +00:00
Brian Wellington
c383551293
#include <isc/mutex.h>
2000-08-26 01:56:46 +00:00
Andreas Gustafsson
a38f86ea5b
410. [bug] lwres_gethostbyname() and company set lwres_h_errno
...
to a random value on success.
2000-08-26 01:51:05 +00:00
Brian Wellington
fa9a407180
Last set of DESTROYLOCK changes
2000-08-26 01:42:34 +00:00
Brian Wellington
5e387b9ce6
and more calls to DESTROYLOCK
2000-08-26 01:37:00 +00:00
Brian Wellington
a44038277a
MOre calls to DESTROYLOCK
2000-08-26 01:31:56 +00:00
Brian Wellington
6714319d0f
Add a DESTROYLOCK macro to wrap isc_mutex_destroy()
2000-08-26 01:23:17 +00:00
Brian Wellington
bba01d378b
Since the result of isc_mutex_destroy() is being ignored, cast it to void.
2000-08-26 01:10:54 +00:00
Brian Wellington
569c05295c
removed a chunk of dead debugging code.
2000-08-25 22:07:52 +00:00
Brian Wellington
960d37edc3
Setting event->ev_sender to a bogus non-null value is no longer necessary.
2000-08-25 18:58:35 +00:00
Mark Andrews
ec4060d310
408. [bug] stub zones could leak memory and refernce counts if
...
all the masters were unreachable.
2000-08-25 04:42:49 +00:00
Brian Wellington
0a88c09dc9
#include <isc/mutex.h>
2000-08-25 01:16:04 +00:00
Brian Wellington
504b5167f3
#include <isc/mutex.h>
2000-08-25 01:08:07 +00:00
Brian Wellington
f5ad7569cb
#include <stddef.h>
2000-08-24 23:26:13 +00:00
Brian Wellington
d07ef64ed1
#include <time.h>
2000-08-24 23:22:40 +00:00
Brian Wellington
30e6ea9ded
405. [func] Add support for selective forwarding (forward zones)
2000-08-24 22:15:40 +00:00
Andreas Gustafsson
9f139761ca
don't use parentheses in the text representation of RRs unless
...
we are in multiline mode; this ensures that the output can be re-parsed with
dns_rdata_fromtext
2000-08-24 21:41:44 +00:00
Michael Graff
079c87a7fe
remove annoying log message that floods while loading
2000-08-24 21:28:50 +00:00
Andreas Gustafsson
2de4786af7
a function pointer is not a valid event sender, but NULL is
2000-08-24 19:13:13 +00:00
Brian Wellington
3cab47dbea
A read lock could incorrectly be granted in some cases.
2000-08-24 19:06:38 +00:00
Andreas Gustafsson
dcfbc7c73e
do not clear lctx->buffer before it is has been locked
2000-08-24 18:21:40 +00:00
Andreas Gustafsson
249b19d917
print lock address and thread ID in rwlock trace messages
2000-08-24 17:06:31 +00:00
Andreas Gustafsson
ec46482ef3
dispatch log messages had request/response backwards
2000-08-24 16:56:48 +00:00
Andreas Gustafsson
eb5670ecd2
send task trace output to stderr, not stdout, so that
...
it gets buffered synchronously with logging output sent to stderr
2000-08-24 01:40:46 +00:00
Andreas Gustafsson
ce4ccd5d7f
const correctness
2000-08-24 01:38:46 +00:00
Andreas Gustafsson
1ccdb91515
typo in comment
2000-08-24 01:19:58 +00:00
Andreas Gustafsson
60cf8301f9
drop parser support for dns_c_forw_noanswer and dns_c_forw_nodomain
...
as the server does not implement them (lacking a spec for what they should do)
2000-08-23 23:56:44 +00:00
Andreas Gustafsson
5bf922fd09
use all lower case in error messages
2000-08-23 23:54:58 +00:00